]> granicus.if.org Git - libvpx/commitdiff
idct16x16_add_neon: fix arm visual studio builds
authorJames Zern <jzern@google.com>
Thu, 8 Dec 2016 21:02:30 +0000 (13:02 -0800)
committerJames Zern <jzern@google.com>
Thu, 8 Dec 2016 23:17:57 +0000 (15:17 -0800)
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

vpx_dsp/arm/idct16x16_add_neon.asm

index b80f2ba54fb51fe2c4b00a0191996232aed5ccba..27ad17ac21a24e09f851712e3d28312783654264 100644 (file)
@@ -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 @@ idct16x16_256_add_neon_pass1
     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 @@ IF CONFIG_VP9_HIGHBITDEPTH
 
     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 @@ end_idct16x16_pass2
     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 @@ IF CONFIG_VP9_HIGHBITDEPTH
 
     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)