diff options
author | Vilius Grigaliƫnas <vilius.grigaliunas@gmail.com> | 2015-03-03 10:19:47 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-03-03 23:20:51 +0100 |
commit | ff6b08141a30920112999342b8ce6e890a5a367d (patch) | |
tree | 7469e75f0079572ceb5ec5b51218d6c9261beccc /libavformat | |
parent | 37ffe7f90a5708f3b51f277dac377a5454b5c0d5 (diff) | |
download | ffmpeg-ff6b08141a30920112999342b8ce6e890a5a367d.tar.gz |
acvodec/lipopenjpeg: Fix pixel value shift for 12-bit pixel formats
This fixes pixel values not being properly shifted in
libopenjpeg_copyto16 and libopenjpeg_copy_to_packed16 methods.
Pixel formats like xyz12le need to be shifted by AVComponentDescriptor::shift
to get the correct values.
Reviewed-by: Michael Bradshaw <mjbshaw@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
0 files changed, 0 insertions, 0 deletions