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
1fd97d8c
Commit
1fd97d8c
authored
Nov 03, 2005
by
Loren Merritt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tidier cabac_intra4x4_pred_mode
Originally committed as revision 4673 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
d4de20d1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
h264.c
libavcodec/h264.c
+4
-6
No files found.
libavcodec/h264.c
View file @
1fd97d8c
...
...
@@ -5291,12 +5291,10 @@ static int decode_cabac_mb_intra4x4_pred_mode( H264Context *h, int pred_mode ) {
if
(
get_cabac
(
&
h
->
cabac
,
&
h
->
cabac_state
[
68
]
)
)
return
pred_mode
;
if
(
get_cabac
(
&
h
->
cabac
,
&
h
->
cabac_state
[
69
]
)
)
mode
+=
1
;
if
(
get_cabac
(
&
h
->
cabac
,
&
h
->
cabac_state
[
69
]
)
)
mode
+=
2
;
if
(
get_cabac
(
&
h
->
cabac
,
&
h
->
cabac_state
[
69
]
)
)
mode
+=
4
;
mode
+=
1
*
get_cabac
(
&
h
->
cabac
,
&
h
->
cabac_state
[
69
]
);
mode
+=
2
*
get_cabac
(
&
h
->
cabac
,
&
h
->
cabac_state
[
69
]
);
mode
+=
4
*
get_cabac
(
&
h
->
cabac
,
&
h
->
cabac_state
[
69
]
);
if
(
mode
>=
pred_mode
)
return
mode
+
1
;
else
...
...
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