vl: Renamed function to appropriate name.
authorThomas Balling Sørensen <tball@tball-laptop.(none)>
Mon, 27 Sep 2010 20:45:05 +0000 (22:45 +0200)
committerThomas Balling Sørensen <tball@tball-laptop.(none)>
Mon, 27 Sep 2010 20:45:05 +0000 (22:45 +0200)
src/gallium/state_trackers/vdpau/decode.c

index ec3995b98db3e7cfa025adad1dca5a0388d5b0fa..e03bc35ed681660fbb898ebb00f4c2b267dc934e 100644 (file)
@@ -166,7 +166,7 @@ vlVdpCreateSurfaceTarget   (vlVdpDecoder *vldecoder,
 }
 
 static void
-vlVdpMacroBlocksToPipe(struct pipe_screen *screen,
+vlVdpBitstreamToMacroblocks(struct pipe_screen *screen,
                   VdpBitstreamBuffer const *bitstream_buffers,
                   unsigned int num_macroblocks,
                   struct pipe_mpeg12_macroblock *pipe_macroblocks)
@@ -221,7 +221,7 @@ vlVdpDecoderRenderMpeg2    (vlVdpDecoder *vldecoder,
        num_macroblocks = bitstream_buffer_count;
        struct pipe_mpeg12_macroblock pipe_macroblocks[num_macroblocks];
        
-       vlVdpMacroBlocksToPipe(vpipe->screen, bitstream_buffers,
+       vlVdpBitstreamToMacroblocks(vpipe->screen, bitstream_buffers,
                      num_macroblocks, pipe_macroblocks);
                
        vpipe->set_decode_target(vpipe,t_surf);