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
Guillaume Martres
aom-rav1e
Commits
a4364e51
Commit
a4364e51
authored
Apr 01, 2015
by
Jingning Han
Committed by
Gerrit Code Review
Apr 01, 2015
Browse files
Merge "Simplify effective src_diff address computation"
parents
7acb2a87
19da9167
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/encoder/vp9_pickmode.c
View file @
a4364e51
...
...
@@ -602,10 +602,8 @@ static void block_yrd(VP9_COMP *cpi, MACROBLOCK *x, int *rate, int64_t *dist,
tran_low_t
*
const
dqcoeff
=
BLOCK_OFFSET
(
pd
->
dqcoeff
,
block
);
uint16_t
*
const
eob
=
&
p
->
eobs
[
block
];
const
int
diff_stride
=
4
*
num_4x4_blocks_wide_lookup
[
bsize
];
int
i
,
j
;
const
int16_t
*
src_diff
;
txfrm_block_to_raster_xy
(
bsize
,
tx_size
,
block
,
&
i
,
&
j
);
src_diff
=
&
p
->
src_diff
[
4
*
(
j
*
diff_stride
+
i
)];
src_diff
=
&
p
->
src_diff
[(
r
*
diff_stride
+
c
)
<<
2
];
switch
(
tx_size
)
{
case
TX_32X32
:
...
...
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