History

avcodec/dpx: add support for other single component 8bit files

Paul B Mahol committed 5 years ago

Commit d1802e21 parent 68fa2941 file · +8 −0Browse files

Unified · Split

libavcodec/dpx.c+8−0
@@ -497,6 +497,14 @@ static int decode_frame(AVCodecContext *avctx, · 496 unmodified lines
497497 }
498498
499499 switch (1000 * descriptor + 10 * bits_per_color + endian) {
500+ case 1081:
501+ case 1080:
502+ case 2081:
503+ case 2080:
504+ case 3081:
505+ case 3080:
506+ case 4081:
507+ case 4080:
500508 case 6081:
501509 case 6080:
502510 avctx->pix_fmt = AV_PIX_FMT_GRAY8;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t