Mercurial > libavcodec.hg
comparison vaapi_mpeg2.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 | 140aa1e7328b |
| children | de8d07d87c45 |
comparison
equal
deleted
inserted
replaced
| 10722:de2a496db0e5 | 10723:3f08c340020f |
|---|---|
| 71 pic_param->picture_coding_extension.bits.progressive_frame = s->progressive_frame; | 71 pic_param->picture_coding_extension.bits.progressive_frame = s->progressive_frame; |
| 72 pic_param->picture_coding_extension.bits.is_first_field = mpeg2_get_is_frame_start(s); | 72 pic_param->picture_coding_extension.bits.is_first_field = mpeg2_get_is_frame_start(s); |
| 73 | 73 |
| 74 switch (s->pict_type) { | 74 switch (s->pict_type) { |
| 75 case FF_B_TYPE: | 75 case FF_B_TYPE: |
| 76 pic_param->backward_reference_picture = ff_vaapi_get_surface(&s->next_picture); | 76 pic_param->backward_reference_picture = ff_vaapi_get_surface_id(&s->next_picture); |
| 77 // fall-through | 77 // fall-through |
| 78 case FF_P_TYPE: | 78 case FF_P_TYPE: |
| 79 pic_param->forward_reference_picture = ff_vaapi_get_surface(&s->last_picture); | 79 pic_param->forward_reference_picture = ff_vaapi_get_surface_id(&s->last_picture); |
| 80 break; | 80 break; |
| 81 } | 81 } |
| 82 | 82 |
| 83 /* Fill in VAIQMatrixBufferMPEG2 */ | 83 /* Fill in VAIQMatrixBufferMPEG2 */ |
| 84 iq_matrix = ff_vaapi_alloc_iq_matrix(vactx, sizeof(VAIQMatrixBufferMPEG2)); | 84 iq_matrix = ff_vaapi_alloc_iq_matrix(vactx, sizeof(VAIQMatrixBufferMPEG2)); |
