/third_party/ffmpeg/libavfilter/ |
D | formats.c | 37 #define MERGE_REF(ret, a, fmts, type, fail) \ argument 53 av_freep(&a->fmts); \ 61 #define MERGE_FORMATS(ret, a, b, fmts, nb, type, fail) \ argument 69 if (!(ret->fmts = av_malloc_array(count, sizeof(*ret->fmts)))) \ 73 if (a->fmts[i] == b->fmts[j]) { \ 76 av_free(ret->fmts); \ 80 ret->fmts[k++] = a->fmts[i]; \ 88 MERGE_REF(ret, a, fmts, type, fail); \ 89 MERGE_REF(ret, b, fmts, type, fail); \ 254 int ff_fmt_is_in(int fmt, const int *fmts) in ff_fmt_is_in() argument [all …]
|
D | formats.h | 142 AVFilterChannelLayouts *avfilter_make_format64_list(const int64_t *fmts); 145 AVFilterChannelLayouts *ff_make_formatu64_list(const uint64_t *fmts); 205 AVFilterFormats *ff_make_format_list(const int *fmts);
|
D | avfiltergraph.c | 765 list_type *fmts; \ 770 fmts = out_link->in_ ## list; \ 780 if (fmts->var[k] == fmt) { \ 781 fmts->var[0] = fmt; \ 782 fmts->nb = 1; \ 811 AVFilterChannelLayouts *fmts; in reduce_formats_on_filter() local 813 fmts = outlink->in_channel_layouts; in reduce_formats_on_filter() 814 if (inlink->type != outlink->type || fmts->nb_channel_layouts == 1) in reduce_formats_on_filter() 817 if (fmts->all_layouts && in reduce_formats_on_filter() 818 (!FF_LAYOUT2COUNT(fmt) || fmts->all_counts)) { in reduce_formats_on_filter() [all …]
|
D | internal.h | 156 int ff_fmt_is_in(int fmt, const int *fmts);
|
D | vf_lensfun.c | 191 static const enum AVPixelFormat fmts[] = {AV_PIX_FMT_RGB24, AV_PIX_FMT_NONE}; in query_formats() enum 192 AVFilterFormats *fmts_list = ff_make_format_list(fmts); in query_formats()
|
D | drawutils.c | 735 AVFilterFormats *fmts = NULL; in ff_draw_supported_pixel_formats() local 740 (ret = ff_add_format(&fmts, i)) < 0) in ff_draw_supported_pixel_formats() 742 return fmts; in ff_draw_supported_pixel_formats()
|
/third_party/ffmpeg/libavfilter/tests/ |
D | filtfmts.c | 42 AVFilterFormats *fmts = \ in print_formats() 44 for (j = 0; j < fmts->nb_formats; j++) \ in print_formats() 45 if(av_get_pix_fmt_name(fmts->formats[j])) \ in print_formats() 48 av_get_pix_fmt_name(fmts->formats[j])); \ in print_formats() 50 AVFilterFormats *fmts; \ in print_formats() 53 fmts = filter_ctx->inout##puts[i]->outin##_formats; \ in print_formats() 54 for (j = 0; j < fmts->nb_formats; j++) \ in print_formats() 57 av_get_sample_fmt_name(fmts->formats[j])); \ in print_formats()
|
/third_party/ffmpeg/tests/checkasm/ |
D | flacdsp.c | 70 } fmts[] = { in checkasm_check_flacdsp() local 78 ff_flacdsp_init(&h, fmts[i].fmt, 2, 0); in checkasm_check_flacdsp() 80 if (check_func(h.decorrelate[j], "flac_decorrelate_%s_%d", names[j], fmts[i].bits)) in checkasm_check_flacdsp() 81 check_decorrelate(&ref_dst, ref_src, &new_dst, new_src, 2, fmts[i].bits); in checkasm_check_flacdsp() 83 ff_flacdsp_init(&h, fmts[i].fmt, j, 0); in checkasm_check_flacdsp() 84 if (check_func(h.decorrelate[0], "flac_decorrelate_indep%d_%d", j, fmts[i].bits)) in checkasm_check_flacdsp() 85 check_decorrelate(&ref_dst, ref_src, &new_dst, new_src, j, fmts[i].bits); in checkasm_check_flacdsp()
|
/third_party/ffmpeg/libavutil/ |
D | hwcontext_videotoolbox.c | 96 enum AVPixelFormat *fmts = av_malloc_array(2, sizeof(*fmts)); in vt_transfer_get_formats() local 97 if (!fmts) in vt_transfer_get_formats() 100 fmts[0] = ctx->sw_format; in vt_transfer_get_formats() 101 fmts[1] = AV_PIX_FMT_NONE; in vt_transfer_get_formats() 103 *formats = fmts; in vt_transfer_get_formats()
|
D | hwcontext_cuda.c | 190 enum AVPixelFormat *fmts; in cuda_transfer_get_formats() local 192 fmts = av_malloc_array(2, sizeof(*fmts)); in cuda_transfer_get_formats() 193 if (!fmts) in cuda_transfer_get_formats() 196 fmts[0] = ctx->sw_format; in cuda_transfer_get_formats() 197 fmts[1] = AV_PIX_FMT_NONE; in cuda_transfer_get_formats() 199 *formats = fmts; in cuda_transfer_get_formats()
|
D | hwcontext_vdpau.c | 297 enum AVPixelFormat *fmts; in vdpau_transfer_get_formats() local 305 fmts = av_malloc_array(priv->nb_pix_fmts, sizeof(*fmts)); in vdpau_transfer_get_formats() 306 if (!fmts) in vdpau_transfer_get_formats() 309 memcpy(fmts, priv->pix_fmts, sizeof(*fmts) * (priv->nb_pix_fmts)); in vdpau_transfer_get_formats() 310 *formats = fmts; in vdpau_transfer_get_formats()
|
D | hwcontext_d3d11va.c | 310 enum AVPixelFormat *fmts; in d3d11va_transfer_get_formats() local 312 fmts = av_malloc_array(2, sizeof(*fmts)); in d3d11va_transfer_get_formats() 313 if (!fmts) in d3d11va_transfer_get_formats() 316 fmts[0] = ctx->sw_format; in d3d11va_transfer_get_formats() 317 fmts[1] = AV_PIX_FMT_NONE; in d3d11va_transfer_get_formats() 321 fmts[0] = AV_PIX_FMT_NONE; in d3d11va_transfer_get_formats() 323 *formats = fmts; in d3d11va_transfer_get_formats()
|
D | hwcontext_dxva2.c | 254 enum AVPixelFormat *fmts; in dxva2_transfer_get_formats() local 256 fmts = av_malloc_array(2, sizeof(*fmts)); in dxva2_transfer_get_formats() 257 if (!fmts) in dxva2_transfer_get_formats() 260 fmts[0] = ctx->sw_format; in dxva2_transfer_get_formats() 261 fmts[1] = AV_PIX_FMT_NONE; in dxva2_transfer_get_formats() 263 *formats = fmts; in dxva2_transfer_get_formats()
|
D | hwcontext_qsv.c | 600 enum AVPixelFormat *fmts; in qsv_transfer_get_formats() local 602 fmts = av_malloc_array(2, sizeof(*fmts)); in qsv_transfer_get_formats() 603 if (!fmts) in qsv_transfer_get_formats() 606 fmts[0] = ctx->sw_format; in qsv_transfer_get_formats() 607 fmts[1] = AV_PIX_FMT_NONE; in qsv_transfer_get_formats() 609 *formats = fmts; in qsv_transfer_get_formats()
|
D | hwcontext_opencl.c | 1764 enum AVPixelFormat *fmts; in opencl_transfer_get_formats() local 1766 fmts = av_malloc_array(2, sizeof(*fmts)); in opencl_transfer_get_formats() 1767 if (!fmts) in opencl_transfer_get_formats() 1770 fmts[0] = hwfc->sw_format; in opencl_transfer_get_formats() 1771 fmts[1] = AV_PIX_FMT_NONE; in opencl_transfer_get_formats() 1773 *formats = fmts; in opencl_transfer_get_formats()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
D | BigNumberFormatTest.java | 302 NumberFormat fmt = null, fmts[] = null; in expect() local 306 fmts = (NumberFormat[]) fmto; in expect() 321 if (fmts != null) { in expect() 322 n = Math.max(n, fmts.length); in expect() 331 expect(fmts == null ? fmt : fmts[i], in expect()
|
D | TestMessageFormat.java | 941 Format[] fmts = new Format[] { in TestSetGetFormats() local 946 msg.setFormatsByArgumentIndex(fmts); in TestSetGetFormats() 1088 Format fmts[] = {new DecimalFormat()}; in testNumericOnlyMethods() local 1089 msg.setFormatsByArgumentIndex(fmts); in testNumericOnlyMethods()
|
/third_party/node/deps/npm/node_modules/sshpk/lib/ |
D | certificate.js | 140 var fmts = Object.keys(formats); 142 for (var i = 0; i < fmts.length; ++i) { 143 if (fmts[i] !== 'pem') { 144 var ret = formats[fmts[i]].sign(this, key);
|
/third_party/ffmpeg/libavdevice/ |
D | lavfi.c | 64 int i, j, *fmts, count = 0; in create_all_formats() local 72 if (!(fmts = av_malloc((count+1) * sizeof(int)))) in create_all_formats() 77 fmts[j++] = i; in create_all_formats() 79 fmts[j] = -1; in create_all_formats() 80 return fmts; in create_all_formats()
|
/third_party/python/Tools/c-analyzer/ |
D | check-c-globals.py | 277 def format_groups(groups, columns, fmts, widths): argument 282 yield from format_vars(groupvars, columns, fmts, widths) 285 def format_vars(allvars, columns, fmts, widths): argument 286 fmt = ' '.join(fmts[col] for col in columns)
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/sdp/ |
D | gstsdpmessage.c | 1842 INIT_STR_ARRAY (media->fmts); in gst_sdp_media_init() 1868 FREE_ARRAY (media->fmts); in gst_sdp_media_uninit() 2182 return media->fmts->len; in gst_sdp_media_formats_len() 2199 if (idx >= media->fmts->len) in gst_sdp_media_get_format() 2201 return g_array_index (media->fmts, gchar *, idx); in gst_sdp_media_get_format() 2229 g_array_append_val (media->fmts, fmt); in gst_sdp_media_insert_format() 2231 g_array_insert_val (media->fmts, idx, fmt); in gst_sdp_media_insert_format() 2257 old = &g_array_index (media->fmts, gchar *, idx); in gst_sdp_media_replace_format() 2282 old = &g_array_index (media->fmts, gchar *, idx); in gst_sdp_media_remove_format() 2284 g_array_remove_index (media->fmts, idx); in gst_sdp_media_remove_format() [all …]
|
/third_party/boost/libs/chrono/test/io/ |
D | time_point_output.cpp | 79 boost::chrono::time_fmt_io_saver<> fmts(out); in test_good_utc_fmt_system_clock() local 95 boost::chrono::time_fmt_io_saver<> fmts(out, fmt); in test_good_utc_fmt_system_clock2() local
|
/third_party/gstreamer/gst_libav/ext/libav/ |
D | gstavcodecmap.c | 213 gst_ffmpeg_video_set_pix_fmts (GstCaps * caps, const enum AVPixelFormat *fmts) in gst_ffmpeg_video_set_pix_fmts() argument 219 if (!fmts || fmts[0] == -1) { in gst_ffmpeg_video_set_pix_fmts() 240 while (*fmts != -1) { in gst_ffmpeg_video_set_pix_fmts() 241 format = gst_ffmpeg_pixfmt_to_videoformat (*fmts); in gst_ffmpeg_video_set_pix_fmts() 248 fmts++; in gst_ffmpeg_video_set_pix_fmts() 477 const enum AVSampleFormat *fmts, gboolean always_interleaved) in gst_ffmpeg_audio_set_sample_fmts() argument 486 if (!fmts || fmts[0] == -1) { in gst_ffmpeg_audio_set_sample_fmts() 518 while (*fmts != -1) { in gst_ffmpeg_audio_set_sample_fmts() 519 format = gst_ffmpeg_smpfmt_to_audioformat (*fmts, &layout); in gst_ffmpeg_audio_set_sample_fmts() 531 fmts++; in gst_ffmpeg_audio_set_sample_fmts()
|
/third_party/icu/icu4c/source/test/intltest/ |
D | tchcfmt.cpp | 473 UnicodeString fmts[] = { in TestClosures() local 476 ChoiceFormat fmt1(limits, closures, fmts, 6); in TestClosures()
|
/third_party/gstreamer/gstplugins_bad/sys/d3dvideosink/ |
D | d3dhelpers.c | 792 GList *fmts = NULL, *l; in d3d_supported_caps() local 825 fmts = g_list_insert_sorted (fmts, comp, d3d_format_comp_compare); in d3d_supported_caps() 833 for (l = fmts; l; l = g_list_next (l)) { in d3d_supported_caps() 850 g_list_free_full (fmts, (GDestroyNotify) d3d_format_comp_free); in d3d_supported_caps()
|