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

Trent Piepho xyzzy at speakeasy.org
Thu Feb 24 00:35:23 CET 2005


On Wed, 23 Feb 2005, [UTF-8] Julián Nuñez wrote:
> >
> What about the ecuations used in libavcodec?
> imgconvert.c lines 995 and 1052.

The macros RGB_TO_[YUV] and the _CCIR versions use the same formula as the
first one in DOCS/tech/colorspaces.txt.  The non-CCIR versions use full range
value, the _CCIR versions have been scaled.

If you look at the colorspace faq, the Equation 2 for question C-28 is the
same formula as RGB_TO_[YUV].  The equation for CCIR601 values is derived from
it for questions C-29 and C-30, ending up with the first equation in
DOCS/tech/colorspaces.txt.




More information about the MPlayer-dev-eng mailing list