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
64d779f2
Commit
64d779f2
authored
Jan 12, 2012
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cabac: Remove ff_h264_lps_state array.
It was only ever used in the cabac test program, but never initialized.
parent
4df30f71
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
3 deletions
+0
-3
cabac.c
libavcodec/cabac.c
+0
-2
cabac.h
libavcodec/cabac.h
+0
-1
No files found.
libavcodec/cabac.c
View file @
64d779f2
...
@@ -51,7 +51,6 @@ static const uint8_t lps_range[64][4]= {
...
@@ -51,7 +51,6 @@ static const uint8_t lps_range[64][4]= {
uint8_t
ff_h264_mlps_state
[
4
*
64
];
uint8_t
ff_h264_mlps_state
[
4
*
64
];
uint8_t
ff_h264_lps_range
[
4
*
2
*
64
];
uint8_t
ff_h264_lps_range
[
4
*
2
*
64
];
uint8_t
ff_h264_lps_state
[
2
*
64
];
uint8_t
ff_h264_mps_state
[
2
*
64
];
uint8_t
ff_h264_mps_state
[
2
*
64
];
static
const
uint8_t
mps_state
[
64
]
=
{
static
const
uint8_t
mps_state
[
64
]
=
{
...
@@ -196,7 +195,6 @@ static void put_cabac(CABACContext *c, uint8_t * const state, int bit){
...
@@ -196,7 +195,6 @@ static void put_cabac(CABACContext *c, uint8_t * const state, int bit){
}
else
{
}
else
{
c
->
low
+=
c
->
range
-
RangeLPS
;
c
->
low
+=
c
->
range
-
RangeLPS
;
c
->
range
=
RangeLPS
;
c
->
range
=
RangeLPS
;
*
state
=
ff_h264_lps_state
[
*
state
];
}
}
renorm_cabac_encoder
(
c
);
renorm_cabac_encoder
(
c
);
...
...
libavcodec/cabac.h
View file @
64d779f2
...
@@ -50,7 +50,6 @@ typedef struct CABACContext{
...
@@ -50,7 +50,6 @@ typedef struct CABACContext{
extern
uint8_t
ff_h264_mlps_state
[
4
*
64
];
extern
uint8_t
ff_h264_mlps_state
[
4
*
64
];
extern
uint8_t
ff_h264_lps_range
[
4
*
2
*
64
];
///< rangeTabLPS
extern
uint8_t
ff_h264_lps_range
[
4
*
2
*
64
];
///< rangeTabLPS
extern
uint8_t
ff_h264_mps_state
[
2
*
64
];
///< transIdxMPS
extern
uint8_t
ff_h264_mps_state
[
2
*
64
];
///< transIdxMPS
extern
uint8_t
ff_h264_lps_state
[
2
*
64
];
///< transIdxLPS
extern
const
uint8_t
ff_h264_norm_shift
[
512
];
extern
const
uint8_t
ff_h264_norm_shift
[
512
];
#if ARCH_X86
#if ARCH_X86
...
...
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