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
394c3377
Commit
394c3377
authored
Nov 03, 2016
by
Angie Chiang
Browse files
Add mi_row and mi_col into mbmi to facilitate rd_debug process
Change-Id: Ia69f13c47f2dd34fabd220652691049166a06a68
parent
d402282f
Changes
2
Hide whitespace changes
Inline
Side-by-side
av1/decoder/decodeframe.c
View file @
394c3377
...
...
@@ -442,6 +442,10 @@ static MB_MODE_INFO *set_offsets(AV1_COMMON *const cm, MACROBLOCKD *const xd,
// TODO(slavarnway): Generate sb_type based on bwl and bhl, instead of
// passing bsize from decode_partition().
xd
->
mi
[
0
]
->
mbmi
.
sb_type
=
bsize
;
#if CONFIG_RD_DEBUG
xd
->
mi
[
0
]
->
mbmi
.
mi_row
=
mi_row
;
xd
->
mi
[
0
]
->
mbmi
.
mi_col
=
mi_col
;
#endif
for
(
y
=
0
;
y
<
y_mis
;
++
y
)
for
(
x
=
!
y
;
x
<
x_mis
;
++
x
)
xd
->
mi
[
y
*
cm
->
mi_stride
+
x
]
=
xd
->
mi
[
0
];
...
...
av1/encoder/encodeframe.c
View file @
394c3377
...
...
@@ -1634,6 +1634,10 @@ static void rd_pick_sb_modes(const AV1_COMP *const cpi, TileDataEnc *tile_data,
set_offsets
(
cpi
,
tile_info
,
x
,
mi_row
,
mi_col
,
bsize
);
mbmi
=
&
xd
->
mi
[
0
]
->
mbmi
;
mbmi
->
sb_type
=
bsize
;
#if CONFIG_RD_DEBUG
mbmi
->
mi_row
=
mi_row
;
mbmi
->
mi_col
=
mi_col
;
#endif
#if CONFIG_SUPERTX
// We set tx_size here as skip blocks would otherwise not set it.
// tx_size needs to be set at this point as supertx_enable in
...
...
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