OSDN Git Service

Return surface width/height in pixels
authorXiang, Haihao <haihao.xiang@intel.com>
Mon, 22 Jan 2018 03:03:22 +0000 (11:03 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Wed, 31 Jan 2018 00:18:20 +0000 (08:18 +0800)
commit89cd79d27de9b9d79a3ba622ad293bc88249a596
treecc7032417f89cf8a82c87f0eeb24ab2ea25ef479
parent5e707b08322d483fe9b47a0dea7ff23ddcc133ea
Return surface width/height in pixels

width/height in VADRMPRIMESurfaceDescriptor specifies the
surface width/height in pixels in VA-API, so we should set
the corresponding variables in pixels in the driver

This fixes https://github.com/01org/intel-vaapi-driver/issues/342,
thanks pkerling for the investigation and proposed fix for this issue.

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
src/i965_drv_video.c