diff options
Diffstat (limited to 'decoder/LAVVideo/decoders/avcodec.cpp')
-rw-r--r-- | decoder/LAVVideo/decoders/avcodec.cpp | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/decoder/LAVVideo/decoders/avcodec.cpp b/decoder/LAVVideo/decoders/avcodec.cpp index 764880ea..965deff5 100644 --- a/decoder/LAVVideo/decoders/avcodec.cpp +++ b/decoder/LAVVideo/decoders/avcodec.cpp @@ -159,8 +159,8 @@ static struct PixelFormatMapping { { PIX_FMT_YUV440P, LAVPixFmt_YUV444, TRUE }, { PIX_FMT_YUVJ440P, LAVPixFmt_YUV444, TRUE }, { PIX_FMT_YUVA420P, LAVPixFmt_YUV420, TRUE }, - { PIX_FMT_RGB48BE, LAVPixFmt_RGB32, TRUE }, - { PIX_FMT_RGB48LE, LAVPixFmt_RGB32, TRUE }, + { PIX_FMT_RGB48BE, LAVPixFmt_RGB48, TRUE }, + { PIX_FMT_RGB48LE, LAVPixFmt_RGB48, TRUE }, { PIX_FMT_RGB565BE, LAVPixFmt_RGB32, TRUE }, { PIX_FMT_RGB565LE, LAVPixFmt_RGB32, TRUE }, @@ -184,8 +184,8 @@ static struct PixelFormatMapping { { PIX_FMT_BGR444LE, LAVPixFmt_RGB32, TRUE }, { PIX_FMT_BGR444BE, LAVPixFmt_RGB32, TRUE }, { PIX_FMT_GRAY8A, LAVPixFmt_YUV420, TRUE }, - { PIX_FMT_BGR48BE, LAVPixFmt_RGB32, TRUE }, - { PIX_FMT_BGR48LE, LAVPixFmt_RGB32, TRUE }, + { PIX_FMT_BGR48BE, LAVPixFmt_RGB48, TRUE }, + { PIX_FMT_BGR48LE, LAVPixFmt_RGB48, FALSE }, { PIX_FMT_YUV420P9BE, LAVPixFmt_YUV420bX, TRUE, 9 }, { PIX_FMT_YUV420P9LE, LAVPixFmt_YUV420bX, FALSE, 9 }, @@ -201,17 +201,17 @@ static struct PixelFormatMapping { { PIX_FMT_YUV422P9LE, LAVPixFmt_YUV422bX, FALSE, 9 }, { PIX_FMT_GBRP, LAVPixFmt_RGB32, TRUE }, - { PIX_FMT_GBRP9BE, LAVPixFmt_RGB32, TRUE }, - { PIX_FMT_GBRP9LE, LAVPixFmt_RGB32, TRUE }, - { PIX_FMT_GBRP10BE, LAVPixFmt_RGB32, TRUE }, - { PIX_FMT_GBRP10LE, LAVPixFmt_RGB32, TRUE }, - { PIX_FMT_GBRP16BE, LAVPixFmt_RGB32, TRUE }, - { PIX_FMT_GBRP16LE, LAVPixFmt_RGB32, TRUE }, - - { PIX_FMT_RGBA64BE, LAVPixFmt_RGB32, TRUE }, - { PIX_FMT_RGBA64LE, LAVPixFmt_RGB32, TRUE }, - { PIX_FMT_BGRA64BE, LAVPixFmt_RGB32, TRUE }, - { PIX_FMT_BGRA64LE, LAVPixFmt_RGB32, TRUE }, + { PIX_FMT_GBRP9BE, LAVPixFmt_RGB48, TRUE }, + { PIX_FMT_GBRP9LE, LAVPixFmt_RGB48, TRUE }, + { PIX_FMT_GBRP10BE, LAVPixFmt_RGB48, TRUE }, + { PIX_FMT_GBRP10LE, LAVPixFmt_RGB48, TRUE }, + { PIX_FMT_GBRP16BE, LAVPixFmt_RGB48, TRUE }, + { PIX_FMT_GBRP16LE, LAVPixFmt_RGB48, TRUE }, + + { PIX_FMT_RGBA64BE, LAVPixFmt_RGB48, TRUE }, + { PIX_FMT_RGBA64LE, LAVPixFmt_RGB48, TRUE }, + { PIX_FMT_BGRA64BE, LAVPixFmt_RGB48, TRUE }, + { PIX_FMT_BGRA64LE, LAVPixFmt_RGB48, TRUE }, { PIX_FMT_0RGB, LAVPixFmt_RGB32, TRUE }, { PIX_FMT_RGB0, LAVPixFmt_RGB32, TRUE }, @@ -232,10 +232,10 @@ static struct PixelFormatMapping { { PIX_FMT_YUV444P12LE, LAVPixFmt_YUV444bX, FALSE, 12 }, { PIX_FMT_YUV444P14BE, LAVPixFmt_YUV444bX, TRUE, 14 }, { PIX_FMT_YUV444P14LE, LAVPixFmt_YUV444bX, FALSE, 14 }, - { PIX_FMT_GBRP12BE, LAVPixFmt_RGB32, TRUE }, - { PIX_FMT_GBRP12LE, LAVPixFmt_RGB32, TRUE }, - { PIX_FMT_GBRP14BE, LAVPixFmt_RGB32, TRUE }, - { PIX_FMT_GBRP14LE, LAVPixFmt_RGB32, TRUE }, + { PIX_FMT_GBRP12BE, LAVPixFmt_RGB48, TRUE }, + { PIX_FMT_GBRP12LE, LAVPixFmt_RGB48, TRUE }, + { PIX_FMT_GBRP14BE, LAVPixFmt_RGB48, TRUE }, + { PIX_FMT_GBRP14LE, LAVPixFmt_RGB48, TRUE }, { PIX_FMT_DXVA2_VLD, LAVPixFmt_DXVA2, FALSE }, }; |