World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
Структура AVDRMFrameDescriptor

#include <hwcontext_drm.h>

+ Граф связей класса AVDRMFrameDescriptor:

Открытые атрибуты

int nb_objects
 
AVDRMObjectDescriptor objects [AV_DRM_MAX_PLANES]
 
int nb_layers
 
AVDRMLayerDescriptor layers [AV_DRM_MAX_PLANES]
 

Подробное описание

DRM frame descriptor.

This is used as the data pointer for AV_PIX_FMT_DRM_PRIME frames. It is also used by user-allocated frame pools - allocating in AVHWFramesContext.pool must return AVBufferRefs which contain an object of this type.

The fields of this structure should be set such it can be imported directly by EGL using the EGL_EXT_image_dma_buf_import and EGL_EXT_image_dma_buf_import_modifiers extensions. (Note that the exact layout of a particular format may vary between platforms - we only specify that the same platform should be able to import it.)

The total number of planes must not exceed AV_DRM_MAX_PLANES, and the order of the planes by increasing layer index followed by increasing plane index must be the same as the order which would be used for the data pointers in the equivalent software format.

См. определение в файле hwcontext_drm.h строка 133

Данные класса

◆ nb_objects

int AVDRMFrameDescriptor::nb_objects

Number of DRM objects making up this frame.

См. определение в файле hwcontext_drm.h строка 137

◆ objects

AVDRMObjectDescriptor AVDRMFrameDescriptor::objects[AV_DRM_MAX_PLANES]

Array of objects making up the frame.

См. определение в файле hwcontext_drm.h строка 141

◆ nb_layers

int AVDRMFrameDescriptor::nb_layers

Number of layers in the frame.

См. определение в файле hwcontext_drm.h строка 145

◆ layers

AVDRMLayerDescriptor AVDRMFrameDescriptor::layers[AV_DRM_MAX_PLANES]

Array of layers in the frame.

См. определение в файле hwcontext_drm.h строка 149


Объявления и описания членов структуры находятся в файле: