Home
last modified time | relevance | path

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

12

/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_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_d3d11va.c85 } supported_formats[] = { variable
126 constraints->valid_sw_formats = av_malloc_array(FF_ARRAY_ELEMS(supported_formats) + 1, in d3d11va_frames_get_constraints()
131 for (i = 0; i < FF_ARRAY_ELEMS(supported_formats); i++) { in d3d11va_frames_get_constraints()
133 …hr = ID3D11Device_CheckFormatSupport(device_hwctx->device, supported_formats[i].d3d_format, &forma… in d3d11va_frames_get_constraints()
135 constraints->valid_sw_formats[nb_sw_formats++] = supported_formats[i].pix_fmt; in d3d11va_frames_get_constraints()
236 for (i = 0; i < FF_ARRAY_ELEMS(supported_formats); i++) { in d3d11va_frames_init()
237 if (ctx->sw_format == supported_formats[i].pix_fmt) { in d3d11va_frames_init()
238 s->format = supported_formats[i].d3d_format; in d3d11va_frames_init()
242 if (i == FF_ARRAY_ELEMS(supported_formats)) { in d3d11va_frames_init()
Dhwcontext_dxva2.c82 } supported_formats[] = { variable
170 for (i = 0; i < FF_ARRAY_ELEMS(supported_formats); i++) { in dxva2_init_pool()
171 if (ctx->sw_format == supported_formats[i].pix_fmt) { in dxva2_init_pool()
172 s->format = supported_formats[i].d3d_format; in dxva2_init_pool()
176 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/gstreamer/gstplugins_base/gst-libs/gst/gl/
Dgstglcolorconvert.c1017 GValue * supported_formats) in _init_supported_formats() argument
1023 _init_value_string_list (supported_formats, "RGBA", "RGB", "RGBx", "BGR", in _init_supported_formats()
1029 _append_value_string_list (supported_formats, "GBRA", "GBR", "RGBP", "BGRP", in _init_supported_formats()
1035 _append_value_string_list (supported_formats, "YUY2", "UYVY", NULL); in _init_supported_formats()
1038 _append_value_string_list (supported_formats, "ARGB64", NULL); in _init_supported_formats()
1041 _append_value_string_list (supported_formats, "RGB16", "BGR16", NULL); in _init_supported_formats()
1045 _append_value_string_list (supported_formats, "BGR10A2_LE", "RGB10A2_LE", in _init_supported_formats()
1048 _append_value_string_list (supported_formats, "Y410", NULL); in _init_supported_formats()
1055 _append_value_string_list (supported_formats, "P010_10LE", "P012_LE", in _init_supported_formats()
1058 _append_value_string_list (supported_formats, "P010_10BE", "P012_BE", in _init_supported_formats()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/vulkan/
Dvkcolorconvert.c968 GValue * supported_formats) in _init_supported_formats() argument
974 _init_value_string_list (supported_formats, "RGBA", "RGB", "RGBx", "BGR", in _init_supported_formats()
977 _append_value_string_list (supported_formats, "AYUV", "YUY2", /*"UYVY", */ in _init_supported_formats()
990 GValue supported_formats = G_VALUE_INIT; in gst_vulkan_color_convert_transform_format_info() local
1004 _init_supported_formats (device, output, &supported_formats); in gst_vulkan_color_convert_transform_format_info()
1006 &supported_formats); in gst_vulkan_color_convert_transform_format_info()
1046 gst_structure_set_value (st, "format", &supported_formats); in gst_vulkan_color_convert_transform_format_info()
1067 gst_structure_set_value (st, "format", &supported_formats); in gst_vulkan_color_convert_transform_format_info()
1075 g_value_unset (&supported_formats); in gst_vulkan_color_convert_transform_format_info()
/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/gstreamer/gstplugins_bad/sys/mediafoundation/
Dgstmfvideoenc.cpp1473 GValue *supported_formats = NULL; in gst_mf_video_enc_enum_internal() local
1554 if (!supported_formats) { in gst_mf_video_enc_enum_internal()
1555 supported_formats = g_new0 (GValue, 1); in gst_mf_video_enc_enum_internal()
1556 g_value_init (supported_formats, GST_TYPE_LIST); in gst_mf_video_enc_enum_internal()
1579 gst_value_list_append_and_take_value (supported_formats, &val); in gst_mf_video_enc_enum_internal()
1583 if (!supported_formats) { in gst_mf_video_enc_enum_internal()
1730 gst_caps_set_value (sink_caps, "format", supported_formats); in gst_mf_video_enc_enum_internal()
1731 g_value_unset (supported_formats); in gst_mf_video_enc_enum_internal()
1732 g_free (supported_formats); in gst_mf_video_enc_enum_internal()
/third_party/gstreamer/gstplugins_bad/sys/d3d11/
Dgstd3d11deinterlace.cpp2240 GValue *supported_formats = NULL; in gst_d3d11_deinterlace_register() local
2371 if (!supported_formats) { in gst_d3d11_deinterlace_register()
2372 supported_formats = g_new0 (GValue, 1); in gst_d3d11_deinterlace_register()
2373 g_value_init (supported_formats, GST_TYPE_LIST); in gst_d3d11_deinterlace_register()
2381 gst_value_list_append_and_take_value (supported_formats, &val); in gst_d3d11_deinterlace_register()
2386 gst_value_list_append_and_take_value (supported_formats, &val); in gst_d3d11_deinterlace_register()
2389 if (!supported_formats) in gst_d3d11_deinterlace_register()
2398 gst_caps_set_value (caps, "format", supported_formats); in gst_d3d11_deinterlace_register()
2399 g_value_unset (supported_formats); in gst_d3d11_deinterlace_register()
2400 g_free (supported_formats); in gst_d3d11_deinterlace_register()
/third_party/ffmpeg/libavfilter/
Dvf_thumbnail_cuda.c39 static const enum AVPixelFormat supported_formats[] = { enum
345 for (i = 0; i < FF_ARRAY_ELEMS(supported_formats); i++) in format_is_supported()
346 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_transpose_npp.c38 static const enum AVPixelFormat supported_formats[] = { enum
181 for (i = 0; i < FF_ARRAY_ELEMS(supported_formats); i++) in format_is_supported()
182 if (supported_formats[i] == fmt) in format_is_supported()
Dvf_scale_npp.c45 static const enum AVPixelFormat supported_formats[] = { enum
212 for (i = 0; i < FF_ARRAY_ELEMS(supported_formats); i++) in format_is_supported()
213 if (supported_formats[i] == fmt) in format_is_supported()
Dvf_scale_cuda.c44 static const enum AVPixelFormat supported_formats[] = { enum
206 for (i = 0; i < FF_ARRAY_ELEMS(supported_formats); i++) in format_is_supported()
207 if (supported_formats[i] == fmt) in format_is_supported()
/third_party/gstreamer/gstplugins_base/ext/theora/
Dgsttheoraenc.c540 char *supported_formats, *caps_string; in theora_enc_getcaps() local
542 supported_formats = theora_enc_get_supported_formats (); in theora_enc_getcaps()
543 if (!supported_formats) { in theora_enc_getcaps()
552 supported_formats); in theora_enc_getcaps()
555 g_free (supported_formats); in theora_enc_getcaps()
/third_party/gstreamer/gstplugins_bad/sys/d3dvideosink/
Dd3dhelpers.h63 GList *supported_formats; member
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dgstvideoaggregator.c73 GPtrArray *supported_formats; member
1003 for (i = 0; i < vagg->priv->supported_formats->len; i++) { in gst_video_aggregator_supports_format()
1004 GstVideoFormatInfo *format_info = vagg->priv->supported_formats->pdata[i]; in gst_video_aggregator_supports_format()
1119 for (i = 0; i < vagg->priv->supported_formats->len; i++) { in gst_video_aggregator_find_best_format()
1120 GstVideoFormatInfo *format_info = vagg->priv->supported_formats->pdata[i]; in gst_video_aggregator_find_best_format()
2976 g_ptr_array_unref (vagg->priv->supported_formats); in gst_video_aggregator_finalize()
3087 vagg->priv->supported_formats = g_ptr_array_new (); in gst_video_aggregator_init()
3100 g_ptr_array_add (vagg->priv->supported_formats, format_info); in gst_video_aggregator_init()
3113 g_ptr_array_add (vagg->priv->supported_formats, format_info); in gst_video_aggregator_init()
/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()

12