From: Sebastian Dröge Date: Fri, 13 Feb 2009 09:10:25 +0000 (+0100) Subject: ffmpegcolorspace/videotestsrc: Use v308 instead of V308 X-Git-Tag: 1.19.3~511^2~10014 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c080bfae6de775d25d041520808ae686bad7cf0a;p=platform%2Fupstream%2Fgstreamer.git ffmpegcolorspace/videotestsrc: Use v308 instead of V308 --- diff --git a/gst/ffmpegcolorspace/gstffmpegcodecmap.c b/gst/ffmpegcolorspace/gstffmpegcodecmap.c index 6b31dd9..8ce9c24 100644 --- a/gst/ffmpegcolorspace/gstffmpegcodecmap.c +++ b/gst/ffmpegcolorspace/gstffmpegcodecmap.c @@ -354,7 +354,7 @@ gst_ffmpeg_pixfmt_to_caps (enum PixelFormat pix_fmt, AVCodecContext * context) endianness = G_BYTE_ORDER; break; case PIX_FMT_V308: - fmt = GST_MAKE_FOURCC ('V', '3', '0', '8'); + fmt = GST_MAKE_FOURCC ('v', '3', '0', '8'); break; case PIX_FMT_AYUV4444: fmt = GST_MAKE_FOURCC ('A', 'Y', 'U', 'V'); @@ -617,7 +617,7 @@ gst_ffmpeg_caps_to_pixfmt (const GstCaps * caps, case GST_MAKE_FOURCC ('Y', 'V', 'U', '9'): context->pix_fmt = PIX_FMT_YVU410P; break; - case GST_MAKE_FOURCC ('V', '3', '0', '8'): + case GST_MAKE_FOURCC ('v', '3', '0', '8'): context->pix_fmt = PIX_FMT_V308; break; case GST_MAKE_FOURCC ('A', 'Y', 'U', 'V'): diff --git a/gst/videotestsrc/videotestsrc.c b/gst/videotestsrc/videotestsrc.c index 4fa5b04..89c8767 100644 --- a/gst/videotestsrc/videotestsrc.c +++ b/gst/videotestsrc/videotestsrc.c @@ -311,7 +311,7 @@ static void paint_setup_Y42B (paintinfo * p, unsigned char *dest); static void paint_setup_Y444 (paintinfo * p, unsigned char *dest); static void paint_setup_Y800 (paintinfo * p, unsigned char *dest); static void paint_setup_AYUV (paintinfo * p, unsigned char *dest); -static void paint_setup_V308 (paintinfo * p, unsigned char *dest); +static void paint_setup_v308 (paintinfo * p, unsigned char *dest); static void paint_setup_NV12 (paintinfo * p, unsigned char *dest); static void paint_setup_NV21 (paintinfo * p, unsigned char *dest); @@ -346,7 +346,7 @@ static void paint_hline_Y41B (paintinfo * p, int x, int y, int w); static void paint_hline_Y42B (paintinfo * p, int x, int y, int w); static void paint_hline_Y444 (paintinfo * p, int x, int y, int w); static void paint_hline_Y800 (paintinfo * p, int x, int y, int w); -static void paint_hline_V308 (paintinfo * p, int x, int y, int w); +static void paint_hline_v308 (paintinfo * p, int x, int y, int w); static void paint_hline_AYUV (paintinfo * p, int x, int y, int w); #if 0 @@ -367,7 +367,7 @@ struct fourcc_list_struct fourcc_list[] = { {VTS_YUV, "Y422", "Y422", 16, paint_setup_UYVY, paint_hline_YUY2}, {VTS_YUV, "UYNV", "UYNV", 16, paint_setup_UYVY, paint_hline_YUY2}, /* FIXME: UYNV? */ {VTS_YUV, "YVYU", "YVYU", 16, paint_setup_YVYU, paint_hline_YUY2}, - {VTS_YUV, "V308", "V308", 24, paint_setup_V308, paint_hline_V308}, + {VTS_YUV, "v308", "v308", 24, paint_setup_v308, paint_hline_v308}, {VTS_YUV, "AYUV", "AYUV", 32, paint_setup_AYUV, paint_hline_AYUV}, /* interlaced */ @@ -1395,7 +1395,7 @@ paint_setup_YV12 (paintinfo * p, unsigned char *dest) } static void -paint_setup_V308 (paintinfo * p, unsigned char *dest) +paint_setup_v308 (paintinfo * p, unsigned char *dest) { p->yp = dest; p->up = dest + 1; @@ -1446,7 +1446,7 @@ paint_setup_YVYU (paintinfo * p, unsigned char *dest) } static void -paint_hline_V308 (paintinfo * p, int x, int y, int w) +paint_hline_v308 (paintinfo * p, int x, int y, int w) { int offset;