]> git.sesse.net Git - mlt/commit
Get initial skipping of luma scaling to work.
authorDan Dennedy <dan@dennedy.org>
Tue, 24 Aug 2010 07:24:25 +0000 (00:24 -0700)
committerDan Dennedy <dan@dennedy.org>
Sun, 26 Sep 2010 22:20:15 +0000 (15:20 -0700)
commit8e9cd0ca8ff5fc4f47b3f07c37544c09a8e3550e
tree47604a1c14f656880394e516ca6abadbc49ac2e7
parente17f84ca234cdb35fd054f46eed37babc01bfc77
Get initial skipping of luma scaling to work.

When the avformat producer property skip_luma_scale is set to 1, then we
do not scale the luma on the first YCbCr to RGB conversion. This is only
done once because swscale always downscales luma when converting RGB to
YCbCr, and we need to keep the conversions symmetrical to prevent luma
contraction (loss of contrast).
src/modules/avformat/filter_avcolour_space.c
src/modules/avformat/producer_avformat.c