VA-API  2.13.0.pre1
Public Attributes | List of all members
VABufferInfo Struct Reference

VA buffer information. More...

#include <va.h>

Public Attributes

uintptr_t handle
 Buffer handle.
uint32_t type
 Buffer type (See VABufferType).
uint32_t mem_type
 Buffer memory type (See VASurfaceAttribMemoryType). More...
size_t mem_size
 Size of the underlying buffer.
uint32_t va_reserved [VA_PADDING_LOW]
 Reserved bytes for future use, must be zero.

Detailed Description

VA buffer information.

Member Data Documentation

◆ mem_type

uint32_t VABufferInfo::mem_type

Buffer memory type (See VASurfaceAttribMemoryType).

On input to vaAcquireBufferHandle(), this field can serve as a hint to specify the set of memory types the caller is interested in. On successful return from vaAcquireBufferHandle(), the field is updated with the best matching memory type.

The documentation for this struct was generated from the following file: