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

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

Issue 2651883004: libwebp-0.6.0-rc1 (Closed)
Patch Set: Created 3 years, 10 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 | « third_party/libwebp/dsp/enc.c ('k') | third_party/libwebp/dsp/enc_mips_dsp_r2.c » ('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 2014 Google Inc. All Rights Reserved. 1 // Copyright 2014 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 // MIPS version of speed-critical encoding functions. 10 // MIPS version of speed-critical encoding functions.
11 // 11 //
12 // Author(s): Djordje Pesut (djordje.pesut@imgtec.com) 12 // Author(s): Djordje Pesut (djordje.pesut@imgtec.com)
13 // Jovan Zelincevic (jovan.zelincevic@imgtec.com) 13 // Jovan Zelincevic (jovan.zelincevic@imgtec.com)
14 // Slobodan Prijic (slobodan.prijic@imgtec.com) 14 // Slobodan Prijic (slobodan.prijic@imgtec.com)
15 15
16 #include "./dsp.h" 16 #include "./dsp.h"
17 17
18 #if defined(WEBP_USE_MIPS32) 18 #if defined(WEBP_USE_MIPS32)
19 19
20 #include "./mips_macro.h" 20 #include "./mips_macro.h"
21 #include "../enc/vp8enci.h" 21 #include "../enc/vp8i_enc.h"
22 #include "../enc/cost.h" 22 #include "../enc/cost_enc.h"
23 23
24 static const int kC1 = 20091 + (1 << 16); 24 static const int kC1 = 20091 + (1 << 16);
25 static const int kC2 = 35468; 25 static const int kC2 = 35468;
26 26
27 // macro for one vertical pass in ITransformOne 27 // macro for one vertical pass in ITransformOne
28 // MUL macro inlined 28 // MUL macro inlined
29 // temp0..temp15 holds tmp[0]..tmp[15] 29 // temp0..temp15 holds tmp[0]..tmp[15]
30 // A..D - offsets in bytes to load from in buffer 30 // A..D - offsets in bytes to load from in buffer
31 // TEMP0..TEMP3 - registers for corresponding tmp elements 31 // TEMP0..TEMP3 - registers for corresponding tmp elements
32 // TEMP4..TEMP5 - temporary registers 32 // TEMP4..TEMP5 - temporary registers
(...skipping 630 matching lines...) Expand 10 before | Expand all | Expand 10 after
663 VP8SSE16x8 = SSE16x8; 663 VP8SSE16x8 = SSE16x8;
664 VP8SSE4x4 = SSE4x4; 664 VP8SSE4x4 = SSE4x4;
665 #endif 665 #endif
666 } 666 }
667 667
668 #else // !WEBP_USE_MIPS32 668 #else // !WEBP_USE_MIPS32
669 669
670 WEBP_DSP_INIT_STUB(VP8EncDspInitMIPS32) 670 WEBP_DSP_INIT_STUB(VP8EncDspInitMIPS32)
671 671
672 #endif // WEBP_USE_MIPS32 672 #endif // WEBP_USE_MIPS32
OLDNEW
« no previous file with comments | « third_party/libwebp/dsp/enc.c ('k') | third_party/libwebp/dsp/enc_mips_dsp_r2.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698