FFmpeg
4.0
|
WebP encoder using libwebp: common structs and methods. More...
#include <webp/encode.h>
#include "libavutil/common.h"
#include "libavutil/frame.h"
#include "libavutil/imgutils.h"
#include "libavutil/opt.h"
#include "avcodec.h"
#include "internal.h"
Go to the source code of this file.
Data Structures | |
struct | LibWebPContextCommon |
Macros | |
#define | OFFSET(x) offsetof(LibWebPContextCommon, x) |
#define | VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
Functions | |
int | ff_libwebp_error_to_averror (int err) |
av_cold int | ff_libwebp_encode_init_common (AVCodecContext *avctx) |
int | ff_libwebp_get_frame (AVCodecContext *avctx, LibWebPContextCommon *s, const AVFrame *frame, AVFrame **alt_frame_ptr, WebPPicture **pic_ptr) |
Variables | |
static const AVOption | options [] |
static const AVCodecDefault | libwebp_defaults [] |
WebP encoder using libwebp: common structs and methods.
Definition in file libwebpenc_common.h.
#define OFFSET | ( | x | ) | offsetof(LibWebPContextCommon, x) |
Definition at line 60 of file libwebpenc_common.h.
#define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
Definition at line 61 of file libwebpenc_common.h.
Definition at line 29 of file libwebpenc_common.c.
Referenced by libwebp_anim_encode_frame(), and libwebp_encode_frame().
av_cold int ff_libwebp_encode_init_common | ( | AVCodecContext * | avctx | ) |
Definition at line 43 of file libwebpenc_common.c.
Referenced by libwebp_anim_encode_init(), and libwebp_encode_init().
int ff_libwebp_get_frame | ( | AVCodecContext * | avctx, |
LibWebPContextCommon * | s, | ||
const AVFrame * | frame, | ||
AVFrame ** | alt_frame_ptr, | ||
WebPPicture ** | pic_ptr | ||
) |
Definition at line 86 of file libwebpenc_common.c.
Referenced by libwebp_anim_encode_frame(), and libwebp_encode_frame().
|
static |
Definition at line 62 of file libwebpenc_common.h.
|
static |
Definition at line 78 of file libwebpenc_common.h.