summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2018-01-22 10:09:15 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2018-01-23 13:34:29 +0800
commitcb8b5b66f4c88c323848878755f69ebfd6e098c1 (patch)
tree98886c3e28ba547cc016b5972705a6f4d7059a73
parentc88000b75602ded8ec24e6ea032f4841a4437049 (diff)
downloadlibva-cb8b5b66f4c88c323848878755f69ebfd6e098c1.tar.gz
Update some comments about VADRMPRIMESurfaceDescriptor
width/height in VADRMPRIMESurfaceDescriptor specifies the surface width/height in pixels Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
-rw-r--r--va/va_drmcommon.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/va/va_drmcommon.h b/va/va_drmcommon.h
index 55eb9e9..6d9c8a0 100644
--- a/va/va_drmcommon.h
+++ b/va/va_drmcommon.h
@@ -105,9 +105,9 @@ struct drm_state {
typedef struct _VADRMPRIMESurfaceDescriptor {
/** Pixel format fourcc of the whole surface (VA_FOURCC_*). */
uint32_t fourcc;
- /** Width of the surface. */
+ /** Width of the surface in pixels. */
uint32_t width;
- /** Height of the surface. */
+ /** Height of the surface in pixels. */
uint32_t height;
/** Number of distinct DRM objects making up the surface. */
uint32_t num_objects;