[FFmpeg-devel] [PATCH] 'j_rev_dct_ARM' bugfix

Måns Rullgård mans
Wed Nov 12 21:29:14 CET 2008


Siarhei Siamashka <siarhei.siamashka at gmail.com> writes:

> Hi,
>
> This is a bugfix for ARMv4 assembly implementation of 'j_rev_dct' function.
>
> The problem was in the incorrect partially empty row detection. Even
> if the first two coefficients in the row were nonzero, it handled
> this just like the case with only the first nonzero coefficient.
>
> Now this function produces exactly the same output as the stripped
> down reference C version of 'j_rev_dct' (with the nested checks like
> 'if (d6) { if (d2) { ...' always evaluated as true, avoiding
> shortcut branches).

Thanks, applied.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list