#include "common.h"#include "rational.h"#include <sys/types.h>#include <stdarg.h>

Go to the source code of this file.
Definition in file avcodec.h.
| #define AV_LOG_DEBUG 2 |
Definition at line 2308 of file avcodec.h.
Referenced by amr_nb_encode_init(), av_resample(), bitplane_decoding(), build_table(), compute_exp_strategy(), decode_b_picture_secondary_header(), decode_ext_header(), decode_frame(), decode_i_picture_primary_header(), decode_i_picture_secondary_header(), decode_nal_units(), decode_p_picture_primary_header(), decode_p_picture_secondary_header(), decode_picture_parameter_set(), decode_residuals(), decode_seq_parameter_set(), decode_sequence_header(), decode_slice_header(), decode_subframe(), decode_subframe_lpc(), decode_vop_header(), dump_headers(), encode_exp(), execute_ref_pic_marking(), ff_build_rac_states(), ff_er_frame_end(), ff_h263_decode_frame(), ff_mpeg4_decode_picture_header(), ff_print_debug_info(), ff_rate_estimate_qscale(), ff_vbv_update(), ff_wmv2_decode_secondary_picture_header(), flac_decode_frame(), flv_h263_decode_picture_header(), get_level_prefix(), h263_decode_picture_header(), mjpeg_decode_app(), mjpeg_decode_frame(), mjpeg_decode_sos(), mjpegb_decode_frame(), mm_support(), modify_qscale(), MPA_encode_init(), mpeg1_decode_picture(), mpeg1_decode_sequence(), mpeg_decode_frame(), mpeg_decode_gop(), mpeg_decode_picture_display_extension(), mpeg_decode_sequence_display_extension(), mpeg_decode_sequence_extension(), mpeg_decode_slice(), mpeg_motion(), msmpeg4_decode_picture_header(), oggvorbis_decode_init(), opt_debug(), output_audio_block(), print_long_term(), print_short_term(), remove_short(), rv10_decode_init(), rv20_decode_picture_header(), stream_component_open(), svq3_decode_frame(), theora_decode_header(), vc9_decode_frame(), vc9_init_common(), vmdaudio_decode_init(), vp3_decode_frame(), X264_log(), and xvid_correct_framerate().
| #define AV_LOG_ERROR 0 |
Definition at line 2306 of file avcodec.h.
Referenced by a52_decode_frame(), a52_resample_init(), aasc_decode_frame(), adpcm_decode_frame(), alac_decode_frame(), alloc_picture(), amr_nb_decode_init(), asv1_decode_block(), audio_resample_init(), avcodec_check_dimensions(), avcodec_close(), avcodec_encode_audio(), avcodec_encode_video(), avcodec_open(), bits2qp(), build_table(), check_diff(), check_input_motion(), check_intra4x4_pred_mode(), check_intra_pred_mode(), cinepak_decode_frame(), compute_bit_allocation(), copy_picture_attributes(), cyuv_decode_frame(), decode_b_picture_primary_header(), decode_dc(), decode_format80(), decode_frame(), decode_header(), decode_i_block(), decode_i_frame(), decode_init(), decode_init_mp3on4(), decode_mb_cabac(), decode_mb_cavlc(), decode_nal_units(), decode_p_frame(), decode_picture_parameter_set(), decode_ref_pic_list_reordering(), decode_ref_pic_marking(), decode_residual(), decode_rle(), decode_seq_parameter_set(), decode_sequence_header(), decode_slice(), decode_slice_header(), decode_subframe_fixed(), decode_vol_header(), decode_vop_header(), decode_vui_parameters(), decode_wave_header(), delete_state(), dpcm_decode_init(), dsputil_init(), dts_decode_frame(), dv_decode_video_segment(), dvbsub_parse(), dvbsub_parse_clut_segment(), dvbsub_parse_object_segment(), dvbsub_parse_pixel_data_block(), dvbsub_read_2bit_string(), dvbsub_read_4bit_string(), dvbsub_read_8bit_string(), dvvideo_decode_frame(), encode_422_bitstream(), encode_blocks(), encode_frame(), encode_gray_bitstream(), encode_init(), encode_line(), encode_mb(), encode_subband_c0run(), evalPrimary(), execute_ref_pic_marking(), faac_decode_frame(), faac_decode_init(), Faac_encode_init(), faac_init_mp4(), ff_er_frame_end(), ff_h263_decode_frame(), ff_h263_decode_mb(), ff_mpeg4_decode_mb(), ff_mpeg4_decode_partitions(), ff_mpeg4_decode_picture_header(), ff_mpeg4_pred_dc(), ff_rate_control_init(), ff_set_cmp(), ff_spatial_idwt_buffered_init(), ff_vbv_update(), ff_wmv2_decode_picture_header(), ff_wmv2_decode_secondary_picture_header(), ff_xvid_encode_frame(), ff_xvid_encode_init(), flac_decode_frame(), flic_decode_frame(), flic_decode_init(), flv_h263_decode_picture_header(), frame_start(), g726_init(), generate_bits_table(), h261_decode_block(), h261_decode_frame(), h261_decode_gob(), h261_decode_mb(), h261_decode_picture_header(), h263_decode_block(), h263_decode_picture_header(), idcin_decode_frame(), idcin_decode_init(), idcin_decode_vlcs(), indeo3_decode_frame(), init_offset(), init_pass2(), intel_h263_decode_picture_header(), ipvideo_decode_block_opcode_0x6(), ipvideo_decode_frame(), ipvideo_decode_init(), ipvideo_decode_opcodes(), ir2_decode_frame(), iv_Decode_Chunk(), mdec_decode_block_intra(), mjpeg_decode_app(), mjpeg_decode_frame(), mjpeg_decode_sof(), MP3lame_encode_frame(), MPA_encode_init(), mpeg1_decode_block_inter(), mpeg1_decode_block_intra(), mpeg1_decode_sequence(), mpeg2_decode_block_intra(), mpeg2_decode_block_non_intra(), mpeg4_decode_block(), mpeg4_decode_dc(), mpeg4_decode_partition_a(), mpeg4_decode_partition_b(), mpeg4_decode_partitioned_mb(), mpeg4_decode_video_packet_header(), mpeg_decode_mb(), mpeg_decode_slice(), mpeg_field_start(), MPV_common_init(), MPV_frame_start(), msmpeg4_decode_block(), msmpeg4_decode_dc(), msmpeg4_decode_ext_header(), msmpeg4_decode_motion(), msmpeg4_decode_picture_header(), msmpeg4v12_decode_mb(), msmpeg4v34_decode_mb(), msrle_decode_frame(), msrle_decode_pal4(), msrle_decode_pal8(), msvideo1_decode_frame(), oggvorbis_decode_init(), oggvorbis_encode_init(), pam_encode_frame(), pnm_decode_frame(), pnm_encode_frame(), qp2bits(), qtrle_decode_frame(), qtrle_decode_init(), ra288_decode_frame(), read_header(), read_huffman_tables(), read_huffman_tree(), render_fragments(), render_slice(), roq_decode_frame(), roqvideo_decode_frame(), rpza_decode_frame(), rpza_decode_stream(), rv10_decode_init(), rv10_decode_packet(), rv10_decode_picture_header(), rv20_decode_picture_header(), rv_decode_dc(), shorten_decode_frame(), smc_decode_frame(), sonic_decode_init(), svq3_decode_frame(), svq3_decode_mb(), svq3_decode_slice_header(), svq3_mc_dir(), Theora_decode_init(), theora_decode_tables(), truemotion1_decode_frame(), truemotion1_decode_header(), ulti_decode_frame(), unpack_modes(), unpack_superblocks(), unpack_token(), unpack_vectors(), unpack_vlcs(), vc9_decode_block(), vc9_decode_frame(), vc9_decode_i_mb(), vmd_decode(), vmdvideo_decode_frame(), vmdvideo_decode_init(), vorbis_decode_init(), 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_tdtransforms(), vorbis_residue_decode(), vp3_decode_frame(), vqa_decode_chunk(), vqa_decode_frame(), vqa_decode_init(), wmv2_add_block(), wmv2_decode_mb(), X264_log(), xan_decode_frame(), xan_decode_init(), xan_wc3_build_palette(), xan_wc3_copy_pixel_run(), and xan_wc3_output_pixel_run().
| #define AV_LOG_INFO 1 |
Definition at line 2307 of file avcodec.h.
Referenced by a52_resample_init(), check_marker(), decode_b_picture_secondary_header(), decode_dvd_subtitles(), decode_init(), decode_p_picture_secondary_header(), decode_sequence_header(), decode_vol_header(), decode_wave_header(), dsputil_init_mmx(), dts_decode_frame(), dvbsub_decode(), dvbsub_parse(), dvbsub_parse_clut_segment(), dvbsub_parse_page_segment(), dvbsub_parse_pixel_data_block(), dvbsub_parse_region_segment(), dvdsub_decode(), encode_init(), ff_er_frame_end(), help(), main(), mjpeg_decode_app(), mjpeg_decode_com(), mjpeg_decode_init(), MPV_common_init_ppc(), rv20_decode_picture_header(), smc_decode_stream(), sonic_decode_init(), standard_decode_picture_primary_header(), svq1_decode_block_intra(), svq1_decode_block_non_intra(), svq1_decode_delta_block(), svq1_decode_frame(), svq1_decode_frame_header(), svq1_motion_inter_4v_block(), svq1_motion_inter_block(), theora_decode_header(), truemotion1_decode_header(), ulti_decode_frame(), vc9_decode_init(), vmdaudio_loadsound(), vorbis_len2vlc(), vorbis_parse_setup_hdr_codebooks(), vp3_decode_frame(), and X264_log().
| #define AV_NOPTS_VALUE int64_t_C(0x8000000000000000) |
Definition at line 30 of file avcodec.h.
Referenced by audio_decode_frame(), av_encode(), av_parser_parse(), avcodec_get_frame_defaults(), decode_thread(), do_subtitle_out(), dvbsub_parse(), http_prepare_data(), open_input_stream(), opt_input_file(), output_packet(), rtsp_cmd_pause(), rtsp_cmd_play(), and video_thread().
| #define AV_PARSER_PTS_NB 4 |
| #define AV_TIME_BASE 1000000 |
Definition at line 31 of file avcodec.h.
Referenced by av_encode(), decode_thread(), event_loop(), get_sync_ipts(), http_prepare_data(), opt_input_file(), opt_output_file(), output_packet(), and rtsp_cmd_play().
| #define AV_TIME_BASE_Q (AVRational){1, AV_TIME_BASE} |
Definition at line 32 of file avcodec.h.
Referenced by av_encode(), do_subtitle_out(), http_prepare_data(), and output_packet().
| #define AVCODEC_MAX_AUDIO_FRAME_SIZE 131072 |
Definition at line 254 of file avcodec.h.
Referenced by audio_decode_example(), output_packet(), and pcm_decode_frame().
| #define AVPALETTE_SIZE 1024 |
AVPaletteControl This structure defines a method for communicating palette changes between and demuxer and a decoder.
Definition at line 1791 of file avcodec.h.
Referenced by cinepak_decode_frame(), decode_frame(), flic_decode_frame(), msrle_decode_pal4(), msrle_decode_pal8(), msvideo1_decode_8bit(), qtrle_decode_frame(), and smc_decode_stream().
| #define BE_16 | ( | x | ) | ((((uint8_t*)(x))[0] << 8) | ((uint8_t*)(x))[1]) |
Definition at line 2323 of file avcodec.h.
Referenced by alac_set_info(), cinepak_decode(), cinepak_decode_strip(), decode_format80(), decode_frame(), dvbsub_decode(), dvbsub_parse(), dvbsub_parse_object_segment(), dvbsub_parse_page_segment(), dvbsub_parse_region_segment(), qtrle_decode_16bpp(), qtrle_decode_24bpp(), qtrle_decode_32bpp(), qtrle_decode_4bpp(), qtrle_decode_8bpp(), rpza_decode_stream(), smc_decode_stream(), and xan_wc3_decode_frame().
| #define BE_32 | ( | x | ) |
Value:
((((uint8_t*)(x))[0] << 24) | \
(((uint8_t*)(x))[1] << 16) | \
(((uint8_t*)(x))[2] << 8) | \
((uint8_t*)(x))[3])
Definition at line 2324 of file avcodec.h.
Referenced by alac_set_info(), cinepak_decode_codebook(), cinepak_decode_vectors(), decode_frame(), main(), rpza_decode_stream(), smc_decode_stream(), svq3_decode_frame(), and vqa_decode_chunk().
| #define CODEC_CAP_DELAY 0x0020 |
codec has a non zero delay and needs to be feeded with NULL at the end to get the delayed data. if this is not set, the codec is guranteed to never be feeded with NULL data
Definition at line 381 of file avcodec.h.
Referenced by avcodec_decode_audio(), avcodec_decode_video(), avcodec_encode_audio(), and avcodec_encode_video().
| #define CODEC_CAP_DR1 0x0002 |
Codec uses get_buffer() for allocating buffers. direct rendering method 1
Definition at line 370 of file avcodec.h.
Referenced by show_formats().
| #define CODEC_CAP_DRAW_HORIZ_BAND 0x0001 |
decoder can use draw_horiz_band callback
Definition at line 365 of file avcodec.h.
Referenced by show_formats().
| #define CODEC_CAP_PARSE_ONLY 0x0004 |
| #define CODEC_CAP_TRUNCATED 0x0008 |
| #define CODEC_FLAG2_FAST 0x00000001 |
allow non spec compliant speedup tricks
Definition at line 353 of file avcodec.h.
Referenced by mpeg_decode_mb(), and stream_component_open().
| #define CODEC_FLAG2_LOCAL_HEADER 0x00000008 |
place global headers at every keyframe instead of in extradata
Definition at line 356 of file avcodec.h.
Referenced by av_parser_change(), and new_video_stream().
| #define CODEC_FLAG2_NO_OUTPUT 0x00000004 |
skip bitstream encoding
Definition at line 355 of file avcodec.h.
Referenced by encode_422_bitstream(), encode_frame(), encode_gray_bitstream(), and new_video_stream().
| #define CODEC_FLAG2_STRICT_GOP 0x00000002 |
strictly enforce GOP size
Definition at line 354 of file avcodec.h.
Referenced by new_video_stream().
| #define CODEC_FLAG_4MV 0x0004 |
4 MV per MB allowed / Advanced prediction for H263
Definition at line 317 of file avcodec.h.
Referenced by check_input_motion(), common_init(), encode(), ff_estimate_p_frame_motion(), ff_fix_long_p_mvs(), ff_xvid_encode_init(), new_video_stream(), and parse_ffconfig().
| #define CODEC_FLAG_AC_PRED 0x01000000 |
H263 Advanced intra coding / MPEG4 AC prediction.
Definition at line 342 of file avcodec.h.
Referenced by encode(), and ff_xvid_encode_init().
| #define CODEC_FLAG_ALT_SCAN 0x00100000 |
| #define CODEC_FLAG_BITEXACT 0x00800000 |
use only bitexact stuff (except (i)dct)
Definition at line 339 of file avcodec.h.
Referenced by dsputil_init_mmx(), dsputil_init_pix_mmx(), ff_h263_decode_frame(), new_video_stream(), and opt_input_file().
| #define CODEC_FLAG_CBP_RD 0x04000000 |
use rate distortion optimization for cbp
Definition at line 344 of file avcodec.h.
Referenced by new_video_stream().
| #define CODEC_FLAG_CLOSED_GOP 0x80000000 |
Definition at line 352 of file avcodec.h.
Referenced by ff_xvid_encode_init(), and new_video_stream().
| #define CODEC_FLAG_EMU_EDGE 0x4000 |
don't draw edges
Definition at line 329 of file avcodec.h.
Referenced by avcodec_default_get_buffer(), chroma_4mv_motion(), chroma_4mv_motion_lowres(), decode_frame(), ff_mspel_motion(), gmc1_motion(), hpel_motion(), mc_dir_part(), MPV_frame_end(), MPV_motion(), opt_input_file(), stream_component_open(), and svq3_mc_dir_part().
| #define CODEC_FLAG_EXTERN_HUFF 0x1000 |
use external huffman table (for mjpeg)
Definition at line 327 of file avcodec.h.
Referenced by mjpeg_decode_init().
| #define CODEC_FLAG_GLOBAL_HEADER 0x00400000 |
place global headers in extradata instead of every keyframe
Definition at line 338 of file avcodec.h.
Referenced by add_video_stream(), av_parser_change(), Faac_encode_init(), ff_xvid_encode_init(), new_audio_stream(), and new_video_stream().
| #define CODEC_FLAG_GMC 0x0020 |
| #define CODEC_FLAG_GRAY 0x2000 |
only decode/encode grayscale
Definition at line 328 of file avcodec.h.
Referenced by backup_mb_border(), backup_pair_border(), dct_get(), decode_frame(), ff_mspel_motion(), ff_wmv2_add_mb(), ff_xvid_encode_init(), gmc1_motion(), gmc_motion(), hl_decode_mb(), idct_put(), indeo3_decode_frame(), iv_decode_frame(), mc_dir_part(), mpeg_motion(), mpeg_motion_lowres(), MPV_decode_mb_internal(), MPV_motion(), MPV_motion_lowres(), new_video_stream(), opt_input_file(), qpel_motion(), render_fragments(), render_slice(), svq1_decode_frame(), svq3_mc_dir_part(), vp3_decode_frame(), xchg_mb_border(), and xchg_pair_border().
| #define CODEC_FLAG_H263P_AIC 0x01000000 |
H263 Advanced intra coding / MPEG4 AC prediction (remove this).
Definition at line 341 of file avcodec.h.
Referenced by new_video_stream().
| #define CODEC_FLAG_H263P_AIV 0x00000008 |
H263 Alternative inter vlc.
Definition at line 346 of file avcodec.h.
Referenced by new_video_stream().
| #define CODEC_FLAG_H263P_SLICE_STRUCT 0x10000000 |
Definition at line 349 of file avcodec.h.
Referenced by encode(), new_video_stream(), and quicktime_new_ffmpeg().
| #define CODEC_FLAG_H263P_UMV 0x02000000 |
Unlimited motion vector.
Definition at line 343 of file avcodec.h.
Referenced by encode(), and new_video_stream().
| #define CODEC_FLAG_INTERLACED_DCT 0x00040000 |
use interlaced dct
Definition at line 334 of file avcodec.h.
Referenced by encode(), and new_video_stream().
| #define CODEC_FLAG_INTERLACED_ME 0x20000000 |
interlaced motion estimation
Definition at line 350 of file avcodec.h.
Referenced by check_input_motion(), encode(), encode_init(), ff_estimate_b_frame_motion(), ff_estimate_p_frame_motion(), MPV_common_init(), and new_video_stream().
| #define CODEC_FLAG_LOOP_FILTER 0x00000800 |
| #define CODEC_FLAG_LOW_DELAY 0x00080000 |
force low delay
Definition at line 335 of file avcodec.h.
Referenced by decode_nal_units(), decode_vop_header(), ff_h263_decode_frame(), mpeg1_decode_sequence(), and mpeg_decode_sequence_extension().
| #define CODEC_FLAG_MV0 0x0040 |
always try a MB with MV=<0,0>
Definition at line 320 of file avcodec.h.
Referenced by ff_estimate_p_frame_motion(), and new_video_stream().
| #define CODEC_FLAG_NORMALIZE_AQP 0x00020000 |
normalize adaptive quantization
Definition at line 333 of file avcodec.h.
Referenced by adaptive_quantization(), and new_video_stream().
| #define CODEC_FLAG_OBMC 0x00000001 |
| #define CODEC_FLAG_PART 0x0080 |
| #define CODEC_FLAG_PASS1 0x0200 |
use internal 2pass ratecontrol in first pass mode
Definition at line 325 of file avcodec.h.
Referenced by av_encode(), avcodec_string(), encode_422_bitstream(), encode_frame(), encode_gray_bitstream(), encode_init(), ff_xvid_encode_init(), and new_video_stream().
| #define CODEC_FLAG_PASS2 0x0400 |
use internal 2pass ratecontrol in second pass mode
Definition at line 326 of file avcodec.h.
Referenced by av_encode(), avcodec_string(), encode_frame(), encode_init(), ff_rate_control_init(), ff_rate_estimate_qscale(), ff_xvid_encode_init(), and new_video_stream().
| #define CODEC_FLAG_PSNR 0x8000 |
error[?] variables will be set during encoding
Definition at line 330 of file avcodec.h.
Referenced by do_video_stats(), encode_frame(), MPV_decode_mb_internal(), new_video_stream(), and print_report().
| #define CODEC_FLAG_QP_RD 0x08000000 |
use rate distortion optimization for qp selectioon
Definition at line 345 of file avcodec.h.
Referenced by new_video_stream().
| #define CODEC_FLAG_QPEL 0x0010 |
use qpel MC
Definition at line 318 of file avcodec.h.
Referenced by common_init(), encode_frame(), encode_q_branch(), ff_init_me(), ff_xvid_encode_init(), get_flags(), and new_video_stream().
| #define CODEC_FLAG_QSCALE 0x0002 |
use fixed qscale
Definition at line 316 of file avcodec.h.
Referenced by encode(), ff_xvid_encode_init(), new_video_stream(), and X264_init().
| #define CODEC_FLAG_SVCD_SCAN_OFFSET 0x40000000 |
will reserve space for SVCD scan offset user data
Definition at line 351 of file avcodec.h.
Referenced by new_video_stream().
| #define CODEC_FLAG_TRELLIS_QUANT 0x00200000 |
use trellis quantization
Definition at line 337 of file avcodec.h.
Referenced by DCT_common_init(), ff_xvid_encode_init(), and new_video_stream().
| #define CODEC_FLAG_TRUNCATED 0x00010000 |
Definition at line 331 of file avcodec.h.
Referenced by decode_frame(), ff_h263_decode_frame(), get_consumed_bytes(), mpeg_decode_frame(), and video_decode_example().
| #define DEFAULT_FRAME_RATE_BASE 1001000 |
| #define FF_AA_FLOAT 3 |
| #define FF_ALPHA_SEMI_TRANSP 0x0002 |
Definition at line 2096 of file avcodec.h.
Referenced by get_alpha_info_pal8(), and img_get_alpha_info().
| #define FF_ALPHA_TRANSP 0x0001 |
Definition at line 2095 of file avcodec.h.
Referenced by get_alpha_info_pal8(), and img_get_alpha_info().
| #define FF_ASPECT_EXTENDED 15 |
Definition at line 634 of file avcodec.h.
Referenced by decode_vol_header(), and h263_decode_picture_header().
| #define FF_B_TYPE 3 |
Definition at line 528 of file avcodec.h.
Referenced by ff_print_debug_info(), ff_xvid_encode_frame(), output_picture2(), and X264_frame().
| #define FF_BUFFER_HINTS_PRESERVE 0x04 |
Definition at line 535 of file avcodec.h.
Referenced by aasc_decode_frame(), cinepak_decode_frame(), decode_frame(), flic_decode_frame(), ir2_decode_frame(), msrle_decode_frame(), msvideo1_decode_frame(), qtrle_decode_frame(), rpza_decode_frame(), smc_decode_frame(), and ulti_decode_frame().
| #define FF_BUFFER_HINTS_READABLE 0x02 |
Definition at line 534 of file avcodec.h.
Referenced by avcodec_default_reget_buffer(), qtrle_decode_frame(), and smc_decode_frame().
| #define FF_BUFFER_HINTS_REUSABLE 0x08 |
Definition at line 536 of file avcodec.h.
Referenced by aasc_decode_frame(), cinepak_decode_frame(), decode_frame(), flic_decode_frame(), ir2_decode_frame(), msrle_decode_frame(), msvideo1_decode_frame(), qtrle_decode_frame(), rpza_decode_frame(), smc_decode_frame(), and ulti_decode_frame().
| #define FF_BUFFER_HINTS_VALID 0x01 |
Definition at line 533 of file avcodec.h.
Referenced by aasc_decode_frame(), cinepak_decode_frame(), cyuv_decode_frame(), decode_frame(), flic_decode_frame(), ir2_decode_frame(), msrle_decode_frame(), msvideo1_decode_frame(), qtrle_decode_frame(), rpza_decode_frame(), smc_decode_frame(), and ulti_decode_frame().
| #define FF_BUFFER_TYPE_COPY 8 |
just a (modified) copy of some other buffer, don't dealloc anything
Definition at line 523 of file avcodec.h.
Referenced by copy_picture(), and ff_print_debug_info().
| #define FF_BUFFER_TYPE_INTERNAL 1 |
Definition at line 520 of file avcodec.h.
Referenced by avcodec_default_get_buffer(), avcodec_default_reget_buffer(), avcodec_default_release_buffer(), and ff_mpeg_flush().
| #define FF_BUFFER_TYPE_SHARED 4 |
buffer from somewhere else, don't dealloc image (data/base), all other tables are not shared
Definition at line 522 of file avcodec.h.
Referenced by alloc_picture(), and free_picture().
| #define FF_BUFFER_TYPE_USER 2 |
Direct rendering buffers (image is (de)allocated by user).
Definition at line 521 of file avcodec.h.
Referenced by ff_mpeg_flush().
| #define FF_BUG_AC_VLC 0 |
| #define FF_BUG_AUTODETECT 1 |
autodetection
Definition at line 818 of file avcodec.h.
Referenced by avcodec_get_context_defaults(), decode_slice(), and ff_h263_decode_frame().
| #define FF_BUG_DC_CLIP 4096 |
Definition at line 831 of file avcodec.h.
Referenced by ff_h263_decode_frame(), and ff_mpeg4_pred_dc().
| #define FF_BUG_DIRECT_BLOCKSIZE 512 |
Definition at line 828 of file avcodec.h.
Referenced by ff_h263_decode_frame(), and ff_mpeg4_set_direct_mv().
| #define FF_BUG_EDGE 1024 |
Definition at line 829 of file avcodec.h.
Referenced by decode_vop_header(), and ff_h263_decode_frame().
| #define FF_BUG_HPEL_CHROMA 2048 |
| #define FF_BUG_MS 8192 |
| #define FF_BUG_NO_PADDING 16 |
Definition at line 822 of file avcodec.h.
Referenced by decode_slice(), ff_h263_decode_frame(), and mpeg4_is_resync().
| #define FF_BUG_QPEL_CHROMA 64 |
| #define FF_BUG_QPEL_CHROMA2 256 |
| #define FF_BUG_STD_QPEL 128 |
| #define FF_BUG_UMP4 8 |
Definition at line 821 of file avcodec.h.
Referenced by decode_vop_header(), and ff_h263_decode_frame().
| #define FF_BUG_XVID_ILACE 4 |
Definition at line 820 of file avcodec.h.
Referenced by ff_h263_decode_frame(), and ff_mpeg4_decode_mb().
| #define FF_CMP_BIT 5 |
| #define FF_CMP_CHROMA 256 |
Definition at line 1253 of file avcodec.h.
Referenced by check_bidir_mv(), ff_estimate_p_frame_motion(), ff_init_me(), and h263_mv4_search().
| #define FF_CMP_DCT 3 |
| #define FF_CMP_DCTMAX 13 |
| #define FF_CMP_NSSE 10 |
| #define FF_CMP_PSNR 4 |
| #define FF_CMP_RD 6 |
Definition at line 1245 of file avcodec.h.
Referenced by ff_set_cmp(), get_penalty_factor(), h263_mv4_search(), and interlaced_search().
| #define FF_CMP_SAD 0 |
Definition at line 1239 of file avcodec.h.
Referenced by encode(), ff_init_me(), ff_set_cmp(), and get_penalty_factor().
| #define FF_CMP_SATD 2 |
| #define FF_CMP_SSE 1 |
Definition at line 1240 of file avcodec.h.
Referenced by ff_estimate_p_frame_motion(), ff_set_cmp(), and get_penalty_factor().
| #define FF_CMP_VSAD 8 |
Definition at line 1247 of file avcodec.h.
Referenced by avcodec_get_context_defaults(), encode(), and ff_set_cmp().
| #define FF_CMP_VSSE 9 |
| #define FF_CMP_W53 11 |
| #define FF_CMP_W97 12 |
| #define FF_CMP_ZERO 7 |
| #define FF_CODER_TYPE_AC 1 |
| #define FF_COMPLIANCE_EXPERIMENTAL -2 |
allow non standarized experimental things
Definition at line 859 of file avcodec.h.
Referenced by encode_init().
| #define FF_COMPLIANCE_INOFFICIAL -1 |
| #define FF_COMPLIANCE_STRICT 1 |
| #define FF_COMPLIANCE_VERY_STRICT 2 |
| #define FF_DCT_ALTIVEC 5 |
Definition at line 1022 of file avcodec.h.
Referenced by dsputil_init_ppc(), and MPV_common_init_ppc().
| #define FF_DCT_AUTO 0 |
Definition at line 1017 of file avcodec.h.
Referenced by dsputil_init_mmx(), dsputil_init_ppc(), MPV_common_init_mlib(), MPV_common_init_mmx(), and MPV_common_init_ppc().
| #define FF_DCT_FAAN 6 |
| #define FF_DCT_FASTINT 1 |
| #define FF_DCT_MLIB 4 |
| #define FF_DCT_MMX 3 |
Definition at line 1020 of file avcodec.h.
Referenced by dsputil_init_mmx(), and MPV_common_init_mmx().
| #define FF_DEBUG_BUGS 0x00001000 |
| #define FF_DEBUG_DCT_COEFF 0x00000040 |
Definition at line 1174 of file avcodec.h.
Referenced by alloc_picture(), and MPV_decode_mb_internal().
| #define FF_DEBUG_ER 0x00000400 |
| #define FF_DEBUG_MB_TYPE 8 |
| #define FF_DEBUG_MMCO 0x00000800 |
Definition at line 1179 of file avcodec.h.
Referenced by execute_ref_pic_marking(), print_long_term(), print_short_term(), and remove_short().
| #define FF_DEBUG_MV 32 |
| #define FF_DEBUG_PICT_INFO 1 |
Definition at line 1168 of file avcodec.h.
Referenced by decode_ext_header(), decode_frame(), decode_init(), decode_picture_parameter_set(), decode_seq_parameter_set(), decode_slice_header(), decode_vol_header(), decode_vop_header(), ff_wmv2_decode_secondary_picture_header(), flv_h263_decode_picture_header(), h263_decode_picture_header(), mjpeg_decode_app(), mjpeg_decode_com(), mjpeg_decode_sos(), mpeg1_decode_picture(), mpeg1_decode_sequence(), mpeg_decode_gop(), mpeg_decode_picture_display_extension(), mpeg_decode_sequence_display_extension(), mpeg_decode_sequence_extension(), mpeg_decode_slice(), msmpeg4_decode_picture_header(), rv10_decode_init(), rv20_decode_picture_header(), svq3_decode_frame(), truemotion1_decode_header(), and vp3_decode_frame().
| #define FF_DEBUG_PTS 0x00000200 |
| #define FF_DEBUG_QP 16 |
Definition at line 1172 of file avcodec.h.
Referenced by ff_print_debug_info(), mjpeg_decode_frame(), and mjpegb_decode_frame().
| #define FF_DEBUG_RC 2 |
Definition at line 1169 of file avcodec.h.
Referenced by ff_rate_estimate_qscale(), ff_vbv_update(), and modify_qscale().
| #define FF_DEBUG_SKIP 0x00000080 |
| #define FF_DEBUG_STARTCODE 0x00000100 |
Definition at line 1176 of file avcodec.h.
Referenced by decode_nal_units(), ff_mpeg4_decode_picture_header(), mjpeg_decode_app(), mjpeg_decode_frame(), and mpeg_decode_frame().
| #define FF_DEBUG_VIS_MB_TYPE 0x00004000 |
Definition at line 1182 of file avcodec.h.
Referenced by ff_print_debug_info(), and MPV_common_init().
| #define FF_DEBUG_VIS_MV_B_BACK 0x00000004 |
| #define FF_DEBUG_VIS_MV_B_FOR 0x00000002 |
| #define FF_DEBUG_VIS_MV_P_FOR 0x00000001 |
| #define FF_DEBUG_VIS_QP 0x00002000 |
Definition at line 1181 of file avcodec.h.
Referenced by ff_print_debug_info(), and MPV_common_init().
| #define FF_DEFAULT_QUANT_BIAS 999999 |
Definition at line 1340 of file avcodec.h.
Referenced by avcodec_get_context_defaults(), and encode().
| #define FF_DTG_AFD_14_9 11 |
| #define FF_DTG_AFD_16_9 10 |
| #define FF_DTG_AFD_16_9_SP_14_9 14 |
| #define FF_DTG_AFD_4_3 9 |
| #define FF_DTG_AFD_4_3_SP_14_9 13 |
| #define FF_DTG_AFD_SAME 8 |
| #define FF_DTG_AFD_SP_4_3 15 |
| #define FF_EC_DEBLOCK 2 |
| #define FF_EC_GUESS_MVS 1 |
| #define FF_ER_AGGRESSIVE 3 |
| #define FF_ER_COMPLIANT 2 |
Definition at line 878 of file avcodec.h.
Referenced by h263_decode_block(), mpeg1_decode_picture(), and mpeg4_decode_block().
| #define FF_I_TYPE 1 |
Definition at line 526 of file avcodec.h.
Referenced by decode_frame(), encode_frame(), ff_print_debug_info(), ff_xvid_encode_frame(), output_picture2(), pam_encode_frame(), pnm_decode_frame(), pnm_encode_frame(), raw_init_decoder(), raw_init_encoder(), and X264_frame().
| #define FF_IDCT_ALTIVEC 8 |
Definition at line 1078 of file avcodec.h.
Referenced by dsputil_init_ppc(), and MPV_common_init_ppc().
| #define FF_IDCT_ARM 7 |
| #define FF_IDCT_AUTO 0 |
Definition at line 1070 of file avcodec.h.
Referenced by dsputil_init(), dsputil_init_armv4l(), dsputil_init_mmi(), dsputil_init_mmx(), dsputil_init_ppc(), dsputil_init_sh4(), ff_h263_decode_frame(), MPV_common_init_mlib(), MPV_common_init_ppc(), vcr2_init_sequence(), and vp3_decode_init().
| #define FF_IDCT_INT 1 |
| #define FF_IDCT_IPP 13 |
| #define FF_IDCT_LIBMPEG2MMX 4 |
Definition at line 1074 of file avcodec.h.
Referenced by dsputil_init_mmx(), and ff_h263_decode_frame().
| #define FF_IDCT_MLIB 6 |
| #define FF_IDCT_PS2 5 |
| #define FF_IDCT_SH4 9 |
| #define FF_IDCT_SIMPLE 2 |
| #define FF_IDCT_SIMPLEARM 10 |
| #define FF_IDCT_SIMPLEMMX 3 |
| #define FF_IDCT_VP3 12 |
Definition at line 1082 of file avcodec.h.
Referenced by dsputil_init(), dsputil_init_mmx(), render_fragments(), render_slice(), and vp3_decode_init().
| #define FF_INPUT_BUFFER_PADDING_SIZE 8 |
Required number of additionally allocated bytes at the end of the input bitstream for decoding. this is mainly needed because some optimized bitstream readers read 32 or 64 bit at once and could read over the end
Note, if the first 23 bits of the additional bytes are not 0 then damaged MPEG bitstreams could cause overread and segfault
Definition at line 263 of file avcodec.h.
Referenced by audio_decode_example(), av_parser_change(), av_parser_parse(), decode_frame(), decode_i_frame(), decode_p_frame(), ff_combine_frame(), ff_h263_decode_frame(), mjpeg_decode_frame(), and video_decode_example().
| #define FF_LAMBDA_MAX (256*128-1) |
Definition at line 1372 of file avcodec.h.
Referenced by get_qminmax(), opt_mb_lmax(), and opt_mb_lmin().
| #define FF_LAMBDA_SCALE (1<<FF_LAMBDA_SHIFT) |
| #define FF_LAMBDA_SHIFT 7 |
Definition at line 1369 of file avcodec.h.
Referenced by encode_frame(), encode_q_branch(), and get_penalty_factor().
| #define FF_LEVEL_UNKNOWN -99 |
Definition at line 1624 of file avcodec.h.
Referenced by avcodec_get_context_defaults(), and encode().
| #define FF_LOSS_ALPHA 0x0008 |
Definition at line 2086 of file avcodec.h.
Referenced by avcodec_find_best_pix_fmt(), and avcodec_get_pix_fmt_loss().
| #define FF_LOSS_CHROMA 0x0020 |
| #define FF_LOSS_COLORQUANT 0x0010 |
Definition at line 2087 of file avcodec.h.
Referenced by avcodec_find_best_pix_fmt(), and avcodec_get_pix_fmt_loss().
| #define FF_LOSS_COLORSPACE 0x0004 |
Definition at line 2085 of file avcodec.h.
Referenced by avcodec_find_best_pix_fmt(), and avcodec_get_pix_fmt_loss().
| #define FF_LOSS_DEPTH 0x0002 |
Definition at line 2084 of file avcodec.h.
Referenced by avcodec_find_best_pix_fmt(), and avcodec_get_pix_fmt_loss().
| #define FF_LOSS_RESOLUTION 0x0001 |
Definition at line 2083 of file avcodec.h.
Referenced by avcodec_find_best_pix_fmt(), and avcodec_get_pix_fmt_loss().
| #define FF_MAX_B_FRAMES 8 |
| #define FF_MB_DECISION_BITS 1 |
chooses the one which needs the fewest bits
Definition at line 1423 of file avcodec.h.
Referenced by parse_ffconfig().
| #define FF_MB_DECISION_SIMPLE 0 |
uses mb_cmp
Definition at line 1422 of file avcodec.h.
Referenced by encode(), ff_estimate_b_frame_motion(), and ff_estimate_p_frame_motion().
| #define FF_MIN_BUFFER_SIZE 16384 |
minimum encoding buffer size. used to avoid some checks during header writing
Definition at line 269 of file avcodec.h.
Referenced by avcodec_encode_audio(), and avcodec_encode_video().
| #define FF_MM_FORCE 0x80000000 |
Definition at line 1116 of file avcodec.h.
Referenced by dsputil_init_iwmmxt(), and dsputil_init_mmx().
| #define FF_OPT_TYPE_BOOL 1 |
| #define FF_OPT_TYPE_MASK 0x1f |
| #define FF_OPT_TYPE_RCOVERRIDE (FF_OPT_TYPE_STRING | 0x80) |
| #define FF_P_TYPE 2 |
Definition at line 527 of file avcodec.h.
Referenced by decode_frame(), encode_frame(), ff_print_debug_info(), ff_xvid_encode_frame(), and X264_frame().
| #define FF_PROFILE_UNKNOWN -99 |
Definition at line 1616 of file avcodec.h.
Referenced by avcodec_get_context_defaults(), and encode().
| #define FF_QP2LAMBDA 118 |
factor to convert from H.263 QP to lambda
Definition at line 1371 of file avcodec.h.
Referenced by avcodec_get_context_defaults(), do_video_stats(), encode(), encode_frame(), ff_rate_control_init(), ff_rate_estimate_qscale(), ff_xvid_encode_frame(), get_diff_limited_q(), mjpeg_decode_frame(), mjpegb_decode_frame(), new_video_stream(), opt_lmax(), opt_lmin(), opt_mb_lmax(), opt_mb_lmin(), print_report(), X264_frame(), and X264_init().
| #define FF_QSCALE_TYPE_MPEG2 1 |
| #define FF_QUALITY_SCALE FF_LAMBDA_SCALE |
| #define FF_S_TYPE 4 |
Definition at line 529 of file avcodec.h.
Referenced by ff_print_debug_info(), and ff_xvid_encode_frame().
| #define FF_SI_TYPE 5 |
| #define FF_SP_TYPE 6 |
| #define FFMPEG_VERSION "CVS" |
Definition at line 19 of file avcodec.h.
Referenced by show_banner(), show_help(), and show_version().
| #define LE_16 | ( | x | ) | ((((uint8_t*)(x))[1] << 8) | ((uint8_t*)(x))[0]) |
Definition at line 2328 of file avcodec.h.
Referenced by adpcm_decode_frame(), decode_format80(), dpcm_decode_frame(), flic_decode_frame(), flic_decode_init(), msvideo1_decode_16bit(), truemotion1_decode_header(), vmd_decode(), vqa_decode_init(), ws_snd_decode_frame(), and xan_wc3_decode_frame().
| #define LE_32 | ( | x | ) |
Value:
((((uint8_t*)(x))[3] << 24) | \
(((uint8_t*)(x))[2] << 16) | \
(((uint8_t*)(x))[1] << 8) | \
((uint8_t*)(x))[0])
Definition at line 2329 of file avcodec.h.
Referenced by adpcm_decode_frame(), decode_frame(), decode_init(), flic_decode_frame(), lz_unpack(), vmdaudio_decode_frame(), and vmdvideo_decode_init().
| #define LIBAVCODEC_BUILD 4759 |
| #define LIBAVCODEC_IDENT "FFmpeg" LIBAVCODEC_VERSION "b" AV_STRINGIFY(LIBAVCODEC_BUILD) |
| #define LIBAVCODEC_VERSION_INT FFMPEG_VERSION_INT |
| #define MB_TYPE_16x16 0x0008 |
Definition at line 387 of file avcodec.h.
Referenced by decode_mb_cabac(), decode_mb_cavlc(), decode_mb_skip(), ff_er_frame_end(), ff_h263_decode_mb(), ff_h263_update_motion_val(), ff_mpeg4_decode_mb(), ff_mpeg4_set_direct_mv(), h261_decode_mb(), h261_decode_mb_skipped(), mpeg4_decode_partition_a(), mpeg_decode_mb(), msmpeg4v34_decode_mb(), parse_mb_skip(), pred_direct_motion(), preview_obmc(), and svq3_decode_mb().
| #define MB_TYPE_16x8 0x0010 |
Definition at line 388 of file avcodec.h.
Referenced by decode_mb_cabac(), decode_mb_cavlc(), ff_mpeg4_decode_mb(), ff_mpeg4_set_direct_mv(), and mpeg_decode_mb().
| #define MB_TYPE_8x8 0x0040 |
Definition at line 390 of file avcodec.h.
Referenced by ff_h263_decode_mb(), ff_h263_update_motion_val(), ff_mpeg4_decode_mb(), ff_mpeg4_set_direct_mv(), mpeg4_decode_partition_a(), pred_direct_motion(), and preview_obmc().
| #define MB_TYPE_ACPRED 0x0200 |
Definition at line 393 of file avcodec.h.
Referenced by ff_h263_decode_mb(), ff_mpeg4_decode_mb(), and mpeg4_decode_partition_b().
| #define MB_TYPE_CBP 0x00020000 |
| #define MB_TYPE_DIRECT2 0x0100 |
Definition at line 392 of file avcodec.h.
Referenced by decode_mb_skip(), ff_mpeg4_decode_mb(), ff_mpeg4_set_direct_mv(), and pred_direct_motion().
| #define MB_TYPE_GMC 0x0400 |
Definition at line 394 of file avcodec.h.
Referenced by ff_mpeg4_decode_mb(), and mpeg4_decode_partition_a().
| #define MB_TYPE_INTERLACED 0x0080 |
Definition at line 391 of file avcodec.h.
Referenced by decode_mb_cabac(), decode_mb_cavlc(), decode_mb_skip(), ff_mpeg4_decode_mb(), ff_mpeg4_set_direct_mv(), and mpeg_decode_mb().
| #define MB_TYPE_INTRA16x16 0x0002 |
| #define MB_TYPE_INTRA4x4 0x0001 |
| #define MB_TYPE_L0 (MB_TYPE_P0L0 | MB_TYPE_P1L0) |
Definition at line 400 of file avcodec.h.
Referenced by ff_er_frame_end(), ff_h263_decode_mb(), ff_h263_update_motion_val(), ff_mpeg4_decode_mb(), h261_decode_mb(), h261_decode_mb_skipped(), mpeg4_decode_partition_a(), mpeg_decode_mb(), msmpeg4v34_decode_mb(), parse_mb_skip(), and preview_obmc().
| #define MB_TYPE_L0L1 (MB_TYPE_L0 | MB_TYPE_L1) |
Definition at line 402 of file avcodec.h.
Referenced by ff_mpeg4_decode_mb(), ff_mpeg4_set_direct_mv(), mpeg_decode_mb(), and pred_direct_motion().
| #define MB_TYPE_P0L0 0x1000 |
| #define MB_TYPE_P0L1 0x4000 |
| #define MB_TYPE_P1L0 0x2000 |
| #define MB_TYPE_QUANT 0x00010000 |
| #define MB_TYPE_SKIP 0x0800 |
Definition at line 395 of file avcodec.h.
Referenced by decode_mb_skip(), ff_h263_decode_mb(), ff_mpeg4_decode_mb(), h261_decode_mb_skipped(), mpeg4_decode_partition_a(), mpeg_decode_mb(), msmpeg4v34_decode_mb(), parse_mb_skip(), preview_obmc(), and svq3_decode_mb().
| #define PCM_CODEC | ( | id, | |||
| name | ) |
| #define SLICE_FLAG_ALLOW_FIELD 0x0002 |
allow draw_horiz_band() with field slices (MPEG2 field pics)
Definition at line 1406 of file avcodec.h.
Referenced by ff_draw_horiz_band().
| #define SLICE_FLAG_ALLOW_PLANE 0x0004 |
| #define SLICE_FLAG_CODED_ORDER 0x0001 |
draw_horiz_band() is called in coded order instead of display
Definition at line 1405 of file avcodec.h.
Referenced by ff_draw_horiz_band().
| typedef struct ImgReSampleContext ImgReSampleContext |
| typedef struct ReSampleContext ReSampleContext |
| enum AVDiscard |
| enum AVRounding |
| enum CodecID |
| enum CodecType |
| enum Motion_Est_ID |
| enum PixelFormat |
Pixel format. Notes:
PIX_FMT_RGBA32 is handled in an endian-specific manner. A RGBA color is put together as: (A << 24) | (R << 16) | (G << 8) | B This is stored as BGRA on little endian CPU architectures and ARGB on big endian CPUs.
When the pixel format is palettized RGB (PIX_FMT_PAL8), the palettized image data is stored in AVFrame.data[0]. The palette is transported in AVFrame.data[1] and, is 1024 bytes long (256 4-byte entries) and is formatted the same as in PIX_FMT_RGBA32 described above (i.e., it is also endian-specific). Note also that the individual RGB palette components stored in AVFrame.data[1] should be in the range 0..255. This is important as many custom PAL8 video codecs that were designed to run on the IBM VGA graphics adapter use 6-bit palette components.
| PIX_FMT_NONE | |
| PIX_FMT_YUV420P | Planar YUV 4:2:0 (1 Cr & Cb sample per 2x2 Y samples). |
| PIX_FMT_YUV422 | Packed pixel, Y0 Cb Y1 Cr. |
| PIX_FMT_RGB24 | Packed pixel, 3 bytes per pixel, RGBRGB... |
| PIX_FMT_BGR24 | Packed pixel, 3 bytes per pixel, BGRBGR... |
| PIX_FMT_YUV422P | Planar YUV 4:2:2 (1 Cr & Cb sample per 2x1 Y samples). |
| PIX_FMT_YUV444P | Planar YUV 4:4:4 (1 Cr & Cb sample per 1x1 Y samples). |
| PIX_FMT_RGBA32 | Packed pixel, 4 bytes per pixel, BGRABGRA..., stored in cpu endianness. |
| PIX_FMT_YUV410P | Planar YUV 4:1:0 (1 Cr & Cb sample per 4x4 Y samples). |
| PIX_FMT_YUV411P | Planar YUV 4:1:1 (1 Cr & Cb sample per 4x1 Y samples). |
| PIX_FMT_RGB565 | always stored in cpu endianness |
| PIX_FMT_RGB555 | always stored in cpu endianness, most significant bit to 1 |
| PIX_FMT_GRAY8 | |
| PIX_FMT_MONOWHITE | 0 is white |
| PIX_FMT_MONOBLACK | 0 is black |
| PIX_FMT_PAL8 | 8 bit with RGBA palette |
| PIX_FMT_YUVJ420P | Planar YUV 4:2:0 full scale (jpeg). |
| PIX_FMT_YUVJ422P | Planar YUV 4:2:2 full scale (jpeg). |
| PIX_FMT_YUVJ444P | Planar YUV 4:4:4 full scale (jpeg). |
| PIX_FMT_XVMC_MPEG2_MC | XVideo Motion Acceleration via common packet passing(xvmc_render.h). |
| PIX_FMT_XVMC_MPEG2_IDCT | |
| PIX_FMT_UYVY422 | Packed pixel, Cb Y0 Cr Y1. |
| PIX_FMT_UYVY411 | Packed pixel, Cb Y0 Y1 Cr Y2 Y3. |
| PIX_FMT_NB |
| enum SampleFormat |
| int audio_resample | ( | ReSampleContext * | s, | |
| short * | output, | |||
| short * | input, | |||
| int | nb_samples | |||
| ) |
Definition at line 169 of file resample.c.
References ac3_5p1_mux(), av_free(), av_malloc(), av_realloc(), av_resample(), ReSampleContext::filter_channels, ReSampleContext::input_channels, memcpy, mono_to_stereo(), ReSampleContext::output_channels, ReSampleContext::ratio, ReSampleContext::resample_context, stereo_mux(), stereo_split(), stereo_to_mono(), ReSampleContext::temp, and ReSampleContext::temp_len.
Referenced by do_audio_out().

| void audio_resample_close | ( | ReSampleContext * | s | ) |
Definition at line 241 of file resample.c.
References av_free(), av_freep(), av_resample_close(), ReSampleContext::resample_context, and ReSampleContext::temp.
Referenced by av_encode().

| ReSampleContext* audio_resample_init | ( | int | output_channels, | |
| int | input_channels, | |||
| int | output_rate, | |||
| int | input_rate | |||
| ) |
Definition at line 127 of file resample.c.
References av_log(), AV_LOG_ERROR, av_mallocz(), av_resample_init(), ReSampleContext::filter_channels, ReSampleContext::input_channels, NULL, ReSampleContext::output_channels, ReSampleContext::ratio, ReSampleContext::resample_context, and s.
Referenced by av_encode().

| void* av_fast_realloc | ( | void * | ptr, | |
| unsigned int * | size, | |||
| unsigned int | min_size | |||
| ) |
realloc which does nothing if the block is large enough
Definition at line 101 of file utils.c.
References av_realloc().
Referenced by allocate_buffers(), av_mallocz_static(), avcodec_default_get_buffer(), decode_frame(), decode_i_frame(), decode_nal(), decode_p_frame(), ff_combine_frame(), ff_h263_decode_frame(), flac_decode_frame(), output_packet(), and shorten_decode_frame().

| void av_free | ( | void * | ptr | ) |
Definition at line 121 of file mem.c.
Referenced by alac_decode_close(), alloc_picture(), audio_decode_example(), audio_encode_example(), audio_resample(), audio_resample_close(), av_encode(), av_freep(), av_parser_close(), av_parser_init(), avcodec_thread_free(), avcodec_thread_init(), avpicture_free(), close_audio(), close_connection(), close_video(), decode_close_mp3on4(), decode_dvd_subtitles(), decode_end(), deinterlace_bottom_field_inplace(), delete_region_display_list(), delete_state(), do_video_out(), dvbsub_close_decoder(), dvbsub_parse_page_segment(), dvbsub_parse_region_segment(), dvvideo_init(), encode_end(), ff_parse_close(), ff_xvid_encode_close(), free_vlc(), http_parse_request(), img_resample_close(), img_resample_full_init(), init_pass2(), init_vlc(), iv_free_func(), main(), mjpeg_decode_com(), mjpeg_decode_end(), mjpeg_decode_frame(), modified_levinson_durbin(), new_audio_stream(), new_connection(), opt_new_subtitle_stream(), output_packet(), packet_queue_get(), parse1_close(), pcm_encode_close(), pre_process_video_frame(), prepare_sdp_description(), rtp_new_av_stream(), rtp_new_connection(), slice_buffer_destroy(), sonic_decode_close(), sp5x_decode_frame(), stream_open(), truemotion1_decode_end(), video_decode_example(), video_encode_example(), video_thread(), vmdvideo_decode_end(), vorbis_free(), vorbis_parse_setup_hdr_codebooks(), vp3_decode_end(), vqa_decode_end(), wma_decode_end(), and xan_decode_end().
| void av_free_static | ( | void | ) |
free all static arrays and reset pointers to 0.
Definition at line 156 of file utils.c.
References array_static, av_freep(), and last_static.
Referenced by main().

| void av_freep | ( | void * | arg | ) |
Frees memory and sets the pointer to NULL.
| arg | pointer to the pointer which should be freed |
Definition at line 168 of file utils.c.
References av_free(), and NULL.
Referenced by AC3_encode_close(), amr_nb_encode_close(), audio_resample_close(), av_encode(), av_free_static(), av_resample_close(), avcodec_close(), avcodec_default_free_buffers(), avcodec_open(), avcodec_thread_free(), build_feed_streams(), close_connection(), common_end(), decode_dvd_subtitles(), decode_end(), dvbsub_parse_close(), dvdsub_parse(), dvdsub_parse_close(), encode_end(), extract_mpeg4_header(), Faac_encode_close(), ff_fft_end(), ff_fft_init(), ff_mdct_end(), ff_mdct_init(), ff_rate_control_uninit(), find_smallest_bouding_rectangle(), flac_decode_close(), free_bitplane(), free_duplicate_context(), free_picture(), free_tables(), g726_close(), handle_connection(), http_prepare_data(), http_receive_data(), http_send_data(), main(), mjpeg_decode_sof(), MP3lame_encode_close(), MPA_encode_close(), MPV_common_end(), oggvorbis_encode_close(), output_packet(), packet_queue_flush(), parse_ffconfig(), pcm_encode_close(), raw_close_decoder(), shorten_decode_close(), vc9_decode_end(), and vorbis_free().

| char av_get_pict_type_char | ( | int | pict_type | ) |
returns a single letter to describe the picture type
Definition at line 938 of file utils.c.
References B_TYPE, I_TYPE, P_TYPE, S_TYPE, SI_TYPE, and SP_TYPE.
Referenced by decode_mb_cavlc(), decode_slice_header(), do_video_stats(), ff_rate_estimate_qscale(), flv_h263_decode_picture_header(), h263_decode_picture_header(), and svq3_decode_frame().
| void av_log | ( | void * | , | |
| int | level, | |||
| const char * | fmt, | |||
| ... | ||||
| ) |
Definition at line 1074 of file utils.c.
References av_vlog().
Referenced by a52_decode_frame(), a52_resample_init(), aasc_decode_frame(), adpcm_decode_frame(), alac_decode_frame(), alloc_picture(), amr_nb_decode_init(), amr_nb_encode_init(), asv1_decode_block(), audio_resample_init(), av_resample(), avcodec_check_dimensions(), avcodec_close(), avcodec_encode_audio(), avcodec_encode_video(), avcodec_open(), bitplane_decoding(), bits2qp(), build_table(), check_diff(), check_input_motion(), check_intra4x4_pred_mode(), check_intra_pred_mode(), check_marker(), cinepak_decode_frame(), compute_bit_allocation(), compute_exp_strategy(), copy_picture_attributes(), cyuv_decode_frame(), decode_b_picture_primary_header(), decode_b_picture_secondary_header(), decode_dc(), decode_dvd_subtitles(), decode_ext_header(), decode_format80(), decode_frame(), decode_header(), decode_i_block(), decode_i_frame(), decode_i_picture_primary_header(), decode_i_picture_secondary_header(), decode_init(), decode_init_mp3on4(), decode_mb_cabac(), decode_mb_cavlc(), decode_nal_units(), decode_p_frame(), decode_p_picture_primary_header(), decode_p_picture_secondary_header(), decode_picture_parameter_set(), decode_ref_pic_list_reordering(), decode_ref_pic_marking(), decode_residual(), decode_residuals(), decode_rle(), decode_seq_parameter_set(), decode_sequence_header(), decode_slice(), decode_slice_header(), decode_subframe(), decode_subframe_fixed(), decode_subframe_lpc(), decode_vol_header(), decode_vop_header(), decode_vui_parameters(), decode_wave_header(), delete_state(), dpcm_decode_init(), dsputil_init(), dsputil_init_mmx(), dts_decode_frame(), dump_headers(), dv_decode_video_segment(), dvbsub_decode(), dvbsub_parse(), dvbsub_parse_clut_segment(), dvbsub_parse_object_segment(), dvbsub_parse_page_segment(), dvbsub_parse_pixel_data_block(), dvbsub_parse_region_segment(), dvbsub_read_2bit_string(), dvbsub_read_4bit_string(), dvbsub_read_8bit_string(), dvdsub_decode(), dvvideo_decode_frame(), encode_422_bitstream(), encode_blocks(), encode_exp(), encode_frame(), encode_gray_bitstream(), encode_init(), encode_line(), encode_mb(), encode_subband_c0run(), evalPrimary(), execute_ref_pic_marking(), faac_decode_frame(), faac_decode_init(), Faac_encode_init(), faac_init_mp4(), ff_build_rac_states(), ff_er_frame_end(), ff_h263_decode_frame(), ff_h263_decode_mb(), ff_mpeg4_decode_mb(), ff_mpeg4_decode_partitions(), ff_mpeg4_decode_picture_header(), ff_mpeg4_pred_dc(), ff_print_debug_info(), ff_rate_control_init(), ff_rate_estimate_qscale(), ff_set_cmp(), ff_spatial_idwt_buffered_init(), ff_vbv_update(), ff_wmv2_decode_picture_header(), ff_wmv2_decode_secondary_picture_header(), ff_xvid_encode_frame(), ff_xvid_encode_init(), flac_decode_frame(), flic_decode_frame(), flic_decode_init(), flv_h263_decode_picture_header(), frame_start(), g726_init(), generate_bits_table(), get_level_prefix(), h261_decode_block(), h261_decode_frame(), h261_decode_gob(), h261_decode_mb(), h261_decode_picture_header(), h263_decode_block(), h263_decode_picture_header(), help(), idcin_decode_frame(), idcin_decode_init(), idcin_decode_vlcs(), indeo3_decode_frame(), init_offset(), init_pass2(), intel_h263_decode_picture_header(), ipvideo_decode_block_opcode_0x6(), ipvideo_decode_frame(), ipvideo_decode_init(), ipvideo_decode_opcodes(), ir2_decode_frame(), iv_Decode_Chunk(), main(), mdec_decode_block_intra(), mjpeg_decode_app(), mjpeg_decode_com(), mjpeg_decode_frame(), mjpeg_decode_init(), mjpeg_decode_sof(), mjpeg_decode_sos(), mjpegb_decode_frame(), mm_support(), modify_qscale(), MP3lame_encode_frame(), MPA_encode_init(), 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_partition_a(), mpeg4_decode_partition_b(), mpeg4_decode_partitioned_mb(), mpeg4_decode_video_packet_header(), mpeg_decode_frame(), mpeg_decode_gop(), mpeg_decode_mb(), mpeg_decode_picture_display_extension(), mpeg_decode_sequence_display_extension(), mpeg_decode_sequence_extension(), mpeg_decode_slice(), mpeg_field_start(), mpeg_motion(), MPV_common_init(), MPV_common_init_ppc(), MPV_frame_start(), msmpeg4_decode_block(), msmpeg4_decode_dc(), msmpeg4_decode_ext_header(), msmpeg4_decode_motion(), msmpeg4_decode_picture_header(), msmpeg4v12_decode_mb(), msmpeg4v34_decode_mb(), msrle_decode_frame(), msrle_decode_pal4(), msrle_decode_pal8(), msvideo1_decode_frame(), oggvorbis_decode_init(), oggvorbis_encode_init(), output_audio_block(), pam_encode_frame(), pnm_decode_frame(), pnm_encode_frame(), print_long_term(), print_short_term(), qp2bits(), qtrle_decode_frame(), qtrle_decode_init(), ra288_decode_frame(), read_header(), read_huffman_tables(), read_huffman_tree(), remove_short(), render_fragments(), render_slice(), roq_decode_frame(), roqvideo_decode_frame(), rpza_decode_frame(), rpza_decode_stream(), rv10_decode_init(), rv10_decode_packet(), rv10_decode_picture_header(), rv20_decode_picture_header(), rv_decode_dc(), shorten_decode_frame(), smc_decode_frame(), smc_decode_stream(), sonic_decode_init(), standard_decode_picture_primary_header(), svq1_decode_block_intra(), svq1_decode_block_non_intra(), svq1_decode_delta_block(), svq1_decode_frame(), svq1_decode_frame_header(), svq1_motion_inter_4v_block(), svq1_motion_inter_block(), svq3_decode_frame(), svq3_decode_mb(), svq3_decode_slice_header(), svq3_mc_dir(), theora_decode_header(), Theora_decode_init(), theora_decode_tables(), truemotion1_decode_frame(), truemotion1_decode_header(), ulti_decode_frame(), unpack_modes(), unpack_superblocks(), unpack_token(), unpack_vectors(), unpack_vlcs(), vc9_decode_block(), vc9_decode_frame(), vc9_decode_i_mb(), vc9_decode_init(), vc9_init_common(), vmd_decode()