libavcodec/jvdec.c File Reference

Bitmap Brothers JV video decoder. More...

#include "avcodec.h"
#include "dsputil.h"
#include "get_bits.h"
#include "libavutil/intreadwrite.h"

Go to the source code of this file.

Data Structures

struct  JvContext

Functions

static av_cold int decode_init (AVCodecContext *avctx)
static void decode2x2 (GetBitContext *gb, uint8_t *dst, int linesize)
 Decode 2x2 block.
static void decode4x4 (GetBitContext *gb, uint8_t *dst, int linesize)
 Decode 4x4 block.
static void decode8x8 (GetBitContext *gb, uint8_t *dst, int linesize, DSPContext *dsp)
 Decode 8x8 block.
static int decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt)
static av_cold int decode_close (AVCodecContext *avctx)

Variables

AVCodec ff_jv_decoder


Detailed Description

Bitmap Brothers JV video decoder.

Author:
Peter Ross <pross@xvid.org>

Definition in file jvdec.c.


Function Documentation

static void decode2x2 ( GetBitContext gb,
uint8_t *  dst,
int  linesize 
) [inline, static]

Decode 2x2 block.

Definition at line 51 of file jvdec.c.

Referenced by decode4x4().

static void decode4x4 ( GetBitContext gb,
uint8_t *  dst,
int  linesize 
) [inline, static]

Decode 4x4 block.

Definition at line 78 of file jvdec.c.

Referenced by decode8x8().

static void decode8x8 ( GetBitContext gb,
uint8_t *  dst,
int  linesize,
DSPContext dsp 
) [inline, static]

Decode 8x8 block.

Definition at line 108 of file jvdec.c.

Referenced by decode_frame().

static av_cold int decode_close ( AVCodecContext avctx  )  [static]

Definition at line 199 of file jvdec.c.

static int decode_frame ( AVCodecContext avctx,
void *  data,
int *  data_size,
AVPacket avpkt 
) [static]

Definition at line 131 of file jvdec.c.

static av_cold int decode_init ( AVCodecContext avctx  )  [static]

Definition at line 40 of file jvdec.c.


Variable Documentation

Initial value:

 {
    .name           = "jv",
    .long_name      = NULL_IF_CONFIG_SMALL("Bitmap Brothers JV video"),
    .type           = AVMEDIA_TYPE_VIDEO,
    .id             = CODEC_ID_JV,
    .priv_data_size = sizeof(JvContext),
    .init           = decode_init,
    .close          = decode_close,
    .decode         = decode_frame,
    .capabilities   = CODEC_CAP_DR1,
}

Definition at line 209 of file jvdec.c.


Generated on Fri Oct 26 02:38:17 2012 for FFmpeg by  doxygen 1.5.8