[pvrusb2] Aspect ratio trouble

Carsten Meier cm at trexity.de
Tue Sep 1 15:55:06 CDT 2009


Am Tue, 1 Sep 2009 21:52:56 +0200 (CEST)
schrieb vdb128 at picaros.org:

> > > The controls ctl_crop_height and ctl_crop_top would allow to
> > > remove the=
> > =20
> > > black bars.  This cropping is done by the analog decoder.  A
> > > typical=20 PAL/625 letterbox frame is then 720x432 dot with an
> > > image aspect ratio =
> > 
> > > of 20/11 or 16/9.  Alas, this capability is not in the kernel and
> > > the=20 patches need to be ported to 2.6.29.
> > >
> > >  =20
> > So cropping is possible with 2.6.28 and some patches?
> > What patches?
> 
> Well actually the patch was for 2.6.25.  A copy is at 
> http://picaros.org/xorg/cropc.diff
> and a description of its logic should be in this list's archives.  
> 
> I would like to port this to 2.6.29 but am holding off a bit until I
> have news about a tiny patch submitted for 2.6.29 cx25840-core.c.
> 
> All this is only applicable to 24xxx devices.
> 
> Servaas

It would be very nice if this goes to the mainline-kernel.
Unfortunately one usually doesn't know if a movie is letterboxed in
advance, so the recording is already in progress if one knows the size
of the bars... VBI support would be so nice...

Carsten


More information about the pvrusb2 mailing list