[Angstrom-distro-users] mplayer woes

Siarhei Siamashka siarhei.siamashka at gmail.com
Fri Oct 19 07:41:22 CEST 2007


On 18 October 2007, Tim Chick wrote:
> On Monday 15 October 2007 19:51, Andrew Zabolotny wrote:
> > 0 PXA
> > 1 overlay1
> > 2 overlay2
> > 3 cursor
> >
> > Thank you for clarifying. As I can see, -vo pxa doesn't support
> > rotate or scaling, right?
>
> The hardware supports neither scaling nor rotation, only colour space
> conversion from YUV to RGB.
>
> The pxa driver uses the hardware colourspace conversion on overlay1, and
> overlay2 to do the onscreen display. It also does a pretty effecient
> software rotation in fullscreen mode, use the -vm option. In -vm mode
> it will set the resolution to 320x240, rotate if the video is wider
> than it is tall, and crop to the centre of the video if it is more than
> 320x240.

Just out of curiosity, what does angstrom mplayer using pxa driver do when
it is provided with inconvinient video as input (let's say 352x288 for
example)? Does it handle scaling with libswscale? Does is perform software
scaling for planar YV12 -> planar YV12? Or planar YV12 -> packed YUY2?

I'm asking because if the situation with scaling is not so perfect, using
a scaler that is used in Nokia 770/N800 package of mplayer could probably
help. As I don't have PXA hardware, I can't be very useful unless provided
with a detailed technical information about how the scaling is performed on
PXA devices in mplayer, and where optimized code can be plugged in.



More information about the Angstrom-distro-users mailing list