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

Side by Side Diff: third_party/libwebp/dsp/dec.c

Issue 95873002: skip neon code in libwebp when neon is explicitly unavailable (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: don't forget arm_neon_optional Created 7 years 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | third_party/libwebp/dsp/dsp.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 // 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
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
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
OLDNEW
« no previous file with comments | « no previous file | third_party/libwebp/dsp/dsp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698