7.10. cudaEglFrame 结构体参考
[CUDA 运行时使用的数据类型]
CUDA EGLFrame 描述符 - 定义 EGL 的一个帧的结构体。
每个帧可能包含一个或多个平面,具体取决于表面是否为多平面。EGLFrame 的每个平面由 cudaEglPlaneDesc 表示,其定义为
typedef struct cudaEglPlaneDesc_st { unsigned int width; unsigned int height; unsigned int depth; unsigned int pitch; unsigned int numChannels; struct cudaChannelFormatDesc channelDesc; unsigned int reserved[4]; } cudaEglPlaneDesc;
公共变量
- cudaEglColorFormat eglColorFormat
- cudaEglFrameType frameType
- cudaArray_t pArray[CUDA_EGL_MAX_PLANES]
- struct cudaPitchedPtr pPitch[CUDA_EGL_MAX_PLANES]
- unsigned int planeCount
- struct cudaEglPlaneDesc planeDesc[CUDA_EGL_MAX_PLANES]
变量
- cudaEglColorFormatcudaEglFrame::eglColorFormat [继承自]
-
CUDA EGL 颜色格式
- cudaEglFrameTypecudaEglFrame::frameType [继承自]
-
数组或 Pitch
- cudaArray_tcudaEglFrame::pArray[CUDA_EGL_MAX_PLANES] [继承自]
-
对应于每个平面的 CUDA 数组的数组
- struct cudaPitchedPtrcudaEglFrame::pPitch[CUDA_EGL_MAX_PLANES] [继承自]
-
对应于每个平面的指针数组
- unsigned int cudaEglFrame::planeCount [继承自]
-
平面数量
- struct cudaEglPlaneDesccudaEglFrame::planeDesc[CUDA_EGL_MAX_PLANES] [继承自]
-
CUDA EGL 平面描述符 cudaEglPlaneDesc