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
Xiph.Org
aom-rav1e
Commits
8cbf9134
Commit
8cbf9134
authored
Jan 15, 2018
by
Sebastien Alaiwan
Browse files
decodetxb.c: homogenize types for local 't'
Change-Id: I4b271259a2c29619ac7a066bedb958400187ac20
parent
c84e32f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
av1/decoder/decodetxb.c
View file @
8cbf9134
...
...
@@ -357,7 +357,7 @@ uint8_t av1_read_coeffs_txb(const AV1_COMMON *const cm, MACROBLOCKD *const xd,
// decode 0-th order Golomb code
*
level
=
COEFF_BASE_RANGE
+
1
+
NUM_BASE_LEVELS
;
// Save golomb in tcoeffs because adding it to level may incur overflow
tran_
high
_t
t
=
*
level
+
read_golomb
(
xd
,
r
,
counts
);
tran_
low
_t
t
=
*
level
+
read_golomb
(
xd
,
r
,
counts
);
cul_level
+=
(
int
)
t
;
#if CONFIG_NEW_QUANT
dqv_val
=
&
dq_val
[
pos
!=
0
][
0
];
...
...
@@ -373,7 +373,7 @@ uint8_t av1_read_coeffs_txb(const AV1_COMMON *const cm, MACROBLOCKD *const xd,
#endif // !CONFIG_DAALA_TX
#endif // CONFIG_NEW_QUANT
if
(
signs
[
pos
])
t
=
-
t
;
tcoeffs
[
pos
]
=
clamp
(
(
tran_low_t
)
t
,
min_value
,
max_value
);
tcoeffs
[
pos
]
=
clamp
(
t
,
min_value
,
max_value
);
}
}
...
...
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