All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
libkvazaar.c File Reference
#include <kvazaar.h>
#include <string.h>
#include "libavutil/avassert.h"
#include "libavutil/dict.h"
#include "libavutil/opt.h"
#include "avcodec.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  LibkvazaarContext


static av_cold int libkvazaar_init (AVCodecContext *avctx)
static av_cold int libkvazaar_close (AVCodecContext *avctx)
static int libkvazaar_encode (AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)


static enum AVPixelFormat pix_fmts []
static const AVOption options []
class {
      class_name = "libkvazaar"
      item_name = av_default_item_name
      option = options
static const AVCodecDefault defaults []
AVCodec ff_libkvazaar_encoder

Function Documentation

static av_cold int libkvazaar_init ( AVCodecContext avctx)

Definition at line 42 of file libkvazaar.c.

static av_cold int libkvazaar_close ( AVCodecContext avctx)

Definition at line 115 of file libkvazaar.c.

static int libkvazaar_encode ( AVCodecContext avctx,
AVPacket avpkt,
const AVFrame frame,
int *  got_packet_ptr 

Definition at line 133 of file libkvazaar.c.

Variable Documentation

enum AVPixelFormat pix_fmts[]
const AVOption options[]
Initial value:
= {
{ "kvazaar-params", "Set kvazaar parameters as a comma-separated list of name=value pairs.",
0x42, AV_OPT_TYPE_STRING, { .str = NULL }, 0, 0,
{ NULL },
#define NULL
Definition: coverity.c:32
a generic parameter which can be set by the user for muxing or encoding
Definition: opt.h:285
Definition: opt.h:291

Definition at line 214 of file libkvazaar.c.

class_name = "libkvazaar"

Definition at line 222 of file libkvazaar.c.

Referenced by av_opt_show2().

item_name = av_default_item_name

Definition at line 223 of file libkvazaar.c.

option = options

Definition at line 225 of file libkvazaar.c.

const { ... }
const AVCodecDefault defaults[]
Initial value:
= {
{ "b", "0" },
{ NULL },
#define NULL
Definition: coverity.c:32

Definition at line 228 of file libkvazaar.c.

AVCodec ff_libkvazaar_encoder
Initial value:
= {
.name = "libkvazaar",
.long_name = NULL_IF_CONFIG_SMALL("libkvazaar H.265 / HEVC"),
.capabilities = AV_CODEC_CAP_DELAY,
.pix_fmts = pix_fmts,
.priv_class = &class,
.priv_data_size = sizeof(LibkvazaarContext),
.encode2 = libkvazaar_encode,
.close = libkvazaar_close,
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
static av_cold int libkvazaar_close(AVCodecContext *avctx)
Definition: libkvazaar.c:115
Encoder or decoder requires flushing with NULL input at the end in order to give the complete and cor...
Definition: avcodec.h:882
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:175
static const AVCodecDefault defaults[]
Definition: libkvazaar.c:228
static int libkvazaar_encode(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)
Definition: libkvazaar.c:133
static av_cold int libkvazaar_init(AVCodecContext *avctx)
Definition: libkvazaar.c:42
static enum AVPixelFormat pix_fmts[]
Definition: libkvazaar.c:209

Definition at line 233 of file libkvazaar.c.