vble.c File Reference

VBLE Decoder. More...

#include "avcodec.h"
#include "dsputil.h"
#include "get_bits.h"

Go to the source code of this file.

Data Structures

struct  VBLEContext

Macros

#define BITSTREAM_READER_LE

Functions

static uint8_t vble_read_reverse_unary (GetBitContext *gb)
static int vble_unpack (VBLEContext *ctx, GetBitContext *gb)
static void vble_restore_plane (VBLEContext *ctx, int plane, int offset, int width, int height)
static int vble_decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt)
static av_cold int vble_decode_close (AVCodecContext *avctx)
static av_cold int vble_decode_init (AVCodecContext *avctx)

Variables

AVCodec ff_vble_decoder

Detailed Description

VBLE Decoder.

Definition in file vble.c.

Macro Definition Documentation

#define BITSTREAM_READER_LE

Definition at line 27 of file vble.c.

Function Documentation

static av_cold int vble_decode_close ( AVCodecContext avctx)
static

Definition at line 174 of file vble.c.

Referenced by vble_decode_init().

static int vble_decode_frame ( AVCodecContext avctx,
void data,
int *  data_size,
AVPacket avpkt 
)
static

Definition at line 113 of file vble.c.

static av_cold int vble_decode_init ( AVCodecContext avctx)
static

Definition at line 188 of file vble.c.

static uint8_t vble_read_reverse_unary ( GetBitContext gb)
static

Definition at line 41 of file vble.c.

Referenced by vble_unpack().

static void vble_restore_plane ( VBLEContext ctx,
int  plane,
int  offset,
int  width,
int  height 
)
static

Definition at line 85 of file vble.c.

Referenced by vble_decode_frame().

static int vble_unpack ( VBLEContext ctx,
GetBitContext gb 
)
static

Definition at line 60 of file vble.c.

Referenced by vble_decode_frame().

Variable Documentation

AVCodec ff_vble_decoder
Initial value:
{
.name = "vble",
.priv_data_size = sizeof(VBLEContext),
.capabilities = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("VBLE Lossless Codec"),
}

Definition at line 219 of file vble.c.