|
AVPacket * | av_packet_alloc (void) |
| Allocate an AVPacket and set its fields to default values. More...
|
|
AVPacket * | av_packet_clone (const AVPacket *src) |
| Create a new packet that references the same data as src. More...
|
|
void | av_packet_free (AVPacket **pkt) |
| Free the packet, if the packet is reference counted, it will be unreferenced first. More...
|
|
int | av_new_packet (AVPacket *pkt, int size) |
| Allocate the payload of a packet and initialize its fields with default values. More...
|
|
void | av_shrink_packet (AVPacket *pkt, int size) |
| Reduce packet size, correctly zeroing padding. More...
|
|
int | av_grow_packet (AVPacket *pkt, int grow_by) |
| Increase packet size, correctly zeroing padding. More...
|
|
int | av_packet_from_data (AVPacket *pkt, uint8_t *data, int size) |
| Initialize a reference-counted packet from av_malloc()ed data. More...
|
|
uint8_t * | av_packet_new_side_data (AVPacket *pkt, enum AVPacketSideDataType type, size_t size) |
| Allocate new information of a packet. More...
|
|
int | av_packet_add_side_data (AVPacket *pkt, enum AVPacketSideDataType type, uint8_t *data, size_t size) |
| Wrap an existing array as a packet side data. More...
|
|
int | av_packet_shrink_side_data (AVPacket *pkt, enum AVPacketSideDataType type, size_t size) |
| Shrink the already allocated side data buffer. More...
|
|
uint8_t * | av_packet_get_side_data (const AVPacket *pkt, enum AVPacketSideDataType type, size_t *size) |
| Get side information from packet. More...
|
|
const char * | av_packet_side_data_name (enum AVPacketSideDataType type) |
|
uint8_t * | av_packet_pack_dictionary (AVDictionary *dict, size_t *size) |
| Pack a dictionary for use in side_data. More...
|
|
int | av_packet_unpack_dictionary (const uint8_t *data, size_t size, AVDictionary **dict) |
| Unpack a dictionary from side_data. More...
|
|
void | av_packet_free_side_data (AVPacket *pkt) |
| Convenience function to free all the side data stored. More...
|
|
int | av_packet_ref (AVPacket *dst, const AVPacket *src) |
| Setup a new reference to the data described by a given packet. More...
|
|
void | av_packet_unref (AVPacket *pkt) |
| Wipe the packet. More...
|
|
void | av_packet_move_ref (AVPacket *dst, AVPacket *src) |
| Move every field in src to dst and reset src. More...
|
|
int | av_packet_copy_props (AVPacket *dst, const AVPacket *src) |
| Copy only "properties" fields from src to dst. More...
|
|
int | av_packet_make_refcounted (AVPacket *pkt) |
| Ensure the data described by a given packet is reference counted. More...
|
|
int | av_packet_make_writable (AVPacket *pkt) |
| Create a writable reference for the data described by a given packet, avoiding data copy if possible. More...
|
|
void | av_packet_rescale_ts (AVPacket *pkt, AVRational tb_src, AVRational tb_dst) |
| Convert valid timing fields (timestamps / durations) in a packet from one timebase to another. More...
|
|