|
FFmpeg
|
Go to the source code of this file.
Data Structures | |
| struct | AVCUDADeviceContextInternal |
Functions | |
| static int | ff_cuda_cuarray_elem_size (CUarray_format fmt) |
| Return the element size in bytes for a CUarray_format, or 0 for unknown. More... | |
FFmpeg internal API for CUDA.
Definition in file hwcontext_cuda_internal.h.
|
inlinestatic |
Return the element size in bytes for a CUarray_format, or 0 for unknown.
Used to compute frame->linesize[] for CUarray frames (block-linear). Callers that need a fallback should treat a 0 return as an error.
Definition at line 44 of file hwcontext_cuda_internal.h.
Referenced by cuda_get_buffer(), cuvid_output_frame(), and nvdec_retrieve_data().
1.8.17