#include "config.h"
#include <stdlib.h>
#include "avutil.h"
#include "common.h"
#include "log.h"
Go to the source code of this file.
Defines | |
#define | LINE_SZ 1024 |
#define | set_color(x) fprintf(stderr, "\033[%d;3%dm", (color[x] >> 4) & 15, color[x] & 15) |
#define | set_256color(x) fprintf(stderr, "\033[48;5;%dm\033[38;5;%dm", (color[x] >> 16) & 0xff, (color[x] >> 8) & 0xff) |
#define | reset_color() fprintf(stderr, "\033[0m") |
Functions | |
static void | colored_fputs (int level, const char *str) |
const char * | av_default_item_name (void *ptr) |
AVClassCategory | av_default_get_category (void *ptr) |
static void | sanitize (uint8_t *line) |
static int | get_category (void *ptr) |
static void | format_line (void *ptr, int level, const char *fmt, va_list vl, char part[3][LINE_SZ], int part_size, int *print_prefix, int type[2]) |
void | av_log_format_line (void *ptr, int level, const char *fmt, va_list vl, char *line, int line_size, int *print_prefix) |
Format a line of log the same way as the default callback. | |
void | av_log_default_callback (void *ptr, int level, const char *fmt, va_list vl) |
void | av_log (void *avcl, int level, const char *fmt,...) |
void | av_vlog (void *avcl, int level, const char *fmt, va_list vl) |
int | av_log_get_level (void) |
void | av_log_set_level (int level) |
void | av_log_set_flags (int arg) |
void | av_log_set_callback (void(*callback)(void *, int, const char *, va_list)) |
Variables | |
static int | av_log_level = AV_LOG_INFO |
static int | flags |
static const uint32_t | color [16+AV_CLASS_CATEGORY_NB] |
static int | use_color = -1 |
static void(* | av_log_callback )(void *, int, const char *, va_list) |
Definition in file log.c.
#define LINE_SZ 1024 |
Definition at line 37 of file log.c.
Referenced by av_log_default_callback(), and av_log_format_line().
#define reset_color | ( | ) | fprintf(stderr, "\033[0m") |
#define set_256color | ( | x | ) | fprintf(stderr, "\033[48;5;%dm\033[38;5;%dm", (color[x] >> 16) & 0xff, (color[x] >> 8) & 0xff) |
#define set_color | ( | x | ) | fprintf(stderr, "\033[%d;3%dm", (color[x] >> 4) & 15, color[x] & 15) |
AVClassCategory av_default_get_category | ( | void * | ptr | ) |
void av_log | ( | void * | avcl, | |
int | level, | |||
const char * | fmt, | |||
... | ||||
) |
Definition at line 244 of file log.c.
Referenced by a64_write_packet(), a64multi_init_encoder(), aac_adtstoasc_filter(), aac_decode_frame_int(), aac_encode_frame(), aac_encode_init(), aacPlus_encode_init(), aasc_decode_frame(), aasc_decode_init(), ac3_decode_frame(), add_buffer_ref(), add_input_streams(), adpcm_decode_frame(), adpcm_decode_init(), adpcm_encode_init(), adts_decode_extradata(), adts_write_frame_header(), adx_decode_frame(), adx_decode_init(), adx_encode_frame(), adx_encode_init(), aea_read_header(), aiff_read_header(), aiff_write_header(), alac_decode_frame(), alac_decode_init(), alac_encode_init(), alac_set_info(), alloc_buffer(), alloc_frame_buffer(), allocate_buffers(), allocate_frame_buffers(), allocate_progress(), amf_parse_object(), amr_handle_packet(), amr_parse_fmtp(), amr_parse_sdp_line(), amr_wb_encode_frame(), amr_wb_encode_init(), amrnb_decode_frame(), amrwb_decode_frame(), ape_decode_frame(), ape_decode_init(), ape_decode_value(), ape_dumpinfo(), ape_read_header(), ape_read_packet(), ape_tag_read_field(), ape_unpack_mono(), ape_unpack_stereo(), apply_dependent_coupling(), apply_motion_generic(), asf_build_simple_index(), asf_read_frame_header(), asf_read_header(), asf_read_picture(), asf_read_pts(), asf_read_seek(), asf_read_stream_properties(), ass_encode_frame(), ass_log(), assert_avoptions(), assert_codec_experimental(), assert_file_overwrite(), asv1_decode_block(), atrac1_decode_frame(), atrac1_decode_init(), atrac3_decode_frame(), atrac3_decode_init(), au_read_header(), audio_get_buffer(), audio_open(), audio_read_header(), audio_read_packet(), audio_resample(), audio_write_header(), audio_write_packet(), aura_decode_frame(), auto_matrix(), av_audio_resample_init(), av_buffersrc_add_ref(), av_dump_format(), av_expr_parse(), av_file_map(), av_image_check_size(), av_log_ask_for_sample(), av_log_missing_feature(), av_opt_set(), av_opt_set_defaults2(), av_opt_set_dict(), av_opt_show2(), av_parse_color(), av_probe_input_buffer(), av_read_frame(), av_resample(), av_tempfile(), av_timecode_init_from_string(), avcodec_close(), avcodec_copy_context(), avcodec_decode_audio3(), avcodec_decode_audio4(), avcodec_decode_subtitle2(), avcodec_decode_video2(), avcodec_default_reget_buffer(), avcodec_default_release_buffer(), avcodec_encode_audio(), avcodec_encode_audio2(), avcodec_encode_subtitle(), avcodec_encode_video(), avcodec_encode_video2(), avcodec_get_name(), avcodec_open2(), avfilter_config_links(), avfilter_graph_parse(), avfilter_graph_parse2(), avfilter_graph_request_oldest(), avfilter_insert_filter(), avfilter_link(), avfilter_register(), avformat_alloc_output_context2(), avformat_find_stream_info(), avformat_match_stream_specifier(), avformat_open_input(), avformat_write_header(), avi_read_header(), avi_read_seek(), avi_sync(), avi_write_header(), avi_write_packet(), avio_close(), avisynth_read_header(), avpriv_check_timecode_rate(), avpriv_dirac_parse_sequence_header(), avpriv_flac_is_extradata_valid(), avpriv_flac_parse_streaminfo(), avpriv_init_smpte_timecode(), avpriv_set_pts_info(), avpriv_vorbis_parse_extradata(), avpriv_vorbis_parse_frame(), avresample_get_matrix(), avresample_open(), avresample_set_matrix(), avs_decode_frame(), avs_read_header(), avui_decode_frame(), avui_decode_init(), avui_encode_init(), bethsoftvid_decode_frame(), bfi_decode_frame(), bink_decode_plane(), binkb_decode_plane(), biquad_init_coeffs(), bitplane_decoding(), bits2qp(), bktr_getframe(), bktr_init(), bluray_open(), bluray_seek(), bmp_decode_frame(), bmp_encode_init(), bmv_aud_decode_frame(), bmv_aud_decode_init(), bmv_read_packet(), build_filter(), build_table(), butterworth_init_coeffs(), caca_write_header(), cache_open(), caf_write_header(), calc_coefficients(), cdata_read_header(), cdg_decode_frame(), cdxl_decode_frame(), cdxl_read_header(), cdxl_read_packet(), channelmap_config_input(), channelmap_init(), che_configure(), check_black_end(), check_diff(), check_disc_info(), check_format(), check_header_mismatch(), check_header_variable(), check_input_motion(), check_keyboard_interaction(), check_marker(), check_n_master(), check_sessionid(), check_size(), check_stream_specifier(), check_timecode(), checkline(), choose_pixel_fmt(), choose_sample_fmt(), cin_decode_rle(), cinaudio_decode_frame(), cinepak_decode_frame(), cinvideo_decode_frame(), cinvideo_decode_init(), clean_layout(), clear_index_entries(), clip_coeffs(), cllc_decode_frame(), cllc_decode_init(), close_input(), cmdutils_read_file(), cmv_decode_frame(), cmv_process_header(), codeblock(), codec_get_buffer(), codec_reinit(), codecctl_int(), commit_bitstream_and_slice_buffer(), common_init(), compact_init(), compute_pkt_fields(), compute_pkt_fields2(), concatenate_packet(), config_input(), config_input_overlay(), config_input_props(), config_out_props(), config_output(), config_output_props(), config_props(), config_props_input(), config_props_output(), configure_filtergraph(), cook_decode_close(), cook_decode_frame(), cook_decode_init(), copy_block(), copy_frame(), copy_from(), copy_metadata(), copy_output(), copy_picture_attributes(), cpia_decode_frame(), create_filter(), crypto_open(), cyuv_decode_frame(), daud_write_packet(), dc1394_read_common(), dca_decode_block(), dca_decode_frame(), dca_downmix(), dca_exss_parse_asset_header(), dca_exss_parse_header(), dca_parse_audio_coding_header(), dca_parse_frame_header(), dca_subframe_header(), dca_subsubframe(), dca_xbr_parse_frame(), dca_xxch_decode_frame(), decode(), decode_0(), decode_13(), decode_6(), decode_8(), decode_ac_coeffs(), decode_argb_frame(), decode_audio(), decode_audio_block(), decode_audio_specific_config(), decode_band(), decode_band_hdr(), decode_band_types(), decode_block(), decode_block_intra(), decode_block_progressive(), decode_blocks(), decode_buffering_period(), decode_cabac_mb_mvd(), decode_cdlms(), decode_cell(), decode_chunks(), decode_clnpass(), decode_codestream(), decode_cpe(), decode_dc(), decode_dc_progressive(), decode_dvd_subtitles(), decode_element(), decode_envelope(), decode_exp_vlc(), decode_ext_header(), decode_extension_payload(), decode_format80(), decode_frame(), decode_frame_byterun1(), decode_frame_header(), decode_frame_headers(), decode_frame_ilbm(), decode_gop_header(), decode_group3_1d_line(), decode_group3_2d_line(), decode_header(), decode_header_trees(), decode_hextile(), decode_hrd_parameters(), decode_i2_frame(), decode_i_block(), decode_i_frame(), decode_ics(), decode_ics_info(), decode_info_header(), decode_init(), decode_main_header(), decode_mb(), decode_mb_b(), decode_mb_i(), decode_mb_info(), decode_nal_units(), decode_p_block(), decode_p_frame(), decode_packet(), decode_pce(), decode_pic(), decode_pic_hdr(), decode_picture_header(), decode_picture_timing(), decode_plane(), decode_postinit(), decode_prediction(), decode_q_branch(), decode_residual(), decode_residual_inter(), decode_residuals(), decode_rgb24_frame(), decode_rle(), decode_scale_factors(), decode_scalefactors(), decode_seq_header(), decode_sequence_header_adv(), decode_slice(), decode_slice_header(), decode_slice_thread(), decode_spectrum_and_dequant(), decode_str(), decode_stream_header(), decode_subframe(), decode_subframe_fixed(), decode_subframe_length(), decode_subframe_lpc(), decode_syncpoint(), decode_tag(), decode_thread(), decode_tilehdr(), decode_tns(), decode_unregistered_user_data(), decode_update_thread_context(), decode_user_data(), decode_video(), decode_vol_header(), decode_vop_header(), decode_vui_parameters(), decode_wave_header(), decode_wmv9(), decodeChannelSoundUnit(), decoder_init(), decouple_info(), decrypt_init(), dequant(), dering_TMPL(), determine_bitrate(), device_init(), device_open(), dfa_decode_frame(), dfa_read_header(), dfa_read_packet(), dilate_init(), dirac_decode_data_unit(), dirac_decode_frame(), dirac_decode_init(), dirac_decode_picture_header(), dirac_unpack_idwt_params(), dirac_unpack_prediction_parameters(), display_end_segment(), dnxhd_decode_dct_block(), dnxhd_decode_frame(), dnxhd_decode_header(), dnxhd_encode_init(), dnxhd_encode_picture(), dnxhd_init_vlc(), do_audio_out(), do_exit(), do_subtitle_out(), do_tls_poll(), do_video_out(), dpcm_decode_frame(), dpcm_decode_init(), dprint_compression_options(), draw_glyph(), draw_mandelbrot(), dshow_add_device(), dshow_cycle_formats(), dshow_cycle_pins(), dshow_open_device(), dshow_read_header(), dump_attachment(), dump_bih(), dump_captureparms(), dump_enc_cfg(), dump_headers(), dump_metadata(), dump_stream_format(), dump_videohdr(), dv1394_close(), dv1394_read_header(), dv1394_read_packet(), dv1394_start(), dv_assemble_frame(), dv_decode_video_segment(), dv_encode_video_segment(), dv_extract_audio_info(), dv_read_header(), dv_read_timecode(), dv_write_header(), dvbsub_init_decoder(), dvbsub_parse(), dvbsub_parse_clut_segment(), dvbsub_parse_object_segment(), dvbsub_parse_pixel_data_block(), dvbsub_parse_region_segment(), dvbsub_read_2bit_string(), dvbsub_read_4bit_string(), dvbsub_read_8bit_string(), dvdsub_init(), dvvideo_decode_frame(), dvvideo_init_encoder(), dxa_read_header(), dxa_read_packet(), ea_read_header(), ebml_parse_elem(), ebml_parse_id(), ebml_read_master(), ebml_read_num(), eightsvx_decode_frame(), eightsvx_decode_init(), encode_bgra_bitstream(), encode_bitstream(), encode_blocks(), encode_dvd_subtitles(), encode_frame(), encode_init(), encode_init_ls(), encode_mb(), encode_nals(), encode_packets(), encode_picture_lossless(), encode_plane(), encode_scale_factors(), encode_strip(), encode_subband_c0run(), encode_thread(), encode_tile(), end_frame(), error_callback(), escape124_decode_frame(), escape130_decode_frame(), escape130_decode_init(), estimate_timings(), estimate_timings_from_pts(), execute_code(), exit_program(), expand_script(), expand_timestamps(), expand_tseq(), extract_header(), Faac_encode_frame(), Faac_encode_init(), fbdev_read_header(), fbdev_read_packet(), ff_ac3_float_mdct_init(), ff_ac3_validate_metadata(), ff_acelp_interpolate(), ff_af_queue_add(), ff_af_queue_close(), ff_af_queue_remove(), ff_alloc_packet2(), ff_alsa_open(), ff_alsa_xrun_recover(), ff_amf_read_string(), ff_amf_tag_contents(), ff_ape_parse_tag(), ff_ape_write(), ff_asf_get_packet(), ff_asf_parse_packet(), ff_audio_convert_set_func(), ff_audio_data_combine(), ff_audio_data_init(), ff_audio_interleave_init(), ff_audio_mix_init(), ff_audio_mix_set_func(), ff_audio_resample(), ff_audio_resample_init(), ff_bfin_get_unscaled_swscale(), ff_bgmc_init(), ff_bufqueue_add(), ff_check_alignment(), ff_cmap_read_palette(), ff_convert_matrix(), ff_decode_sbr_extension(), ff_draw_color(), ff_dv_offset_reset(), ff_dv_print_profiles(), ff_dxva2_commit_buffer(), ff_dxva2_common_end_frame(), ff_eac3_decode_transform_coeffs_aht_ch(), ff_eac3_parse_header(), ff_er_add_slice(), ff_er_frame_end(), ff_eval_refl(), ff_filter_samples(), ff_filter_samples_framed(), ff_flac_decode_frame_header(), ff_flv_decode_picture_header(), ff_frame_thread_encoder_init(), ff_gen_search(), ff_get_logical_cpus(), ff_h263_decode_frame(), ff_h263_decode_mb(), ff_h263_decode_picture_header(), ff_h263_handle_packet(), ff_h263_show_pict_info(), ff_h264_check_intra4x4_pred_mode(), ff_h264_check_intra_pred_mode(), ff_h264_decode_extradata(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), ff_h264_decode_picture_parameter_set(), ff_h264_decode_ref_pic_list_reordering(), ff_h264_decode_ref_pic_marking(), ff_h264_decode_sei(), ff_h264_decode_seq_parameter_set(), ff_h264_execute_ref_pic_marking(), ff_h264_find_frame_end(), ff_huff_build_tree(), ff_id3v2_parse(), ff_id3v2_write_apic(), ff_iir_filter_init_coeffs(), ff_init_me(), ff_init_scantable_permutation(), ff_init_vlc_sparse(), ff_intel_h263_decode_picture_header(), ff_interleave_packet_per_dts(), ff_ivi_dec_huff_desc(), ff_ivi_decode_blocks(), ff_ivi_decode_close(), ff_ivi_decode_frame(), ff_ivi_process_empty_tile(), ff_jpegls_decode_lse(), ff_jpegls_decode_picture(), ff_load_image(), ff_lzw_decode(), ff_mjpeg_decode_dht(), ff_mjpeg_decode_dqt(), ff_mjpeg_decode_frame(), ff_mjpeg_decode_init(), ff_mjpeg_decode_sof(), ff_mjpeg_decode_sos(), ff_mjpeg_encode_init(), ff_mjpeg_find_marker(), ff_mlp_read_major_sync(), ff_mms_asf_header_parser(), ff_mov_init_hinting(), ff_mov_read_stsd_entries(), ff_mov_write_packet(), ff_mpeg4_decode_partitions(), ff_mpeg4_decode_picture_header(), ff_mpeg4_decode_video_packet_header(), ff_mpeg4_pred_dc(), ff_MPV_common_init(), ff_MPV_encode_init(), ff_MPV_encode_picture(), ff_MPV_frame_start(), ff_msmpeg4_decode_block(), ff_msmpeg4_decode_ext_header(), ff_msmpeg4_decode_motion(), ff_msmpeg4_decode_picture_header(), ff_msmpeg4_encode_motion(), ff_msrle_decode(), ff_mss12_decode_init(), ff_mxf_get_samples_per_frame(), ff_network_init(), ff_parse_channel_layout(), ff_parse_fmtp(), ff_parse_pixel_format(), ff_parse_sample_format(), ff_parse_sample_rate(), ff_parse_time_base(), ff_pnm_decode_header(), ff_print_debug_info(), ff_program_add_stream_index(), ff_rate_control_init(), ff_rate_estimate_qscale(), ff_raw_read_header(), ff_raw_video_read_header(), ff_read_packet(), ff_read_riff_info(), ff_rm_parse_packet(), ff_rm_read_mdpr_codecdata(), ff_rtmp_packet_dump(), ff_rtp_send_h263_rfc2190(), ff_rtp_send_jpeg(), ff_rtsp_parse_streaming_commands(), ff_rtsp_setup_input_streams(), ff_rtsp_setup_output_streams(), ff_rv34_decode_frame(), ff_rv_decode_dc(), ff_scale_image(), ff_set_cmp(), ff_sndio_open(), ff_snow_common_init_after_header(), ff_snow_frame_start(), ff_spatial_idwt_init2(), ff_start_frame(), ff_thread_await_progress(), ff_thread_finish_setup(), ff_thread_get_buffer(), ff_thread_init(), ff_thread_release_buffer(), ff_thread_report_progress(), ff_vbv_update(), ff_vc1_decode_entry_point(), ff_vc1_decode_sequence_header(), ff_vc1_parse_frame_header(), ff_vc1_parse_frame_header_adv(), ff_voc_get_packet(), ff_vorbis_comment(), ff_vorbis_len2vlc(), ff_vorbis_ready_floor1_list(), ff_vp56_decode_frame(), ff_wma_run_level_decode(), ff_wms_parse_sdp_a_line(), ff_wmv2_decode_mb(), ff_wmv2_decode_picture_header(), ff_wmv2_decode_secondary_picture_header(), ff_xvid_rate_control_init(), ff_xvid_rate_estimate_qscale(), ff_xvmc_decode_mb(), ff_xvmc_field_start(), ff_yuv2packedX_altivec(), ff_yuv2rgb_c_init_tables(), ff_yuv2rgb_get_func_ptr(), ff_yuv2rgb_get_func_ptr_bfin(), ff_yuv2rgb_init_altivec(), ff_yuv2rgb_init_vis(), ffio_limit(), ffm_read_packet(), ffm_resync(), ffurl_alloc(), field_end(), film_read_header(), filter(), filter_samples(), find_and_decode_index(), find_codec_or_die(), find_headers_search_validate(), find_next_parse_unit(), find_short(), find_stream(), find_unused_picture(), finish_file(), flac_decode_frame(), flac_encode_init(), flac_fifo_read_wrap(), flac_parse(), flac_read_header(), flac_write_trailer(), flashsv2_encode_frame(), flashsv2_encode_init(), flashsv_decode_block(), flashsv_decode_frame(), flashsv_decode_init(), flashsv_encode_frame(), flashsv_encode_init(), flat_init(), flic_decode_frame(), flic_decode_frame_15_16BPP(), flic_decode_frame_24BPP(), flic_decode_frame_8BPP(), flic_decode_init(), flic_read_header(), flush_encoders(), flush_segment(), flv_read_header(), flv_read_packet(), flv_set_audio_codec(), flv_set_video_codec(), flv_write_header(), flv_write_packet(), fourxm_read_header(), frei0r_init(), g722_decode_frame(), g722_decode_init(), g722_encode_init(), g723_1_decode_frame(), g729_read_header(), gen_create_stream(), gen_delete_stream(), gen_fcpublish_stream(), gen_fcunpublish_stream(), gen_play(), gen_pong(), gen_publish(), gen_release_stream(), gen_swf_verification(), generate_bits_table(), generate_interval(), generate_intervals(), get_aac_sample_rates(), get_audio_flags(), get_che(), get_chunk_header(), get_cod(), get_codecs_sorted(), get_cox(), get_http_header_data(), get_level_prefix(), get_line(), get_packet(), get_packet_header(), get_qscale(), get_quant(), get_riff(), get_siz(), get_stats(), get_tag(), get_tcp_server_response(), GET_TOK(), get_wb_bitrate_mode(), gif_decode_frame(), gif_encode_init(), gif_read_header1(), gif_write_header(), good_mvec(), gopher_connect(), grab_read_header(), graph_check_validity(), grow_array(), gsm_decode_frame(), guess_channel_layout(), guess_dc(), guess_input_channel_layout(), gxf_header(), gxf_init_timecode(), gxf_packet(), gxf_read_index(), gxf_write_header(), gxf_write_map_packet(), gxf_write_packet(), h261_decode_block(), h261_decode_frame(), h261_decode_gob(), h261_decode_gob_header(), h261_decode_mb(), h261_decode_picture_header(), h263_decode_block(), h263_handle_packet(), h264_free_context(), h264_handle_packet(), h264_mp4toannexb_filter(), handle_chunk_size(), handle_chunk_type(), handle_client_bw(), handle_invoke_error(), handle_invoke_result(), handle_invoke_status(), handle_notify(), handle_packet(), handle_ping(), handle_server_bw(), help(), hex_log(), hls_open(), hls_read(), hls_read_header(), http_open(), huffman_decode(), ico_check_attributes(), ico_write_header(), ico_write_packet(), idcin_decode_frame(), idcin_decode_init(), idcin_decode_vlcs(), iec61883_callback(), iec61883_read_header(), iec61883_receive_task(), iff_read_header(), ilbc_decode_frame(), ilbc_decode_init(), ilbc_encode_frame(), ilbc_encode_init(), ilbc_parse_fmtp(), ilbc_parse_sdp_line(), ilbc_read_header(), ilbc_write_header(), imc_decode_block(), imc_decode_frame(), imc_decode_init(), imx_dump_header(), info_callback(), ingenient_read_packet(), init(), init_audio(), init_convert_timestamp(), init_cook_mlt(), init_cook_vlc_tables(), init_filter_param(), init_filters(), init_image(), init_input(), init_input_filter(), init_offset(), init_output_filter(), init_pass2(), init_pattern_from_file(), init_pattern_from_string(), init_stream(), init_video(), initFilter(), insert_conv_filter(), ipod_get_codec_tag(), ipvideo_decode_block_opcode_0x6(), ipvideo_decode_frame(), ipvideo_decode_opcodes(), ir2_decode_frame(), ism_write_header(), iss_read_header(), iterative_me(), ivf_write_header(), j2kenc_init(), join_config_output(), join_init(), jpeg_parse_packet(), kmvc_decode_inter_8x8(), kmvc_decode_intra_8x8(), l3_unscale(), lag_decode_arith_plane(), lag_decode_frame(), lag_decode_zero_run_line(), lag_read_prob_header(), latm_decode_audio_specific_config(), latm_decode_extradata(), latm_decode_frame(), latm_parse_packet(), latm_write_packet(), lavfi_read_header(), libcelt_dec_decode(), libcelt_dec_init(), libgsm_decode_frame(), libgsm_decode_init(), libgsm_encode_init(), libopenjpeg_copy_packed16(), libopenjpeg_copy_packed8(), libopenjpeg_copy_unpacked16(), libopenjpeg_copy_unpacked8(), libopenjpeg_decode_frame(), libopenjpeg_encode_frame(), libopenjpeg_encode_init(), libopus_dec_decode(), libopus_dec_init(), libschroedinger_decode_frame(), libschroedinger_encode_frame(), libschroedinger_encode_init(), libschroedinger_handle_first_access_unit(), libspeex_decode_frame(), libspeex_decode_init(), link_filter(), link_filter_inouts(), list_drivers(), list_formats(), list_voices(), lmlm4_read_packet(), load_font(), load_input_picture(), load_ipmovie_packet(), load_matrix(), load_path(), load_sym(), log_encoder_error(), log_net_error(), lxf_read_header(), lxf_read_packet(), m4sl_cb(), mace_decode_frame(), main(), matroska_add_index_entries(), matroska_convert_tag(), matroska_decode_buffer(), matroska_find_track_by_num(), matroska_parse_block(), matroska_parse_laces(), matroska_parse_rm_audio(), matroska_parse_seekhead_entry(), matroska_read_header(), md5_open(), mdec_decode_block_intra(), microdvd_write_header(), mimic_decode_frame(), mimic_decode_init(), mix_function_init(), mj2_create_image(), mjpeg2jpeg_filter(), mjpeg_decode_app(), mjpeg_decode_com(), mjpeg_decode_dc(), mjpeg_decode_dri(), mjpeg_decode_scan(), mjpeg_decode_scan_progressive_ac(), mjpega_dump_header(), mjpegb_decode_frame(), mkv_write_ass_blocks(), mkv_write_attachments(), mkv_write_block(), mkv_write_codecprivate(), mkv_write_packet(), mkv_write_packet_internal(), mkv_write_tracks(), mkv_write_trailer(), mlp_parse(), mm_decode_frame(), mmap_init(), mmap_read_frame(), mmap_release_buffer(), mmap_start(), mmf_read_header(), mms_open(), mms_read(), mms_safe_send_recv(), mmsh_open_internal(), modify_pred(), modify_qscale(), modplug_read_header(), more_rbsp_data_in_pps(), mov_build_index(), mov_create_timecode_track(), mov_get_codec_tag(), mov_get_dv_codec_tag(), mov_open_dref(), mov_read_chapters(), mov_read_cmov(), mov_read_covr(), mov_read_ctts(), mov_read_default(), mov_read_dref(), mov_read_elst(), mov_read_fiel(), mov_read_ftyp(), mov_read_header(), mov_read_packet(), mov_read_pasp(), mov_read_stsz(), mov_read_stts(), mov_read_tfhd(), mov_read_trak(), mov_read_trun(), mov_read_udta_string(), mov_text_encode_frame(), mov_write_chan_tag(), mov_write_header(), mov_write_mdhd_tag(), mov_write_trailer(), movie_common_init(), movie_push_frame(), mp3_header_compress(), mp3_header_decompress(), mp3_parse_vbr_tags(), mp3_write_trailer(), mp3_write_xing(), mp3lame_encode_frame(), mp_decode_frame(), mp_decode_init(), mp_decode_layer3(), mp_get_code(), MPA_encode_init(), mpc7_decode_frame(), mpc7_decode_init(), mpc8_decode_frame(), mpc8_decode_init(), mpc8_parse_seektable(), mpc8_read_header(), mpc_read_header(), mpeg1_decode_block_inter(), mpeg1_decode_block_intra(), mpeg1_decode_picture(), mpeg1_decode_sequence(), mpeg2_decode_block_intra(), mpeg2_decode_block_non_intra(), mpeg4_decode_block(), mpeg4_decode_dc(), mpeg4_decode_gop_header(), mpeg4_decode_mb(), mpeg4_decode_partition_a(), mpeg4_decode_partition_b(), mpeg4_decode_partitioned_mb(), mpeg_decode_frame(), mpeg_decode_gop(), mpeg_decode_mb(), mpeg_decode_picture_coding_extension(), mpeg_decode_picture_display_extension(), mpeg_decode_sequence_display_extension(), mpeg_decode_sequence_extension(), mpeg_decode_slice(), mpeg_field_start(), mpeg_motion_internal(), mpeg_mux_init(), mpegps_read_pes_header(), mpegts_read_header(), mpegts_resync(), mpegts_set_stream_info(), mpegts_write_header(), mpegts_write_packet_internal(), mpegts_write_pes(), MPV_decode_mb_internal(), msmpeg4_decode_dc(), msmpeg4v12_decode_mb(), msmpeg4v34_decode_mb(), msnwc_tcp_read_header(), msrle_decode_8_16_24_32(), msrle_decode_frame(), msrle_decode_init(), msrle_decode_pal4(), mss1_decode_frame(), mss2_decode_frame(), mss3_decode_frame(), mss3_decode_init(), mss4_decode_frame(), mss4_decode_init(), msvideo1_decode_frame(), mtv_read_header(), mxf_absolute_bodysid_offset(), mxf_compute_essence_containers(), mxf_compute_index_tables(), mxf_compute_ptses_fake_index(), mxf_decrypt_triplet(), mxf_edit_unit_absolute_offset(), mxf_parse_dv_frame(), mxf_parse_handle_essence(), mxf_parse_mpeg2_frame(), mxf_parse_structural_metadata(), mxf_read_header(), mxf_read_local_tags(), mxf_read_packet(), mxf_read_packet_old(), mxf_read_partition_pack(), mxf_read_primer_pack(), mxf_set_current_edit_unit(), mxf_write_d10_video_packet(), mxf_write_essence_container_refs(), mxf_write_header(), mxf_write_index_table_segment(), mxf_write_package(), mxf_write_packet(), mxg_read_packet(), mxpeg_check_dimensions(), mxpeg_decode_frame(), mxpeg_decode_mxm(), nal_send(), nc_read_packet(), new_audio_stream(), new_data_stream(), new_output_stream(), new_pes_packet(), new_subtitle_stream(), new_video_stream(), nprobe(), nut_read_header(), nut_read_packet(), nut_read_timestamp(), nut_write_packet(), nuv_packet(), ogg_new_stream(), ogg_packet(), ogg_read_header(), ogg_read_page(), ogg_validate_keyframe(), ogg_write_header(), oggvorbis_decode_frame(), oggvorbis_decode_init(), oggvorbis_encode_frame(), oggvorbis_encode_init(), oggvorbis_init_encoder(), old_codec37(), old_codec47(), oma_read_header(), oma_write_header(), opaque_list_pop(), opaque_list_push(), open_input(), open_input_file(), open_stream(), opt_bitrate(), opt_channel_layout(), opt_default(), opt_deinterlace(), opt_format(), opt_frame_crop(), opt_frame_pix_fmt(), opt_frame_size(), opt_input_file(), opt_list(), opt_loglevel(), opt_map(), opt_map_channel(), opt_max_alloc(), opt_output_file(), opt_pad(), opt_preset(), opt_profile(), opt_progress(), opt_qscale(), opt_recording_timestamp(), opt_report(), opt_streamid(), opt_target(), opt_timelimit(), opt_video_channel(), opt_video_standard(), optimum_dist(), opus_packet(), output_data(), output_packet(), paf_aud_init(), paf_vid_init(), palToRgbWrapper(), parse_bintree(), parse_chunks(), parse_command(), parse_command_line(), parse_commands(), parse_fmtp_config(), parse_forced_key_frames(), parse_frame_header(), parse_id_header(), parse_interval(), parse_intervals(), parse_iplconvkernel(), parse_key_value_pair(), parse_keyframes_index(), parse_legacy_attrib(), parse_link_name(), parse_maps(), parse_matrix_coeffs(), parse_media_type(), parse_meta_type(), parse_mp4_descr(), parse_nal_units(), parse_number_or_die(), parse_option(), parse_outputs(), parse_packed_headers(), parse_picture(), parse_picture_segment(), parse_presentation_segment(), parse_primary(), parse_rule(), parse_script(), parse_setup_header(), parse_source_parameters(), parse_sws_flags(), parse_time_or_die(), parse_times(), pcm_bluray_decode_frame(), pcm_bluray_parse_header(), pcm_decode_frame(), pcm_decode_init(), pcx_decode_frame(), pcx_encode_frame(), pick_format(), planarRgbToRgbWrapper(), pmp_header(), pmp_packet(), png_decode_idat(), pnm_decode_frame(), pnm_encode_frame(), pp_get_mode_by_name_and_quality(), pp_postprocess(), pre_process_video_frame(), print_al_capture_devices(), print_enc_params(), print_error(), print_fps(), print_frame_info(), print_long_term(), print_program_info(), print_report(), print_short_term(), print_stats(), probe_codec(), process_audio_header_eacs(), process_audio_header_elements(), process_ea_header(), process_frame(), process_frame_obj(), process_input(), process_line(), prores_encode_init(), ptx_decode_frame(), pulse_read_header(), pulse_read_packet(), put_xiph_codecpriv(), qcelp_decode_frame(), qcp_read_header(), qcp_read_packet(), qdm2_decode(), qdm2_decode_frame(), qdm2_decode_init(), qdm2_decode_sub_packet_header(), qdm2_decode_super_block(), qdm2_fft_decode_tones(), qdm2_get_vlc(), qdm2_init(), qdm2_parse_packet(), qp2bits(), qpeg_decode_inter(), qtrle_decode_frame(), qtrle_decode_init(), qtrle_encode_init(), query_formats(), queue_frames(), r3d_read_header(), r3d_read_reda(), r3d_read_redv(), r3d_seek(), ra144_decode_frame(), ra144_encode_init(), ra288_decode_frame(), raw_decode(), raw_init_decoder(), CustomSource::read(), read_access_unit(), read_apic(), read_audio_mux_element(), read_block_data(), read_block_types(), read_braindead_odml_indx(), read_channel_data(), read_channel_params(), read_chapter(), read_code_table(), read_colors(), read_connect(), read_data(), read_data_packet(), read_dcs(), read_decoding_params(), read_extra_header(), read_filter_params(), read_frame_data(), read_frame_header(), read_frame_internal(), read_geobtag(), read_header(), read_huffman_tables(), read_huffman_tree(), read_kuki_chunk(), read_len_table(), read_line(), read_major_sync(), read_matrix_params(), read_motion_values(), read_offs(), read_packet(), read_pakt_chunk(), read_patterns(), read_restart_header(), read_runs(), read_sbr_data(), read_sbr_extension(), read_sbr_grid(), read_seek(), read_shape_from_file(), read_thread(), read_ttag(), read_var_block_data(), read_xing_toc(), reap_filters(), receive_frame(), recheck_discard_flags(), reconfigure_at_keyframe(), reconstruct_and_encode_image(), remove_decoded_packets(), remove_short(), report_new_stream(), request_frame(), reset_options(), return_audio_frame(), revert_channel_correlation(), rewind_file(), rgbToRgbWrapper(), rice_decompress(), rl2_decode_frame(), rl2_decode_init(), rm_read_audio_stream_info(), rm_read_index(), rm_write_header(), roq_decode_frame(), roq_dpcm_encode_init(), roq_encode_frame(), roq_encode_init(), roq_encode_video(), roq_read_packet(), roqvideo_decode_frame(), rpl_read_header(), rpza_decode_frame(), rpza_decode_stream(), rso_read_header(), rso_write_header(), rso_write_trailer(), rtcp_parse_packet(), rtmp_calc_swf_verification(), rtmp_calc_swfhash(), rtmp_handshake(), rtmp_log(), rtmp_open(), rtmp_parse_result(), rtmp_receive_hs_packet(), rtmp_send_hs_packet(), rtmp_server_handshake(), rtmp_write_amf_data(), rtp_parse_one_packet(), rtp_parse_packet_internal(), rtp_parse_queued_packet(), rtp_write_header(), rtsp_listen(), rtsp_read_announce(), rtsp_read_packet(), rtsp_read_play(), rtsp_read_request(), rtsp_read_setup(), rv10_decode_init(), rv10_decode_packet(), rv10_decode_picture_header(), rv10_write_header(), rv20_decode_picture_header(), rv30_decode_init(), rv30_decode_intra_types(), rv30_decode_mb_info(), rv30_parse_slice_header(), rv34_decode_intra_mb_header(), rv34_decode_slice(), rv40_decode_mb_info(), s302m_decode_frame(), s302m_parse_frame_header(), sap_read_header(), sap_write_header(), sbg_read_header(), sbr_hf_calc_npatches(), sbr_hf_gen(), sbr_make_f_derived(), sbr_make_f_master(), sbr_mapping(), sbr_reset(), scale_double(), sctp_open(), sdl_write_header(), sdp_parse_fmtp_config_h264(), seek_frame_generic(), seg_write_header(), seg_write_packet(), segment_end(), segment_start(), select_frame(), select_input_picture(), select_voice(), send_command_packet(), send_invoke_response(), seqvideo_decode_frame(), set_chroma_format(), set_codec_from_probe_data(), set_default_channel_config(), set_disposition_bits(), set_options(), set_param(), set_params(), set_string_number(), setup_find_stream_info_opts(), shall_we_drop(), shift_data(), shorten_decode_frame(), show_help_codec(), show_help_default(), show_help_demuxer(), show_help_muxer(), show_usage(), siff_parse_soun(), siff_parse_vbv1(), siff_read_header(), sipr_decode_frame(), sipr_decoder_init(), skeleton_header(), skip_data_stream_element(), slice_end(), smacker_decode_bigtree(), smacker_decode_header_tree(), smacker_decode_tree(), smacker_read_header(), smacker_read_packet(), smc_decode_frame(), smc_decode_stream(), smjpeg_read_header(), smjpeg_read_packet(), smjpeg_write_header(), smka_decode_frame(), smka_decode_init(), smooth_init(), smush_read_header(), source_config_props(), source_init(), sox_read_header(), sox_write_header(), spdif_get_offset_and_codec(), spdif_header_aac(), spdif_header_dts(), spdif_header_dts4(), spdif_header_mpeg(), spdif_header_truehd(), spdif_write_header(), spdif_write_packet(), split_init(), srt_encode_frame(), srt_stack_push_pop(), srt_write_header(), srt_write_packet(), Stagefright_decode_frame(), Stagefright_init(), start_frame(), start_jack(), store_packet(), str_read_packet(), stream_component_open(), sub2video_copy_rect(), sub2video_prepare(), submit_stats(), sunrast_decode_frame(), sunrast_encode_init(), supply_new_packets(), svq1_decode_frame(), svq1_decode_frame_header(), svq1_encode_end(), svq1_encode_frame(), svq1_encode_plane(), svq3_decode_frame(), svq3_decode_init(), svq3_decode_mb(), svq3_decode_slice_header(), svq3_mc_dir(), swf_read_header(), swf_write_audio(), swf_write_header(), swf_write_video(), swr_drop_output(), swr_init(), swr_inject_silence(), swr_next_pts(), swri_resample_init(), swri_resample_TMPL(), sws_init_context(), sws_printVec2(), sws_scale(), swScale(), sync(), synth_frame(), synth_superframe(), synthfilt_build_sb_samples(), targa_decode_rle(), targa_encode_frame(), tcp_open(), term_exit(), tgq_decode_frame(), tgq_decode_mb(), tgv_decode_frame(), tgv_decode_inter(), theora_header(), tiff_decode_tag(), tiff_unpack_strip(), tls_open(), tm2_build_huff_table(), tm2_decode_blocks(), tm2_motion_block(), tm2_read_deltas(), tm2_read_header(), tm2_read_stream(), tm2_read_tree(), tmv_decode_frame(), tmv_read_header(), tqi_decode_frame(), transcode(), transcode_init(), transcode_step(), transcode_subtitles(), truemotion1_decode_frame(), truemotion1_decode_header(), truespeech_decode_frame(), tscc2_decode_frame(), tscc2_decode_init(), tta_check_crc(), tta_decode_frame(), tta_decode_init(), tta_read_header(), twin_decode_frame(), twin_decode_init(), twolame_encode_init(), txd_decode_frame(), txd_read_packet(), udp_close(), udp_open(), udp_port(), udp_read(), udp_resolve_host(), udp_set_multicast_sources(), ulti_decode_frame(), uninit(), unpack_superblocks(), unpack_vlcs(), update_initial_durations(), update_stream_timings(), url_alloc_for_protocol(), utvideo_decode_init(), utvideo_encode_frame(), utvideo_encode_init(), v308_decode_frame(), v308_decode_init(), v308_encode_init(), v408_decode_frame(), v408_decode_init(), v408_encode_init(), v410_decode_frame(), v410_decode_init(), v410_encode_init(), v4l2_read_header(), v4l2_set_parameters(), v4l_mm_read_picture(), validate_mix_level(), validate_options(), validate_thread_parameters(), vb_decode_framedata(), vb_decode_palette(), vble_decode_frame(), vble_decode_init(), vc1_decode_b_blocks(), vc1_decode_frame(), vc1_decode_i_block(), vc1_decode_i_block_adv(), vc1_decode_i_blocks(), vc1_decode_i_blocks_adv(), vc1_decode_init(), vc1_decode_intra_block(), vc1_decode_p_blocks(), vc1t_read_header(), vc1test_write_header(), vcr1_decode_frame(), vdadec_init(), vf_default_query_format(), vf_get_image(), vf_next_control(), vf_next_put_image(), vfw_read_header(), vid_read_packet(), video_free_buffers(), video_get_buffer(), video_thread(), vmd_decode(), vmd_read_header(), vmd_read_packet(), vmdaudio_decode_frame(), vmdaudio_decode_init(), vmdvideo_decode_frame(), vmdvideo_decode_init(), voc_read_header(), vorbis_decode_frame(), vorbis_decode_init(), vorbis_encode_frame(), vorbis_encode_init(), vorbis_floor0_decode(), vorbis_parse_audio_packet(), vorbis_parse_id_hdr(), vorbis_parse_setup_hdr(), vorbis_parse_setup_hdr_codebooks(), vorbis_parse_setup_hdr_floors(), vorbis_parse_setup_hdr_mappings(), vorbis_parse_setup_hdr_residues(), vorbis_parse_setup_hdr_tdtransforms(), vorbis_residue_decode(), vorbis_residue_decode_internal(), vp3_decode_frame(), vp3_decode_init(), vp3_dequant(), vp56_size_changed(), vp5_parse_header(), vp6_parse_header(), vp8_decode(), vp8_decode_frame(), vp8_encode(), vp8_handle_packet(), vp8_init(), vp8_new_context(), vqa_decode_chunk(), vqa_decode_frame(), vqa_decode_init(), vqf_read_header(), warn_insufficient_frame_quality(), warning_callback(), wavesynth_init(), wavpack_decode_block(), wavpack_decode_frame(), wc3_read_header(), wc3_read_packet(), wma_decode_block(), wma_decode_init(), wma_decode_superframe(), wmavoice_decode_init(), wmv2_add_block(), write_frame(), write_header(), write_number(), write_packet(), write_stream_codec(), write_stream_codec_info(), write_stream_data(), write_streamheader(), ws_snd_decode_frame(), wsvqa_read_header(), wsvqa_read_packet(), wtvfile_open2(), wtvfile_open_sector(), wv_check_crc(), wv_read_block_header(), wv_read_packet(), x11grab_read_header(), x11grab_read_packet(), X264_init(), x8_vlc_init(), xan_decode_chroma(), xan_decode_frame(), xan_decode_frame_type0(), xan_decode_frame_type1(), xan_wc3_decode_frame(), xbm_decode_frame(), xiph_handle_packet(), xiph_parse_fmtp_pair(), xml_init(), xmv_read_header(), xsub_encode(), xvid_correct_framerate(), xvid_encode_frame(), xvid_encode_init(), xwd_decode_frame(), xwd_encode_frame(), xwma_read_header(), y41p_decode_frame(), y41p_decode_init(), y41p_encode_init(), yae_set_tempo(), yop_copy_previous_block(), yop_decode_frame(), yop_decode_init(), yop_read_header(), yuv4_decode_frame(), yuv4_decode_init(), yuv4_encode_init(), yuv4_read_header(), zerocodec_decode_frame(), zerocodec_decode_init(), zmbv_decode_xor_16(), zmbv_decode_xor_32(), and zmbv_decode_xor_8().
void av_log_default_callback | ( | void * | ptr, | |
int | level, | |||
const char * | fmt, | |||
va_list | vl | |||
) |
void av_log_format_line | ( | void * | ptr, | |
int | level, | |||
const char * | fmt, | |||
va_list | vl, | |||
char * | line, | |||
int | line_size, | |||
int * | print_prefix | |||
) |
Format a line of log the same way as the default callback.
line | buffer to receive the formated line | |
line_size | size of the buffer | |
print_prefix | used to store whether the prefix must be printed; must point to a persistent integer initially set to 1 |
Definition at line 193 of file log.c.
Referenced by log_callback_report().
int av_log_get_level | ( | void | ) |
Definition at line 262 of file log.c.
Referenced by avcodec_string(), check_keyboard_interaction(), hex_log(), http_av_log(), opt_report(), and rtmp_open().
void av_log_set_callback | ( | void(*)(void *, int, const char *, va_list) | callback | ) |
Definition at line 277 of file log.c.
Referenced by main(), opt_report(), show_help(), show_help_default(), and show_version().
void av_log_set_level | ( | int | level | ) |
Definition at line 267 of file log.c.
Referenced by check_keyboard_interaction(), main(), opt_codec_debug(), opt_loglevel(), and opt_report().
void av_vlog | ( | void * | avcl, | |
int | level, | |||
const char * | fmt, | |||
va_list | vl | |||
) |
Definition at line 256 of file log.c.
Referenced by ass_log(), av_log(), av_log_ask_for_sample(), mp_msg(), rtmp_log(), X264_log(), and XAVS_log().
static void colored_fputs | ( | int | level, | |
const char * | str | |||
) | [static] |
static void format_line | ( | void * | ptr, | |
int | level, | |||
const char * | fmt, | |||
va_list | vl, | |||
char | part[3][LINE_SZ], | |||
int | part_size, | |||
int * | print_prefix, | |||
int | type[2] | |||
) | [static] |
Definition at line 167 of file log.c.
Referenced by av_log_default_callback(), and av_log_format_line().
static void sanitize | ( | uint8_t * | line | ) | [static] |
void(* av_log_callback)(void *, int, const char *, va_list) [static] |
int av_log_level = AV_LOG_INFO [static] |
Definition at line 39 of file log.c.
Referenced by av_log_default_callback(), av_log_get_level(), and av_log_set_level().
const uint32_t color[16+AV_CLASS_CATEGORY_NB] [static] |
Initial value:
{ [AV_LOG_PANIC /8] = 52 << 16 | 196 << 8 | 0x41, [AV_LOG_FATAL /8] = 208 << 8 | 0x41, [AV_LOG_ERROR /8] = 196 << 8 | 0x11, [AV_LOG_WARNING/8] = 226 << 8 | 0x03, [AV_LOG_INFO /8] = 253 << 8 | 0x09, [AV_LOG_VERBOSE/8] = 40 << 8 | 0x02, [AV_LOG_DEBUG /8] = 34 << 8 | 0x02, [16+AV_CLASS_CATEGORY_NA ] = 250 << 8 | 0x09, [16+AV_CLASS_CATEGORY_INPUT ] = 219 << 8 | 0x15, [16+AV_CLASS_CATEGORY_OUTPUT ] = 201 << 8 | 0x05, [16+AV_CLASS_CATEGORY_MUXER ] = 213 << 8 | 0x15, [16+AV_CLASS_CATEGORY_DEMUXER ] = 207 << 8 | 0x05, [16+AV_CLASS_CATEGORY_ENCODER ] = 51 << 8 | 0x16, [16+AV_CLASS_CATEGORY_DECODER ] = 39 << 8 | 0x06, [16+AV_CLASS_CATEGORY_FILTER ] = 155 << 8 | 0x12, [16+AV_CLASS_CATEGORY_BITSTREAM_FILTER] = 192 << 8 | 0x14, [16+AV_CLASS_CATEGORY_SWSCALER ] = 153 << 8 | 0x14, [16+AV_CLASS_CATEGORY_SWRESAMPLER ] = 147 << 8 | 0x14, }
Definition at line 73 of file log.c.
Referenced by avfilter_register_all(), caca_write_header(), calc_coefficients(), cdg_border_preset(), cdg_load_palette(), cdg_scroll(), cdg_tile_block(), config_input(), config_props(), count_colors(), dc_test(), decode_0(), decode_format80(), decode_hextile(), decode_i2_frame(), decode_rle(), dvb_encode_rle2(), dvb_encode_rle4(), dvb_encode_rle8(), dvd_encode_rle(), end_frame(), ff_ass_split_override_codes(), ff_snow_pred_block(), guess_dc(), init(), iterative_me(), microdvd_init(), mm_decode_inter(), mm_decode_intra(), modplug_read_packet(), mp_get_yuv_from_rgb(), mp_read_changes_map(), mp_set_rgb_from_yuv(), overlay_ass_image(), ring1_test(), rle_decode(), select_palette(), start_frame(), super2xsai(), write_pixel_15_7(), and xsub_encode_rle().