Libav
Functions | Variables
cljrenc.c File Reference

Cirrus Logic AccuPak encoder. More...

#include "libavutil/common.h"
#include "avcodec.h"
#include "internal.h"
#include "put_bits.h"

Go to the source code of this file.

Functions

static av_cold int encode_init (AVCodecContext *avctx)
 
static av_cold int encode_close (AVCodecContext *avctx)
 
static int encode_frame (AVCodecContext *avctx, AVPacket *pkt, const AVFrame *p, int *got_packet)
 

Variables

AVCodec ff_cljr_encoder
 

Detailed Description

Cirrus Logic AccuPak encoder.

Definition in file cljrenc.c.

Function Documentation

static av_cold int encode_init ( AVCodecContext avctx)
static

Definition at line 33 of file cljrenc.c.

static av_cold int encode_close ( AVCodecContext avctx)
static

Definition at line 42 of file cljrenc.c.

static int encode_frame ( AVCodecContext avctx,
AVPacket pkt,
const AVFrame p,
int *  got_packet 
)
static

Definition at line 48 of file cljrenc.c.

Variable Documentation

AVCodec ff_cljr_encoder
Initial value:
= {
.name = "cljr",
.long_name = NULL_IF_CONFIG_SMALL("Cirrus Logic AccuPak"),
.init = encode_init,
.encode2 = encode_frame,
.close = encode_close,
.pix_fmts = (const enum AVPixelFormat[]) { AV_PIX_FMT_YUV411P,
}
planar YUV 4:1:1, 12bpp, (1 Cr & Cb sample per 4x1 Y samples)
Definition: pixfmt.h:72
static av_cold int encode_init(AVCodecContext *avctx)
Definition: cljrenc.c:33
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:150
AVPixelFormat
Pixel format.
Definition: pixfmt.h:63
static av_cold int encode_close(AVCodecContext *avctx)
Definition: cljrenc.c:42
static int encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *p, int *got_packet)
Definition: cljrenc.c:48

Definition at line 87 of file cljrenc.c.