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
55d63111
Commit
55d63111
authored
Oct 01, 2017
by
Jingning Han
Committed by
Angie Chiang
Oct 02, 2017
Browse files
Fix initial setup in ctx1d
Initialize the counter to be zero. Change-Id: I6752a881eda032d9bcc803f724e53fdf79e95e75
parent
b51ef0de
Changes
1
Hide whitespace changes
Inline
Side-by-side
av1/common/txb_common.c
View file @
55d63111
...
...
@@ -179,7 +179,7 @@ void av1_init_txb_probs(FRAME_CONTEXT *fc) {
fc
->
eob_mode_cdf
[
tx_size
][
plane
][
tx_class
][
0
]
=
AOM_ICDF
(
128
*
(
aom_cdf_prob
)
fc
->
eob_mode
[
tx_size
][
plane
][
tx_class
]);
fc
->
eob_mode_cdf
[
tx_size
][
plane
][
tx_class
][
1
]
=
AOM_ICDF
(
32768
);
fc
->
eob_mode_cdf
[
tx_size
][
plane
][
tx_class
][
2
]
=
AOM_ICDF
(
0
)
;
fc
->
eob_mode_cdf
[
tx_size
][
plane
][
tx_class
][
2
]
=
0
;
}
}
}
...
...
@@ -192,7 +192,7 @@ void av1_init_txb_probs(FRAME_CONTEXT *fc) {
(
aom_cdf_prob
)
fc
->
empty_line
[
tx_size
][
plane
][
tx_class
][
ctx
]);
fc
->
empty_line_cdf
[
tx_size
][
plane
][
tx_class
][
ctx
][
1
]
=
AOM_ICDF
(
32768
);
fc
->
empty_line_cdf
[
tx_size
][
plane
][
tx_class
][
ctx
][
2
]
=
AOM_ICDF
(
0
)
;
fc
->
empty_line_cdf
[
tx_size
][
plane
][
tx_class
][
ctx
][
2
]
=
0
;
}
}
}
...
...
@@ -204,7 +204,7 @@ void av1_init_txb_probs(FRAME_CONTEXT *fc) {
fc
->
hv_eob_cdf
[
tx_size
][
plane
][
tx_class
][
ctx
][
0
]
=
AOM_ICDF
(
128
*
(
aom_cdf_prob
)
fc
->
hv_eob
[
tx_size
][
plane
][
tx_class
][
ctx
]);
fc
->
hv_eob_cdf
[
tx_size
][
plane
][
tx_class
][
ctx
][
1
]
=
AOM_ICDF
(
32768
);
fc
->
hv_eob_cdf
[
tx_size
][
plane
][
tx_class
][
ctx
][
2
]
=
AOM_ICDF
(
0
)
;
fc
->
hv_eob_cdf
[
tx_size
][
plane
][
tx_class
][
ctx
][
2
]
=
0
;
}
}
}
...
...
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