Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
f2e44655
Commit
f2e44655
authored
Apr 18, 2012
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dv: Replace some magic numbers by the appropriate #define.
parent
9cc338b1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
dv_vlc_data.h
libavcodec/dv_vlc_data.h
+4
-4
No files found.
libavcodec/dv_vlc_data.h
View file @
f2e44655
...
...
@@ -36,7 +36,7 @@
* between (run, level) and vlc is not 1-1. So you have to watch out for that
* when building misc. tables. E.g. (1, 0) can be either 0x7cf or 0x1f82.
*/
static
const
uint16_t
dv_vlc_bits
[
409
]
=
{
static
const
uint16_t
dv_vlc_bits
[
NB_DV_VLC
]
=
{
0x0000
,
0x0002
,
0x0007
,
0x0008
,
0x0009
,
0x0014
,
0x0015
,
0x0016
,
0x0017
,
0x0030
,
0x0031
,
0x0032
,
0x0033
,
0x0068
,
0x0069
,
0x006a
,
0x006b
,
0x006c
,
0x006d
,
0x006e
,
0x006f
,
0x00e0
,
0x00e1
,
0x00e2
,
...
...
@@ -91,7 +91,7 @@ static const uint16_t dv_vlc_bits[409] = {
0x0006
,
};
static
const
uint8_t
dv_vlc_len
[
409
]
=
{
static
const
uint8_t
dv_vlc_len
[
NB_DV_VLC
]
=
{
2
,
3
,
4
,
4
,
4
,
5
,
5
,
5
,
5
,
6
,
6
,
6
,
6
,
7
,
7
,
7
,
7
,
7
,
7
,
7
,
7
,
8
,
8
,
8
,
...
...
@@ -146,7 +146,7 @@ static const uint8_t dv_vlc_len[409] = {
4
,
};
static
const
uint8_t
dv_vlc_run
[
409
]
=
{
static
const
uint8_t
dv_vlc_run
[
NB_DV_VLC
]
=
{
0
,
0
,
1
,
0
,
0
,
2
,
1
,
0
,
0
,
3
,
4
,
0
,
0
,
5
,
6
,
2
,
1
,
1
,
0
,
0
,
0
,
7
,
8
,
9
,
...
...
@@ -201,7 +201,7 @@ static const uint8_t dv_vlc_run[409] = {
127
,
};
static
const
uint8_t
dv_vlc_level
[
409
]
=
{
static
const
uint8_t
dv_vlc_level
[
NB_DV_VLC
]
=
{
1
,
2
,
1
,
3
,
4
,
1
,
2
,
5
,
6
,
1
,
1
,
7
,
8
,
1
,
1
,
2
,
3
,
4
,
9
,
10
,
11
,
1
,
1
,
1
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment