All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
vble.c File Reference

VBLE Decoder. More...

#include "libavutil/imgutils.h"
#include "avcodec.h"
#include "get_bits.h"
#include "huffyuvdsp.h"
#include "internal.h"
#include "mathops.h"
#include "thread.h"

Go to the source code of this file.

Data Structures

struct  VBLEContext




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


AVCodec ff_vble_decoder

Detailed Description

VBLE Decoder.

Definition in file vble.c.

Macro Definition Documentation


Definition at line 27 of file vble.c.

Function Documentation

static int vble_unpack ( VBLEContext ctx,
GetBitContext gb 

Definition at line 46 of file vble.c.

Referenced by vble_decode_frame().

static void vble_restore_plane ( VBLEContext ctx,
AVFrame pic,
GetBitContext gb,
int  plane,
int  offset,
int  width,
int  height 

Definition at line 86 of file vble.c.

Referenced by vble_decode_frame().

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

Definition at line 118 of file vble.c.

static av_cold int vble_decode_close ( AVCodecContext avctx)

Definition at line 175 of file vble.c.

Referenced by vble_decode_init().

static av_cold int vble_decode_init ( AVCodecContext avctx)

Definition at line 183 of file vble.c.

Variable Documentation

AVCodec ff_vble_decoder
Initial value:
= {
.name = "vble",
.long_name = NULL_IF_CONFIG_SMALL("VBLE Lossless Codec"),
.priv_data_size = sizeof(VBLEContext),
static int init_thread_copy(AVCodecContext *avctx)
Definition: tta.c:390
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
static int vble_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: vble.c:118
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:176
Codec supports frame-level multithreading.
Definition: avcodec.h:1019
Define a function with only the non-default version specified.
Definition: internal.h:215
static av_cold int vble_decode_close(AVCodecContext *avctx)
Definition: vble.c:175
static int decode(AVCodecContext *avctx, void *data, int *got_sub, AVPacket *avpkt)
Definition: ccaption_dec.c:722
static av_cold int vble_decode_init(AVCodecContext *avctx)
Definition: vble.c:183
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: avcodec.h:956

Definition at line 208 of file vble.c.