[FFmpeg-cvslog] r24073 - trunk/libavfilter/vf_pad.c

Víctor Paesa victorpaesa
Tue Jul 6 18:20:25 CEST 2010


Hi,

On Tue, Jul 6, 2010 at 14:35, mru wrote:
> Author: mru
> Date: Tue Jul ?6 14:35:59 2010
> New Revision: 24073
>
> Log:
> vf_pad: restore use of _CCIR colourspace conversion macros

Wouldn't "colorspace" match better the spelling in C code?

> Modified:
> ? trunk/libavfilter/vf_pad.c
>
> Modified: trunk/libavfilter/vf_pad.c
> ==============================================================================
> --- trunk/libavfilter/vf_pad.c ?Tue Jul ?6 13:42:52 2010 ? ? ? ?(r24072)
> +++ trunk/libavfilter/vf_pad.c ?Tue Jul ?6 14:35:59 2010 ? ? ? ?(r24073)
> @@ -62,9 +62,9 @@ static int fill_line_with_color(uint8_t
> ? ? } else {
> ? ? ? ? int plane;
>
> - ? ? ? ?color[RED ?] = RGB_TO_Y(rgba_color[0], rgba_color[1], rgba_color[2]);
> - ? ? ? ?color[GREEN] = RGB_TO_U(rgba_color[0], rgba_color[1], rgba_color[2], 0);
> - ? ? ? ?color[BLUE ] = RGB_TO_V(rgba_color[0], rgba_color[1], rgba_color[2], 0);
> + ? ? ? ?color[RED ?] = RGB_TO_Y_CCIR(rgba_color[0], rgba_color[1], rgba_color[2]);
> + ? ? ? ?color[GREEN] = RGB_TO_U_CCIR(rgba_color[0], rgba_color[1], rgba_color[2], 0);
> + ? ? ? ?color[BLUE ] = RGB_TO_V_CCIR(rgba_color[0], rgba_color[1], rgba_color[2], 0);
> ? ? ? ? color[ALPHA] = rgba_color[3];
>
> ? ? ? ? for (plane = 0; plane < 4; plane++) {

Regards,
V?ctor



More information about the ffmpeg-cvslog mailing list