Re: [Mesa-dev] [PATCH] st/va: Fix scaling list ordering for H.265

2017-07-14 Thread Christian König
Am 13.07.2017 um 22:38 schrieb Mark Thompson: Mesa here requires the scaling lists in diagonal scan order, but VAAPI passes them in raster scan order. Therefore, rearrange the elements when copying. Nice catch, just one note below. (This ordering was likely inherited from VDPAU, which does

[Mesa-dev] [PATCH] st/va: Fix scaling list ordering for H.265

2017-07-13 Thread Mark Thompson
Mesa here requires the scaling lists in diagonal scan order, but VAAPI passes them in raster scan order. Therefore, rearrange the elements when copying. (This ordering was likely inherited from VDPAU, which does pass them in diagonal scan order.) Signed-off-by: Mark Thompson