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
7e25fe6a
Commit
7e25fe6a
authored
Apr 03, 2017
by
Jingning Han
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use tx_size table in level map coding functions
Change-Id: I215c4bed9ba5c7f4fc93533249610217de14ce54
parent
ac4535c8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
av1/decoder/decodetxb.c
av1/decoder/decodetxb.c
+1
-1
av1/encoder/encodetxb.c
av1/encoder/encodetxb.c
+2
-2
No files found.
av1/decoder/decodetxb.c
View file @
7e25fe6a
...
...
@@ -49,7 +49,7 @@ uint8_t av1_read_coeffs_txb(const AV1_COMMON *const cm, MACROBLOCKD *xd,
const
SCAN_ORDER
*
const
scan_order
=
get_scan
(
cm
,
tx_size
,
tx_type
,
is_inter_block
(
mbmi
));
const
int16_t
*
scan
=
scan_order
->
scan
;
const
int
seg_eob
=
16
<<
(
tx_size
<<
1
)
;
const
int
seg_eob
=
tx_size_2d
[
tx_size
]
;
int
c
=
0
;
int
update_eob
=
-
1
;
const
int16_t
*
const
dequant
=
xd
->
plane
[
plane
].
seg_dequant
[
mbmi
->
segment_id
];
...
...
av1/encoder/encodetxb.c
View file @
7e25fe6a
...
...
@@ -79,7 +79,7 @@ void av1_write_coeffs_txb(const AV1_COMMON *const cm, MACROBLOCKD *xd,
int
c
;
int
is_nz
;
const
int
bwl
=
b_width_log2_lookup
[
txsize_to_bsize
[
tx_size
]]
+
2
;
const
int
seg_eob
=
16
<<
(
tx_size
<<
1
)
;
const
int
seg_eob
=
tx_size_2d
[
tx_size
]
;
uint8_t
txb_mask
[
32
*
32
]
=
{
0
};
uint16_t
update_eob
=
0
;
...
...
@@ -255,7 +255,7 @@ int av1_cost_coeffs_txb(const AV1_COMMON *const cm, MACROBLOCK *x, int plane,
const
int
eob
=
p
->
eobs
[
block
];
const
tran_low_t
*
const
qcoeff
=
BLOCK_OFFSET
(
p
->
qcoeff
,
block
);
int
c
,
cost
;
const
int
seg_eob
=
AOMMIN
(
eob
,
(
16
<<
(
tx_size
<<
1
))
-
1
);
const
int
seg_eob
=
AOMMIN
(
eob
,
tx_size_2d
[
tx_size
]
-
1
);
int
txb_skip_ctx
=
txb_ctx
->
txb_skip_ctx
;
aom_prob
*
nz_map
=
xd
->
fc
->
nz_map
[
tx_size
][
plane_type
];
...
...
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