[Libva] [PATCH][G45] Fix rendering of subpictures

Xiang, Haihao haihao.xiang at intel.com
Thu Jul 15 23:52:30 PDT 2010


On Tue, 2010-07-13 at 23:01 +0800, Gwenole Beauchesne wrote:
> Hi,
> 
> This patch fixes rendering of subpictures. There were two problems:  
> (i) coords were scaled up too much, (ii) scale factor was not using  
> the real visible surface size. You can check before/after conditions  
> as follows:
> 
> $ ./vaapi_h264 --genimage rgb-rects --putimage blend --putimage-size  
> 640x480
>    The subpicture shall touch the window bounds
> 
> $ mplayer -vo vaapi -va vaapi -fs /path/to/some/1080p/video
>    Press 'o' (lower-case oh) to show OSD. The text was oversized.
Applied

Thanks
Haihao




More information about the Libva mailing list