OLD | NEW |
1 // Copyright 2010 Google Inc. All Rights Reserved. | 1 // Copyright 2010 Google Inc. All Rights Reserved. |
2 // | 2 // |
3 // Use of this source code is governed by a BSD-style license | 3 // Use of this source code is governed by a BSD-style license |
4 // that can be found in the COPYING file in the root of the source | 4 // that can be found in the COPYING file in the root of the source |
5 // tree. An additional intellectual property rights grant can be found | 5 // tree. An additional intellectual property rights grant can be found |
6 // in the file PATENTS. All contributing project authors may | 6 // in the file PATENTS. All contributing project authors may |
7 // be found in the AUTHORS file in the root of the source tree. | 7 // be found in the AUTHORS file in the root of the source tree. |
8 // ----------------------------------------------------------------------------- | 8 // ----------------------------------------------------------------------------- |
9 // | 9 // |
10 // Speed-critical decoding functions. | 10 // Speed-critical decoding functions. |
(...skipping 679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
690 VP8LumaFilterFunc VP8VFilter16i; | 690 VP8LumaFilterFunc VP8VFilter16i; |
691 VP8LumaFilterFunc VP8HFilter16i; | 691 VP8LumaFilterFunc VP8HFilter16i; |
692 VP8ChromaFilterFunc VP8VFilter8i; | 692 VP8ChromaFilterFunc VP8VFilter8i; |
693 VP8ChromaFilterFunc VP8HFilter8i; | 693 VP8ChromaFilterFunc VP8HFilter8i; |
694 VP8SimpleFilterFunc VP8SimpleVFilter16; | 694 VP8SimpleFilterFunc VP8SimpleVFilter16; |
695 VP8SimpleFilterFunc VP8SimpleHFilter16; | 695 VP8SimpleFilterFunc VP8SimpleHFilter16; |
696 VP8SimpleFilterFunc VP8SimpleVFilter16i; | 696 VP8SimpleFilterFunc VP8SimpleVFilter16i; |
697 VP8SimpleFilterFunc VP8SimpleHFilter16i; | 697 VP8SimpleFilterFunc VP8SimpleHFilter16i; |
698 | 698 |
699 extern void VP8DspInitSSE2(void); | 699 extern void VP8DspInitSSE2(void); |
| 700 #if defined(WEBP_USE_NEON) |
700 extern void VP8DspInitNEON(void); | 701 extern void VP8DspInitNEON(void); |
| 702 #endif |
701 | 703 |
702 void VP8DspInit(void) { | 704 void VP8DspInit(void) { |
703 DspInitTables(); | 705 DspInitTables(); |
704 | 706 |
705 VP8Transform = TransformTwo; | 707 VP8Transform = TransformTwo; |
706 VP8TransformUV = TransformUV; | 708 VP8TransformUV = TransformUV; |
707 VP8TransformDC = TransformDC; | 709 VP8TransformDC = TransformDC; |
708 VP8TransformDCUV = TransformDCUV; | 710 VP8TransformDCUV = TransformDCUV; |
709 | 711 |
710 VP8VFilter16 = VFilter16; | 712 VP8VFilter16 = VFilter16; |
(...skipping 19 matching lines...) Expand all Loading... |
730 if (VP8GetCPUInfo(kNEON)) { | 732 if (VP8GetCPUInfo(kNEON)) { |
731 VP8DspInitNEON(); | 733 VP8DspInitNEON(); |
732 } | 734 } |
733 #endif | 735 #endif |
734 } | 736 } |
735 } | 737 } |
736 | 738 |
737 #if defined(__cplusplus) || defined(c_plusplus) | 739 #if defined(__cplusplus) || defined(c_plusplus) |
738 } // extern "C" | 740 } // extern "C" |
739 #endif | 741 #endif |
OLD | NEW |