Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
ac917ec2
Commit
ac917ec2
authored
Aug 16, 2016
by
Sarah Parker
Committed by
Gerrit Code Review
Aug 16, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Fix dropped const qualifier in new_quant experiment" into nextgenv2
parents
58b3813c
28666204
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
9 deletions
+5
-9
vp10/encoder/block.h
vp10/encoder/block.h
+1
-1
vp10/encoder/quantize.c
vp10/encoder/quantize.c
+4
-8
No files found.
vp10/encoder/block.h
View file @
ac917ec2
...
...
@@ -42,7 +42,7 @@ typedef struct macroblock_plane {
const
int16_t
*
zbin
;
const
int16_t
*
round
;
#if CONFIG_NEW_QUANT
cuml_bins_type_nuq
*
cuml_bins_nuq
[
QUANT_PROFILES
];
const
cuml_bins_type_nuq
*
cuml_bins_nuq
[
QUANT_PROFILES
];
#endif // CONFIG_NEW_QUANT
int64_t
quant_thred
[
2
];
...
...
vp10/encoder/quantize.c
View file @
ac917ec2
...
...
@@ -1078,10 +1078,8 @@ void vp10_init_plane_quantizers(const VP10_COMP *cpi, MACROBLOCK *x,
xd
->
plane
[
0
].
dequant
=
cpi
->
y_dequant
[
qindex
];
#if CONFIG_NEW_QUANT
for
(
dq
=
0
;
dq
<
QUANT_PROFILES
;
dq
++
)
{
x
->
plane
[
0
].
cuml_bins_nuq
[
dq
]
=
(
cuml_bins_type_nuq
*
)
quants
->
y_cuml_bins_nuq
[
dq
][
qindex
];
xd
->
plane
[
0
].
dequant_val_nuq
[
dq
]
=
(
const
dequant_val_type_nuq
*
)
cpi
->
y_dequant_val_nuq
[
dq
][
qindex
];
x
->
plane
[
0
].
cuml_bins_nuq
[
dq
]
=
quants
->
y_cuml_bins_nuq
[
dq
][
qindex
];
xd
->
plane
[
0
].
dequant_val_nuq
[
dq
]
=
cpi
->
y_dequant_val_nuq
[
dq
][
qindex
];
}
#endif // CONFIG_NEW_QUANT
...
...
@@ -1099,10 +1097,8 @@ void vp10_init_plane_quantizers(const VP10_COMP *cpi, MACROBLOCK *x,
xd
->
plane
[
i
].
dequant
=
cpi
->
uv_dequant
[
qindex
];
#if CONFIG_NEW_QUANT
for
(
dq
=
0
;
dq
<
QUANT_PROFILES
;
dq
++
)
{
x
->
plane
[
i
].
cuml_bins_nuq
[
dq
]
=
(
cuml_bins_type_nuq
*
)
quants
->
uv_cuml_bins_nuq
[
dq
][
qindex
];
xd
->
plane
[
i
].
dequant_val_nuq
[
dq
]
=
(
const
dequant_val_type_nuq
*
)
cpi
->
uv_dequant_val_nuq
[
dq
][
qindex
];
x
->
plane
[
i
].
cuml_bins_nuq
[
dq
]
=
quants
->
uv_cuml_bins_nuq
[
dq
][
qindex
];
xd
->
plane
[
i
].
dequant_val_nuq
[
dq
]
=
cpi
->
uv_dequant_val_nuq
[
dq
][
qindex
];
}
#endif // CONFIG_NEW_QUANT
...
...
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