FFmpeg
|
WebP encoder using libwebp. 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 | LibWebPContext |
Macros | |
#define | OFFSET(x) offsetof(LibWebPContext, x) |
#define | VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
Functions | |
static int | libwebp_error_to_averror (int err) |
static av_cold int | libwebp_encode_init (AVCodecContext *avctx) |
static int | libwebp_encode_frame (AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet) |
static int | libwebp_encode_close (AVCodecContext *avctx) |
Variables | |
static const AVOption | options [] |
class { | |
class_name = "libwebp" | |
item_name = av_default_item_name | |
option = options | |
version = LIBAVUTIL_VERSION_INT | |
}; | |
static const AVCodecDefault | libwebp_defaults [] |
AVCodec | ff_libwebp_encoder |
WebP encoder using libwebp.
Definition in file libwebpenc.c.
#define OFFSET | ( | x | ) | offsetof(LibWebPContext, x) |
Definition at line 315 of file libwebpenc.c.
#define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
Definition at line 316 of file libwebpenc.c.
|
static |
Definition at line 49 of file libwebpenc.c.
Referenced by libwebp_encode_frame().
|
static |
Definition at line 63 of file libwebpenc.c.
|
static |
Definition at line 106 of file libwebpenc.c.
|
static |
Definition at line 306 of file libwebpenc.c.
|
static |
Definition at line 317 of file libwebpenc.c.
class_name = "libwebp" |
Definition at line 335 of file libwebpenc.c.
Referenced by av_opt_show2().
item_name = av_default_item_name |
Definition at line 336 of file libwebpenc.c.
option = options |
Definition at line 337 of file libwebpenc.c.
Referenced by ff_aac_coder_init_mips(), ffserver_save_avoption(), open_input_file(), open_output_file(), and pp_get_mode_by_name_and_quality().
version = LIBAVUTIL_VERSION_INT |
Definition at line 338 of file libwebpenc.c.
const { ... } |
|
static |
Definition at line 341 of file libwebpenc.c.
AVCodec ff_libwebp_encoder |
Definition at line 347 of file libwebpenc.c.