FFmpeg
|
libavformat/gif.c
Go to the documentation of this file.
Definition: avio.h:68
Definition: libavcodec/avcodec.h:100
static int flush_packet(AVFormatContext *s, AVPacket *new)
Definition: libavformat/gif.c:108
void avpriv_set_pts_info(AVStream *s, int pts_wrap_bits, unsigned int pts_num, unsigned int pts_den)
Definition: libavformat/utils.c:3952
Definition: opt.h:222
static int write_packet(AVFormatContext *s, AVPacket *pkt)
Definition: libavformat/assenc.c:63
Definition: avformat.h:944
void avio_write(AVIOContext *s, const unsigned char *buf, int size)
Definition: aviobuf.c:173
static int gif_image_write_header(AVIOContext *pb, int width, int height, int loop_count, uint32_t *palette)
Definition: libavformat/gif.c:31
Definition: libavcodec/avcodec.h:918
Definition: libavcodec/gif.c:42
int avpriv_set_systematic_pal2(uint32_t pal[256], enum AVPixelFormat pix_fmt)
Definition: imgutils.c:150
Definition: libavcodec/avcodec.h:1134
Filter the word “frame” indicates either a video frame or a group of audio as stored in an AVFilterBuffer 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 all references to the list are updated That means that if a filter requires that its input and output have the same format amongst a supported all it has to do is use a reference to the same list of formats query_formats can leave some formats unset and return AVERROR(EAGAIN) to cause the negotiation mechanism toagain later.That can be used by filters with complex requirements to use the format negotiated on one link to set the formats supported on another.Buffer references ownership and permissions
Definition: avformat.h:377
static int gif_write_packet(AVFormatContext *s, AVPacket *pkt)
Definition: libavformat/gif.c:164
Definition: avutil.h:143
uint8_t * av_packet_get_side_data(AVPacket *pkt, enum AVPacketSideDataType type, int *size)
Definition: avpacket.c:289
Definition: libavcodec/avcodec.h:200
Definition: libavcodec/avcodec.h:1028
Generated on Tue Sep 2 2025 06:55:54 for FFmpeg by
