Hello,

In attach patch for Hap Alpha encoding

Patch 1 : 0004-libavcodec-texturedspenc-add-rgtc1u-encoding
Add rgtc1u encoding in the texture dsp enc

Patch 2 : 0005-libavcodec-hapenc-add-support-for-hap-alpha-only-enc
enable hap alpha only encoding in hapenc (and doc)
Ratio need to be 8 for RGTC1 otherwise, only ffmpeg can decode the frame
(the official hap lib failed to read the frame)

To test :
FFmpeg need to be compile with snappy library (--enable-libsnappy)

./ffmpeg -i fileRgba -c:v hap -format hap_alpha_only res.mov

I test the result in the 3 hap mode (with ffmpeg (with previous patch for
hap alpha only decoding decoding) and HapInAVFoundation test app (in OpenGL
mode))

compressor None
compressor snappy 1 chunk
compressor snappy 16 chunks


Martin
Jokyo Images

Attachment: 0004-libavcodec-texturedspenc-add-rgtc1u-encoding.patch
Description: Binary data

Attachment: 0005-libavcodec-hapenc-add-support-for-hap-alpha-only-enc.patch
Description: Binary data

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

Reply via email to