FFmpeg
Data Fields
AVCUDAHWConfig Struct Reference

CUDA hardware pipeline configuration details. More...

#include <hwcontext_cuda.h>

Data Fields

enum AVPixelFormat hw_format
 The hardware pixel format to query constraints for. More...
 

Detailed Description

CUDA hardware pipeline configuration details.

Passed to av_hwdevice_get_hwframe_constraints() to query per-hw-format constraints. When provided, valid_sw_formats will be filtered to only those compatible with the specified hw_format.

Definition at line 116 of file hwcontext_cuda.h.

Field Documentation

◆ hw_format

enum AVPixelFormat AVCUDAHWConfig::hw_format

The hardware pixel format to query constraints for.

Must be AV_PIX_FMT_CUDA or AV_PIX_FMT_CUARRAY.

Definition at line 121 of file hwcontext_cuda.h.


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