Re: [FFmpeg-devel] libavcodec/hapenc : add support for hap alpha only encoding

2017-09-27 Thread Tom Butterworth
Yo > Patch 1 : 0004-libavcodec-texturedspenc-add-rgtc1u-encoding > +/** > + * Compress one block of RGBA pixels in a RGTC1U texture and store the > + * resulting bytes in 'dst'. Alpha is preserved. > + * > + * @param dstoutput buffer. > + * @param stride scanline in bytes. > + * @param block

Re: [FFmpeg-devel] libavcodec/hapenc : add support for hap alpha only encoding

2017-09-25 Thread Carl Eugen Hoyos
2017-09-25 9:55 GMT+02:00 Martin Vignali : >> >> Same question as before: >> How can 24bit input be encoded into alpha? > > For now, the texturedspenc, only support rgba as input. > This encoder, use the alpha part of the rgba input and > ignore the rgb part. > > But maybe it's more convenient, to

Re: [FFmpeg-devel] libavcodec/hapenc : add support for hap alpha only encoding

2017-09-25 Thread Martin Vignali
> > Same question as before: > How can 24bit input be encoded into alpha? > > > > For now, the texturedspenc, only support rgba as input. This encoder, use the alpha part of the rgba input and ignore the rgb part. But maybe it's more convenient, to use Gray8 as input for HapAlphaOnly and not suppo

Re: [FFmpeg-devel] libavcodec/hapenc : add support for hap alpha only encoding

2017-09-24 Thread Carl Eugen Hoyos
2017-09-23 23:41 GMT+02:00 Martin Vignali : > In attach patch for Hap Alpha encoding Same question as before: How can 24bit input be encoded into alpha? Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo

[FFmpeg-devel] libavcodec/hapenc : add support for hap alpha only encoding

2017-09-23 Thread Martin Vignali
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