Mercurial > libavcodec.hg
comparison h264.c @ 8565:6687083ec76a libavcodec
Remove H264Context from vdpau_internal.h.
author | cehoyos |
---|---|
date | Sun, 11 Jan 2009 00:48:20 +0000 |
parents | b59279494d84 |
children | 7a463923ecd1 |
comparison
equal
deleted
inserted
replaced
8564:11bcc8a9726b | 8565:6687083ec76a |
---|---|
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) | 7627 if (ENABLE_H264_VDPAU_DECODER && avctx->codec_id == CODEC_ID_H264_VDPAU) |
7628 ff_vdpau_h264_set_reference_frames(h); | 7628 ff_vdpau_h264_set_reference_frames(s); |
7629 | 7629 |
7630 if(!s->dropable) { | 7630 if(!s->dropable) { |
7631 execute_ref_pic_marking(h, h->mmco, h->mmco_index); | 7631 execute_ref_pic_marking(h, h->mmco, h->mmco_index); |
7632 h->prev_poc_msb= h->poc_msb; | 7632 h->prev_poc_msb= h->poc_msb; |
7633 h->prev_poc_lsb= h->poc_lsb; | 7633 h->prev_poc_lsb= h->poc_lsb; |
7634 } | 7634 } |
7635 h->prev_frame_num_offset= h->frame_num_offset; | 7635 h->prev_frame_num_offset= h->frame_num_offset; |
7636 h->prev_frame_num= h->frame_num; | 7636 h->prev_frame_num= h->frame_num; |
7637 | 7637 |
7638 if (ENABLE_H264_VDPAU_DECODER && avctx->codec_id == CODEC_ID_H264_VDPAU) | 7638 if (ENABLE_H264_VDPAU_DECODER && avctx->codec_id == CODEC_ID_H264_VDPAU) |
7639 ff_vdpau_h264_picture_complete(h); | 7639 ff_vdpau_h264_picture_complete(s); |
7640 | 7640 |
7641 /* | 7641 /* |
7642 * FIXME: Error handling code does not seem to support interlaced | 7642 * FIXME: Error handling code does not seem to support interlaced |
7643 * when slices span multiple rows | 7643 * when slices span multiple rows |
7644 * The ff_er_add_slice calls don't work right for bottom | 7644 * The ff_er_add_slice calls don't work right for bottom |