FFmpeg
Data Structures | Macros | Variables
speedhq.c File Reference
#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

◆ BITSTREAM_READER_LE

#define BITSTREAM_READER_LE

Definition at line 27 of file speedhq.c.

◆ MAX_INDEX

#define MAX_INDEX   (64 - 1)

Definition at line 42 of file speedhq.c.

◆ ALPHA_VLC_BITS

#define ALPHA_VLC_BITS   5

Definition at line 48 of file speedhq.c.

Variable Documentation

◆ speedhq_vlc

const uint16_t speedhq_vlc[123][2]
static

Definition at line 63 of file speedhq.c.

◆ speedhq_level

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.

◆ speedhq_run

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.

◆ ff_rl_speedhq

RLTable ff_rl_speedhq
Initial value:

Definition at line 137 of file speedhq.c.

Referenced by encode_block(), and speedhq_init_static_data().

speedhq_vlc
static const uint16_t speedhq_vlc[123][2]
Definition: speedhq.c:63
speedhq_run
static const uint8_t speedhq_run[121]
Definition: speedhq.c:118
speedhq_level
static const uint8_t speedhq_level[121]
Definition: speedhq.c:99