[MPlayer-dev-eng] [PATCH] New video filter: deblendlogo

Oded Shimon ods15 at ods15.dyndns.org
Wed Feb 23 22:15:14 CET 2005


On Wednesday 23 February 2005 21:21, Oded Shimon wrote:
> 2 possible options:
> Disable YV12 altogether for the filter, let the user do
> 'scale=,format=rgba' before the filter.
> Allow YV12, and convert only the necessary area to RGBA and back.
Funny thing is, this doesn't even work.

Does anyone know th _REAL_ YUV <-> RGB convertion equations?... They are NOT 
what is written in DOCS/tech/colorspaces.txt

The same 3 pixels, using the equations ion that file:
102 70 59
123 76 68
141 83 70

And using the swscaler:
91 65 61
104 78 74
114 89 84

(yes I know there are 2 sets of equations in that file, neither gave these 
results though.)

Obviously much different. It gets worse the higher it gets. In values less 
than 70, they are nearly identical.
swscaler is extremely hard to read, and I have a feeling the equations used to 
make that are not written in there anyway, as they are MMX/SSE/whatever 
stuff.

- ods15




More information about the MPlayer-dev-eng mailing list