[FFmpeg-devel] [PATCH 1/2] avcodec/brenderpix: support BGR555BE (type 17)
Zane van Iperen
zane at zanevaniperen.com
Fri Apr 7 19:00:41 EEST 2023
---
libavcodec/brenderpix.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/libavcodec/brenderpix.c b/libavcodec/brenderpix.c
index e95ab3d4af..32e7329105 100644
--- a/libavcodec/brenderpix.c
+++ b/libavcodec/brenderpix.c
@@ -195,6 +195,10 @@ static int pix_decode_frame(AVCodecContext *avctx, AVFrame *frame,
avctx->pix_fmt = AV_PIX_FMT_ARGB;
bytes_pp = 4;
break;
+ case 17: // BR_PMT_BGR_555
+ avctx->pix_fmt = AV_PIX_FMT_BGR555BE;
+ bytes_pp = 2;
+ break;
case 18:
avctx->pix_fmt = AV_PIX_FMT_YA8;
bytes_pp = 2;
--
2.39.2
More information about the ffmpeg-devel
mailing list