[FFmpeg-devel] libavcodec/hapdec : add support for HapAphaOnly decoding

Martin Vignali martin.vignali at gmail.com
Sat Sep 23 22:49:11 EEST 2017


Hello,

Following this doc :
https://github.com/Vidvox/hap/blob/master/documentation/HapVideoDRAFT.md

Hap Alpha Only, is only an rgtc1 texture with or without snappy compression


Samples can found here (these samples have been create using the second
texture of an hapqa file (generate with Hap Quicktime plugin))
https://we.tl/cP0pW9IfBJ

These two samples can be decode in OpenGL mode with
the "reference" decoder : HapInAVF Test App
https://github.com/Vidvox/hap-in-avfoundation


I split the patch in two
one for libavformat, in order to add two data format tag for mov
HapA : for HAP Alpha Only
HAPM : for HAPQAlpha


In the hapdec patch, i add the lines to decode hapA, and more precise error
message
for HapM (i not split it in two patch, because there is only few lines in
each one)


Martin
Jokyo Images
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libavformat-add-mov-dataformat-tag-for-HapAlphaOnly-.patch
Type: application/octet-stream
Size: 918 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170923/2aa25af4/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-libavcodec-hapdec-add-support-HapAlphaOnly.patch
Type: application/octet-stream
Size: 2004 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170923/2aa25af4/attachment-0001.obj>


More information about the ffmpeg-devel mailing list