Home
last modified time | relevance | path

Searched refs:valid_hw_formats (Results 1 – 10 of 10) sorted by relevance

/third_party/ffmpeg/libavutil/
Dhwcontext_cuda.c70 constraints->valid_hw_formats = av_malloc_array(2, sizeof(*constraints->valid_hw_formats)); in cuda_frames_get_constraints()
71 if (!constraints->valid_hw_formats) in cuda_frames_get_constraints()
74 constraints->valid_hw_formats[0] = AV_PIX_FMT_CUDA; in cuda_frames_get_constraints()
75 constraints->valid_hw_formats[1] = AV_PIX_FMT_NONE; in cuda_frames_get_constraints()
Dhwcontext_vdpau.c209 constraints->valid_hw_formats = av_malloc_array(2, sizeof(*constraints->valid_hw_formats)); in vdpau_frames_get_constraints()
210 if (!constraints->valid_hw_formats) in vdpau_frames_get_constraints()
213 constraints->valid_hw_formats[0] = AV_PIX_FMT_VDPAU; in vdpau_frames_get_constraints()
214 constraints->valid_hw_formats[1] = AV_PIX_FMT_NONE; in vdpau_frames_get_constraints()
Dhwcontext_d3d11va.c139 constraints->valid_hw_formats = av_malloc_array(2, sizeof(*constraints->valid_hw_formats)); in d3d11va_frames_get_constraints()
140 if (!constraints->valid_hw_formats) in d3d11va_frames_get_constraints()
143 constraints->valid_hw_formats[0] = AV_PIX_FMT_D3D11; in d3d11va_frames_get_constraints()
144 constraints->valid_hw_formats[1] = AV_PIX_FMT_NONE; in d3d11va_frames_get_constraints()
Dhwcontext.h458 enum AVPixelFormat *valid_hw_formats; member
Dhwcontext_qsv.c1079 constraints->valid_hw_formats = av_malloc_array(2, sizeof(*constraints->valid_hw_formats)); in qsv_frames_get_constraints()
1080 if (!constraints->valid_hw_formats) in qsv_frames_get_constraints()
1083 constraints->valid_hw_formats[0] = AV_PIX_FMT_QSV; in qsv_frames_get_constraints()
1084 constraints->valid_hw_formats[1] = AV_PIX_FMT_NONE; in qsv_frames_get_constraints()
Dhwcontext_vaapi.c315 constraints->valid_hw_formats = av_malloc_array(2, sizeof(pix_fmt)); in vaapi_frames_get_constraints()
316 if (!constraints->valid_hw_formats) { in vaapi_frames_get_constraints()
320 constraints->valid_hw_formats[0] = AV_PIX_FMT_VAAPI; in vaapi_frames_get_constraints()
321 constraints->valid_hw_formats[1] = AV_PIX_FMT_NONE; in vaapi_frames_get_constraints()
Dhwcontext_opencl.c1586 constraints->valid_hw_formats = in opencl_frames_get_constraints()
1587 av_malloc_array(2, sizeof(*constraints->valid_hw_formats)); in opencl_frames_get_constraints()
1588 if (!constraints->valid_hw_formats) { in opencl_frames_get_constraints()
1592 constraints->valid_hw_formats[0] = AV_PIX_FMT_OPENCL; in opencl_frames_get_constraints()
1593 constraints->valid_hw_formats[1] = AV_PIX_FMT_NONE; in opencl_frames_get_constraints()
Dhwcontext.c604 av_freep(&(*constraints)->valid_hw_formats); in av_hwframe_constraints_free()
Dhwcontext_vulkan.c1293 constraints->valid_hw_formats = av_malloc_array(2, sizeof(enum AVPixelFormat)); in vulkan_frames_get_constraints()
1294 if (!constraints->valid_hw_formats) in vulkan_frames_get_constraints()
1297 constraints->valid_hw_formats[0] = AV_PIX_FMT_VULKAN; in vulkan_frames_get_constraints()
1298 constraints->valid_hw_formats[1] = AV_PIX_FMT_NONE; in vulkan_frames_get_constraints()
/third_party/ffmpeg/libavfilter/
Dvf_hwupload.c78 output_pix_fmts = constraints->valid_hw_formats; in hwupload_query_formats()