summaryrefslogtreecommitdiffstats
path: root/video/img_format.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-01-07 16:00:38 +0100
committerwm4 <wm4@nowhere>2016-01-07 16:30:34 +0100
commite2d90b383bc2987453e99b95081f00f5b01f3a5e (patch)
treed0c54e40c745b4a11e6c2860413d0d0ac1cdb2b9 /video/img_format.h
parentc19f634e6cbdeaffed1d56ecd3a31c0652820cdf (diff)
downloadmpv-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/img_format.h')
0 files changed, 0 insertions, 0 deletions