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 158 of file ffmpeg_filter.c.
#define AUTO_INSERT_FILTER | ( | opt_name, | |
filter_name, | |||
arg | |||
) |
Referenced by configure_output_audio_filter().
#define AUTO_INSERT_FILTER_INPUT | ( | opt_name, | |
filter_name, | |||
arg | |||
) |
Referenced by configure_input_audio_filter().
|
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 92 of file ffmpeg_filter.c.
|
static |
Definition at line 114 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 193 of file ffmpeg_filter.c.
|
static |
Definition at line 233 of file ffmpeg_filter.c.
Referenced by init_complex_filtergraph(), and init_input_filter().
|
static |
Definition at line 252 of file ffmpeg_filter.c.
Referenced by init_complex_filtergraph().
int init_complex_filtergraph | ( | FilterGraph * | fg | ) |
Definition at line 332 of file ffmpeg_filter.c.
Referenced by init_complex_filters().
|
static |
Definition at line 373 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 424 of file ffmpeg_filter.c.
Referenced by configure_input_video_filter().
|
static |
Definition at line 446 of file ffmpeg_filter.c.
Referenced by configure_output_filter().
|
static |
Definition at line 540 of file ffmpeg_filter.c.
Referenced by configure_output_filter().
int configure_output_filter | ( | FilterGraph * | fg, |
OutputFilter * | ofilter, | ||
AVFilterInOut * | out | ||
) |
Definition at line 668 of file ffmpeg_filter.c.
Referenced by configure_filtergraph().
Definition at line 682 of file ffmpeg_filter.c.
Referenced by ffmpeg_parse_options().
|
static |
Definition at line 697 of file ffmpeg_filter.c.
Referenced by configure_input_video_filter().
|
static |
Definition at line 737 of file ffmpeg_filter.c.
Referenced by configure_input_filter().
|
static |
Definition at line 860 of file ffmpeg_filter.c.
Referenced by configure_input_filter().
|
static |
Definition at line 970 of file ffmpeg_filter.c.
Referenced by configure_filtergraph().
|
static |
Definition at line 986 of file ffmpeg_filter.c.
Referenced by configure_filtergraph().
int configure_filtergraph | ( | FilterGraph * | fg | ) |
Definition at line 996 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 1176 of file ffmpeg_filter.c.
Referenced by ifilter_send_frame().
int ist_in_filtergraph | ( | FilterGraph * | fg, |
InputStream * | ist | ||
) |
Definition at line 1199 of file ffmpeg_filter.c.
int filtergraph_is_simple | ( | FilterGraph * | fg | ) |
Definition at line 1208 of file ffmpeg_filter.c.
Referenced by configure_filtergraph(), and transcode_init().
int |
Definition at line 190 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(), 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_vmaf_score(), config_input(), config_output(), config_props(), 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(), decode_fixed_vector(), decode_ppc(), decode_spectrum_and_dequant(), decode_str(), decode_subband_slice_buffered(), decor_c(), decorrelation(), diff_bytes_c(), diff_int16_c(), 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_decklink_list_formats(), 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_wma_init(), fic_idct(), filter16_3x3(), filter16_5x5(), filter16_7x7(), filter_3x3(), filter_5x5(), filter_7x7(), filter_frame(), finish_file(), fixed_exp(), fixed_log(), fixed_sqrt(), flac_decorrelate_indep_c(), 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(), ict_int(), id3v2_encode_string(), idct248_ref(), idct_col(), idct_col_3(), idct_col_4(), idct_col_8(), idctRowCondDC(), init(), init_axis_color(), init_noise(), init_pass2(), interpolate(), INTERPOLATE_METHOD(), iterate_frame(), libopenjpeg_copy_packed12(), libopenjpeg_copy_packed16(), libopenjpeg_copy_packed8(), libopenjpeg_copy_unpacked16(), libopenjpeg_copy_unpacked8(), LLVMFuzzerTestOneInput(), load_data(), lum(), luma_mc_bi(), lumRangeToJpeg16_c(), main(), make_bands(), make_filters_from_proto(), map_val_34_to_20(), 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(), 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(), 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_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_init_context(), sws_printVec2(), synchronize_audio(), udp_port(), unsharp_opencl_make_filter_params(), vaapi_encode_h264_configure(), vaapi_encode_h265_configure(), vaapi_encode_init_rate_control(), value_string(), vector_fmul_add_c(), vector_fmul_c(), vector_fmul_reverse_c(), vector_pow43(), vertical_compose53iL0_TMPL(), 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 190 of file ffmpeg_filter.c.
Referenced by aiff_write_header(), alloc_audio_frame(), audio_write_header(), audiogen(), avpriv_mpegaudio_decode_header(), cdata_read_header(), celt_header(), config_input(), config_output(), config_props(), dca_parse(), decode_init(), dump_paramchange(), epaf_read_header(), ff_voc_get_packet(), fill_samples(), find_expected_header(), flac_probe(), flv_read_packet(), get_aac_sample_rates(), get_aiff_header(), 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(), PCMDEF(), pvf_read_header(), query_formats(), read_sm_data(), seek_to_start(), smush_read_header(), sox_read_header(), spdif_header_dts(), stream_component_open(), swap_samplerates_on_filter(), vmd_probe(), wavpack_decode_block(), and wsaud_read_header().
sample_rates |
Definition at line 190 of file ffmpeg_filter.c.
Referenced by asink_query_formats(), configure_output_audio_filter(), encode_init(), main(), query_formats(), and sbc_parse_header().