|
FFmpeg
|
#include "avio_internal.h"#include "demux.h"#include "avformat.h"#include "internal.h"#include "libavutil/intreadwrite.h"#include "libavutil/mem.h"#include "libavutil/opt.h"Go to the source code of this file.
Data Structures | |
| struct | WebPAnimDemuxContext |
Macros | |
| #define | VP8X_FLAG_ANIMATION 0x02 |
| #define | VP8X_FLAG_XMP_METADATA 0x04 |
| #define | VP8X_FLAG_EXIF_METADATA 0x08 |
| #define | VP8X_FLAG_ALPHA 0x10 |
| #define | VP8X_FLAG_ICC 0x20 |
| #define | WEBP_DEFAULT_DELAY 100 |
| Major web browsers display WebPs at ~10-15fps when rate is not explicitly set or have too low values. More... | |
| #define | WEBP_MIN_DELAY 10 |
| By default delay values less than this threshold considered to be invalid. More... | |
Functions | |
| static int | webp_anim_probe (const AVProbeData *p) |
| static int | webp_anim_read_header (AVFormatContext *s) |
| static int | webp_anim_read_packet (AVFormatContext *s, AVPacket *pkt) |
Variables | |
| static const AVOption | options [] |
| static const AVClass | demuxer_class |
| const FFInputFormat | ff_webp_anim_demuxer |
Animated WebP demuxer.
Definition in file webp_anim_dec.c.
| #define VP8X_FLAG_ANIMATION 0x02 |
Definition at line 36 of file webp_anim_dec.c.
| #define VP8X_FLAG_XMP_METADATA 0x04 |
Definition at line 37 of file webp_anim_dec.c.
| #define VP8X_FLAG_EXIF_METADATA 0x08 |
Definition at line 38 of file webp_anim_dec.c.
| #define VP8X_FLAG_ALPHA 0x10 |
Definition at line 39 of file webp_anim_dec.c.
| #define VP8X_FLAG_ICC 0x20 |
Definition at line 40 of file webp_anim_dec.c.
| #define WEBP_DEFAULT_DELAY 100 |
Major web browsers display WebPs at ~10-15fps when rate is not explicitly set or have too low values.
We assume default rate to be 10. Default delay = 1000 microseconds / 10fps = 100 milliseconds per frame.
Definition at line 82 of file webp_anim_dec.c.
| #define WEBP_MIN_DELAY 10 |
By default delay values less than this threshold considered to be invalid.
Definition at line 86 of file webp_anim_dec.c.
|
static |
Definition at line 88 of file webp_anim_dec.c.
|
static |
Definition at line 102 of file webp_anim_dec.c.
|
static |
Definition at line 234 of file webp_anim_dec.c.
Definition at line 345 of file webp_anim_dec.c.
|
static |
Definition at line 354 of file webp_anim_dec.c.
| const FFInputFormat ff_webp_anim_demuxer |
Definition at line 362 of file webp_anim_dec.c.
1.8.17