GIF demuxer.
More...
Go to the source code of this file.
|
#define | GIF_DEFAULT_DELAY 10 |
| Major web browsers display gifs at ~10-15fps when rate is not explicitly set or have too low values. More...
|
|
#define | GIF_MIN_DELAY 2 |
| By default delay values less than this threshold considered to be invalid. More...
|
|
GIF demuxer.
Definition in file libavformat/gifdec.c.
#define GIF_DEFAULT_DELAY 10 |
Major web browsers display gifs at ~10-15fps when rate is not explicitly set or have too low values.
We assume default rate to be 10. Default delay = 100hundredths of second / 10fps = 10hos per frame.
Definition at line 61 of file libavformat/gifdec.c.
By default delay values less than this threshold considered to be invalid.
Definition at line 65 of file libavformat/gifdec.c.
Initial value:= {
.name = "gif",
}
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int read_header(FFV1Context *f)
static int read_packet(AVFormatContext *ctx, AVPacket *pkt)
Definition at line 315 of file libavformat/gifdec.c.
Initial value:= {
{
"ignore_loop" ,
"ignore loop setting (netscape extension)" , offsetof(
GIFDemuxContext, ignore_loop) ,
AV_OPT_TYPE_INT, {.i64 = 1} , 0, 1, AV_OPT_FLAG_DECODING_PARAM },
}
#define AV_OPT_FLAG_DECODING_PARAM
a generic parameter which can be set by the user for demuxing or decoding
Definition at line 300 of file libavformat/gifdec.c.