Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Yushin Cho
aom-rav1e
Commits
73efc7a0
Commit
73efc7a0
authored
Mar 23, 2016
by
Adrian Grange
Browse files
Remove unused local variable "lossless"
Change-Id: Ia7305f269dcf1242e38adc39f0372f4bc8b78394
parent
3d26d916
Changes
1
Hide whitespace changes
Inline
Side-by-side
av1/encoder/quantize.c
View file @
73efc7a0
...
...
@@ -389,13 +389,12 @@ void vp10_init_plane_quantizers(VP10_COMP *cpi, MACROBLOCK *x) {
const
int
segment_id
=
xd
->
mi
[
0
]
->
mbmi
.
segment_id
;
const
int
qindex
=
vp10_get_qindex
(
&
cm
->
seg
,
segment_id
,
cm
->
base_qindex
);
const
int
rdmult
=
vp10_compute_rd_mult
(
cpi
,
qindex
+
cm
->
y_dc_delta_q
);
const
int
lossless
=
xd
->
lossless
[
segment_id
];
int
i
;
#if CONFIG_AOM_QM
int
minqm
=
cm
->
min_qmlevel
;
int
maxqm
=
cm
->
max_qmlevel
;
// Quant matrix only depends on the base QP so there is only one set per frame
int
qmlevel
=
(
lossless
||
cm
->
using_qmatrix
==
0
)
int
qmlevel
=
(
xd
->
lossless
[
segment_id
]
||
cm
->
using_qmatrix
==
0
)
?
NUM_QM_LEVELS
-
1
:
aom_get_qmlevel
(
cm
->
base_qindex
,
minqm
,
maxqm
);
#endif
...
...
Write
Preview
Supports
Markdown
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