Mercurial > libavcodec.hg
comparison vaapi_mpeg4.c @ 10723:3f08c340020f libavcodec
Rename ff_vaapi_get_surface() to ff_vaapi_get_surface_id().
author | gb |
---|---|
date | Mon, 28 Dec 2009 09:02:16 +0000 |
parents | ea1b3a06bb26 |
children | de8d07d87c45 |
comparison
equal
deleted
inserted
replaced
10722:de2a496db0e5 | 10723:3f08c340020f |
---|---|
90 pic_param->num_gobs_in_vop = (s->mb_width * s->mb_height) / pic_param->num_macroblocks_in_gob; | 90 pic_param->num_gobs_in_vop = (s->mb_width * s->mb_height) / pic_param->num_macroblocks_in_gob; |
91 pic_param->TRB = s->pb_time; | 91 pic_param->TRB = s->pb_time; |
92 pic_param->TRD = s->pp_time; | 92 pic_param->TRD = s->pp_time; |
93 | 93 |
94 if (s->pict_type == FF_B_TYPE) | 94 if (s->pict_type == FF_B_TYPE) |
95 pic_param->backward_reference_picture = ff_vaapi_get_surface(&s->next_picture); | 95 pic_param->backward_reference_picture = ff_vaapi_get_surface_id(&s->next_picture); |
96 if (s->pict_type != FF_I_TYPE) | 96 if (s->pict_type != FF_I_TYPE) |
97 pic_param->forward_reference_picture = ff_vaapi_get_surface(&s->last_picture); | 97 pic_param->forward_reference_picture = ff_vaapi_get_surface_id(&s->last_picture); |
98 | 98 |
99 /* Fill in VAIQMatrixBufferMPEG4 */ | 99 /* Fill in VAIQMatrixBufferMPEG4 */ |
100 /* Only the first inverse quantisation method uses the weighthing matrices */ | 100 /* Only the first inverse quantisation method uses the weighthing matrices */ |
101 if (pic_param->vol_fields.bits.quant_type) { | 101 if (pic_param->vol_fields.bits.quant_type) { |
102 iq_matrix = ff_vaapi_alloc_iq_matrix(vactx, sizeof(VAIQMatrixBufferMPEG4)); | 102 iq_matrix = ff_vaapi_alloc_iq_matrix(vactx, sizeof(VAIQMatrixBufferMPEG4)); |