[FFmpeg-devel] [PATCH 3/4] huffyuvdec: remove superfluous check

Michael Niedermayer michaelni at gmx.at
Thu Jun 5 01:53:17 CEST 2014


On Wed, Jun 04, 2014 at 08:48:58PM +0000, Christophe Gisquet wrote:
> An invalid entry already has the property of having a negative number
> of bits, so remove the check on the reserved value, and rearrange the
> code as a consequence.
> 
> 346800 decicycles in 422, 262079 runs, 65 skips
> 168197 decicycles in gray, 262077 runs, 67 skips
> Overall time: 7.878s
> 
> 319076 decicycles in 422, 262096 runs, 48 skips
> 159875 decicycles in gray, 262057 runs, 87 skips
> Overall time: 7.394s
> ---
>  libavcodec/huffyuvdec.c | 14 ++++++--------
>  1 file changed, 6 insertions(+), 8 deletions(-)

applied

thx

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

Democracy is the form of government in which you can choose your dictator
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140605/59640265/attachment.asc>


More information about the ffmpeg-devel mailing list