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

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

Issue 10832153: libwebp: update snapshot to v0.2.0-rc1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2010 Google Inc. 1 // Copyright 2010 Google Inc. All Rights Reserved.
2 // 2 //
3 // This code is licensed under the same terms as WebM: 3 // This code is licensed under the same terms as WebM:
4 // Software License Agreement: http://www.webmproject.org/license/software/ 4 // Software License Agreement: http://www.webmproject.org/license/software/
5 // Additional IP Rights Grant: http://www.webmproject.org/license/additional/ 5 // Additional IP Rights Grant: http://www.webmproject.org/license/additional/
6 // ----------------------------------------------------------------------------- 6 // -----------------------------------------------------------------------------
7 // 7 //
8 // Coding trees and probas 8 // Coding trees and probas
9 // 9 //
10 // Author: Skal (pascal.massimino@gmail.com) 10 // Author: Skal (pascal.massimino@gmail.com)
11 11
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 }; 52 };
53 53
54 static const int8_t kMVRef[8] = { 54 static const int8_t kMVRef[8] = {
55 -ZEROMV, 1, 55 -ZEROMV, 1,
56 -NEARESTMV, 2, 56 -NEARESTMV, 2,
57 -NEARMV, 3, 57 -NEARMV, 3,
58 -NEWMV, -SPLITMV 58 -NEWMV, -SPLITMV
59 }; 59 };
60 60
61 static const int8_t kMVRef4[6] = { 61 static const int8_t kMVRef4[6] = {
62 -LEFT4, 1 62 -LEFT4, 1,
63 -ABOVE4, 2 63 -ABOVE4, 2,
64 -ZERO4, -NEW4 64 -ZERO4, -NEW4
65 }; 65 };
66 #endif 66 #endif
67 67
68 //------------------------------------------------------------------------------ 68 //------------------------------------------------------------------------------
69 // Default probabilities 69 // Default probabilities
70 70
71 // Inter 71 // Inter
72 #ifndef ONLY_KEYFRAME_CODE 72 #ifndef ONLY_KEYFRAME_CODE
73 static const uint8_t kYModeProbaInter0[4] = { 112, 86, 140, 37 }; 73 static const uint8_t kYModeProbaInter0[4] = { 112, 86, 140, 37 };
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after
580 } 580 }
581 } 581 }
582 } 582 }
583 } 583 }
584 #endif 584 #endif
585 } 585 }
586 586
587 #if defined(__cplusplus) || defined(c_plusplus) 587 #if defined(__cplusplus) || defined(c_plusplus)
588 } // extern "C" 588 } // extern "C"
589 #endif 589 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698