Mercurial > libavcodec.hg
changeset 10702:ea1b3a06bb26 libavcodec
Add new fields for the VDPAU/MPEG-4 back-end.
author | gb |
---|---|
date | Sun, 20 Dec 2009 16:31:21 +0000 |
parents | fb7d1f0e8bc6 |
children | 3be801dcc8a1 |
files | vaapi_mpeg4.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/vaapi_mpeg4.c Sat Dec 19 18:41:03 2009 +0000 +++ b/vaapi_mpeg4.c Sun Dec 20 16:31:21 2009 +0000 @@ -69,6 +69,7 @@ pic_param->vol_fields.bits.quarter_sample = s->quarter_sample; pic_param->vol_fields.bits.data_partitioned = s->data_partitioning; pic_param->vol_fields.bits.reversible_vlc = s->rvlc; + pic_param->vol_fields.bits.resync_marker_disable = !s->resync_marker; pic_param->no_of_sprite_warping_points = s->num_sprite_warping_points; for (i = 0; i < s->num_sprite_warping_points && i < 3; i++) { pic_param->sprite_trajectory_du[i] = s->sprite_traj[i][0]; @@ -84,6 +85,7 @@ pic_param->vop_fields.bits.alternate_vertical_scan_flag = s->alternate_scan; pic_param->vop_fcode_forward = s->f_code; pic_param->vop_fcode_backward = s->b_code; + pic_param->vop_time_increment_resolution = avctx->time_base.den; pic_param->num_macroblocks_in_gob = s->mb_width * ff_h263_get_gob_height(s); pic_param->num_gobs_in_vop = (s->mb_width * s->mb_height) / pic_param->num_macroblocks_in_gob; pic_param->TRB = s->pb_time;