[FFmpeg-soc] [soc]: r1043 - rv40/rv40.c
Kostya
kostya.shishkov at gmail.com
Mon Aug 20 11:53:40 CEST 2007
On Mon, Aug 20, 2007 at 11:50:08AM +0200, kostya wrote:
> Author: kostya
> Date: Mon Aug 20 11:50:07 2007
> New Revision: 1043
>
> Log:
> B-frames motion prediction and compensation
Well, that completes baseline decoder. While I have not enabled B-frame
decoding by default, you can try it after applying attached patch
(B-frames now sometimes make video wobbly).
Personally I blame the specs.
Anyway, from now my task will be bug fixing and adding RV30 support.
-------------- next part --------------
Index: rv40.c
===================================================================
--- rv40.c (revision 1043)
+++ rv40.c (working copy)
@@ -1618,13 +1618,6 @@
ff_er_frame_start(s);
s->current_picture_ptr = &s->current_picture;
}
-if(s->pict_type == B_TYPE){
- memcpy(s->current_picture_ptr->data[0], s->last_picture_ptr->data[0], s->linesize*s->avctx->height);
- memcpy(s->current_picture_ptr->data[1], s->last_picture_ptr->data[1], s->uvlinesize*s->avctx->height/2);
- memcpy(s->current_picture_ptr->data[2], s->last_picture_ptr->data[2], s->uvlinesize*s->avctx->height/2);
- ff_er_add_slice(s, 0, 0, s->mb_width-1, s->mb_height-1, AC_END|DC_END|MV_END);
- return 0;
-}
r->skip_blocks = 0;
mb_pos = s->mb_x + s->mb_y * s->mb_width;
More information about the FFmpeg-soc
mailing list