FFmpeg
Macros | Functions | Variables
ffmpeg_filter.c File Reference
#include <stdint.h>
#include "ffmpeg.h"
#include "libavfilter/avfilter.h"
#include "libavfilter/buffersink.h"
#include "libavfilter/buffersrc.h"
#include "libavresample/avresample.h"
#include "libavutil/avassert.h"
#include "libavutil/avstring.h"
#include "libavutil/bprint.h"
#include "libavutil/channel_layout.h"
#include "libavutil/display.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "libavutil/pixfmt.h"
#include "libavutil/imgutils.h"
#include "libavutil/samplefmt.h"

Go to the source code of this file.

Macros

#define DEF_CHOOSE_FORMAT(name, type, var, supported_list, none, printf_format, get_name)
 
#define AUTO_INSERT_FILTER(opt_name, filter_name, arg)
 
#define AUTO_INSERT_FILTER_INPUT(opt_name, filter_name, arg)
 

Functions

static enum AVPixelFormatget_compliance_normal_pix_fmts (enum AVCodecID codec_id, const enum AVPixelFormat default_formats[])
 
static enum AVPixelFormat choose_pixel_fmt (AVStream *st, AVCodecContext *enc_ctx, const AVCodec *codec, enum AVPixelFormat target)
 
static char * choose_pix_fmts (OutputFilter *ofilter)
 
 DEF_CHOOSE_FORMAT (sample_fmts, enum AVSampleFormat, format, formats, AV_SAMPLE_FMT_NONE,"%s", av_get_sample_fmt_name) DEF_CHOOSE_FORMAT(sample_rates
 
 DEF_CHOOSE_FORMAT (channel_layouts, uint64_t, channel_layout, channel_layouts, 0,"0x%"PRIx64,) int init_simple_filtergraph(InputStream *ist
 
 if (!fg) exit_program(1)
 
 GROW_ARRAY (fg->outputs, fg->nb_outputs)
 
 if (!(fg->outputs[0]=av_mallocz(sizeof(*fg->outputs[0])))) exit_program(1)
 
 if (!(fg->inputs[0]=av_mallocz(sizeof(*fg->inputs[0])))) exit_program(1)
 
 if (!fg->inputs[0]->frame_queue) exit_program(1)
 
 GROW_ARRAY (ist->filters, ist->nb_filters)
 
 GROW_ARRAY (filtergraphs, nb_filtergraphs)
 
static char * describe_filter_link (FilterGraph *fg, AVFilterInOut *inout, int in)
 
static void init_input_filter (FilterGraph *fg, AVFilterInOut *in)
 
int init_complex_filtergraph (FilterGraph *fg)
 
static int insert_trim (int64_t start_time, int64_t duration, AVFilterContext **last_filter, int *pad_idx, const char *filter_name)
 
static int insert_filter (AVFilterContext **last_filter, int *pad_idx, const char *filter_name, const char *args)
 
static int configure_output_video_filter (FilterGraph *fg, OutputFilter *ofilter, AVFilterInOut *out)
 
static int configure_output_audio_filter (FilterGraph *fg, OutputFilter *ofilter, AVFilterInOut *out)
 
static int configure_output_filter (FilterGraph *fg, OutputFilter *ofilter, AVFilterInOut *out)
 
void check_filter_outputs (void)
 
static int sub2video_prepare (InputStream *ist, InputFilter *ifilter)
 
static int configure_input_video_filter (FilterGraph *fg, InputFilter *ifilter, AVFilterInOut *in)
 
static int configure_input_audio_filter (FilterGraph *fg, InputFilter *ifilter, AVFilterInOut *in)
 
static int configure_input_filter (FilterGraph *fg, InputFilter *ifilter, AVFilterInOut *in)
 
static void cleanup_filtergraph (FilterGraph *fg)
 
int configure_filtergraph (FilterGraph *fg)
 
int ifilter_parameters_from_frame (InputFilter *ifilter, const AVFrame *frame)
 
int filtergraph_is_simple (FilterGraph *fg)
 

Variables

 int
 
 sample_rate
 
 sample_rates
 
 d
 
OutputStreamost
 
fg index = nb_filtergraphs
 
fg outputs[0] graph = fg
 
fg outputs[0] format = -1
 
ost filter = fg->outputs[0]
 
fg inputs[0] ist = ist
 
fg inputs[0] frame_queue = av_fifo_alloc(8 * sizeof(AVFrame*))
 
ist filters [ist->nb_filters-1] = fg->inputs[0]
 
 filtergraphs [nb_filtergraphs-1] = fg
 
 return
 

Macro Definition Documentation

#define DEF_CHOOSE_FORMAT (   name,
  type,
  var,
  supported_list,
  none,
  printf_format,
  get_name 
)
Value:
static void choose_ ## name (OutputFilter *ofilter, AVBPrint *bprint) \
{ \
if (ofilter->var == none && !ofilter->supported_list) \
av_bprintf(bprint, #name "="); \
if (ofilter->var != none) { \
av_bprintf(bprint, printf_format, get_name(ofilter->var)); \
} else { \
const type *p; \
for (p = ofilter->supported_list; *p != none; p++) { \
av_bprintf(bprint, printf_format "|", get_name(*p)); \
} \
if (bprint->len > 0) \
bprint->str[--bprint->len] = '\0'; \
} \
av_bprint_chars(bprint, ':', 1); \
}
void av_bprintf(AVBPrint *buf, const char *fmt,...)
Definition: bprint.c:94
GLint GLenum type
Definition: opengl_enc.c:104
if(!fg) exit_program(1)
Definition: snow.txt:61
return
for(j=16;j >0;--j)
const char * name
Definition: opengl_enc.c:102
void av_bprint_chars(AVBPrint *buf, char c, unsigned n)
Append char c n times to a print buffer.
Definition: bprint.c:140

Definition at line 132 of file ffmpeg_filter.c.

#define AUTO_INSERT_FILTER (   opt_name,
  filter_name,
  arg 
)
Value:
do { \
AVFilterContext *filt_ctx; \
av_log(NULL, AV_LOG_INFO, opt_name " is forwarded to lavfi " \
"similarly to -af " filter_name "=%s.\n", arg); \
\
avfilter_get_by_name(filter_name), \
filter_name, arg, NULL, fg->graph); \
if (ret < 0) \
goto fail; \
\
ret = avfilter_link(last_filter, pad_idx, filt_ctx, 0); \
if (ret < 0) \
goto fail; \
\
last_filter = filt_ctx; \
pad_idx = 0; \
} while (0)
#define NULL
Definition: coverity.c:32
if(!fg) exit_program(1)
Definition: snow.txt:61
int avfilter_link(AVFilterContext *src, unsigned srcpad, AVFilterContext *dst, unsigned dstpad)
Link two filters together.
Definition: avfilter.c:135
int avfilter_graph_create_filter(AVFilterContext **filt_ctx, const AVFilter *filt, const char *name, const char *args, void *opaque, AVFilterGraph *graph_ctx)
Create and add a filter instance into an existing graph.
#define av_log(a,...)
const char * arg
Definition: jacosubdec.c:66
#define fail()
Definition: checkasm.h:133
const AVFilter * avfilter_get_by_name(const char *name)
Get a filter definition matching the given name.
Definition: allfilters.c:545
#define AV_LOG_INFO
Standard information.
Definition: log.h:205

Referenced by configure_output_audio_filter().

#define AUTO_INSERT_FILTER_INPUT (   opt_name,
  filter_name,
  arg 
)
Value:
do { \
AVFilterContext *filt_ctx; \
av_log(NULL, AV_LOG_INFO, opt_name " is forwarded to lavfi " \
"similarly to -af " filter_name "=%s.\n", arg); \
snprintf(name, sizeof(name), "graph_%d_%s_in_%d_%d", \
fg->index, filter_name, ist->file_index, ist->st->index); \
avfilter_get_by_name(filter_name), \
name, arg, NULL, fg->graph); \
if (ret < 0) \
\
ret = avfilter_link(last_filter, 0, filt_ctx, 0); \
if (ret < 0) \
\
last_filter = filt_ctx; \
} while (0)
#define NULL
Definition: coverity.c:32
if(!fg) exit_program(1)
Definition: snow.txt:61
int avfilter_link(AVFilterContext *src, unsigned srcpad, AVFilterContext *dst, unsigned dstpad)
Link two filters together.
Definition: avfilter.c:135
int avfilter_graph_create_filter(AVFilterContext **filt_ctx, const AVFilter *filt, const char *name, const char *args, void *opaque, AVFilterGraph *graph_ctx)
Create and add a filter instance into an existing graph.
#define av_log(a,...)
const char * arg
Definition: jacosubdec.c:66
const AVFilter * avfilter_get_by_name(const char *name)
Get a filter definition matching the given name.
Definition: allfilters.c:545
#define AV_LOG_INFO
Standard information.
Definition: log.h:205
#define snprintf
Definition: snprintf.h:34
fg inputs[0] ist
return
const char * name
Definition: opengl_enc.c:102

Referenced by configure_input_audio_filter().

Function Documentation

static enum AVPixelFormat* get_compliance_normal_pix_fmts ( enum AVCodecID  codec_id,
const enum AVPixelFormat  default_formats[] 
)
static

Definition at line 44 of file ffmpeg_filter.c.

Referenced by choose_pix_fmts(), and choose_pixel_fmt().

static enum AVPixelFormat choose_pixel_fmt ( AVStream st,
AVCodecContext enc_ctx,
const AVCodec codec,
enum AVPixelFormat  target 
)
static

Definition at line 57 of file ffmpeg_filter.c.

Referenced by choose_pix_fmts().

static char* choose_pix_fmts ( OutputFilter ofilter)
static

Definition at line 88 of file ffmpeg_filter.c.

Referenced by configure_output_video_filter().

DEF_CHOOSE_FORMAT ( sample_fmts  ,
enum  AVSampleFormat,
format  ,
formats  ,
AV_SAMPLE_FMT_NONE  ,
"%s"  ,
av_get_sample_fmt_name   
)
DEF_CHOOSE_FORMAT ( channel_layouts  ,
uint64_t  ,
channel_layout  ,
channel_layouts  ,
,
"0x%"  PRIx64 
)
if ( fg)

Definition at line 61 of file snow.txt.

GROW_ARRAY ( fg->  outputs,
fg->  nb_outputs 
)
if ( fg->outputs[0]=av_mallocz(sizeof(*fg->outputs[0])))
if ( fg->inputs[0]=av_mallocz(sizeof(*fg->inputs[0])))
if ( !fg->inputs->  frame_queue[0])
GROW_ARRAY ( ist->  filters,
ist->  nb_filters 
)
GROW_ARRAY ( filtergraphs  ,
nb_filtergraphs   
)
static char* describe_filter_link ( FilterGraph fg,
AVFilterInOut inout,
int  in 
)
static

Definition at line 201 of file ffmpeg_filter.c.

Referenced by init_complex_filtergraph(), and init_input_filter().

static void init_input_filter ( FilterGraph fg,
AVFilterInOut in 
)
static

Definition at line 220 of file ffmpeg_filter.c.

Referenced by init_complex_filtergraph().

int init_complex_filtergraph ( FilterGraph fg)

Definition at line 307 of file ffmpeg_filter.c.

Referenced by init_complex_filters().

static int insert_trim ( int64_t  start_time,
int64_t  duration,
AVFilterContext **  last_filter,
int pad_idx,
const char *  filter_name 
)
static
static int insert_filter ( AVFilterContext **  last_filter,
int pad_idx,
const char *  filter_name,
const char *  args 
)
static

Definition at line 399 of file ffmpeg_filter.c.

Referenced by configure_input_video_filter().

static int configure_output_video_filter ( FilterGraph fg,
OutputFilter ofilter,
AVFilterInOut out 
)
static

Definition at line 421 of file ffmpeg_filter.c.

Referenced by configure_output_filter().

static int configure_output_audio_filter ( FilterGraph fg,
OutputFilter ofilter,
AVFilterInOut out 
)
static

Definition at line 514 of file ffmpeg_filter.c.

Referenced by configure_output_filter().

static int configure_output_filter ( FilterGraph fg,
OutputFilter ofilter,
AVFilterInOut out 
)
static

Definition at line 622 of file ffmpeg_filter.c.

Referenced by configure_filtergraph().

void check_filter_outputs ( void  )

Definition at line 637 of file ffmpeg_filter.c.

Referenced by ffmpeg_parse_options().

static int sub2video_prepare ( InputStream ist,
InputFilter ifilter 
)
static

Definition at line 652 of file ffmpeg_filter.c.

Referenced by configure_input_video_filter().

static int configure_input_video_filter ( FilterGraph fg,
InputFilter ifilter,
AVFilterInOut in 
)
static

Definition at line 699 of file ffmpeg_filter.c.

Referenced by configure_input_filter().

static int configure_input_audio_filter ( FilterGraph fg,
InputFilter ifilter,
AVFilterInOut in 
)
static

Definition at line 821 of file ffmpeg_filter.c.

Referenced by configure_input_filter().

static int configure_input_filter ( FilterGraph fg,
InputFilter ifilter,
AVFilterInOut in 
)
static

Definition at line 931 of file ffmpeg_filter.c.

Referenced by configure_filtergraph().

static void cleanup_filtergraph ( FilterGraph fg)
static

Definition at line 947 of file ffmpeg_filter.c.

Referenced by configure_filtergraph().

int configure_filtergraph ( FilterGraph fg)
int ifilter_parameters_from_frame ( InputFilter ifilter,
const AVFrame frame 
)

Definition at line 1131 of file ffmpeg_filter.c.

Referenced by ifilter_send_frame().

int filtergraph_is_simple ( FilterGraph fg)

Definition at line 1154 of file ffmpeg_filter.c.

Referenced by configure_filtergraph(), and transcode_init().

Variable Documentation

int
Examples:
encode_audio.c, and muxing.c.

Definition at line 158 of file ffmpeg_filter.c.

Referenced by adaptive_quantization(), add_bytes_c(), add_bytes_l2_c(), add_int16_c(), add_peak(), adpcm_decode_frame(), adpcm_ms_expand_nibble(), amf_encode_init_h264(), amf_encode_init_hevc(), amf_parse_object(), apply_dependent_coupling_fixed(), apply_independent_coupling_fixed(), asf_write_packet(), async_seek(), autocorr_calc(), av_lfg_init_from_data(), av_opt_query_ranges(), av_opt_set_image_size(), av_sincos_sf(), av_sqrt_sf(), av_vlog(), avf_read_packet(), avfilter_config_links(), avfilter_transform(), calc_lsq_max_fit_error(), calculate_visual_weight(), capture_screen(), cdtoons_render_sprite(), celt_gauge_psy_weight(), check_eq(), check_idct(), check_idct_multiple(), check_loopfilter_16y(), check_loopfilter_8uv(), check_loopfilter_simple(), checkasm_check_h264pred(), chroma_mc_bi(), chs_parse_header(), color_distance(), compare_fields(), compute_default_clut(), compute_vmaf_score(), config_input(), config_output(), config_props(), construct_vector(), dct_quantize_trellis_c(), dct_unquantize_mpeg1_inter_c(), dct_unquantize_mpeg1_intra_c(), dct_unquantize_mpeg2_inter_c(), dct_unquantize_mpeg2_intra_bitexact(), dct_unquantize_mpeg2_intra_c(), decfloat(), decode_block(), decode_blocks(), decode_envelope(), decode_fixed_vector(), decode_inter_block(), decode_intra_block(), decode_ppc(), decode_spectrum_and_dequant(), decode_str(), decode_subband_slice_buffered(), decor_c(), decorrelation(), deshake_opencl_init(), diff_bytes_c(), diff_int16_c(), distortion_correction_filter_slice(), dng_decode_tiles(), do_apply_filter(), do_chromakey_pixel(), do_chromakey_pixel16(), do_colorkey_pixel(), draw_mandelbrot(), draw_sierpinski(), dss_sp_shift_sq_sub(), dv_write_pack(), dvbsub_encode(), dxv_decode(), encode_block(), eval_expr(), ff_convert_matrix(), ff_decklink_list_formats(), ff_dirac_golomb_read_16bit(), ff_dirac_golomb_read_32bit(), ff_eval_refl(), ff_fft_end(), ff_filter_frame_framed(), ff_h264_chroma422_dc_dequant_idct(), ff_h264_chroma_dc_dequant_idct(), ff_h264_init_poc(), ff_h264_luma_dc_dequant_idct(), ff_h264_slice_context_init(), ff_init_block_index(), ff_intra_pred_8_16x16_msa(), ff_intra_pred_8_32x32_msa(), ff_mpv_encode_init(), ff_opus_parse_extradata(), ff_rate_estimate_qscale(), ff_rtp_send_mpegvideo(), ff_scale_eval_dimensions(), ff_socket(), ff_vc1_pred_dc(), ff_wma_init(), ffio_fdopen(), ffio_geturlcontext(), fic_idct(), filter16_3x3(), filter16_5x5(), filter16_7x7(), filter16_column(), filter16_row(), filter_3x3(), filter_5x5(), filter_7x7(), filter_column(), filter_frame(), filter_row(), finish_file(), fixed_exp(), fixed_log(), fixed_sqrt(), flac_decorrelate_indep_c(), floormod(), get_audio_frame(), get_expected(), get_high_utility_cell(), get_matching_parameters(), get_qminmax(), get_qtable(), get_utc_date_time_insec(), get_vcd_padding_size(), get_video_config(), global_mv(), glslang_compile(), guess_mv(), horizontal_compose_dd137i_TMPL(), horizontal_compose_dd97i_TMPL(), hq_decode_block(), hScale8To15_c(), hScale8To19_c(), hScale_real(), ict_int(), id3v2_encode_string(), idct248_ref(), idct2_1d(), idct_1d(), idct_col(), idct_col_3(), idct_col_4(), idct_col_8(), idct_row(), idctRowCondDC(), idctSparseCol(), init(), init_axis_color(), init_noise(), init_pass2(), interleave_TMPL(), interpolate(), INTERPOLATE_METHOD(), inverse4(), iterate_frame(), libopenjpeg_copy_packed12(), libopenjpeg_copy_packed16(), libopenjpeg_copy_packed8(), libopenjpeg_copy_unpacked16(), libopenjpeg_copy_unpacked8(), LLVMFuzzerTestOneInput(), load_data(), lpf(), lum(), luma_mc_bi(), lumRangeToJpeg16_c(), main(), make_bands(), make_filters_from_proto(), map_val_34_to_20(), mediumthresh_c(), mf_enca_output_score(), mlp_encode_init(), mov_read_default(), mov_read_tkhd(), mov_read_udta_string(), MPA_encode_init(), multiple_resample(), multiply(), noise_scale(), nvenc_setup_rate_control(), open_filter_param(), open_output_file(), opt_size(), optimize_colors(), optimum_block_height(), optimum_block_width(), plot_gamuts(), plot_white_point(), postProcess_TMPL(), predictor_calc_error(), predictor_update_3930(), process(), process_c(), ps_hybrid_analysis_c(), ps_tableinit(), psy_3gpp_init(), psycho_acoustic_model(), put_float(), qdm2_decode(), quantize_bands(), read_diff_float_data(), ref_function(), ring2_test(), round_sample(), rpza_encode_stream(), sbc_synthesize_eight(), sbc_synthesize_four(), sbr_hf_apply_noise(), sbr_hf_assemble(), sbr_hf_g_filt_c(), sbr_hf_gen_c(), sbr_hf_inverse_filter(), sbr_make_f_derived(), sbr_make_f_master(), sbr_qmf_deint_bfly_c(), scale_eval_dimensions(), scc_write_packet(), segment_end(), set_noise_profile(), set_roi_map(), set_volume(), sgi_rle_encode(), sign_extend(), softthresh_c(), spx_coordinates(), sr_1d53(), ssim_end1(), ssim_plane(), stream_read(), stream_seek(), stream_skip(), stream_write(), subband_scale(), svq3_luma_dc_dequant_idct_c(), sws_getGaussianVec(), sws_printVec2(), synchronize_audio(), tansig_approx(), tm2_low_chroma(), tm2_low_res_block(), truespeech_synth(), udp_port(), unquantize_dct_coeffs(), unsharp_opencl_make_filter_params(), vaapi_encode_init_rate_control(), value_string(), vector_fmul_add_c(), vector_fmul_c(), vector_fmul_reverse_c(), vector_pow43(), vertical_compose53iL0_TMPL(), viv_read_packet(), vtenc_cm_to_avpacket(), wma_decode_block(), wmv2_idct_col(), wmv2_idct_row(), write_packet(), wv_unpack_mono(), wv_unpack_stereo(), xvid_correct_framerate(), yae_adjust_position(), yae_flush(), and zero_extend().

sample_rate
sample_rates

Definition at line 158 of file ffmpeg_filter.c.

Referenced by encode_init(), get_video_frame(), main(), query_formats(), and sbc_parse_header().

d

Definition at line 158 of file ffmpeg_filter.c.

Referenced by activate(), add_filename_as_pkt_side_data(), adx_decode(), adx_encode(), append_path(), aptx_quantize_difference(), ARRAY_RENAME(), asf_get_packet(), audio_frame_cksum(), av_add_stable(), av_basename(), av_dirname(), av_inv_q(), av_opt_is_set_to_default(), av_parse_ratio(), av_strnlen(), av_strtod(), av_timecode_adjust_ntsc_framenum2(), av_timegm(), avi_sync(), avio_close_dyn_buf(), avio_get_dyn_buf(), avpriv_fits_header_parse_line(), avs_probe(), body(), build_color_map(), build_filter(), calculate_visual_weight(), cas_slice16(), cas_slice8(), celt_autocorr(), check_idct(), check_idct_dc4(), check_loopfilter_16y(), check_loopfilter_8uv(), check_loopfilter_simple(), check_luma_dc_wht(), check_mc(), clamp_add_subtract_half(), cluster_mvs(), cmp_direct_inline(), cmp_inline(), color_distance(), color_graticule(), color_graticule16(), colormap_nearest_bruteforce(), compute_mb_distortion(), compute_unsafe_ssd_integral_image(), config_input(), count_colors(), cubic_interpolate_func(), decode_13(), decode_adaptive45(), decode_adaptive6(), decode_deep_tvdc32(), decode_delta_j(), decode_mb_i(), decode_rle(), decode_subframe_fixed(), decompose_transform(), decompress_texture_thread(), decompress_texture_thread_internal(), deInterlaceMedian_TMPL(), delta_decode(), delta_mono(), delta_stereo(), diff_pixels_mvi(), diff_planes(), dirac_decode_frame_internal(), distortion_correction_filter_slice(), do_a_deblock_C(), doHorizDefFilter_C(), doVertDefFilter_altivec(), doVertDefFilter_TMPL(), dpx_parse(), dss_read_metadata_date(), dv_encode_video_segment(), dv_extract_audio(), dv_inject_audio(), dyn_buf_seek(), dyn_buf_write(), ebur128_calc_gating_block(), encode_frame(), encode_init(), encode_residual_fixed(), encode_thread(), epzs_motion_search2(), epzs_motion_search_internal(), eval_expr(), exchange(), factor(), fade(), ff_aptx_generate_dither(), ff_big_div(), ff_check_pixfmt_descriptors(), ff_generate_wave_table(), ff_h264_chroma_dc_dequant_idct(), ff_h264_chroma_dc_dequant_idct_8_mmi(), ff_h264_execute_ref_pic_marking(), ff_is_intra_only(), ff_me_search_umh(), ff_mpeg12_find_best_frame_rate(), ff_printGUID(), ff_put_vp8_bilinear16_hv_mmi(), ff_put_vp8_bilinear16_v_mmi(), ff_put_vp8_bilinear4_hv_mmi(), ff_put_vp8_bilinear4_v_mmi(), ff_put_vp8_bilinear8_hv_mmi(), ff_put_vp8_bilinear8_v_mmi(), ff_spatial_idwt_init_TMPL(), ff_sws_alphablendaway(), ff_urldecode(), ff_vc1_h_overlap_mmi(), ff_vc1_h_s_overlap_mmi(), ff_vc1_mc_4mv_chroma4(), ff_vc1_v_overlap_mmi(), ff_vc1_v_s_overlap_mmi(), ff_vector_fmul_add_altivec(), ff_vector_fmul_add_vsx(), ff_vector_fmul_reverse_altivec(), ff_vector_fmul_reverse_vsx(), ffio_close_null_buf(), ffio_free_dyn_buf(), ffio_reset_dyn_buf(), fft_end(), fill_gamma_table(), fill_lut(), filter_dbl(), filter_dblp(), filter_flt(), filter_fltp(), filter_frame(), find_form_factor(), flac_lpc_16_c(), format_duration(), free_vsframe_ref(), freq2bark(), ftp_passive_mode_epsv(), full_search(), funny_diamond_search(), gain_interpolate_func(), generate_round_keys(), get_coeff(), get_coeffs(), get_dc(), get_mb_score(), get_shift(), getsigctxno(), getSSD(), h263_h_loop_filter_c(), h263_v_loop_filter_c(), h264_loop_filter_chroma(), h264_loop_filter_chroma_intra(), h264_loop_filter_luma(), h264_loop_filter_luma_intra(), h_block_filter(), hable(), hevc_loop_filter_chroma(), hevc_loop_filter_luma(), hex_search(), hexfloat(), horizX1Filter(), hpel_motion_search(), idct_1d(), iff_probe(), ifilter_dbl(), ifilter_dblp(), ifilter_flt(), ifilter_fltp(), incr_cntdec(), init_context_defaults(), init_pass2(), init_stream(), initFilter(), interpol(), interpolate(), inverse4(), invert_step(), is_mv_diff_gt_3(), kux_probe(), l2s_dia_search(), lavfi_read_packet(), lbr_bank_c(), lex_double(), logdb(), lowpass(), lpc_prediction(), lz_unpack(), main(), midequalizer16(), mix_core(), mode23(), mode24(), modify_qscale(), monoblack2Y_c(), monowhite2Y_c(), motion_search(), mp4_read_iods(), mp4_read_od(), mpadsp_init_tabs(), mpc_probe(), mpeg4_decode_sprite_trajectory(), nlmeans_slice(), null_buf_write(), open_filter_param(), opencl_device_create(), opencl_device_create_internal(), opus_packet(), palToA_c(), palToY_c(), parse_dsd_prop(), parse_keyframes_index(), parse_number_or_die(), parse_playlist(), parse_primary(), picmemset(), picmemset_8bpp(), png_get_interlaced_row(), png_put_interlaced_row(), pred16x16_vertical(), predictor(), prelut_interp_1d_linear(), probe(), process_command(), put_vector(), qpel_motion_search(), quant(), read_highpass(), ref_function(), render_slice(), renew_table3(), resample_cubic(), resync(), rgb12to15(), rgb12tobgr12(), rgb15to16_c(), rgb15to16_TMPL(), rgb15to24(), rgb15to32_c(), rgb15to32_TMPL(), rgb15tobgr24_c(), rgb15tobgr24_TMPL(), rgb15tobgr32(), rgb16to15_c(), rgb16to15_TMPL(), rgb16to24(), rgb16to32_c(), rgb16to32_TMPL(), rgb16tobgr24_c(), rgb16tobgr24_TMPL(), rgb16tobgr32(), rgb24to15_c(), rgb24to15_TMPL(), rgb24to16_c(), rgb24to16_TMPL(), rgb24tobgr15_c(), rgb24tobgr15_TMPL(), rgb24tobgr16_c(), rgb24tobgr16_TMPL(), rgb32to15_c(), rgb32to15_TMPL(), rgb32to16_c(), rgb32to16_TMPL(), rgb32tobgr15_c(), rgb32tobgr15_TMPL(), rgb32tobgr16_c(), rgb32tobgr16_TMPL(), rgtc2_block_internal(), ring2_test(), ripemd128_transform(), ripemd160_transform(), ripemd256_transform(), ripemd320_transform(), rle(), rtcp_update_jitter(), run_estimate_kernel(), run_postproc(), run_test(), sab_diamond_search(), sad_hpel_motion_search(), sbc_encode_init(), select_palette(), set_frame(), set_param(), set_string_number(), sha1_transform(), sha256_transform(), sha512_transform(), shrink22(), shrink44(), shuffle_bytes_0321_c(), shuffle_bytes_2103_c(), silk_decode_excitation(), small_diamond_search(), solve(), spatial_compose_daub97i_dy_TMPL(), spatial_compose_dd137i_dy_TMPL(), spatial_compose_dd97i_dy_TMPL(), spatial_compose_dirac53i_dy_TMPL(), spatial_compose_fidelity_TMPL(), spatial_compose_haari_dy_TMPL(), srt_write_packet(), ssd_plane(), store_slice16_c(), store_slice2_c(), store_slice_c(), swri_noise_shaping_TMPL(), synth_filter_fixed(), synth_filter_fixed_64(), synth_filter_float(), synth_filter_float_64(), tempNoiseReducer_altivec(), tempNoiseReducer_TMPL(), thp_probe(), tm2_apply_deltas(), tm2_read_deltas(), tm2_update_block(), transform_step(), umh_search(), update_minmax(), update_model2_to_6(), update_model3_to_7(), update_model5_to_6(), update_model6_to_7(), update_offsets(), update_prob(), update_stat(), url_open_dyn_buf_internal(), v_block_filter(), var_diamond_search(), vc1_filter_line(), vc1_h_overlap_c(), vc1_h_s_overlap_c(), vc1_v_overlap_c(), vc1_v_s_overlap_c(), vertX1Filter_TMPL(), video_audio_display(), vorbis_packet(), vu9_to_vu12_c(), vu9_to_vu12_TMPL(), wdec16(), write_number(), writer_print_time(), xa_decode(), yvu9_to_yuy2_c(), yvu9_to_yuy2_TMPL(), zmbv_decode_xor_16(), zmbv_decode_xor_32(), and zmbv_decode_xor_8().

fg outputs [0] ost
fg index = nb_filtergraphs

Definition at line 170 of file ffmpeg_filter.c.

Referenced by ac3_decode_frame(), acb_search(), activate(), add_index_entry(), add_symbol(), add_tone(), adpcm_decode_frame(), adpcm_zork_expand_nibble(), aix_read_packet(), alac_linear_predictor(), alloc_mem(), alloc_table(), analyze_sample_buffer(), ape_read_seek(), apply_dependent_coupling(), apply_dependent_coupling_fixed(), apply_independent_coupling(), apply_independent_coupling_fixed(), apply_intensity_stereo(), asf_read_seek(), asv1_encode_block(), asv1_put_level(), asv2_encode_block(), asv2_get_vlc2(), asv2_put_level(), ath_init1(), av_get_standard_channel_layout(), av_parser_parse2(), av_shr_i(), avcodec_get_hw_config(), avf_read_header(), avfilter_graph_parse2(), avfilter_graph_parse_ptr(), avformat_match_stream_specifier(), avi_read_idx1(), avi_read_packet(), avi_read_seek(), block_matching_multi(), buffer_pool_get(), build_basis(), build_canonical_huff(), build_def_list(), build_frame_code(), build_table(), callback(), categorize(), cdxl_decode_ham6(), cdxl_decode_ham8(), cfhd_encode_frame(), check_4block_inter(), check_block(), check_idct_multiple(), codec2subblock(), comp_block(), comp_interp_index(), compute_scale_factors(), config_output(), config_props(), copy_restart_frame_params(), copy_TMPL(), cqueue_peek(), d3d11va_transfer_data(), dat_read_packet(), decode(), decode_alcd(), decode_avcf(), decode_bgr_1(), decode_cabac_luma_residual(), decode_cabac_residual_internal(), decode_dc(), decode_envelope(), decode_fixed_sparse(), decode_frame(), decode_gain_info(), decode_i2_frame(), decode_init(), decode_luma_residual(), decode_mb_mode(), decode_p_block(), decode_palette(), decode_picture_timing(), decode_plane_bitstream(), decode_q_branch(), decode_vector(), decode_vectors(), dhav_read_seek(), direct_search(), dnxhd_init_vlc(), do_block_matching_multi(), dpcm_decode_frame(), draw_cursor(), draw_glyph(), dss_sp_unpack_coeffs(), dv_decode_ac(), encode_dc(), encode_q_branch(), encode_q_branch2(), estimate_pitch(), execute_code(), fcb_search(), ff_add_index_entry(), ff_amf_receive_packet(), ff_dct_unquantize_h263_inter_msa(), ff_dct_unquantize_h263_intra_msa(), ff_dshow_meminputpin_Receive(), ff_ebur128_loudness_range_multiple(), ff_gmc_c(), ff_h261_reorder_mb_index(), ff_h264_build_ref_list(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), ff_h264_decode_ref_pic_list_reordering(), ff_huffyuv_generate_bits_table(), ff_init_filters(), ff_mediacodec_dec_receive(), ff_mediacodec_dec_send(), ff_mjpeg_decode_dht(), ff_mjpeg_decode_dqt(), ff_mjpeg_decode_sos(), ff_mjpeg_receive_frame(), ff_mlp_rematrix_channel(), ff_mov_init_hinting(), ff_mpeg1_init_uni_ac_vlc(), ff_seek_frame_binary(), ff_srtp_decrypt(), ff_srtp_encrypt(), ff_v4l2_buffer_initialize(), ff_vaapi_decode_make_slice_buffer(), fft_lut_init(), fill_slice_long(), filter(), filter_slice(), find_prev_closest_index(), finish_file(), flac_seek(), flic_read_seek(), gather_data_for_cel(), gen_fcb_excitation(), get(), get_block_bits(), get_block_rate(), get_dc(), get_frag_stream_info(), get_frag_time(), get_mvdata_interlaced(), get_prediction(), get_rl_index(), get_sample_rate(), get_surface(), handle_pac(), hds_flush(), heap_bubble_down(), heap_bubble_up(), hpel_motion_search(), hvcc_array_add_nal_unit(), hw_device_default_name(), idct_put(), ifv_read_seek(), img_read_seek(), imm5_decode_frame(), init_cos_tabs_idx(), init_default_huffman_tables(), init_ff_cos_tabs(), init_pass2(), init_uni_h261_rl_tab(), init_uni_h263_rl_tab(), init_uni_mpeg4_rl_tab(), input_to_sample_buffer(), interpolate_delay(), iterative_me(), ivr_read_packet(), lag_decode_line(), libopenjpeg_copy_to_packed16(), libopenjpeg_copy_to_packed8(), libopenjpeg_copyto16(), libopenjpeg_copyto8(), libopenjpeg_guess_pix_fmt(), lin_calc(), load_font_file(), load_tf_model(), lsp2lpc(), matroska_add_index_entries(), matroska_read_seek(), mediacodec_receive_frame(), mediacodec_wrap_hw_buffer(), mlp_encode_frame(), mlp_encode_init(), mov_create_timecode_track(), mov_fix_index(), mov_get_stsc_samples(), mov_read_sidx(), mov_read_udta_string(), mov_seek_fragment(), mov_switch_root(), mov_write_stsc_tag(), mov_write_stss_tag(), mov_write_tfrf_tag(), mpc8_read_seek(), mpc_read_seek(), mpeg4_encode_block(), mpeg4_get_block_length(), mv_read_packet(), mxf_compute_ptses_fake_index(), mxf_decrypt_triplet(), mxf_edit_unit_absolute_offset(), mxf_read_packet(), nsv_read_seek(), nut_write_packet(), open_filter_param(), open_output_file(), opencl_mem_flags_for_mapping(), output_client_manifest(), paf_video_decode(), parse_aux_data(), parse_coding_header(), parse_dmix_coeffs(), parse_ext(), parse_forced_key_frames(), parse_subframe_audio(), process_block(), pseudocolor_filter_16(), pseudocolor_filter_16_10(), pseudocolor_filter_16_10d(), pseudocolor_filter_16_11(), pseudocolor_filter_16_11d(), put_runcode(), qpel_motion_search(), quant_array_idx(), quantize(), read_packet(), read_seek(), read_tfra(), resample(), resample_common_TMPL(), resample_cubic(), resample_linear(), resample_linear_TMPL(), resample_nearest(), resample_one(), rl2_read_seek(), rpza_decode_stream(), rtsp_send_reply(), sad_hpel_motion_search(), scalar_dequant_float(), scan_mmco_reset(), seek_frame_generic(), set(), set_best_codebook(), set_blocks(), set_major_params(), shall_we_drop(), silk_decode_frame(), silk_decode_lpc(), silk_lsf2lpc(), small_diamond_search(), speedhq_init_static_data(), step_collect_psy_metrics(), store_table(), svq3_decode_block(), svq3_decode_mb(), synthfilt_build_sb_samples(), truemotion1_decode_16bit(), truemotion1_decode_24bit(), tta_read_seek(), update_frag_index(), update_model6_to_7(), update_palette_index(), update_stat(), vaapi_encode_make_tile_slice(), value_string(), vc1_decode_ac_coeff(), vc1_decode_b_mb(), vc1_decode_p_mb(), vk_alloc_mem(), voc_read_seek(), vqa_decode_chunk(), webm_clusters_start_with_keyframe(), wma_decode_block(), wrap_texture_buf(), write_abst(), write_manifest(), wv_unpack_dsd_fast(), xan_wc3_output_pixel_run(), xpm_decode_frame(), yuv420_bgr24_TMPL(), yuv420_bgr32_TMPL(), yuv420_rgb15_TMPL(), yuv420_rgb16_TMPL(), yuv420_rgb24_TMPL(), yuv420_rgb32_TMPL(), yuva420_bgr32_TMPL(), and yuva420_rgb32_TMPL().

fg inputs [0] graph = fg
fg inputs [0] format = -1
ost filter = fg->outputs[0]

Definition at line 179 of file ffmpeg_filter.c.

Referenced by configure_output_video_filter().

fg inputs [0] ist = ist
fg inputs [0] frame_queue = av_fifo_alloc(8 * sizeof(AVFrame*))

Definition at line 188 of file ffmpeg_filter.c.

ist filters[ist->nb_filters-1] = fg->inputs[0]
filtergraphs[nb_filtergraphs-1] = fg

Definition at line 196 of file ffmpeg_filter.c.

Referenced by check_filter_outputs().

return

Definition at line 198 of file ffmpeg_filter.c.