diff options
author | Linfeng Zhang <linfengz@google.com> | 2016-12-12 15:13:22 -0800 |
---|---|---|
committer | Linfeng Zhang <linfengz@google.com> | 2016-12-12 15:13:22 -0800 |
commit | 5d4aa325a6be1be3688eb893aa64b0f91b4ff07a (patch) | |
tree | 41599ab23f3f3ed6843fd1830e10176eb65d403e /vpx_dsp/arm/idct16x16_neon.c | |
parent | 282f3b3d783da20dd9d2a896ec773ef61b54bbc6 (diff) | |
download | libvpx-5d4aa325a6be1be3688eb893aa64b0f91b4ff07a.tar libvpx-5d4aa325a6be1be3688eb893aa64b0f91b4ff07a.tar.gz libvpx-5d4aa325a6be1be3688eb893aa64b0f91b4ff07a.tar.bz2 libvpx-5d4aa325a6be1be3688eb893aa64b0f91b4ff07a.zip |
Cosmetics by unifying dest_stride to stride in idct
Change-Id: Ie9336a808a3c3592bb4fd5d4ad3839028bfcafba
Diffstat (limited to 'vpx_dsp/arm/idct16x16_neon.c')
-rw-r--r-- | vpx_dsp/arm/idct16x16_neon.c | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/vpx_dsp/arm/idct16x16_neon.c b/vpx_dsp/arm/idct16x16_neon.c index bcbbf4b6d..47366bcb7 100644 --- a/vpx_dsp/arm/idct16x16_neon.c +++ b/vpx_dsp/arm/idct16x16_neon.c @@ -15,7 +15,7 @@ void vpx_idct16x16_256_add_neon_pass1(const int16_t *input, int16_t *output); void vpx_idct16x16_256_add_neon_pass2(const int16_t *src, int16_t *output, int16_t *pass1_output, int16_t skip_adding, uint8_t *dest, - int dest_stride); + int stride); #if CONFIG_VP9_HIGHBITDEPTH void vpx_idct16x16_256_add_neon_pass1_tran_low(const tran_low_t *input, int16_t *output); @@ -23,7 +23,7 @@ void vpx_idct16x16_256_add_neon_pass2_tran_low(const tran_low_t *src, int16_t *output, int16_t *pass1_output, int16_t skip_adding, - uint8_t *dest, int dest_stride); + uint8_t *dest, int stride); #else #define vpx_idct16x16_256_add_neon_pass1_tran_low \ vpx_idct16x16_256_add_neon_pass1 @@ -42,7 +42,7 @@ extern void vpx_pop_neon(int64_t *store); #endif // HAVE_NEON_ASM void vpx_idct16x16_256_add_neon(const tran_low_t *input, uint8_t *dest, - int dest_stride) { + int stride) { #if HAVE_NEON_ASM int64_t store_reg[8]; #endif @@ -63,7 +63,7 @@ void vpx_idct16x16_256_add_neon(const tran_low_t *input, uint8_t *dest, // with result in pass1(pass1_output) to calculate final result in stage 7 // which will be saved into row_idct_output. vpx_idct16x16_256_add_neon_pass2_tran_low(input + 1, row_idct_output, - pass1_output, 0, dest, dest_stride); + pass1_output, 0, dest, stride); /* Parallel idct on the lower 8 rows */ // First pass processes even elements 0, 2, 4, 6, 8, 10, 12, 14 and save the @@ -73,9 +73,8 @@ void vpx_idct16x16_256_add_neon(const tran_low_t *input, uint8_t *dest, // Second pass processes odd elements 1, 3, 5, 7, 9, 11, 13, 15 and combines // with result in pass1(pass1_output) to calculate final result in stage 7 // which will be saved into row_idct_output. - vpx_idct16x16_256_add_neon_pass2_tran_low(input + 8 * 16 + 1, - row_idct_output + 8, pass1_output, - 0, dest, dest_stride); + vpx_idct16x16_256_add_neon_pass2_tran_low( + input + 8 * 16 + 1, row_idct_output + 8, pass1_output, 0, dest, stride); /* Parallel idct on the left 8 columns */ // First pass processes even elements 0, 2, 4, 6, 8, 10, 12, 14 and save the @@ -86,7 +85,7 @@ void vpx_idct16x16_256_add_neon(const tran_low_t *input, uint8_t *dest, // with result in pass1(pass1_output) to calculate final result in stage 7. // Then add the result to the destination data. vpx_idct16x16_256_add_neon_pass2(row_idct_output + 1, row_idct_output, - pass1_output, 1, dest, dest_stride); + pass1_output, 1, dest, stride); /* Parallel idct on the right 8 columns */ // First pass processes even elements 0, 2, 4, 6, 8, 10, 12, 14 and save the @@ -98,7 +97,7 @@ void vpx_idct16x16_256_add_neon(const tran_low_t *input, uint8_t *dest, // Then add the result to the destination data. vpx_idct16x16_256_add_neon_pass2(row_idct_output + 8 * 16 + 1, row_idct_output + 8, pass1_output, 1, - dest + 8, dest_stride); + dest + 8, stride); #if HAVE_NEON_ASM // restore d8-d15 register values. @@ -107,7 +106,7 @@ void vpx_idct16x16_256_add_neon(const tran_low_t *input, uint8_t *dest, } void vpx_idct16x16_10_add_neon(const tran_low_t *input, uint8_t *dest, - int dest_stride) { + int stride) { #if HAVE_NEON_ASM int64_t store_reg[8]; #endif @@ -140,7 +139,7 @@ void vpx_idct16x16_10_add_neon(const tran_low_t *input, uint8_t *dest, // with result in pass1(pass1_output) to calculate final result in stage 7. // Then add the result to the destination data. vpx_idct16x16_256_add_neon_pass2(row_idct_output + 1, row_idct_output, - pass1_output, 1, dest, dest_stride); + pass1_output, 1, dest, stride); /* Parallel idct on the right 8 columns */ // First pass processes even elements 0, 2, 4, 6, 8, 10, 12, 14 and save the @@ -152,7 +151,7 @@ void vpx_idct16x16_10_add_neon(const tran_low_t *input, uint8_t *dest, // Then add the result to the destination data. vpx_idct16x16_256_add_neon_pass2(row_idct_output + 8 * 16 + 1, row_idct_output + 8, pass1_output, 1, - dest + 8, dest_stride); + dest + 8, stride); #if HAVE_NEON_ASM // restore d8-d15 register values. |