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
0822557b
Commit
0822557b
authored
Jan 23, 2018
by
Angie Chiang
Committed by
Sebastien Alaiwan
Jan 25, 2018
Browse files
Refactor buf_offset in av1_inv_txfm2d.c
Change-Id: I73d1d15ab678242737432064d203c476057286ed
parent
fa8bad19
Changes
1
Hide whitespace changes
Inline
Side-by-side
av1/common/av1_inv_txfm2d.c
View file @
0822557b
...
...
@@ -359,9 +359,10 @@ static INLINE void inv_txfm2d_add_c(const int32_t *input, uint16_t *output,
// txfm_buf's length is txfm_size_row * txfm_size_col + 2 *
// AOMMAX(txfm_size_row, txfm_size_col)
// it is used for intermediate data buffering
const
int
buf_offset
=
AOMMAX
(
txfm_size_row
,
txfm_size_col
);
int32_t
*
temp_in
=
txfm_buf
;
int32_t
*
temp_out
=
temp_in
+
AOMMAX
(
txfm_size_row
,
txfm_size_col
)
;
int32_t
*
buf
=
temp_out
+
AOMMAX
(
txfm_size_row
,
txfm_size_col
)
;
int32_t
*
temp_out
=
temp_in
+
buf_offset
;
int32_t
*
buf
=
temp_out
+
buf_offset
;
int32_t
*
buf_ptr
=
buf
;
int
c
,
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