FFmpeg
Data Fields
AVCUDAArrayFrameDescriptor Struct Reference

CUDA frame descriptor for pool allocation of AV_PIX_FMT_CUARRAY frames. More...

#include <hwcontext_cuda.h>

Data Fields

CUarray array
 The CUarray containing the frame data. More...
 
intptr_t index
 The index into AVCUDAFramesContext.cuarray_surfaces, or 0 if not applicable. More...
 

Detailed Description

CUDA frame descriptor for pool allocation of AV_PIX_FMT_CUARRAY frames.

In user-allocated pools, AVHWFramesContext.pool must return AVBufferRefs with the data pointer pointing at an object of this type describing the planes of the frame.

This has no use outside of custom allocation, and AVFrame AVBufferRef do not necessarily point to an instance of this struct.

Definition at line 60 of file hwcontext_cuda.h.

Field Documentation

◆ array

CUarray AVCUDAArrayFrameDescriptor::array

The CUarray containing the frame data.

Normally stored in AVFrame.data[0].

Definition at line 66 of file hwcontext_cuda.h.

◆ index

intptr_t AVCUDAArrayFrameDescriptor::index

The index into AVCUDAFramesContext.cuarray_surfaces, or 0 if not applicable.

Normally stored in AVFrame.data[1] (cast from intptr_t).

Definition at line 73 of file hwcontext_cuda.h.


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