@ -1342,6 +1342,30 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = {
} ,
} ,
. flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR ,
. flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR ,
} ,
} ,
[ AV_PIX_FMT_YUV444P12LE ] = {
. name = " yuv444p12le " ,
. nb_components = 3 ,
. log2_chroma_w = 0 ,
. log2_chroma_h = 0 ,
. comp = {
{ 0 , 2 , 0 , 0 , 12 , 1 , 11 , 1 } , /* Y */
{ 1 , 2 , 0 , 0 , 12 , 1 , 11 , 1 } , /* U */
{ 2 , 2 , 0 , 0 , 12 , 1 , 11 , 1 } , /* V */
} ,
. flags = AV_PIX_FMT_FLAG_PLANAR ,
} ,
[ AV_PIX_FMT_YUV444P12BE ] = {
. name = " yuv444p12be " ,
. nb_components = 3 ,
. log2_chroma_w = 0 ,
. log2_chroma_h = 0 ,
. comp = {
{ 0 , 2 , 0 , 0 , 12 , 1 , 11 , 1 } , /* Y */
{ 1 , 2 , 0 , 0 , 12 , 1 , 11 , 1 } , /* U */
{ 2 , 2 , 0 , 0 , 12 , 1 , 11 , 1 } , /* V */
} ,
. flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR ,
} ,
[ AV_PIX_FMT_YUV444P10LE ] = {
[ AV_PIX_FMT_YUV444P10LE ] = {
. name = " yuv444p10le " ,
. name = " yuv444p10le " ,
. nb_components = 3 ,
. nb_components = 3 ,
@ -1892,6 +1916,7 @@ enum AVPixelFormat av_pix_fmt_swap_endianness(enum AVPixelFormat pix_fmt)
PIX_FMT_SWAP_ENDIANNESS ( YUV444P10 ) ;
PIX_FMT_SWAP_ENDIANNESS ( YUV444P10 ) ;
PIX_FMT_SWAP_ENDIANNESS ( YUV420P12 ) ;
PIX_FMT_SWAP_ENDIANNESS ( YUV420P12 ) ;
PIX_FMT_SWAP_ENDIANNESS ( YUV422P12 ) ;
PIX_FMT_SWAP_ENDIANNESS ( YUV422P12 ) ;
PIX_FMT_SWAP_ENDIANNESS ( YUV444P12 ) ;
PIX_FMT_SWAP_ENDIANNESS ( YUV420P16 ) ;
PIX_FMT_SWAP_ENDIANNESS ( YUV420P16 ) ;
PIX_FMT_SWAP_ENDIANNESS ( YUV422P16 ) ;
PIX_FMT_SWAP_ENDIANNESS ( YUV422P16 ) ;
PIX_FMT_SWAP_ENDIANNESS ( YUV444P16 ) ;
PIX_FMT_SWAP_ENDIANNESS ( YUV444P16 ) ;