shithub: libvpx

Download patch

ref: 6defef4ab2c75c4f693b7f8876291a1de0e66d66
parent: e4c6f8fde75c0b6084b854420a398991061d4fc9
author: James Zern <jzern@google.com>
date: Thu Dec 8 08:02:30 EST 2016

idct16x16_add_neon: fix arm visual studio builds

after:
2d3d95f enable vpx_idct16x16_256_add_neon in hbd builds

reorder INCLUDEs and fix indent of IF/ENDIFs

remove vpx_config.asm to avoid multiple symbol definitions in windows
builds and shift idct_neon.asm.S to the top to allow use of
CONFIG_VP9_HIGHBITDEPTH in the export list.

Change-Id: I0dacfbae62a6ec8fe4a26940c1a52da2dfad2029

--- a/vpx_dsp/arm/idct16x16_add_neon.asm
+++ b/vpx_dsp/arm/idct16x16_add_neon.asm
@@ -8,7 +8,7 @@
 ;  be found in the AUTHORS file in the root of the source tree.
 ;
 
-    INCLUDE ./vpx_config.asm
+    INCLUDE vpx_dsp/arm/idct_neon.asm.S
 
     EXPORT  |vpx_idct16x16_256_add_neon_pass1|
     EXPORT  |vpx_idct16x16_256_add_neon_pass2|
@@ -24,8 +24,6 @@
 
     AREA ||.text||, CODE, READONLY, ALIGN=2
 
-    INCLUDE vpx_dsp/arm/idct_neon.asm.S
-
     ; Transpose a 8x8 16bit data matrix. Datas are loaded in q8-q15.
     MACRO
     TRANSPOSE8X8
@@ -262,7 +260,7 @@
     bx              lr
     ENDP  ; |vpx_idct16x16_256_add_neon_pass1|
 
-IF CONFIG_VP9_HIGHBITDEPTH
+    IF CONFIG_VP9_HIGHBITDEPTH
 ;void |vpx_idct16x16_256_add_neon_pass1_tran_low|(const tran_low_t *input,
 ;                                                 int16_t *output)
 ;
@@ -282,7 +280,7 @@
 
     b               idct16x16_256_add_neon_pass1
     ENDP  ; |vpx_idct16x16_256_add_neon_pass1_tran_low|
-ENDIF  ; CONFIG_VP9_HIGHBITDEPTH
+    ENDIF  ; CONFIG_VP9_HIGHBITDEPTH
 
 ;void vpx_idct16x16_256_add_neon_pass2(const int16_t *src,
 ;                                      int16_t *output,
@@ -785,7 +783,7 @@
     bx              lr
     ENDP  ; |vpx_idct16x16_256_add_neon_pass2|
 
-IF CONFIG_VP9_HIGHBITDEPTH
+    IF CONFIG_VP9_HIGHBITDEPTH
 ;void vpx_idct16x16_256_add_neon_pass2_tran_low(const tran_low_t *src,
 ;                                               int16_t *output,
 ;                                               int16_t *pass1_output,
@@ -813,7 +811,7 @@
 
     b               idct16x16_256_add_neon_pass2
     ENDP  ; |vpx_idct16x16_256_add_neon_pass2_tran_low|
-ENDIF  ; CONFIG_VP9_HIGHBITDEPTH
+    ENDIF  ; CONFIG_VP9_HIGHBITDEPTH
 
 ;void |vpx_idct16x16_10_add_neon_pass1|(const tran_low_t *input,
 ;                                       int16_t *output)