diff options
author | Christian König <[email protected]> | 2011-06-05 17:53:48 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2011-06-05 17:53:48 +0200 |
commit | c4a168819dee9a2f9b4e7c7ab8d79bb50876d85d (patch) | |
tree | f1181b9834b473300858c3a5de5bbe01d66d029a /src/gallium/state_trackers/vdpau/decode.c | |
parent | 7e1fbb360332ecac2789e28a0f3d303306f687b1 (diff) |
[g3dvl] rename map/unmap to begin/end frame
mapping and unmapping of buffers is just an implementation detail.
begining and ending an frame is much more descriptive
Diffstat (limited to 'src/gallium/state_trackers/vdpau/decode.c')
-rw-r--r-- | src/gallium/state_trackers/vdpau/decode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/vdpau/decode.c b/src/gallium/state_trackers/vdpau/decode.c index de6f96babcb..5c6d0467924 100644 --- a/src/gallium/state_trackers/vdpau/decode.c +++ b/src/gallium/state_trackers/vdpau/decode.c @@ -200,13 +200,13 @@ vlVdpDecoderRenderMpeg2(struct pipe_video_decoder *decoder, picture.intra_quantizer_matrix = picture_info->intra_quantizer_matrix; picture.non_intra_quantizer_matrix = picture_info->non_intra_quantizer_matrix; - buffer->map(buffer); + buffer->begin_frame(buffer); for (i = 0; i < bitstream_buffer_count; ++i) buffer->decode_bitstream(buffer, bitstream_buffers[i].bitstream_bytes, bitstream_buffers[i].bitstream, &picture, num_ycbcr_blocks); - buffer->unmap(buffer); + buffer->end_frame(buffer); decoder->flush_buffer(buffer, num_ycbcr_blocks, ref_frames, target); |