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
6d6fc410
Commit
6d6fc410
authored
May 25, 2017
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/diracdec: Factor quant matrix reads
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
d98f34d7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
diracdec.c
libavcodec/diracdec.c
+3
-4
No files found.
libavcodec/diracdec.c
View file @
6d6fc410
...
...
@@ -1257,11 +1257,10 @@ static int dirac_unpack_idwt_params(DiracContext *s)
if
(
get_bits1
(
gb
))
{
av_log
(
s
->
avctx
,
AV_LOG_DEBUG
,
"Low Delay: Has Custom Quantization Matrix!
\n
"
);
/* custom quantization matrix */
s
->
lowdelay
.
quant
[
0
][
0
]
=
get_interleaved_ue_golomb
(
gb
);
for
(
level
=
0
;
level
<
s
->
wavelet_depth
;
level
++
)
{
s
->
lowdelay
.
quant
[
level
][
1
]
=
get_interleaved_ue_golomb
(
gb
);
s
->
lowdelay
.
quant
[
level
][
2
]
=
get_interleaved_ue_golomb
(
gb
);
s
->
lowdelay
.
quant
[
level
][
3
]
=
get_interleaved_ue_golomb
(
gb
);
for
(
i
=
!!
level
;
i
<
4
;
i
++
)
{
s
->
lowdelay
.
quant
[
level
][
i
]
=
get_interleaved_ue_golomb
(
gb
);
}
}
}
else
{
if
(
s
->
wavelet_depth
>
4
)
{
...
...
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