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

Side by Side Diff: third_party/libwebp/dsp/cost.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/common_sse2.h ('k') | third_party/libwebp/dsp/cost_mips32.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 // Author: Skal (pascal.massimino@gmail.com) 10 // Author: Skal (pascal.massimino@gmail.com)
11 11
12 #include "./dsp.h" 12 #include "./dsp.h"
13 #include "../enc/cost.h" 13 #include "../enc/cost_enc.h"
14 14
15 //------------------------------------------------------------------------------ 15 //------------------------------------------------------------------------------
16 // Boolean-cost cost table 16 // Boolean-cost cost table
17 17
18 const uint16_t VP8EntropyCost[256] = { 18 const uint16_t VP8EntropyCost[256] = {
19 1792, 1792, 1792, 1536, 1536, 1408, 1366, 1280, 1280, 1216, 19 1792, 1792, 1792, 1536, 1536, 1408, 1366, 1280, 1280, 1216,
20 1178, 1152, 1110, 1076, 1061, 1024, 1024, 992, 968, 951, 20 1178, 1152, 1110, 1076, 1061, 1024, 1024, 992, 968, 951,
21 939, 911, 896, 878, 871, 854, 838, 820, 811, 794, 21 939, 911, 896, 878, 871, 854, 838, 820, 811, 794,
22 786, 768, 768, 752, 740, 732, 720, 709, 704, 690, 22 786, 768, 768, 752, 740, 732, 720, 709, 704, 690,
23 683, 672, 666, 655, 647, 640, 631, 622, 615, 607, 23 683, 672, 666, 655, 647, 640, 631, 622, 615, 607,
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 if (VP8GetCPUInfo(kSSE2)) { 403 if (VP8GetCPUInfo(kSSE2)) {
404 VP8EncDspCostInitSSE2(); 404 VP8EncDspCostInitSSE2();
405 } 405 }
406 #endif 406 #endif
407 } 407 }
408 408
409 cost_last_cpuinfo_used = VP8GetCPUInfo; 409 cost_last_cpuinfo_used = VP8GetCPUInfo;
410 } 410 }
411 411
412 //------------------------------------------------------------------------------ 412 //------------------------------------------------------------------------------
OLDNEW
« no previous file with comments | « third_party/libwebp/dsp/common_sse2.h ('k') | third_party/libwebp/dsp/cost_mips32.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698