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

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


Following this doc :

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))

These two samples can be decode in OpenGL mode with
the "reference" decoder : HapInAVF Test App

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
for HapM (i not split it in two patch, because there is only few lines in
each one)

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