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

Attachment: 0006-libavodec-texturedsp-add-rgtc1u_alpha-uncompress-fun.patch
Description: Binary data

Attachment: 0007-libavcodec-hapdec-add-support-for-hapqa-decoding.patch
Description: Binary data

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to