FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
cllc.c File Reference
#include <inttypes.h>
#include "libavutil/intreadwrite.h"
#include "bswapdsp.h"
#include "get_bits.h"
#include "avcodec.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  CLLCContext
 

Functions

static int read_code_table (CLLCContext *ctx, GetBitContext *gb, VLC *vlc)
 
static int read_argb_line (CLLCContext *ctx, GetBitContext *gb, int *top_left, VLC *vlc, uint8_t *outbuf)
 
static int read_rgb24_component_line (CLLCContext *ctx, GetBitContext *gb, int *top_left, VLC *vlc, uint8_t *outbuf)
 
static int read_yuv_component_line (CLLCContext *ctx, GetBitContext *gb, int *top_left, VLC *vlc, uint8_t *outbuf, int is_chroma)
 
static int decode_argb_frame (CLLCContext *ctx, GetBitContext *gb, AVFrame *pic)
 
static int decode_rgb24_frame (CLLCContext *ctx, GetBitContext *gb, AVFrame *pic)
 
static int decode_yuv_frame (CLLCContext *ctx, GetBitContext *gb, AVFrame *pic)
 
static int cllc_decode_frame (AVCodecContext *avctx, void *data, int *got_picture_ptr, AVPacket *avpkt)
 
static av_cold int cllc_decode_close (AVCodecContext *avctx)
 
static av_cold int cllc_decode_init (AVCodecContext *avctx)
 

Variables

AVCodec ff_cllc_decoder
 

Function Documentation

static int read_code_table ( CLLCContext ctx,
GetBitContext gb,
VLC vlc 
)
static

Definition at line 39 of file cllc.c.

Referenced by decode_argb_frame(), decode_rgb24_frame(), and decode_yuv_frame().

static int read_argb_line ( CLLCContext ctx,
GetBitContext gb,
int *  top_left,
VLC vlc,
uint8_t outbuf 
)
static

Definition at line 84 of file cllc.c.

Referenced by decode_argb_frame().

static int read_rgb24_component_line ( CLLCContext ctx,
GetBitContext gb,
int *  top_left,
VLC vlc,
uint8_t outbuf 
)
static

Definition at line 153 of file cllc.c.

Referenced by decode_rgb24_frame().

static int read_yuv_component_line ( CLLCContext ctx,
GetBitContext gb,
int *  top_left,
VLC vlc,
uint8_t outbuf,
int  is_chroma 
)
static

Definition at line 183 of file cllc.c.

Referenced by decode_yuv_frame().

static int decode_argb_frame ( CLLCContext ctx,
GetBitContext gb,
AVFrame pic 
)
static

Definition at line 211 of file cllc.c.

Referenced by cllc_decode_frame().

static int decode_rgb24_frame ( CLLCContext ctx,
GetBitContext gb,
AVFrame pic 
)
static

Definition at line 255 of file cllc.c.

Referenced by cllc_decode_frame().

static int decode_yuv_frame ( CLLCContext ctx,
GetBitContext gb,
AVFrame pic 
)
static

Definition at line 299 of file cllc.c.

Referenced by cllc_decode_frame().

static int cllc_decode_frame ( AVCodecContext avctx,
void data,
int *  got_picture_ptr,
AVPacket avpkt 
)
static

Definition at line 354 of file cllc.c.

static av_cold int cllc_decode_close ( AVCodecContext avctx)
static

Definition at line 462 of file cllc.c.

static av_cold int cllc_decode_init ( AVCodecContext avctx)
static

Definition at line 471 of file cllc.c.

Variable Documentation

AVCodec ff_cllc_decoder
Initial value:
= {
.name = "cllc",
.long_name = NULL_IF_CONFIG_SMALL("Canopus Lossless Codec"),
.priv_data_size = sizeof(CLLCContext),
.capabilities = CODEC_CAP_DR1,
}

Definition at line 485 of file cllc.c.