FFmpeg
|
#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(suffix, type, var, supported_list, none, get_name) |
#define | AUTO_INSERT_FILTER(opt_name, filter_name, arg) |
#define | AUTO_INSERT_FILTER_INPUT(opt_name, filter_name, arg) |
Variables | |
int | |
sample_rate | |
sample_rates | |
Definition at line 159 of file ffmpeg_filter.c.
#define AUTO_INSERT_FILTER | ( | opt_name, | |
filter_name, | |||
arg | |||
) |
#define AUTO_INSERT_FILTER_INPUT | ( | opt_name, | |
filter_name, | |||
arg | |||
) |
|
static |
Definition at line 42 of file ffmpeg_filter.c.
Referenced by choose_pix_fmts(), and choose_pixel_fmt().
enum AVPixelFormat choose_pixel_fmt | ( | AVStream * | st, |
AVCodecContext * | enc_ctx, | ||
AVCodec * | codec, | ||
enum AVPixelFormat | target | ||
) |
Definition at line 63 of file ffmpeg_filter.c.
Referenced by choose_pix_fmts().
Definition at line 93 of file ffmpeg_filter.c.
|
static |
Definition at line 115 of file ffmpeg_filter.c.
Referenced by configure_output_video_filter().
DEF_CHOOSE_FORMAT | ( | sample_fmts | , |
enum | AVSampleFormat, | ||
format | , | ||
formats | , | ||
AV_SAMPLE_FMT_NONE | , | ||
GET_SAMPLE_FMT_NAME | |||
) |
GET_SAMPLE_RATE_NAME DEF_CHOOSE_FORMAT | ( | channel_layouts | , |
uint64_t | , | ||
channel_layout | , | ||
channel_layouts | , | ||
0 | , | ||
GET_CH_LAYOUT_NAME | |||
) |
Definition at line 194 of file ffmpeg_filter.c.
|
static |
Definition at line 234 of file ffmpeg_filter.c.
Referenced by init_complex_filtergraph(), and init_input_filter().
|
static |
Definition at line 253 of file ffmpeg_filter.c.
Referenced by init_complex_filtergraph().
int init_complex_filtergraph | ( | FilterGraph * | fg | ) |
Definition at line 340 of file ffmpeg_filter.c.
Referenced by init_complex_filters().
|
static |
Definition at line 381 of file ffmpeg_filter.c.
Referenced by configure_input_audio_filter(), configure_input_video_filter(), configure_output_audio_filter(), and configure_output_video_filter().
|
static |
Definition at line 432 of file ffmpeg_filter.c.
Referenced by configure_input_video_filter().
|
static |
Definition at line 454 of file ffmpeg_filter.c.
Referenced by configure_output_filter().
|
static |
Definition at line 548 of file ffmpeg_filter.c.
Referenced by configure_output_filter().
int configure_output_filter | ( | FilterGraph * | fg, |
OutputFilter * | ofilter, | ||
AVFilterInOut * | out | ||
) |
Definition at line 676 of file ffmpeg_filter.c.
Referenced by configure_filtergraph().
void check_filter_outputs | ( | void | ) |
Definition at line 690 of file ffmpeg_filter.c.
|
static |
Definition at line 705 of file ffmpeg_filter.c.
Referenced by configure_input_video_filter().
|
static |
Definition at line 746 of file ffmpeg_filter.c.
Referenced by configure_input_filter().
|
static |
Definition at line 869 of file ffmpeg_filter.c.
Referenced by configure_input_filter().
|
static |
Definition at line 979 of file ffmpeg_filter.c.
Referenced by configure_filtergraph().
|
static |
Definition at line 995 of file ffmpeg_filter.c.
Referenced by configure_filtergraph().
int configure_filtergraph | ( | FilterGraph * | fg | ) |
Definition at line 1005 of file ffmpeg_filter.c.
Referenced by flush_encoders(), ifilter_send_frame(), and transcode_step().
int ifilter_parameters_from_frame | ( | InputFilter * | ifilter, |
const AVFrame * | frame | ||
) |
Definition at line 1185 of file ffmpeg_filter.c.
Referenced by ifilter_send_frame().
int ist_in_filtergraph | ( | FilterGraph * | fg, |
InputStream * | ist | ||
) |
Definition at line 1208 of file ffmpeg_filter.c.
int filtergraph_is_simple | ( | FilterGraph * | fg | ) |
Definition at line 1217 of file ffmpeg_filter.c.
Referenced by configure_filtergraph(), and transcode_init().
int |
Definition at line 191 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(), avs_bytes_per_channel_sample(), calculate_visual_weight(), capture_screen(), celt_gauge_psy_weight(), 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_fixed_vector(), decode_ppc(), decode_spectrum_and_dequant(), decode_str(), decode_subband_slice_buffered(), decor_c(), decorrelate_stereo(), diff_bytes_c(), diff_int16_c(), distortion_correction_filter_slice(), do_apply_filter(), do_chromakey_pixel(), do_colorkey_pixel(), draw_mandelbrot(), dss_sp_shift_sq_sub(), dxv_decode(), encode_block(), encode_write_frame(), eval_expr(), exr_half2float(), ff_convert_matrix(), ff_eval_refl(), 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_init_block_index(), ff_intra_pred_8_16x16_msa(), ff_intra_pred_8_32x32_msa(), 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(), 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(), fir_to_phase(), fixed_exp(), fixed_log(), fixed_sqrt(), flac_decorrelate_indep_c(), get_audio_frame(), get_high_utility_cell(), get_matching_parameters(), get_qminmax(), get_utc_date_time_insec(), get_vcd_padding_size(), get_video_config(), global_mv(), 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(), 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(), iterate_frame(), libopenjpeg_copy_packed12(), libopenjpeg_copy_packed16(), libopenjpeg_copy_packed8(), libopenjpeg_copy_unpacked16(), libopenjpeg_copy_unpacked8(), LLVMFuzzerTestOneInput(), load_data(), lpc_prediction(), lpf(), lum(), luma_mc_bi(), lumRangeToJpeg16_c(), main(), make_bands(), make_filters_from_proto(), mediumthresh_c(), mlp_encode_init(), mov_read_default(), mov_read_tkhd(), mov_read_udta_string(), MPA_encode_init(), mpsub_read_header(), 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_update_3930(), predictor_update_filter(), 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(), ring2_test(), round_sample(), 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(), scc_write_packet(), segment_end(), set_noise_profile(), 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(), svq3_mc_dir_part(), sws_getGaussianVec(), sws_init_context(), sws_printVec2(), synchronize_audio(), tm2_low_chroma(), tm2_low_res_block(), 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 |
Definition at line 191 of file ffmpeg_filter.c.
Referenced by aiff_write_header(), alloc_audio_frame(), audio_write_header(), audiogen(), avpriv_mpegaudio_decode_header(), bin_pos(), cdata_read_header(), celt_header(), config_input(), config_output(), config_props(), dca_parse(), dca_parse_params(), decode_init(), dump_paramchange(), dv_audio_frame_size(), epaf_read_header(), equalizer(), ff_add_param_change(), ff_adx_calculate_coeffs(), ff_alsa_open(), ff_compute_frame_duration(), ff_dither_alloc(), ff_mpa_decode_header(), ff_voc_get_packet(), ff_wma_get_frame_len_bits(), fill_samples(), find_expected_header(), flac_probe(), flv_read_packet(), frame_size(), generate_intervals(), get_aac_sample_rates(), get_aiff_header(), get_log_hz(), get_rdelta(), get_vp9_level(), idcin_probe(), idcin_read_header(), init_encoder(), ircam_read_header(), load_data(), main(), mkv_write_track(), mlp_peak_bitrate(), mp3_header_decompress(), mxf_compute_sample_count(), output_mpd(), parse_audio_var(), PCMDEF(), put_wav_header(), pvf_read_header(), query_formats(), read_sm_data(), rv10_write_header(), seek_to_start(), smush_read_header(), sox_read_header(), spdif_header_dts(), spdif_header_dts4(), stream_component_open(), swap_samplerates_on_filter(), tak_get_nb_samples(), vmd_probe(), wavesynth_parse_extradata(), wavpack_decode_block(), wsaud_read_header(), and yae_reset().
sample_rates |
Definition at line 191 of file ffmpeg_filter.c.
Referenced by asink_query_formats(), configure_output_audio_filter(), encode_init(), main(), query_formats(), and sbc_parse_header().