formats           532 fftools/ffmpeg.c             av_freep(&ofilter->formats);
formats           276 fftools/ffmpeg.h     int *formats;
formats           189 fftools/ffmpeg_filter.c DEF_CHOOSE_FORMAT(sample_fmts, enum AVSampleFormat, format, formats,
formats          2504 fftools/ffmpeg_opt.c                     f->formats = av_mallocz_array(count + 1, sizeof(*f->formats));
formats          2505 fftools/ffmpeg_opt.c                     if (!f->formats)
formats          2507 fftools/ffmpeg_opt.c                     memcpy(f->formats, ost->enc->pix_fmts, (count + 1) * sizeof(*f->formats));
formats          2517 fftools/ffmpeg_opt.c                     f->formats = av_mallocz_array(count + 1, sizeof(*f->formats));
formats          2518 fftools/ffmpeg_opt.c                     if (!f->formats)
formats          2520 fftools/ffmpeg_opt.c                     memcpy(f->formats, ost->enc->sample_fmts, (count + 1) * sizeof(*f->formats));
formats           241 libavcodec/dxva2.c             const D3DFORMAT formats[] = {MKTAG('N', 'V', '1', '2'),
formats           244 libavcodec/dxva2.c             for (i = 0; i < FF_ARRAY_ELEMS(formats); i++) {
formats           245 libavcodec/dxva2.c                 if (dxva2_validate_output(service, *guid, &formats[i]))
formats           250 libavfilter/aeval.c     AVFilterFormats *formats;
formats           254 libavfilter/aeval.c     formats = ff_make_format_list(sample_fmts);
formats           255 libavfilter/aeval.c     if (!formats)
formats           257 libavfilter/aeval.c     ret = ff_set_common_formats (ctx, formats);
formats           268 libavfilter/aeval.c     formats = ff_make_format_list(sample_rates);
formats           269 libavfilter/aeval.c     if (!formats)
formats           271 libavfilter/aeval.c     return ff_set_common_samplerates(ctx, formats);
formats           353 libavfilter/aeval.c     AVFilterFormats *formats = NULL;
formats           383 libavfilter/aeval.c     formats = ff_make_format_list(sample_fmts);
formats           384 libavfilter/aeval.c     if ((ret = ff_set_common_formats(ctx, formats)) < 0)
formats           387 libavfilter/aeval.c     formats = ff_all_samplerates();
formats           388 libavfilter/aeval.c     return ff_set_common_samplerates(ctx, formats);
formats            47 libavfilter/af_acontrast.c     AVFilterFormats *formats = NULL;
formats            56 libavfilter/af_acontrast.c     formats = ff_make_format_list(sample_fmts);
formats            57 libavfilter/af_acontrast.c     if (!formats)
formats            59 libavfilter/af_acontrast.c     ret = ff_set_common_formats(ctx, formats);
formats            71 libavfilter/af_acontrast.c     formats = ff_all_samplerates();
formats            72 libavfilter/af_acontrast.c     return ff_set_common_samplerates(ctx, formats);
formats           220 libavfilter/af_acrossover.c     AVFilterFormats *formats;
formats           235 libavfilter/af_acrossover.c     formats = ff_make_format_list(sample_fmts);
formats           236 libavfilter/af_acrossover.c     if (!formats)
formats           238 libavfilter/af_acrossover.c     ret = ff_set_common_formats(ctx, formats);
formats           242 libavfilter/af_acrossover.c     formats = ff_all_samplerates();
formats           243 libavfilter/af_acrossover.c     if (!formats)
formats           245 libavfilter/af_acrossover.c     return ff_set_common_samplerates(ctx, formats);
formats           268 libavfilter/af_acrusher.c     AVFilterFormats *formats;
formats           283 libavfilter/af_acrusher.c     formats = ff_make_format_list(sample_fmts);
formats           284 libavfilter/af_acrusher.c     if (!formats)
formats           286 libavfilter/af_acrusher.c     ret = ff_set_common_formats(ctx, formats);
formats           290 libavfilter/af_acrusher.c     formats = ff_all_samplerates();
formats           291 libavfilter/af_acrusher.c     if (!formats)
formats           293 libavfilter/af_acrusher.c     return ff_set_common_samplerates(ctx, formats);
formats           110 libavfilter/af_adeclick.c     AVFilterFormats *formats = NULL;
formats           118 libavfilter/af_adeclick.c     formats = ff_make_format_list(sample_fmts);
formats           119 libavfilter/af_adeclick.c     if (!formats)
formats           121 libavfilter/af_adeclick.c     ret = ff_set_common_formats(ctx, formats);
formats           133 libavfilter/af_adeclick.c     formats = ff_all_samplerates();
formats           134 libavfilter/af_adeclick.c     return ff_set_common_samplerates(ctx, formats);
formats            67 libavfilter/af_adelay.c     AVFilterFormats *formats;
formats            82 libavfilter/af_adelay.c     formats = ff_make_format_list(sample_fmts);
formats            83 libavfilter/af_adelay.c     if (!formats)
formats            85 libavfilter/af_adelay.c     ret = ff_set_common_formats(ctx, formats);
formats            89 libavfilter/af_adelay.c     formats = ff_all_samplerates();
formats            90 libavfilter/af_adelay.c     if (!formats)
formats            92 libavfilter/af_adelay.c     return ff_set_common_samplerates(ctx, formats);
formats            32 libavfilter/af_aderivative.c     AVFilterFormats *formats = NULL;
formats            45 libavfilter/af_aderivative.c     formats = ff_make_format_list(strcmp(ctx->filter->name, "aintegral") ?
formats            47 libavfilter/af_aderivative.c     if (!formats)
formats            49 libavfilter/af_aderivative.c     ret = ff_set_common_formats(ctx, formats);
formats            61 libavfilter/af_aderivative.c     formats = ff_all_samplerates();
formats            62 libavfilter/af_aderivative.c     return ff_set_common_samplerates(ctx, formats);
formats           158 libavfilter/af_aecho.c     AVFilterFormats *formats;
formats           173 libavfilter/af_aecho.c     formats = ff_make_format_list(sample_fmts);
formats           174 libavfilter/af_aecho.c     if (!formats)
formats           176 libavfilter/af_aecho.c     ret = ff_set_common_formats(ctx, formats);
formats           180 libavfilter/af_aecho.c     formats = ff_all_samplerates();
formats           181 libavfilter/af_aecho.c     if (!formats)
formats           183 libavfilter/af_aecho.c     return ff_set_common_samplerates(ctx, formats);
formats           123 libavfilter/af_aemphasis.c     AVFilterFormats *formats;
formats           137 libavfilter/af_aemphasis.c     formats = ff_make_format_list(sample_fmts);
formats           138 libavfilter/af_aemphasis.c     if (!formats)
formats           140 libavfilter/af_aemphasis.c     ret = ff_set_common_formats(ctx, formats);
formats           144 libavfilter/af_aemphasis.c     formats = ff_all_samplerates();
formats           145 libavfilter/af_aemphasis.c     if (!formats)
formats           147 libavfilter/af_aemphasis.c     return ff_set_common_samplerates(ctx, formats);
formats            61 libavfilter/af_afade.c     AVFilterFormats *formats;
formats            79 libavfilter/af_afade.c     formats = ff_make_format_list(sample_fmts);
formats            80 libavfilter/af_afade.c     if (!formats)
formats            82 libavfilter/af_afade.c     ret = ff_set_common_formats(ctx, formats);
formats            86 libavfilter/af_afade.c     formats = ff_all_samplerates();
formats            87 libavfilter/af_afade.c     if (!formats)
formats            89 libavfilter/af_afade.c     return ff_set_common_samplerates(ctx, formats);
formats          1347 libavfilter/af_afftdn.c     AVFilterFormats *formats = NULL;
formats          1355 libavfilter/af_afftdn.c     formats = ff_make_format_list(sample_fmts);
formats          1356 libavfilter/af_afftdn.c     if (!formats)
formats          1358 libavfilter/af_afftdn.c     ret = ff_set_common_formats(ctx, formats);
formats          1370 libavfilter/af_afftdn.c     formats = ff_all_samplerates();
formats          1371 libavfilter/af_afftdn.c     return ff_set_common_samplerates(ctx, formats);
formats           404 libavfilter/af_afftfilt.c     AVFilterFormats *formats;
formats           419 libavfilter/af_afftfilt.c     formats = ff_make_format_list(sample_fmts);
formats           420 libavfilter/af_afftfilt.c     if (!formats)
formats           422 libavfilter/af_afftfilt.c     ret = ff_set_common_formats(ctx, formats);
formats           426 libavfilter/af_afftfilt.c     formats = ff_all_samplerates();
formats           427 libavfilter/af_afftfilt.c     if (!formats)
formats           429 libavfilter/af_afftfilt.c     return ff_set_common_samplerates(ctx, formats);
formats           715 libavfilter/af_afir.c     AVFilterFormats *formats;
formats           729 libavfilter/af_afir.c         formats = ff_make_format_list(pix_fmts);
formats           730 libavfilter/af_afir.c         if ((ret = ff_formats_ref(formats, &videolink->in_formats)) < 0)
formats           759 libavfilter/af_afir.c     formats = ff_make_format_list(sample_fmts);
formats           760 libavfilter/af_afir.c     if ((ret = ff_set_common_formats(ctx, formats)) < 0)
formats           763 libavfilter/af_afir.c     formats = ff_all_samplerates();
formats           764 libavfilter/af_afir.c     return ff_set_common_samplerates(ctx, formats);
formats            39 libavfilter/af_aformat.c     AVFilterFormats *formats;
formats           104 libavfilter/af_aformat.c     PARSE_FORMATS(s->formats_str, enum AVSampleFormat, s->formats,
formats           120 libavfilter/af_aformat.c     ret = ff_set_common_formats(ctx, s->formats ? s->formats :
formats           192 libavfilter/af_agate.c     AVFilterFormats *formats = NULL;
formats           196 libavfilter/af_agate.c     if ((ret = ff_add_format(&formats, AV_SAMPLE_FMT_DBL)) < 0)
formats           198 libavfilter/af_agate.c     ret = ff_set_common_formats(ctx, formats);
formats           209 libavfilter/af_agate.c     formats = ff_all_samplerates();
formats           210 libavfilter/af_agate.c     if (!formats)
formats           213 libavfilter/af_agate.c     return ff_set_common_samplerates(ctx, formats);
formats           348 libavfilter/af_agate.c     AVFilterFormats *formats;
formats           373 libavfilter/af_agate.c     formats = ff_make_format_list(sample_fmts);
formats           374 libavfilter/af_agate.c     if ((ret = ff_set_common_formats(ctx, formats)) < 0)
formats           377 libavfilter/af_agate.c     formats = ff_all_samplerates();
formats           378 libavfilter/af_agate.c     return ff_set_common_samplerates(ctx, formats);
formats            82 libavfilter/af_aiir.c     AVFilterFormats *formats;
formats            97 libavfilter/af_aiir.c         formats = ff_make_format_list(pix_fmts);
formats            98 libavfilter/af_aiir.c         if ((ret = ff_formats_ref(formats, &videolink->in_formats)) < 0)
formats           110 libavfilter/af_aiir.c     formats = ff_make_format_list(sample_fmts);
formats           111 libavfilter/af_aiir.c     if (!formats)
formats           113 libavfilter/af_aiir.c     ret = ff_set_common_formats(ctx, formats);
formats           117 libavfilter/af_aiir.c     formats = ff_all_samplerates();
formats           118 libavfilter/af_aiir.c     if (!formats)
formats           120 libavfilter/af_aiir.c     return ff_set_common_samplerates(ctx, formats);
formats           282 libavfilter/af_alimiter.c     AVFilterFormats *formats;
formats           297 libavfilter/af_alimiter.c     formats = ff_make_format_list(sample_fmts);
formats           298 libavfilter/af_alimiter.c     if (!formats)
formats           300 libavfilter/af_alimiter.c     ret = ff_set_common_formats(ctx, formats);
formats           304 libavfilter/af_alimiter.c     formats = ff_all_samplerates();
formats           305 libavfilter/af_alimiter.c     if (!formats)
formats           307 libavfilter/af_alimiter.c     return ff_set_common_samplerates(ctx, formats);
formats            74 libavfilter/af_amerge.c     AVFilterFormats *formats;
formats           127 libavfilter/af_amerge.c     formats = ff_make_format_list(ff_packed_sample_fmts_array);
formats           128 libavfilter/af_amerge.c     if ((ret = ff_set_common_formats(ctx, formats)) < 0)
formats           591 libavfilter/af_amix.c     AVFilterFormats *formats = NULL;
formats           601 libavfilter/af_amix.c     if ((ret = ff_add_format(&formats, AV_SAMPLE_FMT_FLT ))          < 0 ||
formats           602 libavfilter/af_amix.c         (ret = ff_add_format(&formats, AV_SAMPLE_FMT_FLTP))          < 0 ||
formats           603 libavfilter/af_amix.c         (ret = ff_add_format(&formats, AV_SAMPLE_FMT_DBL ))          < 0 ||
formats           604 libavfilter/af_amix.c         (ret = ff_add_format(&formats, AV_SAMPLE_FMT_DBLP))          < 0 ||
formats           605 libavfilter/af_amix.c         (ret = ff_set_common_formats        (ctx, formats))          < 0 ||
formats            46 libavfilter/af_amultiply.c     AVFilterFormats *formats;
formats            62 libavfilter/af_amultiply.c     formats = ff_make_format_list(sample_fmts);
formats            63 libavfilter/af_amultiply.c     if (!formats)
formats            65 libavfilter/af_amultiply.c     ret = ff_set_common_formats(ctx, formats);
formats            69 libavfilter/af_amultiply.c     formats = ff_all_samplerates();
formats            70 libavfilter/af_amultiply.c     if (!formats)
formats            72 libavfilter/af_amultiply.c     return ff_set_common_samplerates(ctx, formats);
formats           236 libavfilter/af_anequalizer.c     AVFilterFormats *formats;
formats           247 libavfilter/af_anequalizer.c         formats = ff_make_format_list(pix_fmts);
formats           248 libavfilter/af_anequalizer.c         if ((ret = ff_formats_ref(formats, &videolink->in_formats)) < 0)
formats           252 libavfilter/af_anequalizer.c     formats = ff_make_format_list(sample_fmts);
formats           253 libavfilter/af_anequalizer.c     if ((ret = ff_formats_ref(formats, &inlink->out_formats)) < 0 ||
formats           254 libavfilter/af_anequalizer.c         (ret = ff_formats_ref(formats, &outlink->in_formats)) < 0)
formats           262 libavfilter/af_anequalizer.c     formats = ff_all_samplerates();
formats           263 libavfilter/af_anequalizer.c     if ((ret = ff_formats_ref(formats, &inlink->out_samplerates)) < 0 ||
formats           264 libavfilter/af_anequalizer.c         (ret = ff_formats_ref(formats, &outlink->in_samplerates)) < 0)
formats            94 libavfilter/af_anlmdn.c     AVFilterFormats *formats = NULL;
formats           102 libavfilter/af_anlmdn.c     formats = ff_make_format_list(sample_fmts);
formats           103 libavfilter/af_anlmdn.c     if (!formats)
formats           105 libavfilter/af_anlmdn.c     ret = ff_set_common_formats(ctx, formats);
formats           117 libavfilter/af_anlmdn.c     formats = ff_all_samplerates();
formats           118 libavfilter/af_anlmdn.c     return ff_set_common_samplerates(ctx, formats);
formats            82 libavfilter/af_anlms.c     AVFilterFormats *formats;
formats            97 libavfilter/af_anlms.c     formats = ff_make_format_list(sample_fmts);
formats            98 libavfilter/af_anlms.c     if (!formats)
formats           100 libavfilter/af_anlms.c     ret = ff_set_common_formats(ctx, formats);
formats           104 libavfilter/af_anlms.c     formats = ff_all_samplerates();
formats           105 libavfilter/af_anlms.c     if (!formats)
formats           107 libavfilter/af_anlms.c     return ff_set_common_samplerates(ctx, formats);
formats            88 libavfilter/af_aphaser.c     AVFilterFormats *formats;
formats           106 libavfilter/af_aphaser.c     formats = ff_make_format_list(sample_fmts);
formats           107 libavfilter/af_aphaser.c     if (!formats)
formats           109 libavfilter/af_aphaser.c     ret = ff_set_common_formats(ctx, formats);
formats           113 libavfilter/af_aphaser.c     formats = ff_all_samplerates();
formats           114 libavfilter/af_aphaser.c     if (!formats)
formats           116 libavfilter/af_aphaser.c     return ff_set_common_samplerates(ctx, formats);
formats           189 libavfilter/af_apulsator.c     AVFilterFormats *formats = NULL;
formats           192 libavfilter/af_apulsator.c     if ((ret = ff_add_format                 (&formats, AV_SAMPLE_FMT_DBL  )) < 0 ||
formats           193 libavfilter/af_apulsator.c         (ret = ff_set_common_formats         (ctx     , formats            )) < 0 ||
formats           198 libavfilter/af_apulsator.c     formats = ff_all_samplerates();
formats           199 libavfilter/af_apulsator.c     return ff_set_common_samplerates(ctx, formats);
formats           313 libavfilter/af_arnndn.c     AVFilterFormats *formats = NULL;
formats           321 libavfilter/af_arnndn.c     formats = ff_make_format_list(sample_fmts);
formats           322 libavfilter/af_arnndn.c     if (!formats)
formats           324 libavfilter/af_arnndn.c     ret = ff_set_common_formats(ctx, formats);
formats           336 libavfilter/af_arnndn.c     formats = ff_make_format_list(sample_rates);
formats           337 libavfilter/af_arnndn.c     if (!formats)
formats           339 libavfilter/af_arnndn.c     return ff_set_common_samplerates(ctx, formats);
formats            68 libavfilter/af_asoftclip.c     AVFilterFormats *formats = NULL;
formats            77 libavfilter/af_asoftclip.c     formats = ff_make_format_list(sample_fmts);
formats            78 libavfilter/af_asoftclip.c     if (!formats)
formats            80 libavfilter/af_asoftclip.c     ret = ff_set_common_formats(ctx, formats);
formats            92 libavfilter/af_asoftclip.c     formats = ff_all_samplerates();
formats            93 libavfilter/af_asoftclip.c     return ff_set_common_samplerates(ctx, formats);
formats           130 libavfilter/af_asr.c     AVFilterFormats *formats = NULL;
formats           133 libavfilter/af_asr.c     if ((ret = ff_add_format                 (&formats, AV_SAMPLE_FMT_S16                 )) < 0 ||
formats           134 libavfilter/af_asr.c         (ret = ff_set_common_formats         (ctx     , formats                           )) < 0 ||
formats           150 libavfilter/af_astats.c     AVFilterFormats *formats;
formats           169 libavfilter/af_astats.c     formats = ff_make_format_list(sample_fmts);
formats           170 libavfilter/af_astats.c     if (!formats)
formats           172 libavfilter/af_astats.c     ret = ff_set_common_formats(ctx, formats);
formats           176 libavfilter/af_astats.c     formats = ff_all_samplerates();
formats           177 libavfilter/af_astats.c     if (!formats)
formats           179 libavfilter/af_astats.c     return ff_set_common_samplerates(ctx, formats);
formats            49 libavfilter/af_asubboost.c     AVFilterFormats *formats = NULL;
formats            57 libavfilter/af_asubboost.c     formats = ff_make_format_list(sample_fmts);
formats            58 libavfilter/af_asubboost.c     if (!formats)
formats            60 libavfilter/af_asubboost.c     ret = ff_set_common_formats(ctx, formats);
formats            72 libavfilter/af_asubboost.c     formats = ff_all_samplerates();
formats            73 libavfilter/af_asubboost.c     return ff_set_common_samplerates(ctx, formats);
formats           999 libavfilter/af_atempo.c     AVFilterFormats        *formats = NULL;
formats          1025 libavfilter/af_atempo.c     formats = ff_make_format_list(sample_fmts);
formats          1026 libavfilter/af_atempo.c     if (!formats) {
formats          1029 libavfilter/af_atempo.c     ret = ff_set_common_formats(ctx, formats);
formats          1033 libavfilter/af_atempo.c     formats = ff_all_samplerates();
formats          1034 libavfilter/af_atempo.c     if (!formats) {
formats          1037 libavfilter/af_atempo.c     return ff_set_common_samplerates(ctx, formats);
formats            52 libavfilter/af_axcorrelate.c     AVFilterFormats *formats;
formats            67 libavfilter/af_axcorrelate.c     formats = ff_make_format_list(sample_fmts);
formats            68 libavfilter/af_axcorrelate.c     if (!formats)
formats            70 libavfilter/af_axcorrelate.c     ret = ff_set_common_formats(ctx, formats);
formats            74 libavfilter/af_axcorrelate.c     formats = ff_all_samplerates();
formats            75 libavfilter/af_axcorrelate.c     if (!formats)
formats            77 libavfilter/af_axcorrelate.c     return ff_set_common_samplerates(ctx, formats);
formats           147 libavfilter/af_biquads.c     AVFilterFormats *formats;
formats           165 libavfilter/af_biquads.c     formats = ff_make_format_list(sample_fmts);
formats           166 libavfilter/af_biquads.c     if (!formats)
formats           168 libavfilter/af_biquads.c     ret = ff_set_common_formats(ctx, formats);
formats           172 libavfilter/af_biquads.c     formats = ff_all_samplerates();
formats           173 libavfilter/af_biquads.c     if (!formats)
formats           175 libavfilter/af_biquads.c     return ff_set_common_samplerates(ctx, formats);
formats            95 libavfilter/af_bs2b.c     AVFilterFormats *formats = NULL;
formats           114 libavfilter/af_bs2b.c     formats = ff_make_format_list(sample_fmts);
formats           115 libavfilter/af_bs2b.c     if (!formats)
formats           117 libavfilter/af_bs2b.c     ret = ff_set_common_formats(ctx, formats);
formats           121 libavfilter/af_bs2b.c     formats = ff_all_samplerates();
formats           122 libavfilter/af_bs2b.c     if (!formats)
formats           124 libavfilter/af_bs2b.c     return ff_set_common_samplerates(ctx, formats);
formats           159 libavfilter/af_chorus.c     AVFilterFormats *formats;
formats           173 libavfilter/af_chorus.c     formats = ff_make_format_list(sample_fmts);
formats           174 libavfilter/af_chorus.c     if (!formats)
formats           176 libavfilter/af_chorus.c     ret = ff_set_common_formats(ctx, formats);
formats           180 libavfilter/af_chorus.c     formats = ff_all_samplerates();
formats           181 libavfilter/af_chorus.c     if (!formats)
formats           183 libavfilter/af_chorus.c     return ff_set_common_samplerates(ctx, formats);
formats           106 libavfilter/af_compand.c     AVFilterFormats *formats;
formats           120 libavfilter/af_compand.c     formats = ff_make_format_list(sample_fmts);
formats           121 libavfilter/af_compand.c     if (!formats)
formats           123 libavfilter/af_compand.c     ret = ff_set_common_formats(ctx, formats);
formats           127 libavfilter/af_compand.c     formats = ff_all_samplerates();
formats           128 libavfilter/af_compand.c     if (!formats)
formats           130 libavfilter/af_compand.c     return ff_set_common_samplerates(ctx, formats);
formats            69 libavfilter/af_compensationdelay.c     AVFilterFormats *formats;
formats            83 libavfilter/af_compensationdelay.c     formats = ff_make_format_list(sample_fmts);
formats            84 libavfilter/af_compensationdelay.c     if (!formats)
formats            86 libavfilter/af_compensationdelay.c     ret = ff_set_common_formats(ctx, formats);
formats            90 libavfilter/af_compensationdelay.c     formats = ff_all_samplerates();
formats            91 libavfilter/af_compensationdelay.c     if (!formats)
formats            93 libavfilter/af_compensationdelay.c     return ff_set_common_samplerates(ctx, formats);
formats            44 libavfilter/af_crossfeed.c     AVFilterFormats *formats = NULL;
formats            48 libavfilter/af_crossfeed.c     if ((ret = ff_add_format                 (&formats, AV_SAMPLE_FMT_DBL  )) < 0 ||
formats            49 libavfilter/af_crossfeed.c         (ret = ff_set_common_formats         (ctx     , formats            )) < 0 ||
formats            48 libavfilter/af_crystalizer.c     AVFilterFormats *formats = NULL;
formats            57 libavfilter/af_crystalizer.c     formats = ff_make_format_list(sample_fmts);
formats            58 libavfilter/af_crystalizer.c     if (!formats)
formats            60 libavfilter/af_crystalizer.c     ret = ff_set_common_formats(ctx, formats);
formats            72 libavfilter/af_crystalizer.c     formats = ff_all_samplerates();
formats            73 libavfilter/af_crystalizer.c     return ff_set_common_samplerates(ctx, formats);
formats            58 libavfilter/af_dcshift.c     AVFilterFormats *formats;
formats            71 libavfilter/af_dcshift.c     formats = ff_make_format_list(sample_fmts);
formats            72 libavfilter/af_dcshift.c     if (!formats)
formats            74 libavfilter/af_dcshift.c     ret = ff_set_common_formats(ctx, formats);
formats            78 libavfilter/af_dcshift.c     formats = ff_all_samplerates();
formats            79 libavfilter/af_dcshift.c     if (!formats)
formats            81 libavfilter/af_dcshift.c     return ff_set_common_samplerates(ctx, formats);
formats            73 libavfilter/af_deesser.c     AVFilterFormats *formats = NULL;
formats            81 libavfilter/af_deesser.c     formats = ff_make_format_list(sample_fmts);
formats            82 libavfilter/af_deesser.c     if (!formats)
formats            84 libavfilter/af_deesser.c     ret = ff_set_common_formats(ctx, formats);
formats            96 libavfilter/af_deesser.c     formats = ff_all_samplerates();
formats            97 libavfilter/af_deesser.c     return ff_set_common_samplerates(ctx, formats);
formats            58 libavfilter/af_drmeter.c     AVFilterFormats *formats;
formats            73 libavfilter/af_drmeter.c     formats = ff_make_format_list(sample_fmts);
formats            74 libavfilter/af_drmeter.c     if (!formats)
formats            76 libavfilter/af_drmeter.c     ret = ff_set_common_formats(ctx, formats);
formats            80 libavfilter/af_drmeter.c     formats = ff_all_samplerates();
formats            81 libavfilter/af_drmeter.c     if (!formats)
formats            83 libavfilter/af_drmeter.c     return ff_set_common_samplerates(ctx, formats);
formats           132 libavfilter/af_dynaudnorm.c     AVFilterFormats *formats;
formats           147 libavfilter/af_dynaudnorm.c     formats = ff_make_format_list(sample_fmts);
formats           148 libavfilter/af_dynaudnorm.c     if (!formats)
formats           150 libavfilter/af_dynaudnorm.c     ret = ff_set_common_formats(ctx, formats);
formats           154 libavfilter/af_dynaudnorm.c     formats = ff_all_samplerates();
formats           155 libavfilter/af_dynaudnorm.c     if (!formats)
formats           157 libavfilter/af_dynaudnorm.c     return ff_set_common_samplerates(ctx, formats);
formats            83 libavfilter/af_earwax.c     AVFilterFormats *formats = NULL;
formats            86 libavfilter/af_earwax.c     if ((ret = ff_add_format                 (&formats, AV_SAMPLE_FMT_S16                 )) < 0 ||
formats            87 libavfilter/af_earwax.c         (ret = ff_set_common_formats         (ctx     , formats                           )) < 0 ||
formats            46 libavfilter/af_extrastereo.c     AVFilterFormats *formats = NULL;
formats            50 libavfilter/af_extrastereo.c     if ((ret = ff_add_format                 (&formats, AV_SAMPLE_FMT_FLT  )) < 0 ||
formats            51 libavfilter/af_extrastereo.c         (ret = ff_set_common_formats         (ctx     , formats            )) < 0 ||
formats            56 libavfilter/af_extrastereo.c     formats = ff_all_samplerates();
formats            57 libavfilter/af_extrastereo.c     return ff_set_common_samplerates(ctx, formats);
formats           185 libavfilter/af_firequalizer.c     AVFilterFormats *formats;
formats           199 libavfilter/af_firequalizer.c     formats = ff_make_format_list(sample_fmts);
formats           200 libavfilter/af_firequalizer.c     if (!formats)
formats           202 libavfilter/af_firequalizer.c     ret = ff_set_common_formats(ctx, formats);
formats           206 libavfilter/af_firequalizer.c     formats = ff_all_samplerates();
formats           207 libavfilter/af_firequalizer.c     if (!formats)
formats           209 libavfilter/af_firequalizer.c     return ff_set_common_samplerates(ctx, formats);
formats            94 libavfilter/af_flanger.c     AVFilterFormats *formats;
formats           107 libavfilter/af_flanger.c     formats = ff_make_format_list(sample_fmts);
formats           108 libavfilter/af_flanger.c     if (!formats)
formats           110 libavfilter/af_flanger.c     ret = ff_set_common_formats(ctx, formats);
formats           114 libavfilter/af_flanger.c     formats = ff_all_samplerates();
formats           115 libavfilter/af_flanger.c     if (!formats)
formats           117 libavfilter/af_flanger.c     return ff_set_common_samplerates(ctx, formats);
formats            84 libavfilter/af_haas.c     AVFilterFormats *formats = NULL;
formats            88 libavfilter/af_haas.c     if ((ret = ff_add_format                 (&formats, AV_SAMPLE_FMT_DBL  )) < 0 ||
formats            89 libavfilter/af_haas.c         (ret = ff_set_common_formats         (ctx     , formats            )) < 0 ||
formats            94 libavfilter/af_haas.c     formats = ff_all_samplerates();
formats            95 libavfilter/af_haas.c     return ff_set_common_samplerates(ctx, formats);
formats           684 libavfilter/af_headphone.c     AVFilterFormats *formats = NULL;
formats           690 libavfilter/af_headphone.c     ret = ff_add_format(&formats, AV_SAMPLE_FMT_FLT);
formats           693 libavfilter/af_headphone.c     ret = ff_set_common_formats(ctx, formats);
formats           728 libavfilter/af_headphone.c     formats = ff_all_samplerates();
formats           729 libavfilter/af_headphone.c     if (!formats)
formats           731 libavfilter/af_headphone.c     return ff_set_common_samplerates(ctx, formats);
formats           600 libavfilter/af_ladspa.c     AVFilterFormats *formats;
formats           606 libavfilter/af_ladspa.c     formats = ff_make_format_list(sample_fmts);
formats           607 libavfilter/af_ladspa.c     if (!formats)
formats           609 libavfilter/af_ladspa.c     ret = ff_set_common_formats(ctx, formats);
formats           614 libavfilter/af_ladspa.c         formats = ff_all_samplerates();
formats           615 libavfilter/af_ladspa.c         if (!formats)
formats           618 libavfilter/af_ladspa.c         ret = ff_set_common_samplerates(ctx, formats);
formats           688 libavfilter/af_loudnorm.c     AVFilterFormats *formats;
formats           706 libavfilter/af_loudnorm.c     formats = ff_make_format_list(sample_fmts);
formats           707 libavfilter/af_loudnorm.c     if (!formats)
formats           709 libavfilter/af_loudnorm.c     ret = ff_set_common_formats(ctx, formats);
formats           714 libavfilter/af_loudnorm.c         formats = ff_make_format_list(input_srate);
formats           715 libavfilter/af_loudnorm.c         if (!formats)
formats           717 libavfilter/af_loudnorm.c         ret = ff_formats_ref(formats, &inlink->out_samplerates);
formats           720 libavfilter/af_loudnorm.c         ret = ff_formats_ref(formats, &outlink->in_samplerates);
formats           480 libavfilter/af_lv2.c     AVFilterFormats *formats;
formats           487 libavfilter/af_lv2.c     formats = ff_make_format_list(sample_fmts);
formats           488 libavfilter/af_lv2.c     if (!formats)
formats           490 libavfilter/af_lv2.c     ret = ff_set_common_formats(ctx, formats);
formats           495 libavfilter/af_lv2.c         formats = ff_all_samplerates();
formats           496 libavfilter/af_lv2.c         if (!formats)
formats           499 libavfilter/af_lv2.c         ret = ff_set_common_samplerates(ctx, formats);
formats           129 libavfilter/af_mcompand.c     AVFilterFormats *formats;
formats           143 libavfilter/af_mcompand.c     formats = ff_make_format_list(sample_fmts);
formats           144 libavfilter/af_mcompand.c     if (!formats)
formats           146 libavfilter/af_mcompand.c     ret = ff_set_common_formats(ctx, formats);
formats           150 libavfilter/af_mcompand.c     formats = ff_all_samplerates();
formats           151 libavfilter/af_mcompand.c     if (!formats)
formats           153 libavfilter/af_mcompand.c     return ff_set_common_samplerates(ctx, formats);
formats           254 libavfilter/af_pan.c     AVFilterFormats *formats = NULL;
formats           263 libavfilter/af_pan.c     formats = ff_all_samplerates();
formats           264 libavfilter/af_pan.c     if ((ret = ff_set_common_samplerates(ctx, formats)) < 0)
formats           324 libavfilter/af_replaygain.c     AVFilterFormats *formats = NULL;
formats           328 libavfilter/af_replaygain.c     if ((ret = ff_add_format                 (&formats, AV_SAMPLE_FMT_FLT  )) < 0 ||
formats           329 libavfilter/af_replaygain.c         (ret = ff_set_common_formats         (ctx     , formats            )) < 0 ||
formats           334 libavfilter/af_replaygain.c     formats = NULL;
formats           336 libavfilter/af_replaygain.c         if ((ret = ff_add_format(&formats, freqinfos[i].sample_rate)) < 0)
formats           340 libavfilter/af_replaygain.c     return ff_set_common_samplerates(ctx, formats);
formats            94 libavfilter/af_rubberband.c     AVFilterFormats *formats = NULL;
formats           109 libavfilter/af_rubberband.c     formats = ff_make_format_list(sample_fmts);
formats           110 libavfilter/af_rubberband.c     if (!formats)
formats           112 libavfilter/af_rubberband.c     ret = ff_set_common_formats(ctx, formats);
formats           116 libavfilter/af_rubberband.c     formats = ff_all_samplerates();
formats           117 libavfilter/af_rubberband.c     if (!formats)
formats           119 libavfilter/af_rubberband.c     return ff_set_common_samplerates(ctx, formats);
formats           301 libavfilter/af_sidechaincompress.c     AVFilterFormats *formats;
formats           326 libavfilter/af_sidechaincompress.c     formats = ff_make_format_list(sample_fmts);
formats           327 libavfilter/af_sidechaincompress.c     if ((ret = ff_set_common_formats(ctx, formats)) < 0)
formats           330 libavfilter/af_sidechaincompress.c     formats = ff_all_samplerates();
formats           331 libavfilter/af_sidechaincompress.c     return ff_set_common_samplerates(ctx, formats);
formats           437 libavfilter/af_sidechaincompress.c     AVFilterFormats *formats;
formats           452 libavfilter/af_sidechaincompress.c     formats = ff_make_format_list(sample_fmts);
formats           453 libavfilter/af_sidechaincompress.c     if (!formats)
formats           455 libavfilter/af_sidechaincompress.c     ret = ff_set_common_formats(ctx, formats);
formats           459 libavfilter/af_sidechaincompress.c     formats = ff_all_samplerates();
formats           460 libavfilter/af_sidechaincompress.c     if (!formats)
formats           462 libavfilter/af_sidechaincompress.c     return ff_set_common_samplerates(ctx, formats);
formats           200 libavfilter/af_silencedetect.c     AVFilterFormats *formats = NULL;
formats           218 libavfilter/af_silencedetect.c     formats = ff_make_format_list(sample_fmts);
formats           219 libavfilter/af_silencedetect.c     if (!formats)
formats           221 libavfilter/af_silencedetect.c     ret = ff_set_common_formats(ctx, formats);
formats           225 libavfilter/af_silencedetect.c     formats = ff_all_samplerates();
formats           226 libavfilter/af_silencedetect.c     if (!formats)
formats           228 libavfilter/af_silencedetect.c     return ff_set_common_samplerates(ctx, formats);
formats           614 libavfilter/af_silenceremove.c     AVFilterFormats *formats = NULL;
formats           628 libavfilter/af_silenceremove.c     formats = ff_make_format_list(sample_fmts);
formats           629 libavfilter/af_silenceremove.c     if (!formats)
formats           631 libavfilter/af_silenceremove.c     ret = ff_set_common_formats(ctx, formats);
formats           635 libavfilter/af_silenceremove.c     formats = ff_all_samplerates();
formats           636 libavfilter/af_silenceremove.c     if (!formats)
formats           638 libavfilter/af_silenceremove.c     return ff_set_common_samplerates(ctx, formats);
formats           636 libavfilter/af_sofalizer.c     AVFilterFormats *formats = NULL;
formats           644 libavfilter/af_sofalizer.c     formats = ff_make_format_list(sample_fmts);
formats           645 libavfilter/af_sofalizer.c     if (!formats)
formats           647 libavfilter/af_sofalizer.c     ret = ff_set_common_formats(ctx, formats);
formats           669 libavfilter/af_sofalizer.c     formats = ff_make_format_list(sample_rates);
formats           670 libavfilter/af_sofalizer.c     if (!formats)
formats           672 libavfilter/af_sofalizer.c     return ff_set_common_samplerates(ctx, formats);
formats           102 libavfilter/af_stereotools.c     AVFilterFormats *formats = NULL;
formats           106 libavfilter/af_stereotools.c     if ((ret = ff_add_format                 (&formats, AV_SAMPLE_FMT_DBL  )) < 0 ||
formats           107 libavfilter/af_stereotools.c         (ret = ff_set_common_formats         (ctx     , formats            )) < 0 ||
formats           112 libavfilter/af_stereotools.c     formats = ff_all_samplerates();
formats           113 libavfilter/af_stereotools.c     return ff_set_common_samplerates(ctx, formats);
formats            57 libavfilter/af_stereowiden.c     AVFilterFormats *formats = NULL;
formats            61 libavfilter/af_stereowiden.c     if ((ret = ff_add_format                 (&formats, AV_SAMPLE_FMT_FLT  )) < 0 ||
formats            62 libavfilter/af_stereowiden.c         (ret = ff_set_common_formats         (ctx     , formats            )) < 0 ||
formats            67 libavfilter/af_stereowiden.c     formats = ff_all_samplerates();
formats            68 libavfilter/af_stereowiden.c     return ff_set_common_samplerates(ctx, formats);
formats           275 libavfilter/af_superequalizer.c     AVFilterFormats *formats;
formats           290 libavfilter/af_superequalizer.c     formats = ff_make_format_list(sample_fmts);
formats           291 libavfilter/af_superequalizer.c     if ((ret = ff_set_common_formats(ctx, formats)) < 0)
formats           294 libavfilter/af_superequalizer.c     formats = ff_all_samplerates();
formats           295 libavfilter/af_superequalizer.c     return ff_set_common_samplerates(ctx, formats);
formats           162 libavfilter/af_surround.c     AVFilterFormats *formats = NULL;
formats           166 libavfilter/af_surround.c     ret = ff_add_format(&formats, AV_SAMPLE_FMT_FLTP);
formats           169 libavfilter/af_surround.c     ret = ff_set_common_formats(ctx, formats);
formats           191 libavfilter/af_surround.c     formats = ff_all_samplerates();
formats           192 libavfilter/af_surround.c     if (!formats)
formats           194 libavfilter/af_surround.c     return ff_set_common_samplerates(ctx, formats);
formats            88 libavfilter/af_tremolo.c     AVFilterFormats *formats;
formats           103 libavfilter/af_tremolo.c     formats = ff_make_format_list(sample_fmts);
formats           104 libavfilter/af_tremolo.c     if (!formats)
formats           106 libavfilter/af_tremolo.c     ret = ff_set_common_formats(ctx, formats);
formats           110 libavfilter/af_tremolo.c     formats = ff_all_samplerates();
formats           111 libavfilter/af_tremolo.c     if (!formats)
formats           113 libavfilter/af_tremolo.c     return ff_set_common_samplerates(ctx, formats);
formats           116 libavfilter/af_vibrato.c     AVFilterFormats *formats;
formats           131 libavfilter/af_vibrato.c     formats = ff_make_format_list(sample_fmts);
formats           132 libavfilter/af_vibrato.c     if (!formats)
formats           134 libavfilter/af_vibrato.c     ret = ff_set_common_formats(ctx, formats);
formats           138 libavfilter/af_vibrato.c     formats = ff_all_samplerates();
formats           139 libavfilter/af_vibrato.c     if (!formats)
formats           141 libavfilter/af_vibrato.c     return ff_set_common_samplerates(ctx, formats);
formats           135 libavfilter/af_volume.c     AVFilterFormats *formats = NULL;
formats           167 libavfilter/af_volume.c     formats = ff_make_format_list(sample_fmts[vol->precision]);
formats           168 libavfilter/af_volume.c     if (!formats)
formats           170 libavfilter/af_volume.c     ret = ff_set_common_formats(ctx, formats);
formats           174 libavfilter/af_volume.c     formats = ff_all_samplerates();
formats           175 libavfilter/af_volume.c     if (!formats)
formats           177 libavfilter/af_volume.c     return ff_set_common_samplerates(ctx, formats);
formats            43 libavfilter/af_volumedetect.c     AVFilterFormats *formats;
formats            47 libavfilter/af_volumedetect.c     if (!(formats = ff_make_format_list(sample_fmts)))
formats            57 libavfilter/af_volumedetect.c     return ff_set_common_formats(ctx, formats);
formats           137 libavfilter/asrc_afirsrc.c     AVFilterFormats *formats;
formats           141 libavfilter/asrc_afirsrc.c     formats = ff_make_format_list(sample_fmts);
formats           142 libavfilter/asrc_afirsrc.c     if (!formats)
formats           144 libavfilter/asrc_afirsrc.c     ret = ff_set_common_formats (ctx, formats);
formats           155 libavfilter/asrc_afirsrc.c     formats = ff_make_format_list(sample_rates);
formats           156 libavfilter/asrc_afirsrc.c     if (!formats)
formats           158 libavfilter/asrc_afirsrc.c     return ff_set_common_samplerates(ctx, formats);
formats            93 libavfilter/asrc_anoisesrc.c     AVFilterFormats *formats;
formats            97 libavfilter/asrc_anoisesrc.c     formats = ff_make_format_list(sample_fmts);
formats            98 libavfilter/asrc_anoisesrc.c     if (!formats)
formats           100 libavfilter/asrc_anoisesrc.c     ret = ff_set_common_formats (ctx, formats);
formats           111 libavfilter/asrc_anoisesrc.c     formats = ff_make_format_list(sample_rates);
formats           112 libavfilter/asrc_anoisesrc.c     if (!formats)
formats           114 libavfilter/asrc_anoisesrc.c     return ff_set_common_samplerates(ctx, formats);
formats           105 libavfilter/asrc_hilbert.c     AVFilterFormats *formats;
formats           109 libavfilter/asrc_hilbert.c     formats = ff_make_format_list(sample_fmts);
formats           110 libavfilter/asrc_hilbert.c     if (!formats)
formats           112 libavfilter/asrc_hilbert.c     ret = ff_set_common_formats (ctx, formats);
formats           123 libavfilter/asrc_hilbert.c     formats = ff_make_format_list(sample_rates);
formats           124 libavfilter/asrc_hilbert.c     if (!formats)
formats           126 libavfilter/asrc_hilbert.c     return ff_set_common_samplerates(ctx, formats);
formats            76 libavfilter/asrc_sinc.c     AVFilterFormats *formats;
formats            80 libavfilter/asrc_sinc.c     formats = ff_make_format_list(sample_fmts);
formats            81 libavfilter/asrc_sinc.c     if (!formats)
formats            83 libavfilter/asrc_sinc.c     ret = ff_set_common_formats (ctx, formats);
formats            94 libavfilter/asrc_sinc.c     formats = ff_make_format_list(sample_rates);
formats            95 libavfilter/asrc_sinc.c     if (!formats)
formats            97 libavfilter/asrc_sinc.c     return ff_set_common_samplerates(ctx, formats);
formats           186 libavfilter/asrc_sine.c     AVFilterFormats *formats;
formats           190 libavfilter/asrc_sine.c     formats = ff_make_format_list(sample_fmts);
formats           191 libavfilter/asrc_sine.c     if (!formats)
formats           193 libavfilter/asrc_sine.c     ret = ff_set_common_formats (ctx, formats);
formats           204 libavfilter/asrc_sine.c     formats = ff_make_format_list(sample_rates);
formats           205 libavfilter/asrc_sine.c     if (!formats)
formats           207 libavfilter/asrc_sine.c     return ff_set_common_samplerates(ctx, formats);
formats            63 libavfilter/avf_abitscope.c     AVFilterFormats *formats = NULL;
formats            71 libavfilter/avf_abitscope.c     formats = ff_make_format_list(sample_fmts);
formats            72 libavfilter/avf_abitscope.c     if ((ret = ff_formats_ref(formats, &inlink->out_formats)) < 0)
formats            81 libavfilter/avf_abitscope.c     formats = ff_all_samplerates();
formats            82 libavfilter/avf_abitscope.c     if ((ret = ff_formats_ref(formats, &inlink->out_samplerates)) < 0)
formats            85 libavfilter/avf_abitscope.c     formats = ff_make_format_list(pix_fmts);
formats            86 libavfilter/avf_abitscope.c     if ((ret = ff_formats_ref(formats, &outlink->in_formats)) < 0)
formats            93 libavfilter/avf_ahistogram.c     AVFilterFormats *formats = NULL;
formats           101 libavfilter/avf_ahistogram.c     formats = ff_make_format_list(sample_fmts);
formats           102 libavfilter/avf_ahistogram.c     if ((ret = ff_formats_ref         (formats, &inlink->out_formats        )) < 0 ||
formats           107 libavfilter/avf_ahistogram.c     formats = ff_all_samplerates();
formats           108 libavfilter/avf_ahistogram.c     if ((ret = ff_formats_ref(formats, &inlink->out_samplerates)) < 0)
formats           111 libavfilter/avf_ahistogram.c     formats = ff_make_format_list(pix_fmts);
formats           112 libavfilter/avf_ahistogram.c     if ((ret = ff_formats_ref(formats, &outlink->in_formats)) < 0)
formats            70 libavfilter/avf_aphasemeter.c     AVFilterFormats *formats = NULL;
formats            78 libavfilter/avf_aphasemeter.c     formats = ff_make_format_list(sample_fmts);
formats            79 libavfilter/avf_aphasemeter.c     if ((ret = ff_formats_ref         (formats, &inlink->out_formats        )) < 0 ||
formats            80 libavfilter/avf_aphasemeter.c         (ret = ff_formats_ref         (formats, &outlink->in_formats        )) < 0 ||
formats            86 libavfilter/avf_aphasemeter.c     formats = ff_all_samplerates();
formats            87 libavfilter/avf_aphasemeter.c     if ((ret = ff_formats_ref(formats, &inlink->out_samplerates)) < 0 ||
formats            88 libavfilter/avf_aphasemeter.c         (ret = ff_formats_ref(formats, &outlink->in_samplerates)) < 0)
formats            94 libavfilter/avf_aphasemeter.c         formats = ff_make_format_list(pix_fmts);
formats            95 libavfilter/avf_aphasemeter.c         if ((ret = ff_formats_ref(formats, &outlink->in_formats)) < 0)
formats           184 libavfilter/avf_avectorscope.c     AVFilterFormats *formats = NULL;
formats           192 libavfilter/avf_avectorscope.c     formats = ff_make_format_list(sample_fmts);
formats           193 libavfilter/avf_avectorscope.c     if ((ret = ff_formats_ref         (formats, &inlink->out_formats        )) < 0 ||
formats           198 libavfilter/avf_avectorscope.c     formats = ff_all_samplerates();
formats           199 libavfilter/avf_avectorscope.c     if ((ret = ff_formats_ref(formats, &inlink->out_samplerates)) < 0)
formats           202 libavfilter/avf_avectorscope.c     formats = ff_make_format_list(pix_fmts);
formats           203 libavfilter/avf_avectorscope.c     if ((ret = ff_formats_ref(formats, &outlink->in_formats)) < 0)
formats            79 libavfilter/avf_concat.c     AVFilterFormats *formats, *rates = NULL;
formats            89 libavfilter/avf_concat.c             formats = ff_all_formats(type);
formats            90 libavfilter/avf_concat.c             if ((ret = ff_formats_ref(formats, &ctx->outputs[idx]->in_formats)) < 0)
formats           104 libavfilter/avf_concat.c                 if ((ret = ff_formats_ref(formats, &ctx->inputs[idx]->out_formats)) < 0)
formats          1320 libavfilter/avf_showcqt.c     AVFilterFormats *formats = NULL;
formats          1333 libavfilter/avf_showcqt.c     formats = ff_make_format_list(sample_fmts);
formats          1334 libavfilter/avf_showcqt.c     if ((ret = ff_formats_ref(formats, &inlink->out_formats)) < 0)
formats          1341 libavfilter/avf_showcqt.c     formats = ff_all_samplerates();
formats          1342 libavfilter/avf_showcqt.c     if ((ret = ff_formats_ref(formats, &inlink->out_samplerates)) < 0)
formats          1346 libavfilter/avf_showcqt.c     formats = ff_make_format_list(pix_fmts);
formats          1347 libavfilter/avf_showcqt.c     if ((ret = ff_formats_ref(formats, &outlink->in_formats)) < 0)
formats           125 libavfilter/avf_showfreqs.c     AVFilterFormats *formats = NULL;
formats           134 libavfilter/avf_showfreqs.c     formats = ff_make_format_list(sample_fmts);
formats           135 libavfilter/avf_showfreqs.c     if ((ret = ff_formats_ref(formats, &inlink->out_formats)) < 0)
formats           142 libavfilter/avf_showfreqs.c     formats = ff_all_samplerates();
formats           143 libavfilter/avf_showfreqs.c     if ((ret = ff_formats_ref(formats, &inlink->out_samplerates)) < 0)
formats           147 libavfilter/avf_showfreqs.c     formats = ff_make_format_list(pix_fmts);
formats           148 libavfilter/avf_showfreqs.c     if ((ret = ff_formats_ref(formats, &outlink->in_formats)) < 0)
formats           108 libavfilter/avf_showspatial.c     AVFilterFormats *formats = NULL;
formats           116 libavfilter/avf_showspatial.c     formats = ff_make_format_list(sample_fmts);
formats           117 libavfilter/avf_showspatial.c     if ((ret = ff_formats_ref         (formats, &inlink->out_formats        )) < 0 ||
formats           122 libavfilter/avf_showspatial.c     formats = ff_all_samplerates();
formats           123 libavfilter/avf_showspatial.c     if ((ret = ff_formats_ref(formats, &inlink->out_samplerates)) < 0)
formats           126 libavfilter/avf_showspatial.c     formats = ff_make_format_list(pix_fmts);
formats           127 libavfilter/avf_showspatial.c     if ((ret = ff_formats_ref(formats, &outlink->in_formats)) < 0)
formats           348 libavfilter/avf_showspectrum.c     AVFilterFormats *formats = NULL;
formats           357 libavfilter/avf_showspectrum.c     formats = ff_make_format_list(sample_fmts);
formats           358 libavfilter/avf_showspectrum.c     if ((ret = ff_formats_ref(formats, &inlink->out_formats)) < 0)
formats           365 libavfilter/avf_showspectrum.c     formats = ff_all_samplerates();
formats           366 libavfilter/avf_showspectrum.c     if ((ret = ff_formats_ref(formats, &inlink->out_samplerates)) < 0)
formats           370 libavfilter/avf_showspectrum.c     formats = ff_make_format_list(pix_fmts);
formats           371 libavfilter/avf_showspectrum.c     if ((ret = ff_formats_ref(formats, &outlink->in_formats)) < 0)
formats           119 libavfilter/avf_showvolume.c     AVFilterFormats *formats = NULL;
formats           127 libavfilter/avf_showvolume.c     formats = ff_make_format_list(sample_fmts);
formats           128 libavfilter/avf_showvolume.c     if ((ret = ff_formats_ref(formats, &inlink->out_formats)) < 0)
formats           135 libavfilter/avf_showvolume.c     formats = ff_all_samplerates();
formats           136 libavfilter/avf_showvolume.c     if ((ret = ff_formats_ref(formats, &inlink->out_samplerates)) < 0)
formats           139 libavfilter/avf_showvolume.c     formats = ff_make_format_list(pix_fmts);
formats           140 libavfilter/avf_showvolume.c     if ((ret = ff_formats_ref(formats, &outlink->in_formats)) < 0)
formats           147 libavfilter/avf_showwaves.c     AVFilterFormats *formats = NULL;
formats           156 libavfilter/avf_showwaves.c     formats = ff_make_format_list(sample_fmts);
formats           157 libavfilter/avf_showwaves.c     if ((ret = ff_formats_ref(formats, &inlink->out_formats)) < 0)
formats           164 libavfilter/avf_showwaves.c     formats = ff_all_samplerates();
formats           165 libavfilter/avf_showwaves.c     if ((ret = ff_formats_ref(formats, &inlink->out_samplerates)) < 0)
formats           169 libavfilter/avf_showwaves.c     formats = ff_make_format_list(pix_fmts);
formats           170 libavfilter/avf_showwaves.c     if ((ret = ff_formats_ref(formats, &outlink->in_formats)) < 0)
formats           319 libavfilter/avfiltergraph.c     AVFilterFormats *formats;
formats           338 libavfilter/avfiltergraph.c     formats = ff_all_formats(type);
formats           339 libavfilter/avfiltergraph.c     if ((ret = ff_set_common_formats(ctx, formats)) < 0)
formats           381 libavfilter/avfiltergraph.c         a->formats  = av_memdup(a->formats, sizeof(*a->formats) * a->nb_formats);
formats           382 libavfilter/avfiltergraph.c         if (!a->formats && arg->formats)
formats           401 libavfilter/avfiltergraph.c             av_freep(&a->formats);
formats           403 libavfilter/avfiltergraph.c             av_freep(&b->formats);
formats           417 libavfilter/avfiltergraph.c         av_freep(&ret->formats);
formats           423 libavfilter/avfiltergraph.c             av_freep(&a->formats);
formats           425 libavfilter/avfiltergraph.c             av_freep(&b->formats);
formats           512 libavfilter/avfiltergraph.c             MERGE_DISPATCH(formats,
formats           689 libavfilter/avfiltergraph.c                 enum AVPixelFormat p = link->in_formats->formats[i];
formats           695 libavfilter/avfiltergraph.c             link->in_formats->formats[0] = best;
formats           702 libavfilter/avfiltergraph.c                 enum AVSampleFormat p = link->in_formats->formats[i];
formats           708 libavfilter/avfiltergraph.c             link->in_formats->formats[0] = best;
formats           713 libavfilter/avfiltergraph.c     link->format = link->in_formats->formats[0];
formats           723 libavfilter/avfiltergraph.c         link->sample_rate = link->in_samplerates->formats[0];
formats           794 libavfilter/avfiltergraph.c     REDUCE_FORMATS(int,      AVFilterFormats,        formats,         formats,
formats           796 libavfilter/avfiltergraph.c     REDUCE_FORMATS(int,      AVFilterFormats,        samplerates,     formats,
formats           873 libavfilter/avfiltergraph.c     sample_rate = link->out_samplerates->formats[0];
formats           884 libavfilter/avfiltergraph.c             int diff = abs(sample_rate - outlink->in_samplerates->formats[j]);
formats           893 libavfilter/avfiltergraph.c         FFSWAP(int, outlink->in_samplerates->formats[0],
formats           894 libavfilter/avfiltergraph.c                outlink->in_samplerates->formats[best_idx]);
formats          1053 libavfilter/avfiltergraph.c     format = link->out_formats->formats[0];
formats          1065 libavfilter/avfiltergraph.c             int out_format = outlink->in_formats->formats[j];
formats          1092 libavfilter/avfiltergraph.c         FFSWAP(int, outlink->in_formats->formats[0],
formats          1093 libavfilter/avfiltergraph.c                outlink->in_formats->formats[best_idx]);
formats           214 libavfilter/buffersink.c     AVFilterFormats *formats = NULL;
formats           221 libavfilter/buffersink.c             if ((ret = ff_add_format(&formats, buf->pixel_fmts[i])) < 0)
formats           223 libavfilter/buffersink.c         if ((ret = ff_set_common_formats(ctx, formats)) < 0)
formats           236 libavfilter/buffersink.c     AVFilterFormats *formats = NULL;
formats           248 libavfilter/buffersink.c             if ((ret = ff_add_format(&formats, buf->sample_fmts[i])) < 0)
formats           250 libavfilter/buffersink.c         if ((ret = ff_set_common_formats(ctx, formats)) < 0)
formats           274 libavfilter/buffersink.c         formats = NULL;
formats           276 libavfilter/buffersink.c             if ((ret = ff_add_format(&formats, buf->sample_rates[i])) < 0)
formats           278 libavfilter/buffersink.c         if ((ret = ff_set_common_samplerates(ctx, formats)) < 0)
formats           383 libavfilter/buffersrc.c     AVFilterFormats *formats = NULL;
formats           389 libavfilter/buffersrc.c         if ((ret = ff_add_format         (&formats, c->pix_fmt)) < 0 ||
formats           390 libavfilter/buffersrc.c             (ret = ff_set_common_formats (ctx     , formats   )) < 0)
formats           394 libavfilter/buffersrc.c         if ((ret = ff_add_format             (&formats    , c->sample_fmt )) < 0 ||
formats           395 libavfilter/buffersrc.c             (ret = ff_set_common_formats     (ctx         , formats       )) < 0 ||
formats           900 libavfilter/f_ebur128.c     AVFilterFormats *formats;
formats           912 libavfilter/f_ebur128.c         formats = ff_make_format_list(pix_fmts);
formats           913 libavfilter/f_ebur128.c         if ((ret = ff_formats_ref(formats, &outlink->in_formats)) < 0)
formats           921 libavfilter/f_ebur128.c     formats = ff_make_format_list(sample_fmts);
formats           922 libavfilter/f_ebur128.c     if ((ret = ff_formats_ref(formats, &inlink->out_formats)) < 0 ||
formats           923 libavfilter/f_ebur128.c         (ret = ff_formats_ref(formats, &outlink->in_formats)) < 0)
formats           931 libavfilter/f_ebur128.c     formats = ff_make_format_list(input_srate);
formats           932 libavfilter/f_ebur128.c     if ((ret = ff_formats_ref(formats, &inlink->out_samplerates)) < 0 ||
formats           933 libavfilter/f_ebur128.c         (ret = ff_formats_ref(formats, &outlink->in_samplerates)) < 0)
formats           152 libavfilter/f_reverse.c     AVFilterFormats *formats;
formats           167 libavfilter/f_reverse.c     formats = ff_all_samplerates();
formats           168 libavfilter/f_reverse.c     if (!formats)
formats           170 libavfilter/f_reverse.c     return ff_set_common_samplerates(ctx, formats);
formats           308 libavfilter/f_streamselect.c     AVFilterFormats *formats, *rates = NULL;
formats           313 libavfilter/f_streamselect.c         formats = ff_all_formats(ctx->inputs[i]->type);
formats           314 libavfilter/f_streamselect.c         if ((ret = ff_set_common_formats(ctx, formats)) < 0)
formats           113 libavfilter/formats.c                 const AVPixFmtDescriptor *adesc = av_pix_fmt_desc_get(a->formats[i]);
formats           114 libavfilter/formats.c                 const AVPixFmtDescriptor *bdesc = av_pix_fmt_desc_get(b->formats[j]);
formats           117 libavfilter/formats.c                 if (a->formats[i] == b->formats[j]) {
formats           127 libavfilter/formats.c     MERGE_FORMATS(ret, a, b, formats, nb_formats, AVFilterFormats, fail);
formats           133 libavfilter/formats.c         av_freep(&ret->formats);
formats           147 libavfilter/formats.c         MERGE_FORMATS(ret, a, b, formats, nb_formats, AVFilterFormats, fail);
formats           149 libavfilter/formats.c         MERGE_REF(a, b, formats, AVFilterFormats, fail);
formats           152 libavfilter/formats.c         MERGE_REF(b, a, formats, AVFilterFormats, fail);
formats           160 libavfilter/formats.c         av_freep(&ret->formats);
formats           266 libavfilter/formats.c     type *formats;                                                      \
formats           271 libavfilter/formats.c     formats = av_mallocz(sizeof(*formats));                             \
formats           272 libavfilter/formats.c     if (!formats)                                                       \
formats           274 libavfilter/formats.c     formats->count_field = count;                                       \
formats           276 libavfilter/formats.c         formats->field = av_malloc_array(count, sizeof(*formats->field));      \
formats           277 libavfilter/formats.c         if (!formats->field) {                                          \
formats           278 libavfilter/formats.c             av_freep(&formats);                                         \
formats           285 libavfilter/formats.c     MAKE_FORMAT_LIST(AVFilterFormats, formats, nb_formats);
formats           287 libavfilter/formats.c         formats->formats[count] = fmts[count];
formats           289 libavfilter/formats.c     return formats;
formats           297 libavfilter/formats.c         memcpy(formats->channel_layouts, fmts,
formats           298 libavfilter/formats.c                sizeof(*formats->channel_layouts) * count);
formats           300 libavfilter/formats.c     return formats;
formats           308 libavfilter/formats.c         memcpy(formats->channel_layouts, fmts,
formats           309 libavfilter/formats.c                sizeof(*formats->channel_layouts) * count);
formats           311 libavfilter/formats.c     return formats;
formats           338 libavfilter/formats.c     ADD_FORMAT(avff, fmt, ff_formats_unref, int, formats, nb_formats);
formats           374 libavfilter/formats.c     AVFilterFormats *formats = NULL;
formats           389 libavfilter/formats.c             if (formats)
formats           390 libavfilter/formats.c                 formats->formats[nb_formats] = fmt;
formats           393 libavfilter/formats.c         if (formats) {
formats           394 libavfilter/formats.c             av_assert0(formats->nb_formats == nb_formats);
formats           395 libavfilter/formats.c             *rfmts = formats;
formats           398 libavfilter/formats.c         formats = av_mallocz(sizeof(*formats));
formats           399 libavfilter/formats.c         if (!formats)
formats           401 libavfilter/formats.c         formats->nb_formats = nb_formats;
formats           403 libavfilter/formats.c             formats->formats = av_malloc_array(nb_formats, sizeof(*formats->formats));
formats           404 libavfilter/formats.c             if (!formats->formats) {
formats           405 libavfilter/formats.c                 av_freep(&formats);
formats           508 libavfilter/formats.c     FORMATS_UNREF(ref, formats);
formats           592 libavfilter/formats.c                        ff_formats_ref, ff_formats_unref, formats);
formats           600 libavfilter/formats.c int ff_set_common_formats(AVFilterContext *ctx, AVFilterFormats *formats)
formats           602 libavfilter/formats.c     SET_COMMON_FORMATS(ctx, formats, in_formats, out_formats,
formats           603 libavfilter/formats.c                        ff_formats_ref, ff_formats_unref, formats);
formats            66 libavfilter/formats.h     int *formats;               ///< list of media formats
formats           166 libavfilter/formats.h int ff_set_common_formats(AVFilterContext *ctx, AVFilterFormats *formats);
formats           264 libavfilter/formats.h int ff_formats_ref(AVFilterFormats *formats, AVFilterFormats **ref);
formats            34 libavfilter/opencl.c     AVFilterFormats *formats;
formats            36 libavfilter/opencl.c     formats = ff_make_format_list(pix_fmts);
formats            37 libavfilter/opencl.c     if (!formats)
formats            40 libavfilter/opencl.c     return ff_set_common_formats(avctx, formats);
formats            45 libavfilter/tests/filtfmts.c                 if(av_get_pix_fmt_name(fmts->formats[j]))               \
formats            48 libavfilter/tests/filtfmts.c                        av_get_pix_fmt_name(fmts->formats[j]));          \
formats            57 libavfilter/tests/filtfmts.c                        av_get_sample_fmt_name(fmts->formats[j]));       \
formats           105 libavfilter/vaf_spectrumsynth.c     AVFilterFormats *formats = NULL;
formats           116 libavfilter/vaf_spectrumsynth.c     formats = ff_make_format_list(sample_fmts);
formats           117 libavfilter/vaf_spectrumsynth.c     if ((ret = ff_formats_ref         (formats, &outlink->in_formats        )) < 0 ||
formats           123 libavfilter/vaf_spectrumsynth.c     formats = ff_make_format_list(sample_rates);
formats           124 libavfilter/vaf_spectrumsynth.c     if (!formats)
formats           126 libavfilter/vaf_spectrumsynth.c     if ((ret = ff_formats_ref(formats, &outlink->in_samplerates)) < 0)
formats           129 libavfilter/vaf_spectrumsynth.c     formats = ff_make_format_list(pix_fmts);
formats           130 libavfilter/vaf_spectrumsynth.c     if (!formats)
formats           132 libavfilter/vaf_spectrumsynth.c     if ((ret = ff_formats_ref(formats, &magnitude->out_formats)) < 0)
formats           135 libavfilter/vaf_spectrumsynth.c     formats = ff_make_format_list(pix_fmts);
formats           136 libavfilter/vaf_spectrumsynth.c     if (!formats)
formats           138 libavfilter/vaf_spectrumsynth.c     if ((ret = ff_formats_ref(formats, &phase->out_formats)) < 0)
formats            73 libavfilter/vf_alphamerge.c         av_freep(&main_formats->formats);
formats            76 libavfilter/vf_alphamerge.c         av_freep(&alpha_formats->formats);
formats            81 libavfilter/vf_amplify.c     AVFilterFormats *formats = ff_make_format_list(pixel_fmts);
formats            82 libavfilter/vf_amplify.c     if (!formats)
formats            84 libavfilter/vf_amplify.c     return ff_set_common_formats(ctx, formats);
formats           118 libavfilter/vf_atadenoise.c     AVFilterFormats *formats = ff_make_format_list(pixel_fmts);
formats           119 libavfilter/vf_atadenoise.c     if (!formats)
formats           121 libavfilter/vf_atadenoise.c     return ff_set_common_formats(ctx, formats);
formats            70 libavfilter/vf_bitplanenoise.c     AVFilterFormats *formats = ff_make_format_list(pixfmts);
formats            71 libavfilter/vf_bitplanenoise.c     if (!formats)
formats            73 libavfilter/vf_bitplanenoise.c     return ff_set_common_formats(ctx, formats);
formats            60 libavfilter/vf_boxblur.c     AVFilterFormats *formats = NULL;
formats            68 libavfilter/vf_boxblur.c             (ret = ff_add_format(&formats, fmt)) < 0)
formats            72 libavfilter/vf_boxblur.c     return ff_set_common_formats(ctx, formats);
formats           233 libavfilter/vf_cas.c     AVFilterFormats *formats = NULL;
formats           235 libavfilter/vf_cas.c     formats = ff_make_format_list(pixel_fmts);
formats           236 libavfilter/vf_cas.c     if (!formats)
formats           239 libavfilter/vf_cas.c     return ff_set_common_formats(avctx, formats);
formats           335 libavfilter/vf_chromakey.c     AVFilterFormats *formats = NULL;
formats           337 libavfilter/vf_chromakey.c     formats = ff_make_format_list(!strcmp(avctx->filter->name, "chromahold") ? hold_pixel_fmts : pixel_fmts);
formats           338 libavfilter/vf_chromakey.c     if (!formats)
formats           341 libavfilter/vf_chromakey.c     return ff_set_common_formats(avctx, formats);
formats           174 libavfilter/vf_colorkey.c     AVFilterFormats *formats = NULL;
formats           176 libavfilter/vf_colorkey.c     formats = ff_make_format_list(pixel_fmts);
formats           177 libavfilter/vf_colorkey.c     if (!formats)
formats           180 libavfilter/vf_colorkey.c     return ff_set_common_formats(avctx, formats);
formats           893 libavfilter/vf_colorspace.c     AVFilterFormats *formats = ff_make_format_list(pix_fmts);
formats           895 libavfilter/vf_colorspace.c     if (!formats)
formats           898 libavfilter/vf_colorspace.c         return ff_set_common_formats(ctx, formats);
formats           899 libavfilter/vf_colorspace.c     res = ff_formats_ref(formats, &ctx->inputs[0]->out_formats);
formats           902 libavfilter/vf_colorspace.c     formats = NULL;
formats           903 libavfilter/vf_colorspace.c     res = ff_add_format(&formats, s->user_format);
formats           907 libavfilter/vf_colorspace.c     return ff_formats_ref(formats, &ctx->outputs[0]->in_formats);
formats            32 libavfilter/vf_copy.c     AVFilterFormats *formats = NULL;
formats            40 libavfilter/vf_copy.c         if ((ret = ff_add_format(&formats, fmt)) < 0)
formats            44 libavfilter/vf_copy.c     return ff_set_common_formats(ctx, formats);
formats            96 libavfilter/vf_crop.c     AVFilterFormats *formats = NULL;
formats            99 libavfilter/vf_crop.c     ret = ff_formats_pixdesc_filter(&formats, 0, AV_PIX_FMT_FLAG_BITSTREAM | FF_PIX_FMT_FLAG_SW_FLAT_SUB);
formats           102 libavfilter/vf_crop.c     return ff_set_common_formats(ctx, formats);
formats            87 libavfilter/vf_deblock.c     AVFilterFormats *formats = ff_make_format_list(pixel_fmts);
formats            88 libavfilter/vf_deblock.c     if (!formats)
formats            90 libavfilter/vf_deblock.c     return ff_set_common_formats(ctx, formats);
formats            78 libavfilter/vf_dedot.c     AVFilterFormats *formats = ff_make_format_list(pixel_fmts);
formats            79 libavfilter/vf_dedot.c     if (!formats)
formats            81 libavfilter/vf_dedot.c     return ff_set_common_formats(ctx, formats);
formats           118 libavfilter/vf_deflicker.c     AVFilterFormats *formats = ff_make_format_list(pixel_fmts);
formats           119 libavfilter/vf_deflicker.c     if (!formats)
formats           121 libavfilter/vf_deflicker.c     return ff_set_common_formats(ctx, formats);
formats            66 libavfilter/vf_derain.c     AVFilterFormats *formats;
formats            72 libavfilter/vf_derain.c     formats = ff_make_format_list(pixel_fmts);
formats            74 libavfilter/vf_derain.c     return ff_set_common_formats(ctx, formats);
formats           128 libavfilter/vf_despill.c     AVFilterFormats *formats = NULL;
formats           130 libavfilter/vf_despill.c     formats = ff_make_format_list(pixel_fmts);
formats           131 libavfilter/vf_despill.c     if (!formats)
formats           134 libavfilter/vf_despill.c     return ff_set_common_formats(ctx, formats);
formats            76 libavfilter/vf_entropy.c     AVFilterFormats *formats = ff_make_format_list(pixfmts);
formats            77 libavfilter/vf_entropy.c     if (!formats)
formats            79 libavfilter/vf_entropy.c     return ff_set_common_formats(ctx, formats);
formats           152 libavfilter/vf_extractplanes.c     desc = av_pix_fmt_desc_get(avff->formats[0]);
formats           165 libavfilter/vf_extractplanes.c         desc = av_pix_fmt_desc_get(avff->formats[i]);
formats            43 libavfilter/vf_fieldorder.c     AVFilterFormats  *formats;
formats            51 libavfilter/vf_fieldorder.c         formats = NULL;
formats            58 libavfilter/vf_fieldorder.c                 (ret = ff_add_format(&formats, pix_fmt)) < 0)
formats            61 libavfilter/vf_fieldorder.c         if ((ret = ff_formats_ref(formats, &ctx->inputs[0]->out_formats)) < 0 ||
formats            62 libavfilter/vf_fieldorder.c             (ret = ff_formats_ref(formats, &ctx->outputs[0]->in_formats)) < 0)
formats           370 libavfilter/vf_floodfill.c     AVFilterFormats *formats;
formats           372 libavfilter/vf_floodfill.c     formats = ff_make_format_list(pixel_fmts);
formats           373 libavfilter/vf_floodfill.c     if (!formats)
formats           376 libavfilter/vf_floodfill.c     return ff_set_common_formats(ctx, formats);
formats            46 libavfilter/vf_format.c     enum AVPixelFormat *formats;
formats            52 libavfilter/vf_format.c     av_freep(&s->formats);
formats            76 libavfilter/vf_format.c     s->formats = av_malloc_array(nb_formats + 1, sizeof(*s->formats));
formats            77 libavfilter/vf_format.c     if (!s->formats)
formats            87 libavfilter/vf_format.c         if ((ret = ff_parse_pixel_format(&s->formats[i], cur, ctx)) < 0)
formats            92 libavfilter/vf_format.c     s->formats[nb_formats] = AV_PIX_FMT_NONE;
formats           113 libavfilter/vf_format.c                 if (s->formats[i] == pix_fmt)
formats           122 libavfilter/vf_format.c         av_freep(&s->formats);
formats           123 libavfilter/vf_format.c         s->formats = formats_allowed;
formats           132 libavfilter/vf_format.c     AVFilterFormats *formats = ff_make_format_list(s->formats);
formats           134 libavfilter/vf_format.c     if (!formats)
formats           137 libavfilter/vf_format.c     return ff_set_common_formats(ctx, formats);
formats           330 libavfilter/vf_frei0r.c     AVFilterFormats *formats = NULL;
formats           334 libavfilter/vf_frei0r.c         if ((ret = ff_add_format(&formats, AV_PIX_FMT_BGRA)) < 0)
formats           337 libavfilter/vf_frei0r.c         if ((ret = ff_add_format(&formats, AV_PIX_FMT_RGBA)) < 0)
formats           343 libavfilter/vf_frei0r.c         formats = ff_make_format_list(pix_fmts);
formats           346 libavfilter/vf_frei0r.c     if (!formats)
formats           349 libavfilter/vf_frei0r.c     return ff_set_common_formats(ctx, formats);
formats           167 libavfilter/vf_histogram.c     desc = av_pix_fmt_desc_get(avff->formats[0]);
formats           171 libavfilter/vf_histogram.c         desc = av_pix_fmt_desc_get(avff->formats[i]);
formats            92 libavfilter/vf_hwdownload.c     enum AVPixelFormat *formats;
formats           100 libavfilter/vf_hwdownload.c                                           &formats, 0);
formats           105 libavfilter/vf_hwdownload.c     for (i = 0; formats[i] != AV_PIX_FMT_NONE; i++) {
formats           106 libavfilter/vf_hwdownload.c         if (formats[i] == outlink->format) {
formats           111 libavfilter/vf_hwdownload.c     av_freep(&formats);
formats            86 libavfilter/vf_il.c     AVFilterFormats *formats = NULL;
formats            93 libavfilter/vf_il.c             (ret = ff_add_format(&formats, fmt)) < 0)
formats            97 libavfilter/vf_il.c     return ff_set_common_formats(ctx, formats);
formats            70 libavfilter/vf_lagfun.c     AVFilterFormats *formats = ff_make_format_list(pixel_fmts);
formats            71 libavfilter/vf_lagfun.c     if (!formats)
formats            73 libavfilter/vf_lagfun.c     return ff_set_common_formats(ctx, formats);
formats           157 libavfilter/vf_lumakey.c     AVFilterFormats *formats;
formats           159 libavfilter/vf_lumakey.c     formats = ff_make_format_list(pixel_fmts);
formats           160 libavfilter/vf_lumakey.c     if (!formats)
formats           163 libavfilter/vf_lumakey.c     return ff_set_common_formats(ctx, formats);
formats           111 libavfilter/vf_mergeplanes.c     AVFilterFormats *formats = NULL;
formats           120 libavfilter/vf_mergeplanes.c             (ret = ff_add_format(&formats, i)) < 0)
formats           125 libavfilter/vf_mergeplanes.c         if ((ret = ff_formats_ref(formats, &ctx->inputs[i]->out_formats)) < 0)
formats           128 libavfilter/vf_mergeplanes.c     formats = NULL;
formats           129 libavfilter/vf_mergeplanes.c     if ((ret = ff_add_format(&formats, s->out_fmt)) < 0 ||
formats           130 libavfilter/vf_mergeplanes.c         (ret = ff_formats_ref(formats, &ctx->outputs[0]->in_formats)) < 0)
formats           135 libavfilter/vf_noise.c     AVFilterFormats *formats = NULL;
formats           141 libavfilter/vf_noise.c             && (ret = ff_add_format(&formats, fmt)) < 0)
formats           145 libavfilter/vf_noise.c     return ff_set_common_formats(ctx, formats);
formats           414 libavfilter/vf_normalize.c     AVFilterFormats *formats = ff_make_format_list(pixel_fmts);
formats           415 libavfilter/vf_normalize.c     if (!formats)
formats           417 libavfilter/vf_normalize.c     return ff_set_common_formats(ctx, formats);
formats           272 libavfilter/vf_overlay.c         av_freep(&main_formats->formats);
formats           275 libavfilter/vf_overlay.c         av_freep(&overlay_formats->formats);
formats            83 libavfilter/vf_overlay_cuda.c static int format_is_supported(const enum AVPixelFormat formats[], enum AVPixelFormat fmt)
formats            85 libavfilter/vf_overlay_cuda.c     for (int i = 0; formats[i] != AV_PIX_FMT_NONE; i++)
formats            86 libavfilter/vf_overlay_cuda.c         if (formats[i] == fmt)
formats            80 libavfilter/vf_photosensitivity.c     AVFilterFormats *formats = ff_make_format_list(pixel_fmts);
formats            81 libavfilter/vf_photosensitivity.c     if (!formats)
formats            83 libavfilter/vf_photosensitivity.c     return ff_set_common_formats(ctx, formats);
formats           102 libavfilter/vf_readeia608.c     AVFilterFormats *formats = ff_make_format_list(pixel_fmts);
formats           103 libavfilter/vf_readeia608.c     if (!formats)
formats           105 libavfilter/vf_readeia608.c     return ff_set_common_formats(ctx, formats);
formats           131 libavfilter/vf_remap.c         av_freep(&pix_formats->formats);
formats           134 libavfilter/vf_remap.c         av_freep(&map_formats->formats);
formats           346 libavfilter/vf_scale.c     AVFilterFormats *formats;
formats           352 libavfilter/vf_scale.c         formats = NULL;
formats           357 libavfilter/vf_scale.c                 && (ret = ff_add_format(&formats, pix_fmt)) < 0) {
formats           361 libavfilter/vf_scale.c         if ((ret = ff_formats_ref(formats, &ctx->inputs[0]->out_formats)) < 0)
formats           366 libavfilter/vf_scale.c         formats = NULL;
formats           371 libavfilter/vf_scale.c                 && (ret = ff_add_format(&formats, pix_fmt)) < 0) {
formats           375 libavfilter/vf_scale.c         if ((ret = ff_formats_ref(formats, &ctx->outputs[0]->in_formats)) < 0)
formats            63 libavfilter/vf_showpalette.c         av_freep(&in->formats);
formats            66 libavfilter/vf_showpalette.c         av_freep(&out->formats);
formats            45 libavfilter/vf_shuffleplanes.c     AVFilterFormats *formats = NULL;
formats            66 libavfilter/vf_shuffleplanes.c             if ((ret = ff_add_format(&formats, fmt)) < 0) {
formats            67 libavfilter/vf_shuffleplanes.c                 ff_formats_unref(&formats);
formats            73 libavfilter/vf_shuffleplanes.c     return ff_set_common_formats(ctx, formats);
formats            90 libavfilter/vf_swapuv.c     AVFilterFormats *formats = NULL;
formats            95 libavfilter/vf_swapuv.c         if (is_planar_yuv(desc) && (ret = ff_add_format(&formats, fmt)) < 0)
formats            99 libavfilter/vf_swapuv.c     return ff_set_common_formats(ctx, formats);
formats            65 libavfilter/vf_untile.c     AVFilterFormats *formats = NULL;
formats            68 libavfilter/vf_untile.c     ret = ff_formats_pixdesc_filter(&formats, 0,
formats            74 libavfilter/vf_untile.c     return ff_set_common_formats(ctx, formats);
formats           236 libavfilter/vf_vectorscope.c     desc = av_pix_fmt_desc_get(avff->formats[0]);
formats           240 libavfilter/vf_vectorscope.c         desc = av_pix_fmt_desc_get(avff->formats[i]);
formats           186 libavfilter/vf_vibrance.c     AVFilterFormats *formats = NULL;
formats           188 libavfilter/vf_vibrance.c     formats = ff_make_format_list(pixel_fmts);
formats           189 libavfilter/vf_vibrance.c     if (!formats)
formats           192 libavfilter/vf_vibrance.c     return ff_set_common_formats(avctx, formats);
formats           346 libavfilter/vf_waveform.c     desc = av_pix_fmt_desc_get(avff->formats[0]);
formats           347 libavfilter/vf_waveform.c     desc2 = av_pix_fmt_desc_get(avff2->formats[0]);
formats           356 libavfilter/vf_waveform.c         desc = av_pix_fmt_desc_get(avff->formats[i]);
formats            54 libavfilter/vf_weave.c     AVFilterFormats *formats = NULL;
formats            62 libavfilter/vf_weave.c             if ((ret = ff_add_format(&formats, fmt)) < 0) {
formats            63 libavfilter/vf_weave.c                 ff_formats_unref(&formats);
formats            69 libavfilter/vf_weave.c     return ff_set_common_formats(ctx, formats);
formats            89 libavfilter/vf_xmedian.c     AVFilterFormats *formats = ff_make_format_list(pixel_fmts);
formats            90 libavfilter/vf_xmedian.c     if (!formats)
formats            92 libavfilter/vf_xmedian.c     return ff_set_common_formats(ctx, formats);
formats           216 libavformat/dashenc.c } formats[] = {
formats           264 libavformat/dashenc.c         if (formats[i].segment_type == segment_type)
formats           265 libavformat/dashenc.c             return formats[i].str;
formats           163 libavresample/tests/avresample.c static const enum AVSampleFormat formats[] = {
formats           224 libavresample/tests/avresample.c         num_formats = av_clip(num_formats, 1, FF_ARRAY_ELEMS(formats));
formats           258 libavresample/tests/avresample.c         in_fmt = formats[i];
formats           275 libavresample/tests/avresample.c                     out_fmt = formats[j];
formats           387 libavutil/hwcontext.c                                     enum AVPixelFormat **formats, int flags)
formats           394 libavutil/hwcontext.c     return ctx->internal->hw_type->transfer_get_formats(ctx, dir, formats);
formats           412 libavutil/hwcontext.c         enum AVPixelFormat *formats;
formats           416 libavutil/hwcontext.c                                               &formats, 0);
formats           419 libavutil/hwcontext.c         frame_tmp->format = formats[0];
formats           420 libavutil/hwcontext.c         av_freep(&formats);
formats           444 libavutil/hwcontext.h                                     enum AVPixelFormat **formats, int flags);
formats           188 libavutil/hwcontext_cuda.c                                      enum AVPixelFormat **formats)
formats           199 libavutil/hwcontext_cuda.c     *formats = fmts;
formats           307 libavutil/hwcontext_d3d11va.c                                         enum AVPixelFormat **formats)
formats           323 libavutil/hwcontext_d3d11va.c     *formats = fmts;
formats           173 libavutil/hwcontext_drm.c                                     enum AVPixelFormat **formats)
formats           184 libavutil/hwcontext_drm.c     *formats = pix_fmts;
formats           252 libavutil/hwcontext_dxva2.c                                       enum AVPixelFormat **formats)
formats           263 libavutil/hwcontext_dxva2.c     *formats = fmts;
formats            86 libavutil/hwcontext_internal.h                                              enum AVPixelFormat **formats);
formats          1762 libavutil/hwcontext_opencl.c                                        enum AVPixelFormat **formats)
formats          1773 libavutil/hwcontext_opencl.c     *formats = fmts;
formats           598 libavutil/hwcontext_qsv.c                                     enum AVPixelFormat **formats)
formats           609 libavutil/hwcontext_qsv.c     *formats = fmts;
formats            70 libavutil/hwcontext_vaapi.c     VAAPISurfaceFormat *formats;
formats           180 libavutil/hwcontext_vaapi.c         if (ctx->formats[i].pix_fmt == pix_fmt) {
formats           182 libavutil/hwcontext_vaapi.c                 *image_format = &ctx->formats[i].image_format;
formats           288 libavutil/hwcontext_vaapi.c             constraints->valid_sw_formats[i] = ctx->formats[i].pix_fmt;
formats           358 libavutil/hwcontext_vaapi.c     ctx->formats  = av_malloc(image_count * sizeof(*ctx->formats));
formats           359 libavutil/hwcontext_vaapi.c     if (!ctx->formats) {
formats           373 libavutil/hwcontext_vaapi.c             ctx->formats[ctx->nb_formats].pix_fmt      = pix_fmt;
formats           374 libavutil/hwcontext_vaapi.c             ctx->formats[ctx->nb_formats].image_format = image_list[i];
formats           416 libavutil/hwcontext_vaapi.c     av_freep(&ctx->formats);
formats           425 libavutil/hwcontext_vaapi.c     av_freep(&ctx->formats);
formats           665 libavutil/hwcontext_vaapi.c                                       enum AVPixelFormat **formats)
formats           673 libavutil/hwcontext_vaapi.c         if (ctx->formats[i].pix_fmt == hwfc->sw_format)
formats           688 libavutil/hwcontext_vaapi.c         if (ctx->formats[i].pix_fmt == hwfc->sw_format)
formats           691 libavutil/hwcontext_vaapi.c         pix_fmts[k++] = ctx->formats[i].pix_fmt;
formats           695 libavutil/hwcontext_vaapi.c     *formats = pix_fmts;
formats           293 libavutil/hwcontext_vdpau.c                                       enum AVPixelFormat **formats)
formats           310 libavutil/hwcontext_vdpau.c     *formats = fmts;
formats            94 libavutil/hwcontext_videotoolbox.c                                    enum AVPixelFormat **formats)
formats           103 libavutil/hwcontext_videotoolbox.c     *formats = fmts;
formats          1775 libavutil/hwcontext_vulkan.c                                        enum AVPixelFormat **formats)
formats          1784 libavutil/hwcontext_vulkan.c     *formats = fmts;
formats            90 libswresample/tests/swresample.c static const enum AVSampleFormat formats[] = {
formats           240 libswresample/tests/swresample.c     int remaining_tests[FF_ARRAY_ELEMS(rates) * FF_ARRAY_ELEMS(layouts) * FF_ARRAY_ELEMS(formats) * FF_ARRAY_ELEMS(layouts) * FF_ARRAY_ELEMS(formats)];
formats           286 libswresample/tests/swresample.c         in_sample_fmt   = formats[vector % FF_ARRAY_ELEMS(formats)]; vector /= FF_ARRAY_ELEMS(formats);
formats           287 libswresample/tests/swresample.c         out_sample_fmt  = formats[vector % FF_ARRAY_ELEMS(formats)]; vector /= FF_ARRAY_ELEMS(formats);