#include <unistd.h>
#include <stdlib.h>
#include "avutil.h"
#include "log.h"
Go to the source code of this file.
Defines | |
#define | set_color(x) fprintf(stderr, "\033[%d;3%dm", color[x] >> 4, color[x]&15) |
#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) |
static void | sanitize (uint8_t *line) |
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 uint8_t | color [] = { 0x41, 0x41, 0x11, 0x03, 9, 9, 2 } |
static int | use_color = -1 |
static void(* | av_log_callback )(void *, int, const char *, va_list) |
Definition in file log.c.
#define reset_color | ( | ) | fprintf(stderr, "\033[0m") |
#define set_color | ( | x | ) | fprintf(stderr, "\033[%d;3%dm", color[x] >> 4, color[x]&15) |
void av_log | ( | void * | avcl, | |
int | level, | |||
const char * | fmt, | |||
... | ||||
) |
Definition at line 154 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(), adpcm_decode_frame(), adpcm_decode_init(), adpcm_encode_init(), 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_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_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_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_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_insert_filter(), avfilter_link(), avfilter_register(), avfilter_start_frame(), avformat_alloc_output_context2(), avformat_find_stream_info(), avformat_open_input(), avformat_write_header(), avi_read_header(), avi_read_seek(), avi_sync(), avi_write_header(), avi_write_packet(), 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(), bastardized_rice_decompress(), 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(), cache_open(), caf_write_header(), calc_coefficients(), cdata_read_header(), cdg_decode_frame(), cdxl_decode_frame(), cdxl_read_header(), cdxl_read_packet(), che_configure(), check_diff(), check_disc_info(), check_header_mismatch(), check_header_variable(), check_input_motion(), check_marker(), check_n_master(), 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(), clear_index_entries(), clip_coeffs(), cmdutils_read_file(), cmv_decode_frame(), cmv_process_header(), codeblock(), codec_reinit(), codecctl_int(), color_config_props(), color_init(), 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_output_audio_filter(), cook_decode_close(), cook_decode_frame(), cook_decode_init(), copy_block(), copy_frame(), copy_from(), copy_metadata(), copy_picture_attributes(), create_filter(), create_stream(), 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_parse_audio_coding_header(), dca_parse_frame_header(), dca_subframe_header(), dca_subsubframe(), dca_xbr_parse_frame(), decode(), decode_13(), decode_ac_coeffs(), 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_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_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_rle(), decode_scale_factors(), decode_scalefactors(), 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(), decodeChannelSoundUnit(), decoder_init(), decouple_info(), decrypt_init(), default_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_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_scale_factors(), encode_strip(), encode_subband_c0run(), encode_superframe(), 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_adts_decode_extradata(), ff_adts_write_frame_header(), ff_af_queue_add(), ff_af_queue_close(), ff_af_queue_remove(), ff_alloc_packet2(), ff_alsa_open(), ff_alsa_xrun_recover(), ff_amf_tag_contents(), ff_ape_parse_tag(), 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_avfilter_graph_check_validity(), ff_bfin_get_unscaled_swscale(), ff_bgmc_init(), ff_check_alignment(), ff_cmap_read_palette(), ff_convert_matrix(), ff_decode_sbr_extension(), ff_draw_color(), ff_dsputil_init_mmx(), 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_find_unused_picture(), ff_flac_decode_frame_header(), ff_flv_decode_picture_header(), ff_gen_search(), 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_iso8601_to_unix_time(), 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_find_marker(), ff_mlp_read_major_sync(), ff_mms_asf_header_parser(), ff_mov_init_hinting(), ff_mov_read_chan(), 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_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_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_frame_start(), ff_spatial_idwt_init2(), ff_thread_await_progress(), ff_thread_finish_setup(), ff_thread_get_buffer(), ff_thread_init(), ff_thread_release_buffer(), ff_thread_report_progress(), ff_udp_set_remote_url(), 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_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(), 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(), flic_decode_frame(), flic_decode_frame_15_16BPP(), flic_decode_frame_24BPP(), flic_decode_frame_8BPP(), flic_decode_init(), flic_read_header(), flush_encoders(), 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_publish(), gen_release_stream(), generate_bits_table(), generate_interval(), generate_intervals(), get_aac_sample_rates(), get_audio_flags(), get_che(), get_chunk_header(), get_cod(), get_cox(), get_http_header_data(), get_level_prefix(), get_line(), get_logical_cpus(), get_packet(), get_packet_header(), get_qscale(), get_quant(), get_riff(), 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(), gopher_connect(), grab_read_header(), grow_array(), gsm_decode_frame(), 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_type(), handle_packet(), help(), hex_log(), hls_open(), hls_read(), hls_read_header(), http_open(), huffman_decode(), idcin_decode_frame(), idcin_decode_init(), idcin_decode_vlcs(), iff_read_header(), imc_decode_frame(), imc_decode_init(), imx_dump_header(), 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_video(), initFilter(), insert_conv_filter(), ipod_get_codec_tag(), ipvideo_decode_block_opcode_0x6(), ipvideo_decode_frame(), ipvideo_decode_opcodes(), ir2_decode_frame(), iss_read_header(), iterative_me(), ivf_write_header(), j2kenc_init(), json_init(), kmvc_decode_inter_8x8(), kmvc_decode_intra_8x8(), 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(), 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_formats(), lmlm4_read_packet(), load_font(), load_input_picture(), load_ipmovie_packet(), load_matrix(), load_path(), load_sym(), log_encoder_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_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_get_codec_tag(), mov_get_dv_codec_tag(), mov_open_dref(), mov_read_chapters(), mov_read_cmov(), 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_write_chan_tag(), mov_write_header(), mov_write_mdhd_tag(), mov_write_trailer(), movie_common_init(), mp2_write_trailer(), mp3_header_compress(), mp3_header_decompress(), 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_packet(), 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(), 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_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_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_video_stream(), nprobe(), nut_read_header(), nut_read_packet(), nut_read_timestamp(), nuv_packet(), ogg_packet(), ogg_read_page(), ogg_validate_keyframe(), ogg_write_header(), oggvorbis_decode_frame(), oggvorbis_decode_init(), oggvorbis_encode_frame(), oggvorbis_encode_init(), oggvorbis_init_encoder(), oma_read_header(), oma_write_header(), opaque_list_pop(), opaque_list_push(), open_input(), open_input_file(), 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_qscale(), opt_recording_timestamp(), opt_report(), opt_streamid(), opt_target(), opt_timelimit(), opt_video_channel(), opt_video_standard(), optimum_dist(), output_data(), output_packet(), palToRgbWrapper(), parse_bintree(), parse_chunks(), parse_fmtp_config(), parse_forced_key_frames(), parse_frame_header(), parse_id_header(), parse_iplconvkernel(), parse_key_value_pair(), parse_keyframes_index(), parse_legacy_attrib(), parse_link_name(), 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_segment(), parse_presentation_segment(), parse_primary(), parse_rule(), parse_script(), parse_setup_header(), parse_source_parameters(), parse_sws_flags(), parse_time_or_die(), 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(), pnm_decode_frame(), pnm_encode_frame(), poll_filters(), 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(), process_audio_header_eacs(), process_audio_header_elements(), process_ea_header(), 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(), 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_colors(), read_data(), read_data_packet(), read_dcs(), read_decoding_params(), read_extra_header(), read_filter_params(), read_frame_data(), read_frame_internal(), read_geobtag(), read_header(), read_huffman_tables(), read_huffman_tree(), read_kuki_chunk(), read_len_table(), 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(), receive_frame(), recheck_discard_flags(), reconfigure_at_keyframe(), reconstruct_and_encode_image(), remove_decoded_packets(), remove_short(), request_frame(), revert_channel_correlation(), rgbToRgbWrapper(), 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_handshake(), rtmp_log(), rtmp_open(), rtmp_parse_result(), rtp_parse_one_packet(), rtp_parse_packet_internal(), rtp_parse_queued_packet(), rtp_write_header(), rtsp_read_packet(), rtsp_read_play(), 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(), select_frame(), select_input_picture(), send_command_packet(), seqvideo_decode_frame(), set_chroma_format(), set_codec_from_probe_data(), set_default_channel_config(), set_disposition_bits(), set_param(), set_params(), set_string_number(), setup_find_stream_info_opts(), shall_we_drop(), shorten_decode_frame(), 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(), 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(), Stagefright_decode_frame(), Stagefright_init(), start_frame(), start_jack(), store_packet(), str_read_packet(), stream_component_open(), 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(), truemotion1_decode_frame(), truemotion1_decode_header(), truespeech_decode_frame(), tta_check_crc(), tta_decode_frame(), tta_decode_init(), tta_read_header(), twin_decode_frame(), twin_decode_init(), txd_decode_frame(), txd_read_packet(), udp_close(), udp_join_multicast_group(), udp_leave_multicast_group(), udp_open(), udp_port(), udp_read(), udp_resolve_host(), udp_set_multicast_ttl(), udp_socket_create(), ulti_decode_frame(), uninit(), unpack_superblocks(), unpack_vlcs(), update_initial_durations(), 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(), 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_buf(), 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(), 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 95 of file log.c.
Referenced by av_log_default_callback(), and log_callback_report().
int av_log_get_level | ( | void | ) |
Definition at line 172 of file log.c.
Referenced by avcodec_string(), hex_log(), http_av_log(), opt_report(), rtmp_open(), and transcode().
void av_log_set_callback | ( | void(*)(void *, int, const char *, va_list) | callback | ) |
Definition at line 187 of file log.c.
Referenced by main(), opt_help(), opt_report(), and opt_version().
void av_log_set_level | ( | int | level | ) |
Definition at line 177 of file log.c.
Referenced by main(), opt_codec_debug(), opt_loglevel(), opt_report(), and transcode().
void av_vlog | ( | void * | avcl, | |
int | level, | |||
const char * | fmt, | |||
va_list | vl | |||
) |
Definition at line 166 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 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 32 of file log.c.
Referenced by av_log_default_callback(), av_log_get_level(), and av_log_set_level().
Definition at line 43 of file log.c.
Referenced by avfilter_register_all(), calc_coefficients(), cdg_border_preset(), cdg_load_palette(), cdg_scroll(), cdg_tile_block(), color_config_props(), color_init(), color_request_frame(), config_input(), dc_test(), decode_format80(), decode_hextile(), decode_i2_frame(), decode_rle(), dvb_encode_rle2(), dvb_encode_rle4(), dvb_encode_rle8(), dvd_encode_rle(), encode_dvd_subtitles(), end_frame(), ff_ass_split_override_codes(), ff_snow_pred_block(), guess_dc(), init(), iterative_me(), 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(), super2xsai(), write_pixel_15_7(), and xsub_encode_rle().
int use_color = -1 [static] |