mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-08-04 04:35:06 +00:00
gst/ffmpegcolorspace/gstffmpegcodecmap.c: Add a mapping for YUV format "IYU1", which is a 4:1:1 packed pixel format, ...
Original commit message from CVS: * gst/ffmpegcolorspace/gstffmpegcodecmap.c: (gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_caps_to_pixfmt): Add a mapping for YUV format "IYU1", which is a 4:1:1 packed pixel format, as produced by some dc1394 cameras like the iSight. See http://www.fourcc.org/yuv.php#IYU1
This commit is contained in:
parent
dbb857b93b
commit
cae46813ca
|
@ -1,3 +1,11 @@
|
|||
2007-06-29 Jan Schmidt <thaytan@mad.scientist.com>
|
||||
|
||||
* gst/ffmpegcolorspace/gstffmpegcodecmap.c:
|
||||
(gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_caps_to_pixfmt):
|
||||
Add a mapping for YUV format "IYU1", which is a 4:1:1 packed pixel
|
||||
format, as produced by some dc1394 cameras like the iSight.
|
||||
See http://www.fourcc.org/yuv.php#IYU1
|
||||
|
||||
2007-06-28 Sebastian Dröge <slomo@circular-chaos.org>
|
||||
|
||||
* gst/audioconvert/Makefile.am:
|
||||
|
|
|
@ -176,6 +176,9 @@ gst_ffmpeg_pixfmt_to_caps (enum PixelFormat pix_fmt, AVCodecContext * context)
|
|||
case PIX_FMT_UYVY422:
|
||||
fmt = GST_MAKE_FOURCC ('U', 'Y', 'V', 'Y');
|
||||
break;
|
||||
case PIX_FMT_UYVY411:
|
||||
fmt = GST_MAKE_FOURCC ('I', 'Y', 'U', '1');
|
||||
break;
|
||||
case PIX_FMT_RGB24:
|
||||
bpp = depth = 24;
|
||||
endianness = G_BIG_ENDIAN;
|
||||
|
@ -552,6 +555,9 @@ gst_ffmpeg_caps_to_pixfmt (const GstCaps * caps,
|
|||
case GST_MAKE_FOURCC ('U', 'Y', 'V', 'Y'):
|
||||
context->pix_fmt = PIX_FMT_UYVY422;
|
||||
break;
|
||||
case GST_MAKE_FOURCC ('I', 'Y', 'U', '1'):
|
||||
context->pix_fmt = PIX_FMT_UYVY411;
|
||||
break;
|
||||
case GST_MAKE_FOURCC ('I', '4', '2', '0'):
|
||||
context->pix_fmt = PIX_FMT_YUV420P;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue