7.52. CUeglFrame_v1 结构体参考

[CUDA 驱动程序使用的数据类型]

CUDA EGLFrame 结构描述符 - 定义 EGL 的一帧的结构。

每个帧可能包含一个或多个平面,具体取决于表面是否为多平面。

公共变量

CUarray_format cuFormat
unsigned int  depth
CUeglColorFormat eglColorFormat
CUeglFrameType frameType
unsigned int  height
unsigned int  numChannels
CUarray pArray[MAX_PLANES]
void [MAX_PLANES] * pPitch
unsigned int  pitch
unsigned int  planeCount
unsigned int  width

变量

CUarray_formatCUeglFrame_v1::cuFormat [继承]

CUDA 数组格式

unsigned int CUeglFrame_v1::depth [继承]

第一个平面的深度

CUeglColorFormatCUeglFrame_v1::eglColorFormat [继承]

CUDA EGL 颜色格式

CUeglFrameTypeCUeglFrame_v1::frameType [继承]

数组或 Pitch

unsigned int CUeglFrame_v1::height [继承]

第一个平面的高度

unsigned int CUeglFrame_v1::numChannels [继承]

平面的通道数

CUarrayCUeglFrame_v1::pArray[MAX_PLANES] [继承]

对应于每个平面的 CUarray 数组

void [MAX_PLANES] * CUeglFrame_v1::pPitch [继承]

对应于每个平面的指针数组

unsigned int CUeglFrame_v1::pitch [继承]

第一个平面的 Pitch

unsigned int CUeglFrame_v1::planeCount [继承]

平面数量

unsigned int CUeglFrame_v1::width [继承]

第一个平面的宽度