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

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

Issue 653803003: libwebp: update to 0.4.2-rc2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/dec/idec.c ('k') | third_party/libwebp/dec/vp8i.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 // Coding trees and probas 10 // Coding trees and probas
11 // 11 //
12 // Author: Skal (pascal.massimino@gmail.com) 12 // Author: Skal (pascal.massimino@gmail.com)
13 13
14 #include "vp8i.h" 14 #include "./vp8i.h"
15 #include "../utils/bit_reader_inl.h" 15 #include "../utils/bit_reader_inl.h"
16 16
17 #define USE_GENERIC_TREE 17 #define USE_GENERIC_TREE
18 18
19 #ifdef USE_GENERIC_TREE 19 #ifdef USE_GENERIC_TREE
20 static const int8_t kYModesIntra4[18] = { 20 static const int8_t kYModesIntra4[18] = {
21 -B_DC_PRED, 1, 21 -B_DC_PRED, 1,
22 -B_TM_PRED, 2, 22 -B_TM_PRED, 2,
23 -B_VE_PRED, 3, 23 -B_VE_PRED, 3,
24 4, 6, 24 4, 6,
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
507 } 507 }
508 } 508 }
509 } 509 }
510 } 510 }
511 dec->use_skip_proba_ = VP8Get(br); 511 dec->use_skip_proba_ = VP8Get(br);
512 if (dec->use_skip_proba_) { 512 if (dec->use_skip_proba_) {
513 dec->skip_p_ = VP8GetValue(br, 8); 513 dec->skip_p_ = VP8GetValue(br, 8);
514 } 514 }
515 } 515 }
516 516
OLDNEW
« no previous file with comments | « third_party/libwebp/dec/idec.c ('k') | third_party/libwebp/dec/vp8i.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698