aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/cavs.c
diff options
context:
space:
mode:
authorStefan Gehrer <stefan.gehrer@gmx.de>2007-07-07 06:34:30 +0000
committerStefan Gehrer <stefan.gehrer@gmx.de>2007-07-07 06:34:30 +0000
commit07caa46e997ccb445b61e14366686dc6c6ae5391 (patch)
tree3de9406935fed7ad7e59dd03c54becd43305d285 /libavcodec/cavs.c
parent8a35c8e71aa285c9ad19837307e5f93c97306885 (diff)
downloadffmpeg-07caa46e997ccb445b61e14366686dc6c6ae5391.tar.gz
setting special motion vectors in intra macroblocks
is now in its own inline function Originally committed as revision 9516 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/cavs.c')
-rw-r--r--libavcodec/cavs.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/libavcodec/cavs.c b/libavcodec/cavs.c
index 4e4e5923c8..6846074250 100644
--- a/libavcodec/cavs.c
+++ b/libavcodec/cavs.c
@@ -645,15 +645,7 @@ static int decode_mb_i(AVSContext *h, int cbp_code) {
decode_residual_chroma(h);
filter_mb(h,I_8X8);
-
- /* mark motion vectors as intra */
- h->mv[MV_FWD_X0] = ff_cavs_intra_mv;
- set_mvs(&h->mv[MV_FWD_X0], BLK_16X16);
- h->mv[MV_BWD_X0] = ff_cavs_intra_mv;
- set_mvs(&h->mv[MV_BWD_X0], BLK_16X16);
- if(h->pic_type != FF_B_TYPE)
- *h->col_type = I_8X8;
-
+ set_mv_intra(h);
return 0;
}