Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
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
1628fccb
Commit
1628fccb
authored
Apr 13, 2017
by
Angie Chiang
Browse files
Write/update tx_type per txb in lv_map exp
Change-Id: I052721017cddd57ff9995e8dd442e4b3436a0b48
parent
b14b73f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
av1/encoder/encodetxb.c
View file @
1628fccb
...
...
@@ -13,6 +13,8 @@
#include "av1/common/blockd.h"
#include "av1/common/idct.h"
#include "av1/common/pred_common.h"
#include "av1/encoder/bitstream.h"
#include "av1/encoder/encodeframe.h"
#include "av1/encoder/cost.h"
#include "av1/encoder/encodetxb.h"
#include "av1/encoder/rdopt.h"
...
...
@@ -88,6 +90,7 @@ void av1_write_coeffs_txb(const AV1_COMMON *const cm, MACROBLOCKD *xd,
aom_write
(
w
,
eob
==
0
,
cm
->
fc
->
txb_skip
[
tx_size
][
txb_ctx
->
txb_skip_ctx
]);
if
(
eob
==
0
)
return
;
av1_write_tx_type
(
cm
,
xd
,
block
,
w
);
nz_map
=
cm
->
fc
->
nz_map
[
tx_size
][
plane_type
];
eob_flag
=
cm
->
fc
->
eob_flag
[
tx_size
][
plane_type
];
...
...
@@ -453,7 +456,7 @@ static void update_and_record_txb_context(int plane, int block, int blk_row,
return
;
}
//
update_tx_type_count(cm,
mbmi, td, plane, block
);
av1_
update_tx_type_count
(
cm
,
xd
,
block
,
mbmi
->
sb_type
,
tx_size
,
td
->
counts
);
for
(
c
=
0
;
c
<
eob
;
++
c
)
{
tran_low_t
v
=
qcoeff
[
scan
[
c
]];
...
...
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