Revision 36ad2b3e libavcodec/vaapi_mpeg4.c
libavcodec/vaapi_mpeg4.c | ||
---|---|---|
92 | 92 |
pic_param->TRD = s->pp_time; |
93 | 93 |
|
94 | 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 | 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 | 99 |
/* Fill in VAIQMatrixBufferMPEG4 */ |
100 | 100 |
/* Only the first inverse quantisation method uses the weighthing matrices */ |
Also available in: Unified diff