Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
9b468fd9
Commit
9b468fd9
authored
Dec 13, 2017
by
Angie Chiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct the tx blk size for mismatch_debug
Change-Id: I4eadddf7c3e99a9a71fd858e46970c1b7d3cd713
parent
3ab64bdc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
av1/decoder/decodeframe.c
av1/decoder/decodeframe.c
+2
-2
av1/encoder/encodemb.c
av1/encoder/encodemb.c
+3
-2
No files found.
av1/decoder/decodeframe.c
View file @
9b468fd9
...
...
@@ -282,8 +282,8 @@ static void decode_reconstruct_tx(AV1_COMMON *cm, MACROBLOCKD *const xd,
max_scan_line
,
eob
,
cm
->
reduced_tx_set_used
);
#if CONFIG_MISMATCH_DEBUG
int
pixel_c
,
pixel_r
;
int
blk_w
=
block_size_wide
[
plane_
bsize
];
int
blk_h
=
block_size_high
[
plane_
bsize
];
int
blk_w
=
block_size_wide
[
bsize
];
int
blk_h
=
block_size_high
[
bsize
];
mi_to_pixel_loc
(
&
pixel_c
,
&
pixel_r
,
mi_col
,
mi_row
,
blk_col
,
blk_row
,
pd
->
subsampling_x
,
pd
->
subsampling_y
);
mismatch_check_block_tx
(
dst
,
pd
->
dst
.
stride
,
plane
,
pixel_c
,
pixel_r
,
blk_w
,
...
...
av1/encoder/encodemb.c
View file @
9b468fd9
...
...
@@ -678,8 +678,9 @@ static void encode_block(int plane, int block, int blk_row, int blk_col,
#if CONFIG_MISMATCH_DEBUG
if
(
dry_run
==
OUTPUT_ENABLED
)
{
int
pixel_c
,
pixel_r
;
int
blk_w
=
block_size_wide
[
plane_bsize
];
int
blk_h
=
block_size_high
[
plane_bsize
];
BLOCK_SIZE
bsize
=
txsize_to_bsize
[
tx_size
];
int
blk_w
=
block_size_wide
[
bsize
];
int
blk_h
=
block_size_high
[
bsize
];
mi_to_pixel_loc
(
&
pixel_c
,
&
pixel_r
,
mi_col
,
mi_row
,
blk_col
,
blk_row
,
pd
->
subsampling_x
,
pd
->
subsampling_y
);
mismatch_record_block_tx
(
dst
,
pd
->
dst
.
stride
,
plane
,
pixel_c
,
pixel_r
,
...
...
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