在 2015/2/14 16:43, Reimar Döffinger 写道: > On 13.02.2015, at 17:58, "zhaoxiu.zeng" <zhaoxiu.z...@gmail.com> wrote: >> From 7d782e106cf485ca9a44d4283a18402bf0a84fb9 Mon Sep 17 00:00:00 2001 >> From: Zeng Zhaoxiu <zhaoxiu.z...@gmail.com> >> Date: Sat, 14 Feb 2015 00:44:39 +0800 >> Subject: [PATCH] avcodec/golomb: simplify sign conversion > > This may be faster, but IMHO the term "simplify" is completely wrong.
Yes. Actually, this patch make the conversions branchless. > Also in most cases the sign variable should be initialized right at its > declaration instead of splitting it into 2 lines. I will commit a patch later. > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel > _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel