Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
aom-rav1e
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiph.Org
aom-rav1e
Commits
1628fccb
Commit
1628fccb
authored
Apr 13, 2017
by
Angie Chiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Write/update tx_type per txb in lv_map exp
Change-Id: I052721017cddd57ff9995e8dd442e4b3436a0b48
parent
b14b73f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
av1/encoder/encodetxb.c
av1/encoder/encodetxb.c
+4
-1
No files found.
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