Mercurial > libavcodec.hg
diff mpegvideo.c @ 2291:c4e882a7c07c libavcodec
h.261 loop filter fix
closes bug #1033108
author | michael |
---|---|
date | Fri, 08 Oct 2004 22:57:39 +0000 |
parents | 5443c3fc2448 |
children | 8556f080fcc2 |
line wrap: on
line diff
--- a/mpegvideo.c Fri Oct 08 21:45:29 2004 +0000 +++ b/mpegvideo.c Fri Oct 08 22:57:39 2004 +0000 @@ -2608,6 +2608,9 @@ pix_op[s->chroma_x_shift][uvdxy](dest_cb, ptr_cb, uvlinesize, h >> s->chroma_y_shift); pix_op[s->chroma_x_shift][uvdxy](dest_cr, ptr_cr, uvlinesize, h >> s->chroma_y_shift); } + if(s->out_format == FMT_H261){ + ff_h261_loop_filter(s); + } } /* apply one mpeg motion vector to the three components */ @@ -2704,6 +2707,7 @@ pix_op[lowres](dest_cb, ptr_cb, uvlinesize, h >> s->chroma_y_shift, uvsx, uvsy); pix_op[lowres](dest_cr, ptr_cr, uvlinesize, h >> s->chroma_y_shift, uvsx, uvsy); } + //FIXME h261 lowres loop filter } //FIXME move to dsputil, avg variant, 16x16 version