AVHWFramesConstraints

This struct describes the constraints on hardware frames attached to a given device with a hardware-specific configuration. This is returned by av_hwdevice_get_hwframe_constraints() and must be freed by av_hwframe_constraints_free() after use.

Members

Variables

max_height
int max_height;
Undocumented in source.
max_width
int max_width;

The maximum size of frames in this hw_frames_ctx. (INT_MAX if not known / no limit.)

min_height
int min_height;
Undocumented in source.
min_width
int min_width;

The minimum size of frames in this hw_frames_ctx. (Zero if not known.)

valid_hw_formats
AVPixelFormat* valid_hw_formats;

A list of possible values for format in the hw_frames_ctx, terminated by AV_PIX_FMT_NONE. This member will always be filled.

valid_sw_formats
AVPixelFormat* valid_sw_formats;

A list of possible values for sw_format in the hw_frames_ctx, terminated by AV_PIX_FMT_NONE. Can be NULL if this information is not known.

Meta