summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-02-13 10:10:25 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-02-13 10:10:25 +0100
commitc080bfae6de775d25d041520808ae686bad7cf0a (patch)
treed156bc376ccf45d792587d0c3ce10b2dcfbf6164
parent65c322edf283b1001fb631a702fcb61cc6b5b9b0 (diff)
ffmpegcolorspace/videotestsrc: Use v308 instead of V308
-rw-r--r--gst/ffmpegcolorspace/gstffmpegcodecmap.c4
-rw-r--r--gst/videotestsrc/videotestsrc.c10
2 files changed, 7 insertions, 7 deletions
diff --git a/gst/ffmpegcolorspace/gstffmpegcodecmap.c b/gst/ffmpegcolorspace/gstffmpegcodecmap.c
index 6b31dd9f..8ce9c249 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 4fa5b04e..89c87676 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;