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
8b38d107
Commit
8b38d107
authored
Feb 14, 2010
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
indent
Originally committed as revision 21827 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
f4b8b825
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
h264_cabac.c
libavcodec/h264_cabac.c
+6
-6
No files found.
libavcodec/h264_cabac.c
View file @
8b38d107
...
...
@@ -1688,12 +1688,12 @@ decode_intra_mb:
val
=
-
((
val
+
1
)
>>
1
);
h
->
last_qscale_diff
=
val
;
s
->
qscale
+=
val
;
if
(((
unsigned
)
s
->
qscale
)
>
51
){
if
(
s
->
qscale
<
0
)
s
->
qscale
+=
52
;
else
s
->
qscale
-=
52
;
}
h
->
chroma_qp
[
0
]
=
get_chroma_qp
(
h
,
0
,
s
->
qscale
);
h
->
chroma_qp
[
1
]
=
get_chroma_qp
(
h
,
1
,
s
->
qscale
);
if
(((
unsigned
)
s
->
qscale
)
>
51
){
if
(
s
->
qscale
<
0
)
s
->
qscale
+=
52
;
else
s
->
qscale
-=
52
;
}
h
->
chroma_qp
[
0
]
=
get_chroma_qp
(
h
,
0
,
s
->
qscale
);
h
->
chroma_qp
[
1
]
=
get_chroma_qp
(
h
,
1
,
s
->
qscale
);
}
else
h
->
last_qscale_diff
=
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