comparison h264.c @ 8558:a5a04d73a570 libavcodec

Move vdpau_h264_set_reference_frames() call from vdpauvideo.c into h264.c.
author cehoyos
date Sat, 10 Jan 2009 02:45:07 +0000
parents 24c5744c3e96
children 187862685e70
comparison
equal deleted inserted replaced
8557:24c5744c3e96 8558:a5a04d73a570
7622 s->mb_y= 0; 7622 s->mb_y= 0;
7623 7623
7624 s->current_picture_ptr->qscale_type= FF_QSCALE_TYPE_H264; 7624 s->current_picture_ptr->qscale_type= FF_QSCALE_TYPE_H264;
7625 s->current_picture_ptr->pict_type= s->pict_type; 7625 s->current_picture_ptr->pict_type= s->pict_type;
7626 7626
7627 if (ENABLE_H264_VDPAU_DECODER && avctx->codec_id == CODEC_ID_H264_VDPAU)
7628 ff_vdpau_h264_set_reference_frames(h);
7629
7627 if(!s->dropable) { 7630 if(!s->dropable) {
7628 execute_ref_pic_marking(h, h->mmco, h->mmco_index); 7631 execute_ref_pic_marking(h, h->mmco, h->mmco_index);
7629 h->prev_poc_msb= h->poc_msb; 7632 h->prev_poc_msb= h->poc_msb;
7630 h->prev_poc_lsb= h->poc_lsb; 7633 h->prev_poc_lsb= h->poc_lsb;
7631 } 7634 }