Logo Search packages:      
Sourcecode: blender version File versions  Download package

asv1.c File Reference


Detailed Description

ASUS V1/V2 codec.

Definition in file asv1.c.

#include "avcodec.h"
#include "dsputil.h"
#include "mpegvideo.h"

Go to the source code of this file.

Classes

struct  ASV1Context

Defines

#define ASV2_LEVEL_VLC_BITS   10
#define VLC_BITS   6

Functions

static int asv1_decode_block (ASV1Context *a, DCTELEM block[64])
static void asv1_encode_block (ASV1Context *a, DCTELEM block[64])
static int asv1_get_level (GetBitContext *gb)
static void asv1_put_level (PutBitContext *pb, int level)
static int asv2_decode_block (ASV1Context *a, DCTELEM block[64])
static void asv2_encode_block (ASV1Context *a, DCTELEM block[64])
static int asv2_get_bits (GetBitContext *gb, int n)
static int asv2_get_level (GetBitContext *gb)
static void asv2_put_bits (PutBitContext *pb, int n, int v)
static void asv2_put_level (PutBitContext *pb, int level)
static void common_init (AVCodecContext *avctx)
static void dct_get (ASV1Context *a, int mb_x, int mb_y)
static int decode_end (AVCodecContext *avctx)
static int decode_frame (AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size)
static int decode_init (AVCodecContext *avctx)
static int decode_mb (ASV1Context *a, DCTELEM block[6][64])
static int encode_frame (AVCodecContext *avctx, unsigned char *buf, int buf_size, void *data)
static int encode_init (AVCodecContext *avctx)
static int encode_mb (ASV1Context *a, DCTELEM block[6][64])
static void idct_put (ASV1Context *a, int mb_x, int mb_y)
static void init_vlcs (ASV1Context *a)

Variables

static const uint8_t ac_ccp_tab [16][2]
static VLC ac_ccp_vlc
AVCodec asv1_decoder
AVCodec asv2_decoder
static const uint8_t asv2_level_tab [63][2]
static VLC asv2_level_vlc
static const uint8_t ccp_tab [17][2]
static VLC ccp_vlc
static const uint8_t dc_ccp_tab [8][2]
static VLC dc_ccp_vlc
static const uint8_t level_tab [7][2]
static VLC level_vlc
static const uint8_t scantab [64]


Generated by  Doxygen 1.6.0   Back to index