FFmpeg
Data Structures | Functions | Variables
libwebpenc_common.h File Reference
#include <webp/encode.h>
#include "libavutil/attributes.h"
#include "libavutil/frame.h"
#include "libavutil/log.h"
#include "libavutil/pixfmt.h"
#include "avcodec.h"
#include "codec_internal.h"

Go to the source code of this file.

Data Structures

struct  LibWebPContextCommon
 

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

enum AVPixelFormat ff_libwebpenc_pix_fmts []
 
const AVClass ff_libwebpenc_class
 
const FFCodecDefault ff_libwebp_defaults []
 

Detailed Description

WebP encoder using libwebp: common structs and methods.

Definition in file libwebpenc_common.h.

Function Documentation

◆ ff_libwebp_error_to_averror()

int ff_libwebp_error_to_averror ( int  err)

Definition at line 68 of file libwebpenc_common.c.

Referenced by libwebp_anim_encode_frame(), and libwebp_encode_frame().

◆ ff_libwebp_encode_init_common()

av_cold int ff_libwebp_encode_init_common ( AVCodecContext avctx)

Definition at line 82 of file libwebpenc_common.c.

Referenced by libwebp_anim_encode_init(), and libwebp_encode_init().

◆ ff_libwebp_get_frame()

int ff_libwebp_get_frame ( AVCodecContext avctx,
LibWebPContextCommon s,
const AVFrame frame,
AVFrame **  alt_frame_ptr,
WebPPicture **  pic_ptr 
)

Definition at line 125 of file libwebpenc_common.c.

Referenced by libwebp_anim_encode_frame(), and libwebp_encode_frame().

Variable Documentation

◆ ff_libwebpenc_pix_fmts

enum AVPixelFormat ff_libwebpenc_pix_fmts[]

Definition at line 62 of file libwebpenc_common.c.

◆ ff_libwebpenc_class

const AVClass ff_libwebpenc_class

Definition at line 55 of file libwebpenc_common.c.

◆ ff_libwebp_defaults

const FFCodecDefault ff_libwebp_defaults[]

Definition at line 31 of file libwebpenc_common.c.