[FFmpeg-devel] [PATCH] RV30 Loop Filter, should be final version

Michael Niedermayer michaelni
Fri Dec 19 10:53:12 CET 2008


On Wed, Dec 17, 2008 at 10:24:40PM +0200, Kostya wrote:
> $subj
[...]
> +    mb_pos = row * s->mb_stride;
> +    for(mb_x = 0; mb_x < s->mb_width; mb_x++, mb_pos++){
> +        cur_lim = rv30_lims[s->current_picture_ptr->qscale_table[mb_pos]];
> +        if(mb_x)
> +            left_lim = rv30_lims[s->current_picture_ptr->qscale_table[mb_pos - 1]];
> +        for(j = 0; j < 16; j += 4){
> +            Y = s->current_picture_ptr->data[0] + mb_x*16 + (row*16 + j) * s->linesize;

> +            for(i = 0; i < 4; i++, Y += 4){
> +                int ij = i + j;
> +                if(!i && !mb_x)
> +                    continue;

for(i=!mb_x; ...

[...]
-- 
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: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081219/bfc3eb52/attachment.pgp>



More information about the ffmpeg-devel mailing list