@ -330,6 +330,9 @@ enum AVPixelFormat {
*/
AV_PIX_FMT_OPENCL ,
AV_PIX_FMT_GRAY14BE , ///< Y , 14bpp, big-endian
AV_PIX_FMT_GRAY14LE , ///< Y , 14bpp, little-endian
AV_PIX_FMT_NB ///< number of pixel formats, DO NOT USE THIS if you want to link with shared libav* because the number of formats might differ between versions
} ;
@ -349,6 +352,7 @@ enum AVPixelFormat {
# define AV_PIX_FMT_GRAY9 AV_PIX_FMT_NE(GRAY9BE, GRAY9LE)
# define AV_PIX_FMT_GRAY10 AV_PIX_FMT_NE(GRAY10BE, GRAY10LE)
# define AV_PIX_FMT_GRAY12 AV_PIX_FMT_NE(GRAY12BE, GRAY12LE)
# define AV_PIX_FMT_GRAY14 AV_PIX_FMT_NE(GRAY14BE, GRAY14LE)
# define AV_PIX_FMT_GRAY16 AV_PIX_FMT_NE(GRAY16BE, GRAY16LE)
# define AV_PIX_FMT_YA16 AV_PIX_FMT_NE(YA16BE, YA16LE)
# define AV_PIX_FMT_RGB48 AV_PIX_FMT_NE(RGB48BE, RGB48LE)