#include "avcodec.h"
Go to the source code of this file.
Functions | |
void | av_destruct_packet_nofree (AVPacket *pkt) |
void | av_destruct_packet (AVPacket *pkt) |
Default packet destructor. | |
void | av_init_packet (AVPacket *pkt) |
Initialize optional fields of a packet with default values. | |
int | av_new_packet (AVPacket *pkt, int size) |
Allocate the payload of a packet and initialize its fields with default values. | |
void | av_shrink_packet (AVPacket *pkt, int size) |
Reduce packet size, correctly zeroing padding. | |
int | av_dup_packet (AVPacket *pkt) |
void | av_free_packet (AVPacket *pkt) |
Free a packet. |
void av_destruct_packet | ( | AVPacket * | pkt | ) |
Default packet destructor.
Definition at line 30 of file avpacket.c.
Referenced by av_dup_packet(), av_new_packet(), matroska_merge_packets(), new_pes_packet(), output_packet(), vfw_read_close(), and write_frame().
void av_destruct_packet_nofree | ( | AVPacket * | pkt | ) |
Definition at line 25 of file avpacket.c.
Referenced by av_dup_packet().
int av_dup_packet | ( | AVPacket * | pkt | ) |
Definition at line 74 of file avpacket.c.
Referenced by av_find_stream_info(), av_read_frame(), ff_interleave_add_packet(), and packet_queue_put().
void av_free_packet | ( | AVPacket * | pkt | ) |
Free a packet.
pkt | packet to free |
Definition at line 93 of file avpacket.c.
Referenced by amr_read_packet(), asf_read_pts(), asf_reset_header(), asfrtp_parse_packet(), audio_decode_frame(), audio_read_packet(), av_close_input_stream(), av_estimate_timings_from_pts(), av_get_packet(), av_interleaved_write_frame(), av_read_frame_internal(), av_seek_frame_generic(), av_transcode(), av_write_trailer(), avs_read_video_packet(), cin_read_packet(), decode_thread(), dxa_read_packet(), extract_mpeg4_header(), ff_asf_parse_packet(), ff_free_parser_state(), ff_read_frame_flush(), ff_rm_free_rmstream(), ffm_read_packet(), flic_read_packet(), flush_packet_queue(), fourxm_read_packet(), free_packet_list(), free_pkt_fifo(), http_prepare_data(), img_read_packet(), load_ipmovie_packet(), main(), matroska_clear_queue(), mmf_read_packet(), mpc_read_packet(), mpc_read_seek(), mpegts_raw_read_packet(), mxf_interleave_get_packet(), nc_read_packet(), nsv_read_close(), nuv_packet(), output_packet(), packet_queue_flush(), read_packet(), rl2_read_packet(), rm_assemble_video_frame(), rm_read_packet(), rpl_read_packet(), search_hi_lo_keyframes(), str_read_close(), str_read_packet(), subtitle_thread(), thp_read_packet(), vid_read_packet(), video_thread(), vmd_read_packet(), vqf_read_packet(), write_frame(), wsvqa_read_packet(), wv_read_packet(), wv_read_seek(), yop_read_close(), yop_read_packet(), and yop_read_seek().
void av_init_packet | ( | AVPacket * | pkt | ) |
Initialize optional fields of a packet with default values.
pkt | packet |
Definition at line 36 of file avpacket.c.
Referenced by audio_decode_example(), av_interleave_packet_per_dts(), av_new_packet(), av_read_frame_internal(), av_read_packet(), avcodec_decode_audio2(), avcodec_decode_subtitle(), avcodec_decode_video(), avi_write_packet(), dc1394_read_common(), decode_thread(), do_audio_out(), do_subtitle_out(), do_video_out(), dv_extract_audio_info(), dv_produce_packet(), ff_mov_add_hinted_packet(), ff_store_parser_state(), main(), mxf_interleave_get_packet(), new_pes_packet(), output_packet(), sp5x_decode_frame(), v4l2_read_packet(), video_decode_example(), write_audio_frame(), and write_video_frame().
int av_new_packet | ( | AVPacket * | pkt, | |
int | size | |||
) |
Allocate the payload of a packet and initialize its fields with default values.
pkt | packet | |
size | wanted payload size |
Definition at line 48 of file avpacket.c.
Referenced by amr_handle_packet(), amr_read_packet(), ape_read_packet(), audio_read_packet(), av_get_packet(), avisynth_read_packet(), avs_read_video_packet(), cin_read_packet(), decode_frame(), dxa_read_packet(), ff_asf_parse_packet(), ff_interleave_new_audio_packet(), ff_rm_retrieve_cache(), ffm_read_packet(), film_read_packet(), flic_read_packet(), fourxm_read_packet(), grab_read_packet(), h263_handle_packet(), h264_handle_packet(), iff_read_packet(), img_read_packet(), load_ipmovie_packet(), matroska_parse_block(), mmf_read_packet(), mpc_read_packet(), mpegps_read_packet(), mpegts_raw_read_packet(), mxf_get_d10_aes3_packet(), nut_read_packet(), nuv_packet(), ogg_read_packet(), read_frame(), read_packet(), rm_assemble_video_frame(), rm_read_audio_stream_info(), roq_read_packet(), rtp_parse_packet(), seq_read_packet(), siff_read_packet(), smacker_read_packet(), str_read_packet(), supply_new_packets(), swf_read_packet(), v4l2_read_packet(), videostream_cb(), vmd_read_packet(), vqf_read_packet(), wsvqa_read_packet(), wv_read_packet(), x11grab_read_packet(), xiph_handle_packet(), and yop_read_packet().
void av_shrink_packet | ( | AVPacket * | pkt, | |
int | size | |||
) |
Reduce packet size, correctly zeroing padding.
pkt | packet | |
size | new size |
Definition at line 67 of file avpacket.c.
Referenced by av_get_packet(), cin_read_packet(), nuv_packet(), and yop_read_packet().