[FFmpeg-devel] libavcodec/hapdec : add support for hapqa decoding
Martin Vignali
martin.vignali at gmail.com
Mon Sep 25 00:08:22 EEST 2017
Hello,
In attach two patchs to add support for hapqa alpha decoding
More info can be found here
https://github.com/Vidvox/hap/blob/master/documentation/HapVideoDRAFT.md
Part 1 :
0006-libavodec-texturedsp-add-rgtc1u_alpha-uncompress-fun
add a new func into texture dsp, in order to decompress rgtc1u only in the
alpha channel
Useful for Hapqa, who use 2 textures : DXT5-YCoCg-scaled for RGB and RGTC1
for alpha
and avoid to use two intermediate frame
Part 2 :
0007-libavcodec-hapdec-add-support-for-hapqa-decoding
This is the modification of the hap decoder
Change are more invasive, that what i expected
but the two texture mode of this codec, need lot of changes in several place
Samples can be found here (create with Quicktime Plugin, an remux using the
official lib,
in order to have the 3 main case of this codec)
https://we.tl/g7YFdpri1P
Need to be apply after patch in discussion
libavcodec/hapdec : add support for HapAphaOnly decoding
Comments Welcome
Martin
Jokyo Images
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-libavodec-texturedsp-add-rgtc1u_alpha-uncompress-fun.patch
Type: application/octet-stream
Size: 4971 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170924/abfebe2d/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-libavcodec-hapdec-add-support-for-hapqa-decoding.patch
Type: application/octet-stream
Size: 12226 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170924/abfebe2d/attachment-0001.obj>
More information about the ffmpeg-devel
mailing list