diff options
author | wm4 <wm4@nowhere> | 2016-01-07 16:00:38 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-01-07 16:30:34 +0100 |
commit | e2d90b383bc2987453e99b95081f00f5b01f3a5e (patch) | |
tree | d0c54e40c745b4a11e6c2860413d0d0ac1cdb2b9 /video/vaapi.h | |
parent | c19f634e6cbdeaffed1d56ecd3a31c0652820cdf (diff) | |
download | mpv-e2d90b383bc2987453e99b95081f00f5b01f3a5e.tar.bz2 mpv-e2d90b383bc2987453e99b95081f00f5b01f3a5e.tar.xz |
img_format: take care of pixfmts that declare padding
A format could declare that some or all LSBs in a component are padding
bits by setting a non-0 AVComponentDescriptor.shift value. This means we
would interpret it incorrectly, because until now we always assumed all
regular formats have the padding in the MSBs.
Not a single format that does this actually exists, though. But a NV12
variant will be added later in FFmpeg.
Diffstat (limited to 'video/vaapi.h')
0 files changed, 0 insertions, 0 deletions