[MPlayer-dev-eng] yuv2yuv ??

Arpi arpi at thot.banki.hu
Mon Nov 5 11:13:39 CET 2001


Hi,

> Anyways, my next point is, libvo->query_format() should return a 
> priority value instead of an integer interpreted as a boolean. For 
> instance, since my dxr3 driver would at 1.st hand prefer MPEGPES and 
> 2:nd hand prefer YUV420P and so on input, why not make a system 
> depending on priorities instead of just booleans?
warning! they are not booleans. they are flags. rtfm docs/tech/* please!

> Also, MPlayer should be able to figure out by itself that when a libvo 
> supports (say) YV12 input only it should default to the odivx codec, 
> instead of just defaulting to divxds and then telling me the format is 
> unsupported.
it's about codec selection. it's planned to be reworked.
btw i prefer conversion in such cases.

> P.S. why not a (example) yuv2yuv((bool)planar/packed, 
> y;vertical:horizontal, u;vertical:horizontal...(IMGPXL_*)outfmt, 
> void*dst, int dst_size) letting the yuv2yuv malloc dst. Instead of just 
> creating a million yuy2toyuv420 rgb24tobgr32 uyvy2yv12 and so on and so 
> forth... D.S.
malloc and stuff is your work.


A'rpi / Astral & ESP-team

--
mailto:arpi at thot.banki.hu
http://esp-team.scene.hu



More information about the MPlayer-dev-eng mailing list