Re: [FFmpeg-devel] [PATCH] lavd/v4l2: Add ARGB and XRGB packed pixel formats

2018-05-10 Thread Антон Леонтьев
> 2018-05-08 15:11 GMT+02:00, Anton Leontiev : >> Formats ARGB32, XRGB32, ABGR32, and XBGR32 were added to >> V4L2 instead of ill-defined deprecated RGB32/BGR32 pixel formats. > > Just curious because I am quite sure I tested them: > Why / how are they ill-defined? According

Re: [FFmpeg-devel] [PATCH] lavd/v4l2: Add ARGB and XRGB packed pixel formats

2018-05-08 Thread Carl Eugen Hoyos
2018-05-08 15:11 GMT+02:00, Anton Leontiev : > Formats ARGB32, XRGB32, ABGR32, and XBGR32 were added to > V4L2 instead of ill-defined deprecated RGB32/BGR32 pixel formats. Just curious because I am quite sure I tested them: Why / how are they ill-defined? [...] > diff

[FFmpeg-devel] [PATCH] lavd/v4l2: Add ARGB and XRGB packed pixel formats

2018-05-08 Thread Anton Leontiev
Formats ARGB32, XRGB32, ABGR32, and XBGR32 were added to V4L2 instead of ill-defined deprecated RGB32/BGR32 pixel formats. When pixel format is not specified explicitly FFmpeg tries formats in order in which they are stored in the table. Therefore formats are sorted as follows: BGR is preferred