[FFmpeg-devel] indeo4/indeo5 inverse quantization
Maxim
max_pole
Mon May 31 01:59:25 CEST 2010
M?ns Rullg?rd schrieb:
> Maxim <max_pole at gmx.de> writes:
>
>
>>> ((q >> 1) - (q & 1))
>>> could be replaced by
>>>
>>> ((q^1)-1)>>1
>>>
>> What is the advantage of such a replacement? Anyway it looks more
>> compactly and friendly to me...
>>
>
> The first form requires two registers for intermediate values on
> some CPUs, whereas the second only needs one.
>
>
Ok, I agree with it. Commited...
Best regards
Maxim
More information about the ffmpeg-devel
mailing list