FFmpeg
|
Go to the source code of this file.
Data Structures | |
struct | PacketList |
Functions | |
int | avpriv_packet_list_put (PacketList **head, PacketList **tail, AVPacket *pkt, int(*copy)(AVPacket *dst, const AVPacket *src), int flags) |
Append an AVPacket to the list. More... | |
int | avpriv_packet_list_get (PacketList **head, PacketList **tail, AVPacket *pkt) |
Remove the oldest AVPacket in the list and return it. More... | |
void | avpriv_packet_list_free (PacketList **head, PacketList **tail) |
Wipe the list and unref all the packets in it. More... | |
int | ff_side_data_set_encoder_stats (AVPacket *pkt, int quality, int64_t *error, int error_count, int pict_type) |
int | ff_side_data_set_prft (AVPacket *pkt, int64_t timestamp) |
int avpriv_packet_list_put | ( | PacketList ** | head, |
PacketList ** | tail, | ||
AVPacket * | pkt, | ||
int(*)(AVPacket *dst, const AVPacket *src) | copy, | ||
int | flags | ||
) |
Append an AVPacket to the list.
head | List head element |
tail | List tail element |
pkt | The packet being appended. The data described in it will be made reference counted if it isn't already. |
copy | A callback to copy the contents of the packet to the list. May be null, in which case the packet's reference will be moved to the list. |
Definition at line 753 of file avpacket.c.
Referenced by aiff_write_packet(), av_read_frame(), avformat_find_stream_info(), avformat_queue_attached_pictures(), ff_read_packet(), flac_write_packet(), mp3_write_packet(), parse_packet(), and tta_write_packet().
int avpriv_packet_list_get | ( | PacketList ** | head, |
PacketList ** | tail, | ||
AVPacket * | pkt | ||
) |
Remove the oldest AVPacket in the list and return it.
head | List head element |
tail | List tail element |
pkt | Pointer to an AVPacket struct |
Definition at line 790 of file avpacket.c.
Referenced by av_read_frame(), ff_read_packet(), flac_queue_flush(), mp3_queue_flush(), read_frame_internal(), and tta_queue_flush().
void avpriv_packet_list_free | ( | PacketList ** | head, |
PacketList ** | tail | ||
) |
Wipe the list and unref all the packets in it.
head | List head element |
tail | List tail element |
Definition at line 806 of file avpacket.c.
Referenced by aiff_deinit(), flac_deinit(), flush_packet_queue(), matroska_parse_laces(), mp3_deinit(), and tta_deinit().
int ff_side_data_set_encoder_stats | ( | AVPacket * | pkt, |
int | quality, | ||
int64_t * | error, | ||
int | error_count, | ||
int | pict_type | ||
) |
Definition at line 820 of file avpacket.c.
Referenced by dnxhd_encode_picture(), eb_receive_packet(), encode_frame(), ff_mpv_encode_picture(), ff_qsv_encode(), libkvazaar_encode(), libx265_encode_frame(), process_output_surface(), storeframe(), svq1_encode_frame(), X264_frame(), XAVS_frame(), and xvid_encode_frame().
Definition at line 845 of file avpacket.c.
Referenced by X264_frame().