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/
H A 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/
H A Dhwcontext_cuda.c38 static const enum AVPixelFormat supported_formats[] = { variable
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()
H A 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, &format_support); 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()
H A Dhwcontext_videotoolbox.c81 static const enum AVPixelFormat supported_formats[] = { variable
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()
H A 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/
H A 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()
H A Dxa_priv.h75 enum xa_formats *supported_formats; member
/third_party/ffmpeg/libavfilter/
H A Dvf_sharpen_npp.c36 static const enum AVPixelFormat supported_formats[] = { variable
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()
H A Dvf_chromakey_cuda.c40 static const enum AVPixelFormat supported_formats[] = { variable
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()
H A Dvf_nlmeans_opencl.c36 static const enum AVPixelFormat supported_formats[] = { variable
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()
H A Dvf_transpose_npp.c38 static const enum AVPixelFormat supported_formats[] = { variable
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()
H A Dvf_thumbnail_cuda.c41 static const enum AVPixelFormat supported_formats[] = { variable
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()
H A Dvf_scale_cuda.c45 static const enum AVPixelFormat supported_formats[] = { variable
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()
H A Dvf_scale_npp.c45 static const enum AVPixelFormat supported_formats[] = { variable
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/
H A Dformat.hpp40 std::set<cl_image_format> supported_formats(const context &ctx,
H A Ddevice.hpp109 supported_formats(const context &, cl_mem_object_type, cl_mem_flags flags);
H A Dformat.cpp129 supported_formats(const context &ctx, cl_mem_object_type type, cl_mem_flags flags) { in supported_formats() function
/third_party/alsa-utils/speaker-test/
H A Dspeaker-test.c291 static const int supported_formats[] = { variable
1002 for (fmt = supported_formats; *fmt >= 0; fmt++) { in help()
1082 for (fmt = supported_formats; *fmt >= 0; fmt++) in main()
/third_party/pulseaudio/src/modules/alsa/
H A 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()
H A 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()
/third_party/mesa3d/src/gallium/frontends/clover/api/
H A 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()

Completed in 23 milliseconds