Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
a49e77af
Commit
a49e77af
authored
Oct 30, 2013
by
Yaowu Xu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
simplify read_coef_prob()
Change-Id: I529c634db4f81ba5386092c126f53312b1e51b2b
parent
25a2740a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
10 deletions
+4
-10
vp9/decoder/vp9_decodframe.c
vp9/decoder/vp9_decodframe.c
+4
-10
No files found.
vp9/decoder/vp9_decodframe.c
View file @
a49e77af
...
...
@@ -552,16 +552,10 @@ static void read_coef_probs_common(vp9_coeff_probs_model *coef_probs,
static
void
read_coef_probs
(
FRAME_CONTEXT
*
fc
,
TX_MODE
tx_mode
,
vp9_reader
*
r
)
{
read_coef_probs_common
(
fc
->
coef_probs
[
TX_4X4
],
r
);
if
(
tx_mode
>
ONLY_4X4
)
read_coef_probs_common
(
fc
->
coef_probs
[
TX_8X8
],
r
);
if
(
tx_mode
>
ALLOW_8X8
)
read_coef_probs_common
(
fc
->
coef_probs
[
TX_16X16
],
r
);
if
(
tx_mode
>
ALLOW_16X16
)
read_coef_probs_common
(
fc
->
coef_probs
[
TX_32X32
],
r
);
const
TX_SIZE
max_tx_size
=
tx_mode_to_biggest_tx_size
[
tx_mode
];
TX_SIZE
tx_size
;
for
(
tx_size
=
TX_4X4
;
tx_size
<=
max_tx_size
;
++
tx_size
)
read_coef_probs_common
(
fc
->
coef_probs
[
tx_size
],
r
);
}
static
void
setup_segmentation
(
struct
segmentation
*
seg
,
...
...
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