FFmpeg
Classes | Typedefs | Variables
libwebpenc_animencoder.c File Reference

WebP encoder using libwebp (WebPAnimEncoder API) More...

#include "config.h"
#include "libwebpenc_common.h"
#include <webp/mux.h>

Classes

struct  LibWebPAnimContext
 

Typedefs

typedef struct LibWebPAnimContext LibWebPAnimContext
 

Variables

AVCodec ff_libwebp_anim_encoder
 

Detailed Description

WebP encoder using libwebp (WebPAnimEncoder API)

Variable Documentation

§ ff_libwebp_anim_encoder

AVCodec ff_libwebp_anim_encoder
Initial value:
= {
.name = "libwebp_anim",
.long_name = NULL_IF_CONFIG_SMALL("libwebp WebP image"),
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_WEBP,
.priv_data_size = sizeof(LibWebPAnimContext),
.init = libwebp_anim_encode_init,
.encode2 = libwebp_anim_encode_frame,
.close = libwebp_anim_encode_close,
.capabilities = AV_CODEC_CAP_DELAY,
.pix_fmts = (const enum AVPixelFormat[]) {
AV_PIX_FMT_RGB32,
AV_PIX_FMT_NONE
},
.priv_class = &class,
.defaults = libwebp_defaults,
.wrapper_name = "libwebp",
}
#define AV_CODEC_CAP_DELAY
Encoder or decoder requires flushing with NULL input at the end in order to give the complete and cor...
Definition: avcodec.h:984
planar YUV 4:2:0, 20bpp, (1 Cr & Cb sample per 2x2 Y & A samples)
Definition: pixfmt.h:97
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
Definition: libwebpenc_animencoder.c:32
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
Definition: pixfmt.h:62
AVPixelFormat
Pixel format.
Definition: pixfmt.h:60