mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Support reading 64bit dpx images.
Reviewed-by: Jean First
This commit is contained in:
parent
0b1f20e23c
commit
dd55adb1a7
@ -140,11 +140,11 @@ static int decode_frame(AVCodecContext *avctx,
|
||||
case 12:
|
||||
case 16:
|
||||
if (endian) {
|
||||
avctx->pix_fmt = PIX_FMT_RGB48BE;
|
||||
avctx->pix_fmt = elements == 4 ? PIX_FMT_RGBA64BE : PIX_FMT_RGB48BE;
|
||||
} else {
|
||||
avctx->pix_fmt = PIX_FMT_RGB48LE;
|
||||
avctx->pix_fmt = elements == 4 ? PIX_FMT_RGBA64LE : PIX_FMT_RGB48LE;
|
||||
}
|
||||
target_packet_size = 6;
|
||||
target_packet_size =
|
||||
source_packet_size = elements * 2;
|
||||
break;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user