[FFmpeg-devel] [PATCH] swscale/utils.c: Fix incorrect error when calling sws_setColorspaceDetails

Michael Niedermayer michael at niedermayer.cc
Fri Aug 4 00:19:48 EEST 2017


On Thu, Aug 03, 2017 at 12:06:34PM +0100, Mark Boorer wrote:
> I can confirm that range works as expected, but I couldn't actually see any
> difference when setting brightness, contrast or saturation. It looks as
> though all of those calculations only take place inside the yuv2rgb lookup
> table, so when converting from yuv->yuv they won't get applied.
> 
> In my case I am not using the brightness/contrast/saturation settings, only
> the range.

Please correct me if iam wrong but IIUC before your patch setting
brightness errors out while afterwards it gives a wrong result


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Awnsering whenever a program halts or runs forever is
On a turing machine, in general impossible (turings halting problem).
On any real computer, always possible as a real computer has a finite number
of states N, and will either halt in less than N cycles or never halt.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170803/78da19c5/attachment.sig>


More information about the ffmpeg-devel mailing list