Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Side by Side Diff: source/config/linux/arm-neon-cpu-detect/vp9_rtcd.h

Issue 996503002: libvpx: Pull from upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « README.chromium ('k') | source/config/linux/arm-neon/vp9_rtcd.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #ifndef VP9_RTCD_H_ 1 #ifndef VP9_RTCD_H_
2 #define VP9_RTCD_H_ 2 #define VP9_RTCD_H_
3 3
4 #ifdef RTCD_C 4 #ifdef RTCD_C
5 #define RTCD_EXTERN 5 #define RTCD_EXTERN
6 #else 6 #else
7 #define RTCD_EXTERN extern 7 #define RTCD_EXTERN extern
8 #endif 8 #endif
9 9
10 /* 10 /*
(...skipping 731 matching lines...) Expand 10 before | Expand all | Expand 10 after
742 unsigned int vp9_variance8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 742 unsigned int vp9_variance8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
743 #define vp9_variance8x16 vp9_variance8x16_c 743 #define vp9_variance8x16 vp9_variance8x16_c
744 744
745 unsigned int vp9_variance8x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 745 unsigned int vp9_variance8x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
746 #define vp9_variance8x4 vp9_variance8x4_c 746 #define vp9_variance8x4 vp9_variance8x4_c
747 747
748 unsigned int vp9_variance8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 748 unsigned int vp9_variance8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
749 unsigned int vp9_variance8x8_neon(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 749 unsigned int vp9_variance8x8_neon(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
750 RTCD_EXTERN unsigned int (*vp9_variance8x8)(const uint8_t *src_ptr, int source_s tride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 750 RTCD_EXTERN unsigned int (*vp9_variance8x8)(const uint8_t *src_ptr, int source_s tride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
751 751
752 int vp9_vector_sad_c(int16_t const *ref, int16_t const *src, const int width); 752 int vp9_vector_var_c(int16_t const *ref, int16_t const *src, const int bwl);
753 #define vp9_vector_sad vp9_vector_sad_c 753 #define vp9_vector_var vp9_vector_var_c
754 754
755 void vp9_rtcd(void); 755 void vp9_rtcd(void);
756 756
757 #include "vpx_config.h" 757 #include "vpx_config.h"
758 758
759 #ifdef RTCD_C 759 #ifdef RTCD_C
760 #include "vpx_ports/arm.h" 760 #include "vpx_ports/arm.h"
761 static void setup_rtcd_internal(void) 761 static void setup_rtcd_internal(void)
762 { 762 {
763 int flags = arm_cpu_caps(); 763 int flags = arm_cpu_caps();
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
903 vp9_variance8x8 = vp9_variance8x8_c; 903 vp9_variance8x8 = vp9_variance8x8_c;
904 if (flags & HAS_NEON) vp9_variance8x8 = vp9_variance8x8_neon; 904 if (flags & HAS_NEON) vp9_variance8x8 = vp9_variance8x8_neon;
905 } 905 }
906 #endif 906 #endif
907 907
908 #ifdef __cplusplus 908 #ifdef __cplusplus
909 } // extern "C" 909 } // extern "C"
910 #endif 910 #endif
911 911
912 #endif 912 #endif
OLDNEW
« no previous file with comments | « README.chromium ('k') | source/config/linux/arm-neon/vp9_rtcd.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698