FFmpeg
|
This struct describes the constraints on hardware frames attached to a given device with a hardware-specific configuration. More...
#include <hwcontext.h>
Data Fields | |
enum AVPixelFormat * | valid_hw_formats |
A list of possible values for format in the hw_frames_ctx, terminated by AV_PIX_FMT_NONE. More... | |
enum AVPixelFormat * | valid_sw_formats |
A list of possible values for sw_format in the hw_frames_ctx, terminated by AV_PIX_FMT_NONE. More... | |
int | min_width |
The minimum size of frames in this hw_frames_ctx. More... | |
int | min_height |
int | max_width |
The maximum size of frames in this hw_frames_ctx. More... | |
int | max_height |
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.
Definition at line 366 of file hwcontext.h.
enum AVPixelFormat* AVHWFramesConstraints::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.
Definition at line 371 of file hwcontext.h.
Referenced by hwupload_query_formats(), qsv_frames_get_constraints(), and vaapi_frames_get_constraints().
enum AVPixelFormat* AVHWFramesConstraints::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.
Definition at line 378 of file hwcontext.h.
Referenced by ff_vaapi_encode_init(), hwupload_query_formats(), qsv_frames_get_constraints(), scale_vaapi_config_output(), vaapi_build_decoder_config(), and vaapi_frames_get_constraints().
int AVHWFramesConstraints::min_width |
The minimum size of frames in this hw_frames_ctx.
(Zero if not known.)
Definition at line 384 of file hwcontext.h.
Referenced by ff_vaapi_encode_init(), scale_vaapi_config_output(), vaapi_build_decoder_config(), and vaapi_frames_get_constraints().
int AVHWFramesConstraints::min_height |
Definition at line 385 of file hwcontext.h.
Referenced by ff_vaapi_encode_init(), scale_vaapi_config_output(), vaapi_build_decoder_config(), and vaapi_frames_get_constraints().
int AVHWFramesConstraints::max_width |
The maximum size of frames in this hw_frames_ctx.
(INT_MAX if not known / no limit.)
Definition at line 391 of file hwcontext.h.
Referenced by ff_vaapi_encode_init(), scale_vaapi_config_output(), vaapi_build_decoder_config(), and vaapi_frames_get_constraints().
int AVHWFramesConstraints::max_height |
Definition at line 392 of file hwcontext.h.
Referenced by ff_vaapi_encode_init(), scale_vaapi_config_output(), vaapi_build_decoder_config(), and vaapi_frames_get_constraints().