OSDN Git Service

Update some comments about VADRMPRIMESurfaceDescriptor
authorXiang, Haihao <haihao.xiang@intel.com>
Mon, 22 Jan 2018 02:09:15 +0000 (10:09 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Tue, 23 Jan 2018 05:34:29 +0000 (13:34 +0800)
width/height in VADRMPRIMESurfaceDescriptor specifies the
surface width/height in pixels

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
va/va_drmcommon.h

index 55eb9e9..6d9c8a0 100644 (file)
@@ -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;