Go to the documentation of this file.
19 #ifndef AVCODEC_PACKET_INTERNAL_H
20 #define AVCODEC_PACKET_INTERNAL_H
26 #define AVPACKET_IS_EMPTY(pkt) (!(pkt)->data && !(pkt)->side_data_elems)
75 #endif // AVCODEC_PACKET_INTERNAL_H
static void error(const char *err)
trying all byte sequences megabyte in length and selecting the best looking sequence will yield cases to try But a word about quality
int avpriv_packet_list_get(PacketList *list, AVPacket *pkt)
Remove the oldest AVPacket in the list and return it.
Filter the word “frame” indicates either a video frame or a group of audio as stored in an AVFrame structure Format for each input and each output the list of supported formats For video that means pixel format For audio that means channel sample they are references to shared objects When the negotiation mechanism computes the intersection of the formats supported at each end of a all references to both lists are replaced with a reference to the intersection And when a single format is eventually chosen for a link amongst the remaining list
struct PacketListEntry * next
static void copy(const float *p1, float *p2, const int length)
uint8_t ptrdiff_t const uint8_t ptrdiff_t int intptr_t intptr_t int int16_t * dst
int ff_side_data_set_prft(AVPacket *pkt, int64_t timestamp)
int ff_side_data_set_encoder_stats(AVPacket *pkt, int quality, int64_t *error, int error_count, int pict_type)
This structure stores compressed data.
void avpriv_packet_list_free(PacketList *list)
Wipe the list and unref all the packets in it.
#define flags(name, subs,...)
int avpriv_packet_list_put(PacketList *list, AVPacket *pkt, int(*copy)(AVPacket *dst, const AVPacket *src), int flags)
Append an AVPacket to the list.