FFmpeg
Data Structures | Macros | Variables
speedhq.c File Reference

NewTek SpeedHQ decoder. More...

#include "config.h"
#include "libavutil/attributes.h"
#include "libavutil/mem_internal.h"
#include "avcodec.h"
#include "get_bits.h"
#include "internal.h"
#include "libavutil/thread.h"
#include "mathops.h"
#include "mpeg12.h"
#include "mpeg12data.h"
#include "mpeg12vlc.h"

Go to the source code of this file.

Data Structures

struct  SHQContext
 

Macros

#define BITSTREAM_READER_LE
 
#define MAX_INDEX   (64 - 1)
 
#define ALPHA_VLC_BITS   5
 

Variables

static const uint16_t speedhq_vlc [123][2]
 
static const uint8_t speedhq_level [121]
 
static const uint8_t speedhq_run [121]
 
RLTable ff_rl_speedhq
 

Detailed Description

NewTek SpeedHQ decoder.

Definition in file speedhq.c.

Macro Definition Documentation

#define BITSTREAM_READER_LE

Definition at line 27 of file speedhq.c.

#define MAX_INDEX   (64 - 1)

Definition at line 42 of file speedhq.c.

#define ALPHA_VLC_BITS   5

Definition at line 48 of file speedhq.c.

Variable Documentation

const uint16_t speedhq_vlc[123][2]
static

Definition at line 63 of file speedhq.c.

const uint8_t speedhq_level[121]
static
Initial value:
= {
1, 2, 3, 4, 5, 6, 7, 8,
9, 10, 11, 12, 13, 14, 15, 16,
17, 18, 19, 20, 21, 22, 23, 24,
25, 26, 27, 28, 29, 30, 31, 32,
33, 34, 35, 36, 37, 38, 39, 40,
1, 2, 3, 4, 5, 6, 7, 8,
9, 10, 11, 12, 13, 14, 15, 16,
17, 18, 19, 20, 1, 2, 3, 4,
5, 6, 7, 8, 9, 10, 11, 1,
2, 3, 4, 5, 1, 2, 3, 4,
1, 2, 3, 1, 2, 3, 1, 2,
1, 2, 1, 2, 1, 2, 1, 2,
1, 2, 1, 2, 1, 2, 1, 2,
1, 2, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1,
1,
}

Definition at line 99 of file speedhq.c.

const uint8_t speedhq_run[121]
static
Initial value:
= {
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 3,
3, 3, 3, 3, 4, 4, 4, 4,
5, 5, 5, 6, 6, 6, 7, 7,
8, 8, 9, 9, 10, 10, 11, 11,
12, 12, 13, 13, 14, 14, 15, 15,
16, 16, 17, 18, 19, 20, 21, 22,
23, 24, 25, 26, 27, 28, 29, 30,
31,
}

Definition at line 118 of file speedhq.c.

RLTable ff_rl_speedhq
Initial value:
= {
121,
121,
}
static const uint16_t speedhq_vlc[123][2]
Definition: speedhq.c:63
static const uint8_t speedhq_run[121]
Definition: speedhq.c:118
static const uint8_t speedhq_level[121]
Definition: speedhq.c:99

Definition at line 137 of file speedhq.c.