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
5831a712
Commit
5831a712
authored
Jun 05, 2015
by
Scott LaVarnway
Committed by
Gerrit Code Review
Jun 05, 2015
Browse files
Merge "BUG FIX: Remove counts param"
parents
8c854769
63819c03
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/decoder/vp9_detokenize.c
View file @
5831a712
...
...
@@ -59,10 +59,8 @@ static int decode_coefs(const MACROBLOCKD *xd,
const
vp9_prob
(
*
coef_probs
)[
COEFF_CONTEXTS
][
UNCONSTRAINED_NODES
]
=
fc
->
coef_probs
[
tx_size
][
type
][
ref
];
const
vp9_prob
*
prob
;
unsigned
int
(
*
coef_counts
)[
COEFF_CONTEXTS
][
UNCONSTRAINED_NODES
+
1
]
=
counts
->
coef
[
tx_size
][
type
][
ref
];
unsigned
int
(
*
eob_branch_count
)[
COEFF_CONTEXTS
]
=
counts
->
eob_branch
[
tx_size
][
type
][
ref
];
unsigned
int
(
*
coef_counts
)[
COEFF_CONTEXTS
][
UNCONSTRAINED_NODES
+
1
];
unsigned
int
(
*
eob_branch_count
)[
COEFF_CONTEXTS
];
uint8_t
token_cache
[
32
*
32
];
const
uint8_t
*
band_translate
=
get_band_translate
(
tx_size
);
const
int
dq_shift
=
(
tx_size
==
TX_32X32
);
...
...
@@ -75,6 +73,11 @@ static int decode_coefs(const MACROBLOCKD *xd,
const
uint8_t
*
cat5_prob
;
const
uint8_t
*
cat6_prob
;
if
(
counts
)
{
coef_counts
=
counts
->
coef
[
tx_size
][
type
][
ref
];
eob_branch_count
=
counts
->
eob_branch
[
tx_size
][
type
][
ref
];
}
#if CONFIG_VP9_HIGHBITDEPTH
if
(
xd
->
bd
>
VPX_BITS_8
)
{
if
(
xd
->
bd
==
VPX_BITS_10
)
{
...
...
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