Home
last modified time | relevance | path

Searched refs:supported_formats (Results 1 – 21 of 21) sorted by relevance

/third_party/skia/third_party/externals/harfbuzz/util/
Doutput-options.hh44 const char **supported_formats = nullptr) in add_options()
48 if (supported_formats) in add_options()
50 char *items = g_strjoinv ("/", const_cast<char **> (supported_formats)); in add_options()
59 {"output-format", 'O', supported_formats ? 0 : G_OPTION_FLAG_HIDDEN, in add_options()
/third_party/ffmpeg/libavutil/
Dhwcontext_d3d11va.c86 } supported_formats[] = { variable
129 constraints->valid_sw_formats = av_malloc_array(FF_ARRAY_ELEMS(supported_formats) + 1, in d3d11va_frames_get_constraints()
134 for (i = 0; i < FF_ARRAY_ELEMS(supported_formats); i++) { in d3d11va_frames_get_constraints()
136 …hr = ID3D11Device_CheckFormatSupport(device_hwctx->device, supported_formats[i].d3d_format, &forma… in d3d11va_frames_get_constraints()
138 constraints->valid_sw_formats[nb_sw_formats++] = supported_formats[i].pix_fmt; in d3d11va_frames_get_constraints()
256 for (i = 0; i < FF_ARRAY_ELEMS(supported_formats); i++) { in d3d11va_frames_init()
257 if (ctx->sw_format == supported_formats[i].pix_fmt) { in d3d11va_frames_init()
258 s->format = supported_formats[i].d3d_format; in d3d11va_frames_init()
262 if (i == FF_ARRAY_ELEMS(supported_formats)) { in d3d11va_frames_init()
Dhwcontext_cuda.c38 static const enum AVPixelFormat supported_formats[] = { enum
61 constraints->valid_sw_formats = av_malloc_array(FF_ARRAY_ELEMS(supported_formats) + 1, in cuda_frames_get_constraints()
66 for (i = 0; i < FF_ARRAY_ELEMS(supported_formats); i++) in cuda_frames_get_constraints()
67 constraints->valid_sw_formats[i] = supported_formats[i]; in cuda_frames_get_constraints()
68 constraints->valid_sw_formats[FF_ARRAY_ELEMS(supported_formats)] = AV_PIX_FMT_NONE; in cuda_frames_get_constraints()
135 for (i = 0; i < FF_ARRAY_ELEMS(supported_formats); i++) { in cuda_frames_init()
136 if (ctx->sw_format == supported_formats[i]) in cuda_frames_init()
139 if (i == FF_ARRAY_ELEMS(supported_formats)) { in cuda_frames_init()
Dhwcontext_videotoolbox.c81 static const enum AVPixelFormat supported_formats[] = { enum
118 constraints->valid_sw_formats = av_malloc_array(FF_ARRAY_ELEMS(supported_formats) + 1, in vt_frames_get_constraints()
123 for (i = 0; i < FF_ARRAY_ELEMS(supported_formats); i++) in vt_frames_get_constraints()
124 constraints->valid_sw_formats[i] = supported_formats[i]; in vt_frames_get_constraints()
125 constraints->valid_sw_formats[FF_ARRAY_ELEMS(supported_formats)] = AV_PIX_FMT_NONE; in vt_frames_get_constraints()
258 for (i = 0; i < FF_ARRAY_ELEMS(supported_formats); i++) { in vt_frames_init()
259 if (ctx->sw_format == supported_formats[i]) in vt_frames_init()
262 if (i == FF_ARRAY_ELEMS(supported_formats)) { in vt_frames_init()
Dhwcontext_dxva2.c82 } supported_formats[] = { variable
171 for (i = 0; i < FF_ARRAY_ELEMS(supported_formats); i++) { in dxva2_init_pool()
172 if (ctx->sw_format == supported_formats[i].pix_fmt) { in dxva2_init_pool()
173 s->format = supported_formats[i].d3d_format; in dxva2_init_pool()
177 if (i == FF_ARRAY_ELEMS(supported_formats)) { in dxva2_init_pool()
/third_party/mesa3d/src/gallium/frontends/xa/
Dxa_tracker.c189 xa->supported_formats = calloc(num_formats, sizeof(*xa->supported_formats)); in xa_tracker_create()
190 if (!xa->supported_formats) in xa_tracker_create()
193 xa->supported_formats[0] = xa_format_unknown; in xa_tracker_create()
213 xa->supported_formats[num_formats++] = xa_format; in xa_tracker_create()
234 free(xa->supported_formats); in xa_tracker_destroy()
279 fdesc = xa_get_pipe_format(xa, xa->supported_formats[i]); in xa_get_format_stype_depth()
Dxa_priv.h75 enum xa_formats *supported_formats; member
/third_party/ffmpeg/libavfilter/
Dvf_sharpen_npp.c36 static const enum AVPixelFormat supported_formats[] = { enum
94 for (i = 0; i < FF_ARRAY_ELEMS(supported_formats); i++) { in nppsharpen_config()
95 if (in_ctx->sw_format == supported_formats[i]) { in nppsharpen_config()
Dvf_thumbnail_cuda.c41 static const enum AVPixelFormat supported_formats[] = { enum
351 for (i = 0; i < FF_ARRAY_ELEMS(supported_formats); i++) in format_is_supported()
352 if (supported_formats[i] == fmt) in format_is_supported()
Dvf_transpose_npp.c38 static const enum AVPixelFormat supported_formats[] = { enum
171 for (i = 0; i < FF_ARRAY_ELEMS(supported_formats); i++) in format_is_supported()
172 if (supported_formats[i] == fmt) in format_is_supported()
Dvf_nlmeans_opencl.c36 static const enum AVPixelFormat supported_formats[] = { enum
46 for (i = 0; i < FF_ARRAY_ELEMS(supported_formats); i++) in is_format_supported()
47 if (supported_formats[i] == fmt) in is_format_supported()
Dvf_chromakey_cuda.c40 static const enum AVPixelFormat supported_formats[] = { enum
152 for (i = 0; i < FF_ARRAY_ELEMS(supported_formats); i++) in format_is_supported()
153 if (supported_formats[i] == fmt) in format_is_supported()
Dvf_scale_cuda.c45 static const enum AVPixelFormat supported_formats[] = { enum
189 for (i = 0; i < FF_ARRAY_ELEMS(supported_formats); i++) in format_is_supported()
190 if (supported_formats[i] == fmt) in format_is_supported()
Dvf_scale_npp.c45 static const enum AVPixelFormat supported_formats[] = { enum
498 for (i = 0; i < FF_ARRAY_ELEMS(supported_formats); i++) in format_is_supported()
499 if (supported_formats[i] == fmt) in format_is_supported()
/third_party/mesa3d/src/gallium/frontends/clover/core/
Dformat.hpp40 std::set<cl_image_format> supported_formats(const context &ctx,
Ddevice.hpp109 supported_formats(const context &, cl_mem_object_type, cl_mem_flags flags);
Dformat.cpp129 supported_formats(const context &ctx, cl_mem_object_type type, cl_mem_flags flags) { in supported_formats() function
/third_party/pulseaudio/src/modules/alsa/
Dalsa-source.c113 pa_sample_format_t *supported_formats; member
1650 for (i = 0; u->supported_formats[i] != PA_SAMPLE_MAX; i++) { in source_reconfigure_cb()
1651 if (u->supported_formats[i] == spec->format) { in source_reconfigure_cb()
2282 u->supported_formats = pa_alsa_get_supported_formats(u->pcm_handle, ss.format); in pa_alsa_source_new()
2283 if (!u->supported_formats) { in pa_alsa_source_new()
2542 if (u->supported_formats) in userdata_free()
2543 pa_xfree(u->supported_formats); in userdata_free()
Dalsa-sink.c125 pa_sample_format_t *supported_formats; member
1835 for (i = 0; u->supported_formats[i] != PA_SAMPLE_MAX; i++) { in sink_reconfigure_cb()
1836 if (u->supported_formats[i] == spec->format) { in sink_reconfigure_cb()
2601 u->supported_formats = pa_alsa_get_supported_formats(u->pcm_handle, ss.format); in pa_alsa_sink_new()
2602 if (!u->supported_formats) { in pa_alsa_sink_new()
2922 if (u->supported_formats) in userdata_free()
2923 pa_xfree(u->supported_formats); in userdata_free()
/third_party/alsa-utils/speaker-test/
Dspeaker-test.c281 static const int supported_formats[] = { variable
962 for (fmt = supported_formats; *fmt >= 0; fmt++) { in help()
1042 for (fmt = supported_formats; *fmt >= 0; fmt++) in main()
/third_party/mesa3d/src/gallium/frontends/clover/api/
Dmemory.cpp207 if (!supported_formats(ctx, desc->image_type, d_flags).count(*format)) in clCreateImageWithProperties()
371 auto formats = supported_formats(ctx, type, flags); in clGetSupportedImageFormats()