On Mon, Sep 04, 2017 at 09:33:34AM +0200, Mateusz wrote:
> If ffmpeg reduces bit-depth to 8-bit or more, it uses DITHER_COPY macro.
> The problem is DITHER_COPY macro make images darker (on all planes).
> 
> In x265 project there is issue #365 which is caused by this DITHER_COPY bug.
> I think it is time to fix -- there are more and more high bit-depth sources.
> 
> Please review.
> 
>  libswscale/swscale_unscaled.c | 44 
> +++++++++++++------------------------------
>  1 file changed, 13 insertions(+), 31 deletions(-)

please provide a git compatible patch with with commit message as produced
by git format-patch or git send-email

this mail is not accepted as is by git
Applying: libswscale/swscale_unscaled: fix DITHER_COPY macro
error: corrupt patch at line 6
error: could not build fake ancestor
Patch failed at 0001 libswscale/swscale_unscaled: fix DITHER_COPY macro

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In a rich man's house there is no place to spit but his face.
-- Diogenes of Sinope

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to