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
e8804186
Commit
e8804186
authored
Aug 11, 2013
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cabac: remove write-only h264_mps_state[]
parent
668643b9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
cabac.c
libavcodec/cabac.c
+2
-6
No files found.
libavcodec/cabac.c
View file @
e8804186
...
...
@@ -73,8 +73,6 @@ static const uint8_t lps_range[64][4]= {
{
6
,
8
,
9
,
11
},
{
6
,
7
,
9
,
10
},
{
6
,
7
,
8
,
9
},
{
2
,
2
,
2
,
2
},
};
static
uint8_t
h264_mps_state
[
2
*
64
];
static
const
uint8_t
mps_state
[
64
]
=
{
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
,
10
,
11
,
12
,
13
,
14
,
15
,
16
,
...
...
@@ -146,10 +144,8 @@ void ff_init_cabac_states(void)
ff_h264_lps_range
[
j
*
2
*
64
+
2
*
i
+
1
]
=
lps_range
[
i
][
j
];
}
ff_h264_mlps_state
[
128
+
2
*
i
+
0
]
=
h264_mps_state
[
2
*
i
+
0
]
=
2
*
mps_state
[
i
]
+
0
;
ff_h264_mlps_state
[
128
+
2
*
i
+
1
]
=
h264_mps_state
[
2
*
i
+
1
]
=
2
*
mps_state
[
i
]
+
1
;
ff_h264_mlps_state
[
128
+
2
*
i
+
0
]
=
2
*
mps_state
[
i
]
+
0
;
ff_h264_mlps_state
[
128
+
2
*
i
+
1
]
=
2
*
mps_state
[
i
]
+
1
;
if
(
i
){
ff_h264_mlps_state
[
128
-
2
*
i
-
1
]
=
2
*
lps_state
[
i
]
+
0
;
...
...
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