[MPlayer-dev-eng] 32x32 tiled output driver

Jacob Gorm Hansen jacobg at diku.dk
Sat Mar 19 01:40:23 CET 2005


D Richard Felker III wrote:

>>Is there a performance benefit to using slice rendering? E.g. smaller 
>>TLB and cache footprint, or what is the motivation for using this method 
>>over put_image()?
> 
> 
> Yes, a significant benefit. When decoding video, the main buffer is
> always kept in system memory in a linear format with nice alignment,
> because it's needed for decoding the next frame. You can either wait
> til you finish decoding a frame and copy this whole buffer from memory
> to the video device, or you can use slices and copy each slice from
> the l2 cache to the video device. Naturally the latter is a lot
> faster.

So I am trying to implement slice rendering, but it seems that for 
RGB/BGR formats draw_slice just gets called with the whole frame? Is it 
possible to get small (16 px) slices without supporting YUV conversion?

thanks,
Jacob




More information about the MPlayer-dev-eng mailing list