[FFmpeg-devel] avcodec/proresdec : add 12b decoding support
Martin Vignali
martin.vignali at gmail.com
Sun Nov 18 01:28:00 EET 2018
Hello,
Patchs in attach add 12b decoding for prores
Theses patch are based on patch by Kieran Kunhya
https://pastebin.com/mYNJkdMH
After theses patch by default Prores 422 are decode in 10b and 444 in 12b
I add a user option, to force 10b or 12b decoding
Need to be apply after patch "avutil - swscale : add YUVA444P12 and
YUVA422P12"
003 : cosmetic, remove unused value
004 : move dsp init after codec tag check (in order to set later decoding
precision based on codec_tag by default)
005/006 : rename dsp part for 10b
007/008/009 : reorganize unpack alpha and add 12b alpha decoding
010 : Add 12b idct for prores (keep the 10b version)
011 : In 12b, i have a segfault, for file with non multiple of 16 height.
Don't understand why doesn't appear in 10b mode. But like several func,
seems to write after the last visible line. I increase buffer height, and
set crop bottom.
012 : Add 12b support for 444 by default, and add user option for setting
decoding precision
013 : Add fate test for prores with 12b decoding precision
Comments welcome
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-avcodec-proresdec-move-dsp-init-after-codec-tag-chec.patch
Type: application/octet-stream
Size: 1712 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20181118/4ad47322/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-avcodec-proresdec-put-unpack-alpha-func-in-prores-ct.patch
Type: application/octet-stream
Size: 5213 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20181118/4ad47322/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-avcodec-proresdsp-remove-unused-value.patch
Type: application/octet-stream
Size: 895 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20181118/4ad47322/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-avcodec-proresdsp-indent-after-prev-commit.patch
Type: application/octet-stream
Size: 2116 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20181118/4ad47322/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-avcodec-proresdec-rename-dsp-part-for-10b-and-check.patch
Type: application/octet-stream
Size: 7211 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20181118/4ad47322/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008-avcodec-proresdec-make-inline-func-for-unpack-alpha.patch
Type: application/octet-stream
Size: 1696 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20181118/4ad47322/attachment-0005.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0012-avcodec-proresdec-add-12b-decoding.patch
Type: application/octet-stream
Size: 11519 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20181118/4ad47322/attachment-0006.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0011-avcodec-proresdec-align-height-buffer-to-16-avoid.patch
Type: application/octet-stream
Size: 965 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20181118/4ad47322/attachment-0007.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0009-avcodec-proresdec-add-unpack-alpha-12-func.patch
Type: application/octet-stream
Size: 4020 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20181118/4ad47322/attachment-0008.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0010-avcodec-proresdec-add-12b-prores-idct.patch
Type: application/octet-stream
Size: 4033 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20181118/4ad47322/attachment-0009.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0013-fate-proresdec-add-test-for-12b-decoding.patch
Type: application/octet-stream
Size: 10400 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20181118/4ad47322/attachment-0010.obj>
More information about the ffmpeg-devel
mailing list