[FFmpeg-devel] MPEG-2 Acceleration Refactor

John Dalgliesh johnd
Mon Jun 18 09:50:18 CEST 2007


On Sun, 17 Jun 2007 at 23:33 -0700, Corey Hickey wrote:
> John Dalgliesh wrote:
>> new possible patch:
>> +            if (speed == DECODE_FAST)
>> +            level= (3*qscale)>>1;
>> +            else
>>                level= (3*qscale*quant_matrix[0])>>5;
>
> Right, but I think you have erred slightly in your example. You mean:
> --------------------------------------------------
> +            if (speed == DECODE_FAST)
> +               level= (3*qscale)>>1;
> +            else
>              level= (3*qscale*quant_matrix[0])>>5;
> --------------------------------------------------

Yes, whoops! Thanks. The middle line could be either indented or not I 
guess but i wrote the last one wrong. (Sorry Greg.)

> If I'm messing up here, forgive me and I'll go drink some cola. Maybe
> I'll do that anyway.

No the cola is all mine :)

> -Corey

{P^/




More information about the ffmpeg-devel mailing list