* WebP encoder using libwebp: common structs and methods.
*/
+#ifndef AVCODEC_LIBWEBPENC_COMMON_H
+#define AVCODEC_LIBWEBPENC_COMMON_H
+
#include <webp/encode.h>
#include "libavutil/common.h"
const AVFrame *frame, AVFrame **alt_frame_ptr,
WebPPicture **pic_ptr);
-int ff_libwebp_encode_close_common(AVCodecContext *avctx);
-
#define OFFSET(x) offsetof(LibWebPContextCommon, x)
#define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM
static const AVOption options[] = {
{ NULL },
};
-
-static const AVClass class = {
- .class_name = "libwebp",
- .item_name = av_default_item_name,
- .option = options,
- .version = LIBAVUTIL_VERSION_INT,
-};
-
static const AVCodecDefault libwebp_defaults[] = {
{ "compression_level", "4" },
{ "global_quality", "-1" },
{ NULL },
};
+
+#endif /* AVCODEC_LIBWEBPENC_COMMON_H */