|
FFmpeg
|
This struct is allocated as AVHWFramesContext.hwctx. More...
#include <hwcontext_cuda.h>
Data Fields | |
| CUDA_ARRAY3D_DESCRIPTOR | cuarray_desc |
| CUDA_ARRAY3D_DESCRIPTOR CUarrays will be initialized with. More... | |
| int | cuarray_num_surfaces |
| If >0, pre-allocate a fixed pool of surfaces. More... | |
| CUarray * | cuarray_surfaces |
| If cuarray_num_surfaces is >0, this contains the array of pre-allocated surfaces. More... | |
This struct is allocated as AVHWFramesContext.hwctx.
Definition at line 79 of file hwcontext_cuda.h.
| CUDA_ARRAY3D_DESCRIPTOR AVCUDAFramesContext::cuarray_desc |
CUDA_ARRAY3D_DESCRIPTOR CUarrays will be initialized with.
Mostly used to provide external Flags.
Width, Height and Format only honored if != 0. Filled with default parameters from the FramesContext otherwise.
Only applicable for AV_PIX_FMT_CUARRAY.
Definition at line 89 of file hwcontext_cuda.h.
Referenced by cuda_frames_init(), cuda_pool_alloc(), cuvid_handle_video_sequence(), and ff_nvdec_decode_init().
| int AVCUDAFramesContext::cuarray_num_surfaces |
If >0, pre-allocate a fixed pool of surfaces.
The surfaces will be available via cuarray_surfaces after init. Size of the pool cannot be changed afterwards.
Only applicable for AV_PIX_FMT_CUARRAY.
Definition at line 98 of file hwcontext_cuda.h.
Referenced by cuda_frames_init(), cuda_frames_uninit(), cuda_pool_alloc(), and ff_nvdec_decode_init().
| CUarray* AVCUDAFramesContext::cuarray_surfaces |
If cuarray_num_surfaces is >0, this contains the array of pre-allocated surfaces.
Only applicable for AV_PIX_FMT_CUARRAY.
Definition at line 105 of file hwcontext_cuda.h.
Referenced by cuda_frames_init(), cuda_frames_uninit(), and cuda_pool_alloc().
1.8.17