libavcodec/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

Defines

#define BITSTREAM_READER_LE

Functions

static int vble_unpack (VBLEContext *ctx, GetBitContext *gb)
static void vble_restore_plane (VBLEContext *ctx, GetBitContext *gb, 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.


Define 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 173 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 112 of file vble.c.

static av_cold int vble_decode_init ( AVCodecContext avctx  )  [static]

Definition at line 187 of file vble.c.

static void vble_restore_plane ( VBLEContext ctx,
GetBitContext gb,
int  plane,
int  offset,
int  width,
int  height 
) [static]

Definition at line 81 of file vble.c.

Referenced by vble_decode_frame().

static int vble_unpack ( VBLEContext ctx,
GetBitContext gb 
) [static]

Definition at line 41 of file vble.c.

Referenced by vble_decode_frame().


Variable Documentation

Initial value:

 {
    .name           = "vble",
    .type           = AVMEDIA_TYPE_VIDEO,
    .id             = CODEC_ID_VBLE,
    .priv_data_size = sizeof(VBLEContext),
    .init           = vble_decode_init,
    .close          = vble_decode_close,
    .decode         = vble_decode_frame,
    .capabilities   = CODEC_CAP_DR1,
    .long_name      = NULL_IF_CONFIG_SMALL("VBLE Lossless Codec"),
}

Definition at line 218 of file vble.c.


Generated on Fri Oct 26 02:46:10 2012 for FFmpeg by  doxygen 1.5.8