#include "avcodec.h"

Go to the source code of this file.
Functions | |
| void * | av_malloc (unsigned int size) |
| void * | av_realloc (void *ptr, unsigned int size) |
| void | av_free (void *ptr) |
| 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_malloc | ( | unsigned int | size | ) |
Memory allocation of size byte with alignment suitable for all memory accesses (including vectors if available on the CPU). av_malloc(0) must return a non NULL pointer.
Definition at line 45 of file mem.c.
References memalign, and NULL.
Referenced by alloc_bitplane(), alloc_temp(), allocate_buffers(), audio_resample(), av_encode(), av_mallocz(), av_parser_change(), av_realloc(), av_strdup(), avcodec_alloc_context(), avcodec_alloc_frame(), avcodec_default_get_buffer(), avpicture_alloc(), build_modpred(), decode_dvd_subtitles(), decode_init(), deinterlace_bottom_field_inplace(), do_audio_out(), do_subtitle_out(), do_video_out(), dvbsub_display_end_segment(), dvbsub_parse_clut_segment(), dvbsub_parse_init(), dvbsub_parse_region_segment(), dvdsub_parse(), dvvideo_init(), encode_init(), extract_mpeg4_header(), ff_fft_init(), ff_mdct_init(), ff_xvid_encode_init(), fft_ref_init(), find_smallest_bouding_rectangle(), frame_start(), init_2d_vlc_rl(), init_coef_vlc(), init_pass2(), init_rl(), init_vlc_rl(), iv_alloc_frames(), main(), mjpeg_decode_com(), mjpeg_decode_frame(), MPV_common_init(), new_connection(), packet_queue_put(), parse_ffconfig(), pcm_encode_init(), pre_process_video_frame(), raw_init_decoder(), read_header(), rtp_new_connection(), slice_buffer_init(), truemotion1_decode_init(), vc9_decode_init(), vmdvideo_decode_init(), vorbis_parse_id_hdr(), vp3_decode_init(), vqa_decode_init(), wma_decode_init(), xan_decode_init(), and xvid_strip_vol_header().
| void* av_realloc | ( | void * | ptr, | |
| unsigned int | size | |||
| ) |
av_realloc semantics (same as glibc): if ptr is NULL and size > 0, identical to malloc(size). If size is zero, it is identical to free(ptr) and NULL is returned.
Definition at line 100 of file mem.c.
References av_malloc(), and NULL.
Referenced by alloc_table(), allocate_buffers(), audio_resample(), av_fast_realloc(), av_realloc_static(), do_audio_out(), iv_alloc_frames(), new_video_stream(), and oggvorbis_encode_init().

1.5.5