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

Side by Side Diff: source/libvpx/vp9/common/vp9_entropymode.h

Issue 812033011: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 5 years, 11 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
« no previous file with comments | « source/libvpx/vp9/common/vp9_entropy.h ('k') | source/libvpx/vp9/common/vp9_entropymode.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 /* 1 /*
2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 vp9_prob switchable_interp_prob[SWITCHABLE_FILTER_CONTEXTS] 43 vp9_prob switchable_interp_prob[SWITCHABLE_FILTER_CONTEXTS]
44 [SWITCHABLE_FILTERS - 1]; 44 [SWITCHABLE_FILTERS - 1];
45 vp9_prob inter_mode_probs[INTER_MODE_CONTEXTS][INTER_MODES - 1]; 45 vp9_prob inter_mode_probs[INTER_MODE_CONTEXTS][INTER_MODES - 1];
46 vp9_prob intra_inter_prob[INTRA_INTER_CONTEXTS]; 46 vp9_prob intra_inter_prob[INTRA_INTER_CONTEXTS];
47 vp9_prob comp_inter_prob[COMP_INTER_CONTEXTS]; 47 vp9_prob comp_inter_prob[COMP_INTER_CONTEXTS];
48 vp9_prob single_ref_prob[REF_CONTEXTS][2]; 48 vp9_prob single_ref_prob[REF_CONTEXTS][2];
49 vp9_prob comp_ref_prob[REF_CONTEXTS]; 49 vp9_prob comp_ref_prob[REF_CONTEXTS];
50 struct tx_probs tx_probs; 50 struct tx_probs tx_probs;
51 vp9_prob skip_probs[SKIP_CONTEXTS]; 51 vp9_prob skip_probs[SKIP_CONTEXTS];
52 nmv_context nmvc; 52 nmv_context nmvc;
53 int initialized;
53 } FRAME_CONTEXT; 54 } FRAME_CONTEXT;
54 55
55 typedef struct { 56 typedef struct {
56 unsigned int y_mode[BLOCK_SIZE_GROUPS][INTRA_MODES]; 57 unsigned int y_mode[BLOCK_SIZE_GROUPS][INTRA_MODES];
57 unsigned int uv_mode[INTRA_MODES][INTRA_MODES]; 58 unsigned int uv_mode[INTRA_MODES][INTRA_MODES];
58 unsigned int partition[PARTITION_CONTEXTS][PARTITION_TYPES]; 59 unsigned int partition[PARTITION_CONTEXTS][PARTITION_TYPES];
59 vp9_coeff_count_model coef[TX_SIZES][PLANE_TYPES]; 60 vp9_coeff_count_model coef[TX_SIZES][PLANE_TYPES];
60 unsigned int eob_branch[TX_SIZES][PLANE_TYPES][REF_TYPES] 61 unsigned int eob_branch[TX_SIZES][PLANE_TYPES][REF_TYPES]
61 [COEF_BANDS][COEFF_CONTEXTS]; 62 [COEF_BANDS][COEFF_CONTEXTS];
62 unsigned int switchable_interp[SWITCHABLE_FILTER_CONTEXTS] 63 unsigned int switchable_interp[SWITCHABLE_FILTER_CONTEXTS]
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 const PREDICTION_MODE above = vp9_above_block_mode(mi, above_mi, block); 103 const PREDICTION_MODE above = vp9_above_block_mode(mi, above_mi, block);
103 const PREDICTION_MODE left = vp9_left_block_mode(mi, left_mi, block); 104 const PREDICTION_MODE left = vp9_left_block_mode(mi, left_mi, block);
104 return vp9_kf_y_mode_prob[above][left]; 105 return vp9_kf_y_mode_prob[above][left];
105 } 106 }
106 107
107 #ifdef __cplusplus 108 #ifdef __cplusplus
108 } // extern "C" 109 } // extern "C"
109 #endif 110 #endif
110 111
111 #endif // VP9_COMMON_VP9_ENTROPYMODE_H_ 112 #endif // VP9_COMMON_VP9_ENTROPYMODE_H_
OLDNEW
« no previous file with comments | « source/libvpx/vp9/common/vp9_entropy.h ('k') | source/libvpx/vp9/common/vp9_entropymode.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698