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
166d24d0
Commit
166d24d0
authored
Nov 17, 2012
by
Ronald S. Bultje
Browse files
Remove unused function count_tokens() in detokenize.c.
Change-Id: I178f250b1a4d41d5a9c1619091f5ae51cebffb10
parent
f19a1caf
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/decoder/detokenize.c
View file @
166d24d0
...
...
@@ -179,25 +179,6 @@ void static count_tokens_adaptive_scan(const MACROBLOCKD *xd, INT16 *qcoeff_ptr,
}
}
void
static
count_tokens
(
INT16
*
qcoeff_ptr
,
int
block
,
PLANE_TYPE
type
,
ENTROPY_CONTEXT
*
a
,
ENTROPY_CONTEXT
*
l
,
int
eob
,
int
seg_eob
,
FRAME_CONTEXT
*
const
fc
)
{
int
c
,
pt
,
token
,
band
;
VP9_COMBINEENTROPYCONTEXTS
(
pt
,
*
a
,
*
l
);
for
(
c
=
!
type
;
c
<
eob
;
++
c
)
{
int
rc
=
vp9_default_zig_zag1d
[
c
];
int
v
=
qcoeff_ptr
[
rc
];
band
=
vp9_coef_bands
[
c
];
token
=
get_token
(
v
);
fc
->
coef_counts
[
type
][
band
][
pt
][
token
]
++
;
pt
=
vp9_prev_token_class
[
token
];
}
if
(
eob
<
seg_eob
)
{
band
=
vp9_coef_bands
[
c
];
fc
->
coef_counts
[
type
][
band
][
pt
][
DCT_EOB_TOKEN
]
++
;
}
}
void
static
count_tokens_8x8
(
INT16
*
qcoeff_ptr
,
int
block
,
PLANE_TYPE
type
,
TX_TYPE
tx_type
,
ENTROPY_CONTEXT
*
a
,
ENTROPY_CONTEXT
*
l
,
...
...
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