This struct describes the constraints on hardware frames attached to a given device with a hardware-specific configuration. More...
#include <hwcontext.h>
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 441 of file hwcontext.h.
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 446 of file hwcontext.h.
Referenced by cuda_frames_get_constraints(), d3d11va_frames_get_constraints(), d3d12va_frames_get_constraints(), hwupload_query_formats(), opencl_frames_get_constraints(), qsv_frames_get_constraints(), vaapi_frames_get_constraints(), vdpau_frames_get_constraints(), vt_frames_get_constraints(), and vulkan_frames_get_constraints().
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 453 of file hwcontext.h.
Referenced by cuda_frames_get_constraints(), d3d11va_frames_get_constraints(), d3d12va_frames_get_constraints(), ff_hw_base_get_recon_format(), ff_vaapi_vpp_config_output(), hwupload_query_formats(), opencl_frames_get_constraints(), qsv_frames_get_constraints(), vaapi_decode_make_config(), vaapi_frames_get_constraints(), vdpau_frames_get_constraints(), vt_frames_get_constraints(), and vulkan_frames_get_constraints().
The minimum size of frames in this hw_frames_ctx.
(Zero if not known.)
Definition at line 459 of file hwcontext.h.
Referenced by ff_hw_base_get_recon_format(), ff_vaapi_vpp_config_output(), vaapi_decode_make_config(), vaapi_frames_get_constraints(), and vulkan_frames_get_constraints().
Definition at line 460 of file hwcontext.h.
Referenced by ff_hw_base_get_recon_format(), ff_vaapi_vpp_config_output(), vaapi_decode_make_config(), vaapi_frames_get_constraints(), and vulkan_frames_get_constraints().
The maximum size of frames in this hw_frames_ctx.
(INT_MAX if not known / no limit.)
Definition at line 466 of file hwcontext.h.
Referenced by ff_hw_base_get_recon_format(), ff_vaapi_vpp_config_output(), opencl_frames_get_constraints(), vaapi_decode_make_config(), vaapi_frames_get_constraints(), and vulkan_frames_get_constraints().
Definition at line 467 of file hwcontext.h.
Referenced by ff_hw_base_get_recon_format(), ff_vaapi_vpp_config_output(), opencl_frames_get_constraints(), vaapi_decode_make_config(), vaapi_frames_get_constraints(), and vulkan_frames_get_constraints().