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
ab9ecbab
Commit
ab9ecbab
authored
Jan 13, 2017
by
Jingning Han
Browse files
Refactor end-node process in var-tx
Change-Id: If38fa7e7816a556602c937f0526f5842cc216bf3
parent
8a630493
Changes
2
Hide whitespace changes
Inline
Side-by-side
av1/decoder/decodemv.c
View file @
ab9ecbab
...
...
@@ -347,14 +347,14 @@ static void read_tx_size_vartx(AV1_COMMON *cm, MACROBLOCKD *xd,
if
(
tx_size
==
TX_8X8
)
{
int
idx
,
idy
;
inter_tx_size
[
0
][
0
]
=
TX_4X4
;
inter_tx_size
[
0
][
0
]
=
sub_txs
;
for
(
idy
=
0
;
idy
<
tx_size_high_unit
[
tx_size
]
/
2
;
++
idy
)
for
(
idx
=
0
;
idx
<
tx_size_wide_unit
[
tx_size
]
/
2
;
++
idx
)
inter_tx_size
[
idy
][
idx
]
=
inter_tx_size
[
0
][
0
];
mbmi
->
tx_size
=
TX_4X4
;
mbmi
->
tx_size
=
sub_txs
;
mbmi
->
min_tx_size
=
get_min_tx_size
(
mbmi
->
tx_size
);
txfm_partition_update
(
xd
->
above_txfm_context
+
tx_col
,
xd
->
left_txfm_context
+
tx_row
,
TX_4X4
,
tx_size
);
xd
->
left_txfm_context
+
tx_row
,
sub_txs
,
tx_size
);
return
;
}
...
...
av1/encoder/bitstream.c
View file @
ab9ecbab
...
...
@@ -400,7 +400,7 @@ static void write_tx_size_vartx(const AV1_COMMON *cm, const MACROBLOCKD *xd,
if
(
tx_size
==
TX_8X8
)
{
txfm_partition_update
(
xd
->
above_txfm_context
+
tx_col
,
xd
->
left_txfm_context
+
tx_row
,
TX_4X4
,
tx_size
);
xd
->
left_txfm_context
+
tx_row
,
sub_txs
,
tx_size
);
return
;
}
...
...
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