summaryrefslogtreecommitdiff
path: root/libavcodec/mpegvideo.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-10-08 22:57:39 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-10-08 22:57:39 +0000
commit5f6c92d40c2003471b005cc05430ec8488000867 (patch)
tree0ec3694130da09c13e97f255642c8cb278941501 /libavcodec/mpegvideo.c
parent8c7aaf5b6de268518e19a1368fb3fb2f78829e95 (diff)
h.261 loop filter fix
closes bug #1033108 Originally committed as revision 3574 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r--libavcodec/mpegvideo.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index c27e8fe1a3..2269609b1d 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -2608,6 +2608,9 @@ if(s->quarter_sample)
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 @@ static always_inline void mpeg_motion_lowres(MpegEncContext *s,
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