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
0b205e68
Commit
0b205e68
authored
Mar 20, 2017
by
Angie Chiang
Browse files
Update scan count in update_and_record_txb_context
Change-Id: I497221e91c576bc684ee65bcdbab1469b8821fe1
parent
29b0fadb
Changes
1
Hide whitespace changes
Inline
Side-by-side
av1/encoder/encodetxb.c
View file @
0b205e68
...
...
@@ -523,6 +523,15 @@ static void update_and_record_txb_context(int plane, int block, int blk_row,
// DC value
set_dc_sign
(
&
cul_level
,
tcoeff
[
0
]);
av1_set_contexts
(
xd
,
pd
,
plane
,
tx_size
,
cul_level
,
blk_col
,
blk_row
);
#if CONFIG_ADAPT_SCAN
// Since dqcoeff is not available here, we pass qcoeff into
// av1_update_scan_count_facade(). The update behavior should be the same
// because av1_update_scan_count_facade() only cares if coefficients are zero
// or not.
av1_update_scan_count_facade
((
AV1_COMMON
*
)
cm
,
td
->
counts
,
tx_size
,
tx_type
,
qcoeff
,
eob
);
#endif
}
void
av1_update_txb_context
(
const
AV1_COMP
*
cpi
,
ThreadData
*
td
,
...
...
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