[FFmpeg-devel] [PATCH v6 1/3] lavd: Add SDL2 output device

Carl Eugen Hoyos ceffmpeg at gmail.com
Sat Sep 24 20:00:10 EEST 2016


2016-09-14 18:20 GMT+02:00 Josh de Kock <josh at itanimul.li>:
> On 14/09/2016 17:17, Carl Eugen Hoyos wrote:

>>> +    { AV_PIX_FMT_RGB0,   SDL_PIXELFORMAT_RGBX8888 },
>>> +    { AV_PIX_FMT_BGR0,   SDL_PIXELFORMAT_BGRX8888 },
>>> +    { AV_PIX_FMT_ARGB,   SDL_PIXELFORMAT_ARGB8888 },
>>> +    { AV_PIX_FMT_RGBA,   SDL_PIXELFORMAT_RGBA8888 },
>>> +    { AV_PIX_FMT_ABGR,   SDL_PIXELFORMAT_ABGR8888 },
>>> +    { AV_PIX_FMT_BGRA,   SDL_PIXELFORMAT_BGRA8888 },
>>
>> These are wrong afaict, I am happy to fix them after this gets
>> committed if you are less interested.
>
> That would be much appreciated, I wasn't too sure about the
> mappings, so if you could look over all of them that'd be great.

All 32bit rgb formats should work fine now.

Thank you, Carl Eugen


More information about the ffmpeg-devel mailing list