summaryrefslogtreecommitdiff
path: root/gst/ffmpegcolorspace/avcodec.h
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@mad.scientist.com>2007-07-06 11:40:45 +0000
committerJan Schmidt <thaytan@mad.scientist.com>2007-07-06 11:40:45 +0000
commit6fa26a44e35df4395980395227205e0e714f3e00 (patch)
tree4826e08b33385fb3fcb444e8d0b951776bf90caf /gst/ffmpegcolorspace/avcodec.h
parentd03f78d47f23f9e376667ede12b1db0756697b57 (diff)
downloadgstreamer-plugins-base-6fa26a44e35df4395980395227205e0e714f3e00.tar.gz
gst/ffmpegcolorspace/: Add 2 new pixel formats - ABGR32 and ARGB32, which are reflections of the existing BGRA32 and ...
Original commit message from CVS: * gst/ffmpegcolorspace/avcodec.h: * gst/ffmpegcolorspace/gstffmpegcodecmap.c: (gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_caps_to_pixfmt), (gst_ffmpegcsp_avpicture_fill): * gst/ffmpegcolorspace/imgconvert.c: (img_convert), (img_get_alpha_info): Add 2 new pixel formats - ABGR32 and ARGB32, which are reflections of the existing BGRA32 and RGBA32 formats with the alpha at the other end of the word. Partially fixes #451908
Diffstat (limited to 'gst/ffmpegcolorspace/avcodec.h')
-rw-r--r--gst/ffmpegcolorspace/avcodec.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/gst/ffmpegcolorspace/avcodec.h b/gst/ffmpegcolorspace/avcodec.h
index 1dc58f557..58eb9770b 100644
--- a/gst/ffmpegcolorspace/avcodec.h
+++ b/gst/ffmpegcolorspace/avcodec.h
@@ -61,10 +61,12 @@ enum PixelFormat {
PIX_FMT_YUV444P, ///< Planar YUV 4:4:4 (1 Cr & Cb sample per 1x1 Y samples)
PIX_FMT_RGBA32, ///< Packed pixel, 4 bytes per pixel, BGRABGRA..., stored in cpu endianness
PIX_FMT_BGRA32, ///< Packed pixel, 4 bytes per pixel, ARGBARGB...
- PIX_FMT_RGB32, ///< Packed pixel, 4 bytes per pixel, BGRXBGRX..., stored in cpu endianness
- PIX_FMT_xRGB32, ///< Packed pixel, 4 bytes per pixel, XBGRXBGR..., stored in cpu endianness
- PIX_FMT_BGR32, ///< Packed pixel, 4 bytes per pixel, XRGBXRGB...
- PIX_FMT_BGRx32, ///< Packed pixel, 4 bytes per pixel, RGBXRGBX...
+ PIX_FMT_ARGB32, ///< Packed pixel, 4 bytes per pixel, ABGRABGR..., stored in cpu endianness
+ PIX_FMT_ABGR32, ///< Packed pixel, 4 bytes per pixel, RGBARGBA...
+ PIX_FMT_RGB32, ///< Packed pixel, 4 bytes per pixel, BGRxBGRx..., stored in cpu endianness
+ PIX_FMT_xRGB32, ///< Packed pixel, 4 bytes per pixel, xBGRxBGR..., stored in cpu endianness
+ PIX_FMT_BGR32, ///< Packed pixel, 4 bytes per pixel, xRGBxRGB...
+ PIX_FMT_BGRx32, ///< Packed pixel, 4 bytes per pixel, RGBxRGBx...
PIX_FMT_YUV410P, ///< Planar YUV 4:1:0 (1 Cr & Cb sample per 4x4 Y samples)
PIX_FMT_YVU410P, ///< Planar YVU 4:1:0 (1 Cr & Cb sample per 4x4 Y samples)
PIX_FMT_YUV411P, ///< Planar YUV 4:1:1 (1 Cr & Cb sample per 4x1 Y samples)