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

Carl Eugen Hoyos ceffmpeg at gmail.com
Mon Sep 25 23:08:05 EEST 2017


2017-09-25 21:25 GMT+02:00 Martin Vignali <martin.vignali at gmail.com>:
> 2017-09-25 20:19 GMT+02:00 Carl Eugen Hoyos <ceffmpeg at gmail.com>:
>
>> 2017-09-25 9:48 GMT+02:00 Martin Vignali <martin.vignali at gmail.com>:
>> >>
>> >> Sorry if I misunderstand:
>> >> If the format only contains one layer, why is the pix_fmt
>> >> rgb0 and not gray8?
>>
>> > I follow the existing texture dsp design, who output RGB0
>> > or RGBA depending of the texture.
>> > But you're right, the format is gray only,
>>
>> Then it should not output rgbx.
>>
>
> I will send a new patch,
> adding new texturedsp func, for gray only output (and it will be more
> consistent to encoding in the same codec)

I believe this is a good idea, consider to wait a day or so if somebody
disagrees.

Carl Eugen


More information about the ffmpeg-devel mailing list