libavcodec/cllc.c File Reference

#include "libavutil/intreadwrite.h"
#include "dsputil.h"
#include "get_bits.h"
#include "avcodec.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 decode_argb_frame (CLLCContext *ctx, GetBitContext *gb, AVFrame *pic)
static int decode_rgb24_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 av_cold int cllc_decode_close ( AVCodecContext avctx  )  [static]

Definition at line 376 of file cllc.c.

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

Definition at line 269 of file cllc.c.

static av_cold int cllc_decode_init ( AVCodecContext avctx  )  [static]

Definition at line 389 of file cllc.c.

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

Definition at line 181 of file cllc.c.

Referenced by cllc_decode_frame().

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

Definition at line 225 of file cllc.c.

Referenced by cllc_decode_frame().

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

Definition at line 81 of file cllc.c.

Referenced by decode_argb_frame().

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

Definition at line 36 of file cllc.c.

Referenced by decode_argb_frame(), and decode_rgb24_frame().

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

Definition at line 151 of file cllc.c.

Referenced by decode_rgb24_frame().


Variable Documentation

Initial value:

 {
    .name           = "cllc",
    .type           = AVMEDIA_TYPE_VIDEO,
    .id             = AV_CODEC_ID_CLLC,
    .priv_data_size = sizeof(CLLCContext),
    .init           = cllc_decode_init,
    .decode         = cllc_decode_frame,
    .close          = cllc_decode_close,
    .capabilities   = CODEC_CAP_DR1,
    .long_name      = NULL_IF_CONFIG_SMALL("Canopus Lossless Codec"),
}

Definition at line 409 of file cllc.c.


Generated on Fri Oct 26 02:50:04 2012 for FFmpeg by  doxygen 1.5.8