diff options
author | Anton Leontiev <aleontiev@elvees.com> | 2018-05-10 18:31:20 +0300 |
---|---|---|
committer | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2018-05-10 22:40:57 +0200 |
commit | 94818025394b5e840a2c94ce8ddd501c8cc17652 (patch) | |
tree | 57e8adf20fc84863a48226fe1f41551a5694e740 /libavformat/bfi.c | |
parent | 0612e29b59d46942f732d6d59dbc863ac1b1e980 (diff) | |
download | ffmpeg-94818025394b5e840a2c94ce8ddd501c8cc17652.tar.gz |
lavd/v4l2: Add ARGB and XRGB packed pixel formats
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 over RGB and XBGR is preferred
over ARGB, because it could give better performance by ignoring alpha
component.
Diffstat (limited to 'libavformat/bfi.c')
0 files changed, 0 insertions, 0 deletions