mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
ffmpegcolorspace/videotestsrc: Use v308 instead of V308
This commit is contained in:
parent
65c322edf2
commit
c080bfae6d
2 changed files with 7 additions and 7 deletions
|
@ -354,7 +354,7 @@ gst_ffmpeg_pixfmt_to_caps (enum PixelFormat pix_fmt, AVCodecContext * context)
|
||||||
endianness = G_BYTE_ORDER;
|
endianness = G_BYTE_ORDER;
|
||||||
break;
|
break;
|
||||||
case PIX_FMT_V308:
|
case PIX_FMT_V308:
|
||||||
fmt = GST_MAKE_FOURCC ('V', '3', '0', '8');
|
fmt = GST_MAKE_FOURCC ('v', '3', '0', '8');
|
||||||
break;
|
break;
|
||||||
case PIX_FMT_AYUV4444:
|
case PIX_FMT_AYUV4444:
|
||||||
fmt = GST_MAKE_FOURCC ('A', 'Y', 'U', 'V');
|
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'):
|
case GST_MAKE_FOURCC ('Y', 'V', 'U', '9'):
|
||||||
context->pix_fmt = PIX_FMT_YVU410P;
|
context->pix_fmt = PIX_FMT_YVU410P;
|
||||||
break;
|
break;
|
||||||
case GST_MAKE_FOURCC ('V', '3', '0', '8'):
|
case GST_MAKE_FOURCC ('v', '3', '0', '8'):
|
||||||
context->pix_fmt = PIX_FMT_V308;
|
context->pix_fmt = PIX_FMT_V308;
|
||||||
break;
|
break;
|
||||||
case GST_MAKE_FOURCC ('A', 'Y', 'U', 'V'):
|
case GST_MAKE_FOURCC ('A', 'Y', 'U', 'V'):
|
||||||
|
|
|
@ -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_Y444 (paintinfo * p, unsigned char *dest);
|
||||||
static void paint_setup_Y800 (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_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_NV12 (paintinfo * p, unsigned char *dest);
|
||||||
static void paint_setup_NV21 (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_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_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_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);
|
static void paint_hline_AYUV (paintinfo * p, int x, int y, int w);
|
||||||
|
|
||||||
#if 0
|
#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, "Y422", "Y422", 16, paint_setup_UYVY, paint_hline_YUY2},
|
||||||
{VTS_YUV, "UYNV", "UYNV", 16, paint_setup_UYVY, paint_hline_YUY2}, /* FIXME: UYNV? */
|
{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, "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},
|
{VTS_YUV, "AYUV", "AYUV", 32, paint_setup_AYUV, paint_hline_AYUV},
|
||||||
|
|
||||||
/* interlaced */
|
/* interlaced */
|
||||||
|
@ -1395,7 +1395,7 @@ paint_setup_YV12 (paintinfo * p, unsigned char *dest)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
paint_setup_V308 (paintinfo * p, unsigned char *dest)
|
paint_setup_v308 (paintinfo * p, unsigned char *dest)
|
||||||
{
|
{
|
||||||
p->yp = dest;
|
p->yp = dest;
|
||||||
p->up = dest + 1;
|
p->up = dest + 1;
|
||||||
|
@ -1446,7 +1446,7 @@ paint_setup_YVYU (paintinfo * p, unsigned char *dest)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
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;
|
int offset;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue