BradLarson / GPUImage

An open source iOS framework for GPU-based image and video processing
http://www.sunsetlakesoftware.com/2012/02/12/introducing-gpuimage-framework
BSD 3-Clause "New" or "Revised" License
20.23k stars 4.61k forks source link

fix YUV to RGB color conversion matrix #2463

Closed worthyzhang closed 7 years ago

worthyzhang commented 7 years ago

Videos exported using kColorConversion709Default conversion matrix is lighter then origin one. I suppose The original format is 'YPbPr' when configuring format value with 'kCVPixelFormatType_420YpCbCr8BiPlanarFullRange' in outputSettings. The conversion matrix from YUV to RGB should be changed. reference:http://www.equasys.de/colorconversion.html