You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
png: Support RGBA64 pixel format
This commit is contained in:
@@ -520,6 +520,9 @@ static int decode_frame(AVCodecContext *avctx,
|
||||
} else if (s->bit_depth == 16 &&
|
||||
s->color_type == PNG_COLOR_TYPE_GRAY_ALPHA) {
|
||||
avctx->pix_fmt = AV_PIX_FMT_YA16BE;
|
||||
} else if (s->bit_depth == 16 &&
|
||||
s->color_type == PNG_COLOR_TYPE_RGB_ALPHA) {
|
||||
avctx->pix_fmt = AV_PIX_FMT_RGBA64BE;
|
||||
} else {
|
||||
avpriv_report_missing_feature(avctx,
|
||||
"Bit depth %d color type %d",
|
||||
|
Reference in New Issue
Block a user