/src/aom/av1/common/pred_common.h
Line | Count | Source (jump to first uncovered line) |
1 | | /* |
2 | | * Copyright (c) 2016, Alliance for Open Media. All rights reserved |
3 | | * |
4 | | * This source code is subject to the terms of the BSD 2 Clause License and |
5 | | * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License |
6 | | * was not distributed with this source code in the LICENSE file, you can |
7 | | * obtain it at www.aomedia.org/license/software. If the Alliance for Open |
8 | | * Media Patent License 1.0 was not distributed with this source code in the |
9 | | * PATENTS file, you can obtain it at www.aomedia.org/license/patent. |
10 | | */ |
11 | | |
12 | | #ifndef AOM_AV1_COMMON_PRED_COMMON_H_ |
13 | | #define AOM_AV1_COMMON_PRED_COMMON_H_ |
14 | | |
15 | | #include "av1/common/av1_common_int.h" |
16 | | #include "av1/common/blockd.h" |
17 | | #include "av1/common/mvref_common.h" |
18 | | #include "aom_dsp/aom_dsp_common.h" |
19 | | |
20 | | #ifdef __cplusplus |
21 | | extern "C" { |
22 | | #endif |
23 | | |
24 | | static INLINE int get_segment_id(const CommonModeInfoParams *const mi_params, |
25 | | const uint8_t *segment_ids, BLOCK_SIZE bsize, |
26 | 0 | int mi_row, int mi_col) { |
27 | 0 | const int mi_offset = mi_row * mi_params->mi_cols + mi_col; |
28 | 0 | const int bw = mi_size_wide[bsize]; |
29 | 0 | const int bh = mi_size_high[bsize]; |
30 | 0 | const int xmis = AOMMIN(mi_params->mi_cols - mi_col, bw); |
31 | 0 | const int ymis = AOMMIN(mi_params->mi_rows - mi_row, bh); |
32 | 0 | int segment_id = MAX_SEGMENTS; |
33 | |
|
34 | 0 | for (int y = 0; y < ymis; ++y) { |
35 | 0 | for (int x = 0; x < xmis; ++x) { |
36 | 0 | segment_id = AOMMIN(segment_id, |
37 | 0 | segment_ids[mi_offset + y * mi_params->mi_cols + x]); |
38 | 0 | } |
39 | 0 | } |
40 | |
|
41 | 0 | assert(segment_id >= 0 && segment_id < MAX_SEGMENTS); |
42 | 0 | return segment_id; |
43 | 0 | } Unexecuted instantiation: decodeframe.c:get_segment_id Unexecuted instantiation: decodemv.c:get_segment_id Unexecuted instantiation: bitstream.c:get_segment_id Unexecuted instantiation: encoder.c:get_segment_id Unexecuted instantiation: encoder_utils.c:get_segment_id Unexecuted instantiation: encodetxb.c:get_segment_id Unexecuted instantiation: ethread.c:get_segment_id Unexecuted instantiation: global_motion_facade.c:get_segment_id Unexecuted instantiation: mcomp.c:get_segment_id Unexecuted instantiation: palette.c:get_segment_id Unexecuted instantiation: rd.c:get_segment_id Unexecuted instantiation: rdopt.c:get_segment_id Unexecuted instantiation: segmentation.c:get_segment_id Unexecuted instantiation: speed_features.c:get_segment_id Unexecuted instantiation: superres_scale.c:get_segment_id Unexecuted instantiation: svc_layercontext.c:get_segment_id Unexecuted instantiation: tokenize.c:get_segment_id Unexecuted instantiation: tpl_model.c:get_segment_id Unexecuted instantiation: tx_search.c:get_segment_id Unexecuted instantiation: intra_mode_search.c:get_segment_id Unexecuted instantiation: pred_common.c:get_segment_id Unexecuted instantiation: aq_cyclicrefresh.c:get_segment_id Unexecuted instantiation: allintra_vis.c:get_segment_id Unexecuted instantiation: compound_type.c:get_segment_id Unexecuted instantiation: encodeframe.c:get_segment_id Unexecuted instantiation: encodeframe_utils.c:get_segment_id Unexecuted instantiation: encodemb.c:get_segment_id Unexecuted instantiation: encode_strategy.c:get_segment_id Unexecuted instantiation: interp_search.c:get_segment_id Unexecuted instantiation: motion_search_facade.c:get_segment_id Unexecuted instantiation: partition_search.c:get_segment_id Unexecuted instantiation: partition_strategy.c:get_segment_id Unexecuted instantiation: nonrd_pickmode.c:get_segment_id |
44 | | |
45 | | static INLINE int av1_get_spatial_seg_pred(const AV1_COMMON *const cm, |
46 | | const MACROBLOCKD *const xd, |
47 | 0 | int *cdf_index) { |
48 | 0 | int prev_ul = -1; // top left segment_id |
49 | 0 | int prev_l = -1; // left segment_id |
50 | 0 | int prev_u = -1; // top segment_id |
51 | 0 | const int mi_row = xd->mi_row; |
52 | 0 | const int mi_col = xd->mi_col; |
53 | 0 | const CommonModeInfoParams *const mi_params = &cm->mi_params; |
54 | 0 | const uint8_t *seg_map = cm->cur_frame->seg_map; |
55 | 0 | if ((xd->up_available) && (xd->left_available)) { |
56 | 0 | prev_ul = |
57 | 0 | get_segment_id(mi_params, seg_map, BLOCK_4X4, mi_row - 1, mi_col - 1); |
58 | 0 | } |
59 | 0 | if (xd->up_available) { |
60 | 0 | prev_u = |
61 | 0 | get_segment_id(mi_params, seg_map, BLOCK_4X4, mi_row - 1, mi_col - 0); |
62 | 0 | } |
63 | 0 | if (xd->left_available) { |
64 | 0 | prev_l = |
65 | 0 | get_segment_id(mi_params, seg_map, BLOCK_4X4, mi_row - 0, mi_col - 1); |
66 | 0 | } |
67 | | // This property follows from the fact that get_segment_id() returns a |
68 | | // nonnegative value. This allows us to test for all edge cases with a simple |
69 | | // prev_ul < 0 check. |
70 | 0 | assert(IMPLIES(prev_ul >= 0, prev_u >= 0 && prev_l >= 0)); |
71 | | |
72 | | // Pick CDF index based on number of matching/out-of-bounds segment IDs. |
73 | 0 | if (prev_ul < 0) /* Edge cases */ |
74 | 0 | *cdf_index = 0; |
75 | 0 | else if ((prev_ul == prev_u) && (prev_ul == prev_l)) |
76 | 0 | *cdf_index = 2; |
77 | 0 | else if ((prev_ul == prev_u) || (prev_ul == prev_l) || (prev_u == prev_l)) |
78 | 0 | *cdf_index = 1; |
79 | 0 | else |
80 | 0 | *cdf_index = 0; |
81 | | |
82 | | // If 2 or more are identical returns that as predictor, otherwise prev_l. |
83 | 0 | if (prev_u == -1) // edge case |
84 | 0 | return prev_l == -1 ? 0 : prev_l; |
85 | 0 | if (prev_l == -1) // edge case |
86 | 0 | return prev_u; |
87 | 0 | return (prev_ul == prev_u) ? prev_u : prev_l; |
88 | 0 | } Unexecuted instantiation: decodeframe.c:av1_get_spatial_seg_pred Unexecuted instantiation: decodemv.c:av1_get_spatial_seg_pred Unexecuted instantiation: bitstream.c:av1_get_spatial_seg_pred Unexecuted instantiation: encoder.c:av1_get_spatial_seg_pred Unexecuted instantiation: encoder_utils.c:av1_get_spatial_seg_pred Unexecuted instantiation: encodetxb.c:av1_get_spatial_seg_pred Unexecuted instantiation: ethread.c:av1_get_spatial_seg_pred Unexecuted instantiation: global_motion_facade.c:av1_get_spatial_seg_pred Unexecuted instantiation: mcomp.c:av1_get_spatial_seg_pred Unexecuted instantiation: palette.c:av1_get_spatial_seg_pred Unexecuted instantiation: rd.c:av1_get_spatial_seg_pred Unexecuted instantiation: rdopt.c:av1_get_spatial_seg_pred Unexecuted instantiation: segmentation.c:av1_get_spatial_seg_pred Unexecuted instantiation: speed_features.c:av1_get_spatial_seg_pred Unexecuted instantiation: superres_scale.c:av1_get_spatial_seg_pred Unexecuted instantiation: svc_layercontext.c:av1_get_spatial_seg_pred Unexecuted instantiation: tokenize.c:av1_get_spatial_seg_pred Unexecuted instantiation: tpl_model.c:av1_get_spatial_seg_pred Unexecuted instantiation: tx_search.c:av1_get_spatial_seg_pred Unexecuted instantiation: intra_mode_search.c:av1_get_spatial_seg_pred Unexecuted instantiation: pred_common.c:av1_get_spatial_seg_pred Unexecuted instantiation: aq_cyclicrefresh.c:av1_get_spatial_seg_pred Unexecuted instantiation: allintra_vis.c:av1_get_spatial_seg_pred Unexecuted instantiation: compound_type.c:av1_get_spatial_seg_pred Unexecuted instantiation: encodeframe.c:av1_get_spatial_seg_pred Unexecuted instantiation: encodeframe_utils.c:av1_get_spatial_seg_pred Unexecuted instantiation: encodemb.c:av1_get_spatial_seg_pred Unexecuted instantiation: encode_strategy.c:av1_get_spatial_seg_pred Unexecuted instantiation: interp_search.c:av1_get_spatial_seg_pred Unexecuted instantiation: motion_search_facade.c:av1_get_spatial_seg_pred Unexecuted instantiation: partition_search.c:av1_get_spatial_seg_pred Unexecuted instantiation: partition_strategy.c:av1_get_spatial_seg_pred Unexecuted instantiation: nonrd_pickmode.c:av1_get_spatial_seg_pred |
89 | | |
90 | 0 | static INLINE int av1_get_pred_context_seg_id(const MACROBLOCKD *xd) { |
91 | 0 | const MB_MODE_INFO *const above_mi = xd->above_mbmi; |
92 | 0 | const MB_MODE_INFO *const left_mi = xd->left_mbmi; |
93 | 0 | const int above_sip = (above_mi != NULL) ? above_mi->seg_id_predicted : 0; |
94 | 0 | const int left_sip = (left_mi != NULL) ? left_mi->seg_id_predicted : 0; |
95 | |
|
96 | 0 | return above_sip + left_sip; |
97 | 0 | } Unexecuted instantiation: decodeframe.c:av1_get_pred_context_seg_id Unexecuted instantiation: decodemv.c:av1_get_pred_context_seg_id Unexecuted instantiation: bitstream.c:av1_get_pred_context_seg_id Unexecuted instantiation: encoder.c:av1_get_pred_context_seg_id Unexecuted instantiation: encoder_utils.c:av1_get_pred_context_seg_id Unexecuted instantiation: encodetxb.c:av1_get_pred_context_seg_id Unexecuted instantiation: ethread.c:av1_get_pred_context_seg_id Unexecuted instantiation: global_motion_facade.c:av1_get_pred_context_seg_id Unexecuted instantiation: mcomp.c:av1_get_pred_context_seg_id Unexecuted instantiation: palette.c:av1_get_pred_context_seg_id Unexecuted instantiation: rd.c:av1_get_pred_context_seg_id Unexecuted instantiation: rdopt.c:av1_get_pred_context_seg_id Unexecuted instantiation: segmentation.c:av1_get_pred_context_seg_id Unexecuted instantiation: speed_features.c:av1_get_pred_context_seg_id Unexecuted instantiation: superres_scale.c:av1_get_pred_context_seg_id Unexecuted instantiation: svc_layercontext.c:av1_get_pred_context_seg_id Unexecuted instantiation: tokenize.c:av1_get_pred_context_seg_id Unexecuted instantiation: tpl_model.c:av1_get_pred_context_seg_id Unexecuted instantiation: tx_search.c:av1_get_pred_context_seg_id Unexecuted instantiation: intra_mode_search.c:av1_get_pred_context_seg_id Unexecuted instantiation: pred_common.c:av1_get_pred_context_seg_id Unexecuted instantiation: aq_cyclicrefresh.c:av1_get_pred_context_seg_id Unexecuted instantiation: allintra_vis.c:av1_get_pred_context_seg_id Unexecuted instantiation: compound_type.c:av1_get_pred_context_seg_id Unexecuted instantiation: encodeframe.c:av1_get_pred_context_seg_id Unexecuted instantiation: encodeframe_utils.c:av1_get_pred_context_seg_id Unexecuted instantiation: encodemb.c:av1_get_pred_context_seg_id Unexecuted instantiation: encode_strategy.c:av1_get_pred_context_seg_id Unexecuted instantiation: interp_search.c:av1_get_pred_context_seg_id Unexecuted instantiation: motion_search_facade.c:av1_get_pred_context_seg_id Unexecuted instantiation: partition_search.c:av1_get_pred_context_seg_id Unexecuted instantiation: partition_strategy.c:av1_get_pred_context_seg_id Unexecuted instantiation: nonrd_pickmode.c:av1_get_pred_context_seg_id |
98 | | |
99 | | static INLINE int get_comp_index_context(const AV1_COMMON *cm, |
100 | 0 | const MACROBLOCKD *xd) { |
101 | 0 | MB_MODE_INFO *mbmi = xd->mi[0]; |
102 | 0 | const RefCntBuffer *const bck_buf = get_ref_frame_buf(cm, mbmi->ref_frame[0]); |
103 | 0 | const RefCntBuffer *const fwd_buf = get_ref_frame_buf(cm, mbmi->ref_frame[1]); |
104 | 0 | int bck_frame_index = 0, fwd_frame_index = 0; |
105 | 0 | int cur_frame_index = cm->cur_frame->order_hint; |
106 | |
|
107 | 0 | if (bck_buf != NULL) bck_frame_index = bck_buf->order_hint; |
108 | 0 | if (fwd_buf != NULL) fwd_frame_index = fwd_buf->order_hint; |
109 | |
|
110 | 0 | int fwd = abs(get_relative_dist(&cm->seq_params->order_hint_info, |
111 | 0 | fwd_frame_index, cur_frame_index)); |
112 | 0 | int bck = abs(get_relative_dist(&cm->seq_params->order_hint_info, |
113 | 0 | cur_frame_index, bck_frame_index)); |
114 | |
|
115 | 0 | const MB_MODE_INFO *const above_mi = xd->above_mbmi; |
116 | 0 | const MB_MODE_INFO *const left_mi = xd->left_mbmi; |
117 | |
|
118 | 0 | int above_ctx = 0, left_ctx = 0; |
119 | 0 | const int offset = (fwd == bck); |
120 | |
|
121 | 0 | if (above_mi != NULL) { |
122 | 0 | if (has_second_ref(above_mi)) |
123 | 0 | above_ctx = above_mi->compound_idx; |
124 | 0 | else if (above_mi->ref_frame[0] == ALTREF_FRAME) |
125 | 0 | above_ctx = 1; |
126 | 0 | } |
127 | |
|
128 | 0 | if (left_mi != NULL) { |
129 | 0 | if (has_second_ref(left_mi)) |
130 | 0 | left_ctx = left_mi->compound_idx; |
131 | 0 | else if (left_mi->ref_frame[0] == ALTREF_FRAME) |
132 | 0 | left_ctx = 1; |
133 | 0 | } |
134 | |
|
135 | 0 | return above_ctx + left_ctx + 3 * offset; |
136 | 0 | } Unexecuted instantiation: decodeframe.c:get_comp_index_context Unexecuted instantiation: decodemv.c:get_comp_index_context Unexecuted instantiation: bitstream.c:get_comp_index_context Unexecuted instantiation: encoder.c:get_comp_index_context Unexecuted instantiation: encoder_utils.c:get_comp_index_context Unexecuted instantiation: encodetxb.c:get_comp_index_context Unexecuted instantiation: ethread.c:get_comp_index_context Unexecuted instantiation: global_motion_facade.c:get_comp_index_context Unexecuted instantiation: mcomp.c:get_comp_index_context Unexecuted instantiation: palette.c:get_comp_index_context Unexecuted instantiation: rd.c:get_comp_index_context Unexecuted instantiation: rdopt.c:get_comp_index_context Unexecuted instantiation: segmentation.c:get_comp_index_context Unexecuted instantiation: speed_features.c:get_comp_index_context Unexecuted instantiation: superres_scale.c:get_comp_index_context Unexecuted instantiation: svc_layercontext.c:get_comp_index_context Unexecuted instantiation: tokenize.c:get_comp_index_context Unexecuted instantiation: tpl_model.c:get_comp_index_context Unexecuted instantiation: tx_search.c:get_comp_index_context Unexecuted instantiation: intra_mode_search.c:get_comp_index_context Unexecuted instantiation: pred_common.c:get_comp_index_context Unexecuted instantiation: aq_cyclicrefresh.c:get_comp_index_context Unexecuted instantiation: allintra_vis.c:get_comp_index_context Unexecuted instantiation: compound_type.c:get_comp_index_context Unexecuted instantiation: encodeframe.c:get_comp_index_context Unexecuted instantiation: encodeframe_utils.c:get_comp_index_context Unexecuted instantiation: encodemb.c:get_comp_index_context Unexecuted instantiation: encode_strategy.c:get_comp_index_context Unexecuted instantiation: interp_search.c:get_comp_index_context Unexecuted instantiation: motion_search_facade.c:get_comp_index_context Unexecuted instantiation: partition_search.c:get_comp_index_context Unexecuted instantiation: partition_strategy.c:get_comp_index_context Unexecuted instantiation: nonrd_pickmode.c:get_comp_index_context |
137 | | |
138 | 0 | static INLINE int get_comp_group_idx_context(const MACROBLOCKD *xd) { |
139 | 0 | const MB_MODE_INFO *const above_mi = xd->above_mbmi; |
140 | 0 | const MB_MODE_INFO *const left_mi = xd->left_mbmi; |
141 | 0 | int above_ctx = 0, left_ctx = 0; |
142 | |
|
143 | 0 | if (above_mi) { |
144 | 0 | if (has_second_ref(above_mi)) |
145 | 0 | above_ctx = above_mi->comp_group_idx; |
146 | 0 | else if (above_mi->ref_frame[0] == ALTREF_FRAME) |
147 | 0 | above_ctx = 3; |
148 | 0 | } |
149 | 0 | if (left_mi) { |
150 | 0 | if (has_second_ref(left_mi)) |
151 | 0 | left_ctx = left_mi->comp_group_idx; |
152 | 0 | else if (left_mi->ref_frame[0] == ALTREF_FRAME) |
153 | 0 | left_ctx = 3; |
154 | 0 | } |
155 | |
|
156 | 0 | return AOMMIN(5, above_ctx + left_ctx); |
157 | 0 | } Unexecuted instantiation: decodeframe.c:get_comp_group_idx_context Unexecuted instantiation: decodemv.c:get_comp_group_idx_context Unexecuted instantiation: bitstream.c:get_comp_group_idx_context Unexecuted instantiation: encoder.c:get_comp_group_idx_context Unexecuted instantiation: encoder_utils.c:get_comp_group_idx_context Unexecuted instantiation: encodetxb.c:get_comp_group_idx_context Unexecuted instantiation: ethread.c:get_comp_group_idx_context Unexecuted instantiation: global_motion_facade.c:get_comp_group_idx_context Unexecuted instantiation: mcomp.c:get_comp_group_idx_context Unexecuted instantiation: palette.c:get_comp_group_idx_context Unexecuted instantiation: rd.c:get_comp_group_idx_context Unexecuted instantiation: rdopt.c:get_comp_group_idx_context Unexecuted instantiation: segmentation.c:get_comp_group_idx_context Unexecuted instantiation: speed_features.c:get_comp_group_idx_context Unexecuted instantiation: superres_scale.c:get_comp_group_idx_context Unexecuted instantiation: svc_layercontext.c:get_comp_group_idx_context Unexecuted instantiation: tokenize.c:get_comp_group_idx_context Unexecuted instantiation: tpl_model.c:get_comp_group_idx_context Unexecuted instantiation: tx_search.c:get_comp_group_idx_context Unexecuted instantiation: intra_mode_search.c:get_comp_group_idx_context Unexecuted instantiation: pred_common.c:get_comp_group_idx_context Unexecuted instantiation: aq_cyclicrefresh.c:get_comp_group_idx_context Unexecuted instantiation: allintra_vis.c:get_comp_group_idx_context Unexecuted instantiation: compound_type.c:get_comp_group_idx_context Unexecuted instantiation: encodeframe.c:get_comp_group_idx_context Unexecuted instantiation: encodeframe_utils.c:get_comp_group_idx_context Unexecuted instantiation: encodemb.c:get_comp_group_idx_context Unexecuted instantiation: encode_strategy.c:get_comp_group_idx_context Unexecuted instantiation: interp_search.c:get_comp_group_idx_context Unexecuted instantiation: motion_search_facade.c:get_comp_group_idx_context Unexecuted instantiation: partition_search.c:get_comp_group_idx_context Unexecuted instantiation: partition_strategy.c:get_comp_group_idx_context Unexecuted instantiation: nonrd_pickmode.c:get_comp_group_idx_context |
158 | | |
159 | | static INLINE aom_cdf_prob *av1_get_pred_cdf_seg_id( |
160 | 0 | struct segmentation_probs *segp, const MACROBLOCKD *xd) { |
161 | 0 | return segp->pred_cdf[av1_get_pred_context_seg_id(xd)]; |
162 | 0 | } Unexecuted instantiation: decodeframe.c:av1_get_pred_cdf_seg_id Unexecuted instantiation: decodemv.c:av1_get_pred_cdf_seg_id Unexecuted instantiation: bitstream.c:av1_get_pred_cdf_seg_id Unexecuted instantiation: encoder.c:av1_get_pred_cdf_seg_id Unexecuted instantiation: encoder_utils.c:av1_get_pred_cdf_seg_id Unexecuted instantiation: encodetxb.c:av1_get_pred_cdf_seg_id Unexecuted instantiation: ethread.c:av1_get_pred_cdf_seg_id Unexecuted instantiation: global_motion_facade.c:av1_get_pred_cdf_seg_id Unexecuted instantiation: mcomp.c:av1_get_pred_cdf_seg_id Unexecuted instantiation: palette.c:av1_get_pred_cdf_seg_id Unexecuted instantiation: rd.c:av1_get_pred_cdf_seg_id Unexecuted instantiation: rdopt.c:av1_get_pred_cdf_seg_id Unexecuted instantiation: segmentation.c:av1_get_pred_cdf_seg_id Unexecuted instantiation: speed_features.c:av1_get_pred_cdf_seg_id Unexecuted instantiation: superres_scale.c:av1_get_pred_cdf_seg_id Unexecuted instantiation: svc_layercontext.c:av1_get_pred_cdf_seg_id Unexecuted instantiation: tokenize.c:av1_get_pred_cdf_seg_id Unexecuted instantiation: tpl_model.c:av1_get_pred_cdf_seg_id Unexecuted instantiation: tx_search.c:av1_get_pred_cdf_seg_id Unexecuted instantiation: intra_mode_search.c:av1_get_pred_cdf_seg_id Unexecuted instantiation: pred_common.c:av1_get_pred_cdf_seg_id Unexecuted instantiation: aq_cyclicrefresh.c:av1_get_pred_cdf_seg_id Unexecuted instantiation: allintra_vis.c:av1_get_pred_cdf_seg_id Unexecuted instantiation: compound_type.c:av1_get_pred_cdf_seg_id Unexecuted instantiation: encodeframe.c:av1_get_pred_cdf_seg_id Unexecuted instantiation: encodeframe_utils.c:av1_get_pred_cdf_seg_id Unexecuted instantiation: encodemb.c:av1_get_pred_cdf_seg_id Unexecuted instantiation: encode_strategy.c:av1_get_pred_cdf_seg_id Unexecuted instantiation: interp_search.c:av1_get_pred_cdf_seg_id Unexecuted instantiation: motion_search_facade.c:av1_get_pred_cdf_seg_id Unexecuted instantiation: partition_search.c:av1_get_pred_cdf_seg_id Unexecuted instantiation: partition_strategy.c:av1_get_pred_cdf_seg_id Unexecuted instantiation: nonrd_pickmode.c:av1_get_pred_cdf_seg_id |
163 | | |
164 | 0 | static INLINE int av1_get_skip_mode_context(const MACROBLOCKD *xd) { |
165 | 0 | const MB_MODE_INFO *const above_mi = xd->above_mbmi; |
166 | 0 | const MB_MODE_INFO *const left_mi = xd->left_mbmi; |
167 | 0 | const int above_skip_mode = above_mi ? above_mi->skip_mode : 0; |
168 | 0 | const int left_skip_mode = left_mi ? left_mi->skip_mode : 0; |
169 | 0 | return above_skip_mode + left_skip_mode; |
170 | 0 | } Unexecuted instantiation: decodeframe.c:av1_get_skip_mode_context Unexecuted instantiation: decodemv.c:av1_get_skip_mode_context Unexecuted instantiation: bitstream.c:av1_get_skip_mode_context Unexecuted instantiation: encoder.c:av1_get_skip_mode_context Unexecuted instantiation: encoder_utils.c:av1_get_skip_mode_context Unexecuted instantiation: encodetxb.c:av1_get_skip_mode_context Unexecuted instantiation: ethread.c:av1_get_skip_mode_context Unexecuted instantiation: global_motion_facade.c:av1_get_skip_mode_context Unexecuted instantiation: mcomp.c:av1_get_skip_mode_context Unexecuted instantiation: palette.c:av1_get_skip_mode_context Unexecuted instantiation: rd.c:av1_get_skip_mode_context Unexecuted instantiation: rdopt.c:av1_get_skip_mode_context Unexecuted instantiation: segmentation.c:av1_get_skip_mode_context Unexecuted instantiation: speed_features.c:av1_get_skip_mode_context Unexecuted instantiation: superres_scale.c:av1_get_skip_mode_context Unexecuted instantiation: svc_layercontext.c:av1_get_skip_mode_context Unexecuted instantiation: tokenize.c:av1_get_skip_mode_context Unexecuted instantiation: tpl_model.c:av1_get_skip_mode_context Unexecuted instantiation: tx_search.c:av1_get_skip_mode_context Unexecuted instantiation: intra_mode_search.c:av1_get_skip_mode_context Unexecuted instantiation: pred_common.c:av1_get_skip_mode_context Unexecuted instantiation: aq_cyclicrefresh.c:av1_get_skip_mode_context Unexecuted instantiation: allintra_vis.c:av1_get_skip_mode_context Unexecuted instantiation: compound_type.c:av1_get_skip_mode_context Unexecuted instantiation: encodeframe.c:av1_get_skip_mode_context Unexecuted instantiation: encodeframe_utils.c:av1_get_skip_mode_context Unexecuted instantiation: encodemb.c:av1_get_skip_mode_context Unexecuted instantiation: encode_strategy.c:av1_get_skip_mode_context Unexecuted instantiation: interp_search.c:av1_get_skip_mode_context Unexecuted instantiation: motion_search_facade.c:av1_get_skip_mode_context Unexecuted instantiation: partition_search.c:av1_get_skip_mode_context Unexecuted instantiation: partition_strategy.c:av1_get_skip_mode_context Unexecuted instantiation: nonrd_pickmode.c:av1_get_skip_mode_context |
171 | | |
172 | 0 | static INLINE int av1_get_skip_txfm_context(const MACROBLOCKD *xd) { |
173 | 0 | const MB_MODE_INFO *const above_mi = xd->above_mbmi; |
174 | 0 | const MB_MODE_INFO *const left_mi = xd->left_mbmi; |
175 | 0 | const int above_skip_txfm = above_mi ? above_mi->skip_txfm : 0; |
176 | 0 | const int left_skip_txfm = left_mi ? left_mi->skip_txfm : 0; |
177 | 0 | return above_skip_txfm + left_skip_txfm; |
178 | 0 | } Unexecuted instantiation: decodeframe.c:av1_get_skip_txfm_context Unexecuted instantiation: decodemv.c:av1_get_skip_txfm_context Unexecuted instantiation: bitstream.c:av1_get_skip_txfm_context Unexecuted instantiation: encoder.c:av1_get_skip_txfm_context Unexecuted instantiation: encoder_utils.c:av1_get_skip_txfm_context Unexecuted instantiation: encodetxb.c:av1_get_skip_txfm_context Unexecuted instantiation: ethread.c:av1_get_skip_txfm_context Unexecuted instantiation: global_motion_facade.c:av1_get_skip_txfm_context Unexecuted instantiation: mcomp.c:av1_get_skip_txfm_context Unexecuted instantiation: palette.c:av1_get_skip_txfm_context Unexecuted instantiation: rd.c:av1_get_skip_txfm_context Unexecuted instantiation: rdopt.c:av1_get_skip_txfm_context Unexecuted instantiation: segmentation.c:av1_get_skip_txfm_context Unexecuted instantiation: speed_features.c:av1_get_skip_txfm_context Unexecuted instantiation: superres_scale.c:av1_get_skip_txfm_context Unexecuted instantiation: svc_layercontext.c:av1_get_skip_txfm_context Unexecuted instantiation: tokenize.c:av1_get_skip_txfm_context Unexecuted instantiation: tpl_model.c:av1_get_skip_txfm_context Unexecuted instantiation: tx_search.c:av1_get_skip_txfm_context Unexecuted instantiation: intra_mode_search.c:av1_get_skip_txfm_context Unexecuted instantiation: pred_common.c:av1_get_skip_txfm_context Unexecuted instantiation: aq_cyclicrefresh.c:av1_get_skip_txfm_context Unexecuted instantiation: allintra_vis.c:av1_get_skip_txfm_context Unexecuted instantiation: compound_type.c:av1_get_skip_txfm_context Unexecuted instantiation: encodeframe.c:av1_get_skip_txfm_context Unexecuted instantiation: encodeframe_utils.c:av1_get_skip_txfm_context Unexecuted instantiation: encodemb.c:av1_get_skip_txfm_context Unexecuted instantiation: encode_strategy.c:av1_get_skip_txfm_context Unexecuted instantiation: interp_search.c:av1_get_skip_txfm_context Unexecuted instantiation: motion_search_facade.c:av1_get_skip_txfm_context Unexecuted instantiation: partition_search.c:av1_get_skip_txfm_context Unexecuted instantiation: partition_strategy.c:av1_get_skip_txfm_context Unexecuted instantiation: nonrd_pickmode.c:av1_get_skip_txfm_context |
179 | | |
180 | | int av1_get_pred_context_switchable_interp(const MACROBLOCKD *xd, int dir); |
181 | | |
182 | | // Get a list of palette base colors that are used in the above and left blocks, |
183 | | // referred to as "color cache". The return value is the number of colors in the |
184 | | // cache (<= 2 * PALETTE_MAX_SIZE). The color values are stored in "cache" |
185 | | // in ascending order. |
186 | | int av1_get_palette_cache(const MACROBLOCKD *const xd, int plane, |
187 | | uint16_t *cache); |
188 | | |
189 | 0 | static INLINE int av1_get_palette_bsize_ctx(BLOCK_SIZE bsize) { |
190 | 0 | assert(bsize < BLOCK_SIZES_ALL); |
191 | 0 | return num_pels_log2_lookup[bsize] - num_pels_log2_lookup[BLOCK_8X8]; |
192 | 0 | } Unexecuted instantiation: decodeframe.c:av1_get_palette_bsize_ctx Unexecuted instantiation: decodemv.c:av1_get_palette_bsize_ctx Unexecuted instantiation: bitstream.c:av1_get_palette_bsize_ctx Unexecuted instantiation: encoder.c:av1_get_palette_bsize_ctx Unexecuted instantiation: encoder_utils.c:av1_get_palette_bsize_ctx Unexecuted instantiation: encodetxb.c:av1_get_palette_bsize_ctx Unexecuted instantiation: ethread.c:av1_get_palette_bsize_ctx Unexecuted instantiation: global_motion_facade.c:av1_get_palette_bsize_ctx Unexecuted instantiation: mcomp.c:av1_get_palette_bsize_ctx Unexecuted instantiation: palette.c:av1_get_palette_bsize_ctx Unexecuted instantiation: rd.c:av1_get_palette_bsize_ctx Unexecuted instantiation: rdopt.c:av1_get_palette_bsize_ctx Unexecuted instantiation: segmentation.c:av1_get_palette_bsize_ctx Unexecuted instantiation: speed_features.c:av1_get_palette_bsize_ctx Unexecuted instantiation: superres_scale.c:av1_get_palette_bsize_ctx Unexecuted instantiation: svc_layercontext.c:av1_get_palette_bsize_ctx Unexecuted instantiation: tokenize.c:av1_get_palette_bsize_ctx Unexecuted instantiation: tpl_model.c:av1_get_palette_bsize_ctx Unexecuted instantiation: tx_search.c:av1_get_palette_bsize_ctx Unexecuted instantiation: intra_mode_search.c:av1_get_palette_bsize_ctx Unexecuted instantiation: pred_common.c:av1_get_palette_bsize_ctx Unexecuted instantiation: aq_cyclicrefresh.c:av1_get_palette_bsize_ctx Unexecuted instantiation: allintra_vis.c:av1_get_palette_bsize_ctx Unexecuted instantiation: compound_type.c:av1_get_palette_bsize_ctx Unexecuted instantiation: encodeframe.c:av1_get_palette_bsize_ctx Unexecuted instantiation: encodeframe_utils.c:av1_get_palette_bsize_ctx Unexecuted instantiation: encodemb.c:av1_get_palette_bsize_ctx Unexecuted instantiation: encode_strategy.c:av1_get_palette_bsize_ctx Unexecuted instantiation: interp_search.c:av1_get_palette_bsize_ctx Unexecuted instantiation: motion_search_facade.c:av1_get_palette_bsize_ctx Unexecuted instantiation: partition_search.c:av1_get_palette_bsize_ctx Unexecuted instantiation: partition_strategy.c:av1_get_palette_bsize_ctx Unexecuted instantiation: nonrd_pickmode.c:av1_get_palette_bsize_ctx |
193 | | |
194 | 0 | static INLINE int av1_get_palette_mode_ctx(const MACROBLOCKD *xd) { |
195 | 0 | const MB_MODE_INFO *const above_mi = xd->above_mbmi; |
196 | 0 | const MB_MODE_INFO *const left_mi = xd->left_mbmi; |
197 | 0 | int ctx = 0; |
198 | 0 | if (above_mi) ctx += (above_mi->palette_mode_info.palette_size[0] > 0); |
199 | 0 | if (left_mi) ctx += (left_mi->palette_mode_info.palette_size[0] > 0); |
200 | 0 | return ctx; |
201 | 0 | } Unexecuted instantiation: decodeframe.c:av1_get_palette_mode_ctx Unexecuted instantiation: decodemv.c:av1_get_palette_mode_ctx Unexecuted instantiation: bitstream.c:av1_get_palette_mode_ctx Unexecuted instantiation: encoder.c:av1_get_palette_mode_ctx Unexecuted instantiation: encoder_utils.c:av1_get_palette_mode_ctx Unexecuted instantiation: encodetxb.c:av1_get_palette_mode_ctx Unexecuted instantiation: ethread.c:av1_get_palette_mode_ctx Unexecuted instantiation: global_motion_facade.c:av1_get_palette_mode_ctx Unexecuted instantiation: mcomp.c:av1_get_palette_mode_ctx Unexecuted instantiation: palette.c:av1_get_palette_mode_ctx Unexecuted instantiation: rd.c:av1_get_palette_mode_ctx Unexecuted instantiation: rdopt.c:av1_get_palette_mode_ctx Unexecuted instantiation: segmentation.c:av1_get_palette_mode_ctx Unexecuted instantiation: speed_features.c:av1_get_palette_mode_ctx Unexecuted instantiation: superres_scale.c:av1_get_palette_mode_ctx Unexecuted instantiation: svc_layercontext.c:av1_get_palette_mode_ctx Unexecuted instantiation: tokenize.c:av1_get_palette_mode_ctx Unexecuted instantiation: tpl_model.c:av1_get_palette_mode_ctx Unexecuted instantiation: tx_search.c:av1_get_palette_mode_ctx Unexecuted instantiation: intra_mode_search.c:av1_get_palette_mode_ctx Unexecuted instantiation: pred_common.c:av1_get_palette_mode_ctx Unexecuted instantiation: aq_cyclicrefresh.c:av1_get_palette_mode_ctx Unexecuted instantiation: allintra_vis.c:av1_get_palette_mode_ctx Unexecuted instantiation: compound_type.c:av1_get_palette_mode_ctx Unexecuted instantiation: encodeframe.c:av1_get_palette_mode_ctx Unexecuted instantiation: encodeframe_utils.c:av1_get_palette_mode_ctx Unexecuted instantiation: encodemb.c:av1_get_palette_mode_ctx Unexecuted instantiation: encode_strategy.c:av1_get_palette_mode_ctx Unexecuted instantiation: interp_search.c:av1_get_palette_mode_ctx Unexecuted instantiation: motion_search_facade.c:av1_get_palette_mode_ctx Unexecuted instantiation: partition_search.c:av1_get_palette_mode_ctx Unexecuted instantiation: partition_strategy.c:av1_get_palette_mode_ctx Unexecuted instantiation: nonrd_pickmode.c:av1_get_palette_mode_ctx |
202 | | |
203 | | int av1_get_intra_inter_context(const MACROBLOCKD *xd); |
204 | | |
205 | | int av1_get_reference_mode_context(const MACROBLOCKD *xd); |
206 | | |
207 | 0 | static INLINE aom_cdf_prob *av1_get_reference_mode_cdf(const MACROBLOCKD *xd) { |
208 | 0 | return xd->tile_ctx->comp_inter_cdf[av1_get_reference_mode_context(xd)]; |
209 | 0 | } Unexecuted instantiation: decodeframe.c:av1_get_reference_mode_cdf Unexecuted instantiation: decodemv.c:av1_get_reference_mode_cdf Unexecuted instantiation: bitstream.c:av1_get_reference_mode_cdf Unexecuted instantiation: encoder.c:av1_get_reference_mode_cdf Unexecuted instantiation: encoder_utils.c:av1_get_reference_mode_cdf Unexecuted instantiation: encodetxb.c:av1_get_reference_mode_cdf Unexecuted instantiation: ethread.c:av1_get_reference_mode_cdf Unexecuted instantiation: global_motion_facade.c:av1_get_reference_mode_cdf Unexecuted instantiation: mcomp.c:av1_get_reference_mode_cdf Unexecuted instantiation: palette.c:av1_get_reference_mode_cdf Unexecuted instantiation: rd.c:av1_get_reference_mode_cdf Unexecuted instantiation: rdopt.c:av1_get_reference_mode_cdf Unexecuted instantiation: segmentation.c:av1_get_reference_mode_cdf Unexecuted instantiation: speed_features.c:av1_get_reference_mode_cdf Unexecuted instantiation: superres_scale.c:av1_get_reference_mode_cdf Unexecuted instantiation: svc_layercontext.c:av1_get_reference_mode_cdf Unexecuted instantiation: tokenize.c:av1_get_reference_mode_cdf Unexecuted instantiation: tpl_model.c:av1_get_reference_mode_cdf Unexecuted instantiation: tx_search.c:av1_get_reference_mode_cdf Unexecuted instantiation: intra_mode_search.c:av1_get_reference_mode_cdf Unexecuted instantiation: pred_common.c:av1_get_reference_mode_cdf Unexecuted instantiation: aq_cyclicrefresh.c:av1_get_reference_mode_cdf Unexecuted instantiation: allintra_vis.c:av1_get_reference_mode_cdf Unexecuted instantiation: compound_type.c:av1_get_reference_mode_cdf Unexecuted instantiation: encodeframe.c:av1_get_reference_mode_cdf Unexecuted instantiation: encodeframe_utils.c:av1_get_reference_mode_cdf Unexecuted instantiation: encodemb.c:av1_get_reference_mode_cdf Unexecuted instantiation: encode_strategy.c:av1_get_reference_mode_cdf Unexecuted instantiation: interp_search.c:av1_get_reference_mode_cdf Unexecuted instantiation: motion_search_facade.c:av1_get_reference_mode_cdf Unexecuted instantiation: partition_search.c:av1_get_reference_mode_cdf Unexecuted instantiation: partition_strategy.c:av1_get_reference_mode_cdf Unexecuted instantiation: nonrd_pickmode.c:av1_get_reference_mode_cdf |
210 | | |
211 | 0 | static INLINE aom_cdf_prob *av1_get_skip_txfm_cdf(const MACROBLOCKD *xd) { |
212 | 0 | return xd->tile_ctx->skip_txfm_cdfs[av1_get_skip_txfm_context(xd)]; |
213 | 0 | } Unexecuted instantiation: decodeframe.c:av1_get_skip_txfm_cdf Unexecuted instantiation: decodemv.c:av1_get_skip_txfm_cdf Unexecuted instantiation: bitstream.c:av1_get_skip_txfm_cdf Unexecuted instantiation: encoder.c:av1_get_skip_txfm_cdf Unexecuted instantiation: encoder_utils.c:av1_get_skip_txfm_cdf Unexecuted instantiation: encodetxb.c:av1_get_skip_txfm_cdf Unexecuted instantiation: ethread.c:av1_get_skip_txfm_cdf Unexecuted instantiation: global_motion_facade.c:av1_get_skip_txfm_cdf Unexecuted instantiation: mcomp.c:av1_get_skip_txfm_cdf Unexecuted instantiation: palette.c:av1_get_skip_txfm_cdf Unexecuted instantiation: rd.c:av1_get_skip_txfm_cdf Unexecuted instantiation: rdopt.c:av1_get_skip_txfm_cdf Unexecuted instantiation: segmentation.c:av1_get_skip_txfm_cdf Unexecuted instantiation: speed_features.c:av1_get_skip_txfm_cdf Unexecuted instantiation: superres_scale.c:av1_get_skip_txfm_cdf Unexecuted instantiation: svc_layercontext.c:av1_get_skip_txfm_cdf Unexecuted instantiation: tokenize.c:av1_get_skip_txfm_cdf Unexecuted instantiation: tpl_model.c:av1_get_skip_txfm_cdf Unexecuted instantiation: tx_search.c:av1_get_skip_txfm_cdf Unexecuted instantiation: intra_mode_search.c:av1_get_skip_txfm_cdf Unexecuted instantiation: pred_common.c:av1_get_skip_txfm_cdf Unexecuted instantiation: aq_cyclicrefresh.c:av1_get_skip_txfm_cdf Unexecuted instantiation: allintra_vis.c:av1_get_skip_txfm_cdf Unexecuted instantiation: compound_type.c:av1_get_skip_txfm_cdf Unexecuted instantiation: encodeframe.c:av1_get_skip_txfm_cdf Unexecuted instantiation: encodeframe_utils.c:av1_get_skip_txfm_cdf Unexecuted instantiation: encodemb.c:av1_get_skip_txfm_cdf Unexecuted instantiation: encode_strategy.c:av1_get_skip_txfm_cdf Unexecuted instantiation: interp_search.c:av1_get_skip_txfm_cdf Unexecuted instantiation: motion_search_facade.c:av1_get_skip_txfm_cdf Unexecuted instantiation: partition_search.c:av1_get_skip_txfm_cdf Unexecuted instantiation: partition_strategy.c:av1_get_skip_txfm_cdf Unexecuted instantiation: nonrd_pickmode.c:av1_get_skip_txfm_cdf |
214 | | |
215 | | int av1_get_comp_reference_type_context(const MACROBLOCKD *xd); |
216 | | |
217 | | // == Uni-directional contexts == |
218 | | |
219 | | int av1_get_pred_context_uni_comp_ref_p(const MACROBLOCKD *xd); |
220 | | |
221 | | int av1_get_pred_context_uni_comp_ref_p1(const MACROBLOCKD *xd); |
222 | | |
223 | | int av1_get_pred_context_uni_comp_ref_p2(const MACROBLOCKD *xd); |
224 | | |
225 | | static INLINE aom_cdf_prob *av1_get_comp_reference_type_cdf( |
226 | 0 | const MACROBLOCKD *xd) { |
227 | 0 | const int pred_context = av1_get_comp_reference_type_context(xd); |
228 | 0 | return xd->tile_ctx->comp_ref_type_cdf[pred_context]; |
229 | 0 | } Unexecuted instantiation: decodeframe.c:av1_get_comp_reference_type_cdf Unexecuted instantiation: decodemv.c:av1_get_comp_reference_type_cdf Unexecuted instantiation: bitstream.c:av1_get_comp_reference_type_cdf Unexecuted instantiation: encoder.c:av1_get_comp_reference_type_cdf Unexecuted instantiation: encoder_utils.c:av1_get_comp_reference_type_cdf Unexecuted instantiation: encodetxb.c:av1_get_comp_reference_type_cdf Unexecuted instantiation: ethread.c:av1_get_comp_reference_type_cdf Unexecuted instantiation: global_motion_facade.c:av1_get_comp_reference_type_cdf Unexecuted instantiation: mcomp.c:av1_get_comp_reference_type_cdf Unexecuted instantiation: palette.c:av1_get_comp_reference_type_cdf Unexecuted instantiation: rd.c:av1_get_comp_reference_type_cdf Unexecuted instantiation: rdopt.c:av1_get_comp_reference_type_cdf Unexecuted instantiation: segmentation.c:av1_get_comp_reference_type_cdf Unexecuted instantiation: speed_features.c:av1_get_comp_reference_type_cdf Unexecuted instantiation: superres_scale.c:av1_get_comp_reference_type_cdf Unexecuted instantiation: svc_layercontext.c:av1_get_comp_reference_type_cdf Unexecuted instantiation: tokenize.c:av1_get_comp_reference_type_cdf Unexecuted instantiation: tpl_model.c:av1_get_comp_reference_type_cdf Unexecuted instantiation: tx_search.c:av1_get_comp_reference_type_cdf Unexecuted instantiation: intra_mode_search.c:av1_get_comp_reference_type_cdf Unexecuted instantiation: pred_common.c:av1_get_comp_reference_type_cdf Unexecuted instantiation: aq_cyclicrefresh.c:av1_get_comp_reference_type_cdf Unexecuted instantiation: allintra_vis.c:av1_get_comp_reference_type_cdf Unexecuted instantiation: compound_type.c:av1_get_comp_reference_type_cdf Unexecuted instantiation: encodeframe.c:av1_get_comp_reference_type_cdf Unexecuted instantiation: encodeframe_utils.c:av1_get_comp_reference_type_cdf Unexecuted instantiation: encodemb.c:av1_get_comp_reference_type_cdf Unexecuted instantiation: encode_strategy.c:av1_get_comp_reference_type_cdf Unexecuted instantiation: interp_search.c:av1_get_comp_reference_type_cdf Unexecuted instantiation: motion_search_facade.c:av1_get_comp_reference_type_cdf Unexecuted instantiation: partition_search.c:av1_get_comp_reference_type_cdf Unexecuted instantiation: partition_strategy.c:av1_get_comp_reference_type_cdf Unexecuted instantiation: nonrd_pickmode.c:av1_get_comp_reference_type_cdf |
230 | | |
231 | | static INLINE aom_cdf_prob *av1_get_pred_cdf_uni_comp_ref_p( |
232 | 0 | const MACROBLOCKD *xd) { |
233 | 0 | const int pred_context = av1_get_pred_context_uni_comp_ref_p(xd); |
234 | 0 | return xd->tile_ctx->uni_comp_ref_cdf[pred_context][0]; |
235 | 0 | } Unexecuted instantiation: decodeframe.c:av1_get_pred_cdf_uni_comp_ref_p Unexecuted instantiation: decodemv.c:av1_get_pred_cdf_uni_comp_ref_p Unexecuted instantiation: bitstream.c:av1_get_pred_cdf_uni_comp_ref_p Unexecuted instantiation: encoder.c:av1_get_pred_cdf_uni_comp_ref_p Unexecuted instantiation: encoder_utils.c:av1_get_pred_cdf_uni_comp_ref_p Unexecuted instantiation: encodetxb.c:av1_get_pred_cdf_uni_comp_ref_p Unexecuted instantiation: ethread.c:av1_get_pred_cdf_uni_comp_ref_p Unexecuted instantiation: global_motion_facade.c:av1_get_pred_cdf_uni_comp_ref_p Unexecuted instantiation: mcomp.c:av1_get_pred_cdf_uni_comp_ref_p Unexecuted instantiation: palette.c:av1_get_pred_cdf_uni_comp_ref_p Unexecuted instantiation: rd.c:av1_get_pred_cdf_uni_comp_ref_p Unexecuted instantiation: rdopt.c:av1_get_pred_cdf_uni_comp_ref_p Unexecuted instantiation: segmentation.c:av1_get_pred_cdf_uni_comp_ref_p Unexecuted instantiation: speed_features.c:av1_get_pred_cdf_uni_comp_ref_p Unexecuted instantiation: superres_scale.c:av1_get_pred_cdf_uni_comp_ref_p Unexecuted instantiation: svc_layercontext.c:av1_get_pred_cdf_uni_comp_ref_p Unexecuted instantiation: tokenize.c:av1_get_pred_cdf_uni_comp_ref_p Unexecuted instantiation: tpl_model.c:av1_get_pred_cdf_uni_comp_ref_p Unexecuted instantiation: tx_search.c:av1_get_pred_cdf_uni_comp_ref_p Unexecuted instantiation: intra_mode_search.c:av1_get_pred_cdf_uni_comp_ref_p Unexecuted instantiation: pred_common.c:av1_get_pred_cdf_uni_comp_ref_p Unexecuted instantiation: aq_cyclicrefresh.c:av1_get_pred_cdf_uni_comp_ref_p Unexecuted instantiation: allintra_vis.c:av1_get_pred_cdf_uni_comp_ref_p Unexecuted instantiation: compound_type.c:av1_get_pred_cdf_uni_comp_ref_p Unexecuted instantiation: encodeframe.c:av1_get_pred_cdf_uni_comp_ref_p Unexecuted instantiation: encodeframe_utils.c:av1_get_pred_cdf_uni_comp_ref_p Unexecuted instantiation: encodemb.c:av1_get_pred_cdf_uni_comp_ref_p Unexecuted instantiation: encode_strategy.c:av1_get_pred_cdf_uni_comp_ref_p Unexecuted instantiation: interp_search.c:av1_get_pred_cdf_uni_comp_ref_p Unexecuted instantiation: motion_search_facade.c:av1_get_pred_cdf_uni_comp_ref_p Unexecuted instantiation: partition_search.c:av1_get_pred_cdf_uni_comp_ref_p Unexecuted instantiation: partition_strategy.c:av1_get_pred_cdf_uni_comp_ref_p Unexecuted instantiation: nonrd_pickmode.c:av1_get_pred_cdf_uni_comp_ref_p |
236 | | |
237 | | static INLINE aom_cdf_prob *av1_get_pred_cdf_uni_comp_ref_p1( |
238 | 0 | const MACROBLOCKD *xd) { |
239 | 0 | const int pred_context = av1_get_pred_context_uni_comp_ref_p1(xd); |
240 | 0 | return xd->tile_ctx->uni_comp_ref_cdf[pred_context][1]; |
241 | 0 | } Unexecuted instantiation: decodeframe.c:av1_get_pred_cdf_uni_comp_ref_p1 Unexecuted instantiation: decodemv.c:av1_get_pred_cdf_uni_comp_ref_p1 Unexecuted instantiation: bitstream.c:av1_get_pred_cdf_uni_comp_ref_p1 Unexecuted instantiation: encoder.c:av1_get_pred_cdf_uni_comp_ref_p1 Unexecuted instantiation: encoder_utils.c:av1_get_pred_cdf_uni_comp_ref_p1 Unexecuted instantiation: encodetxb.c:av1_get_pred_cdf_uni_comp_ref_p1 Unexecuted instantiation: ethread.c:av1_get_pred_cdf_uni_comp_ref_p1 Unexecuted instantiation: global_motion_facade.c:av1_get_pred_cdf_uni_comp_ref_p1 Unexecuted instantiation: mcomp.c:av1_get_pred_cdf_uni_comp_ref_p1 Unexecuted instantiation: palette.c:av1_get_pred_cdf_uni_comp_ref_p1 Unexecuted instantiation: rd.c:av1_get_pred_cdf_uni_comp_ref_p1 Unexecuted instantiation: rdopt.c:av1_get_pred_cdf_uni_comp_ref_p1 Unexecuted instantiation: segmentation.c:av1_get_pred_cdf_uni_comp_ref_p1 Unexecuted instantiation: speed_features.c:av1_get_pred_cdf_uni_comp_ref_p1 Unexecuted instantiation: superres_scale.c:av1_get_pred_cdf_uni_comp_ref_p1 Unexecuted instantiation: svc_layercontext.c:av1_get_pred_cdf_uni_comp_ref_p1 Unexecuted instantiation: tokenize.c:av1_get_pred_cdf_uni_comp_ref_p1 Unexecuted instantiation: tpl_model.c:av1_get_pred_cdf_uni_comp_ref_p1 Unexecuted instantiation: tx_search.c:av1_get_pred_cdf_uni_comp_ref_p1 Unexecuted instantiation: intra_mode_search.c:av1_get_pred_cdf_uni_comp_ref_p1 Unexecuted instantiation: pred_common.c:av1_get_pred_cdf_uni_comp_ref_p1 Unexecuted instantiation: aq_cyclicrefresh.c:av1_get_pred_cdf_uni_comp_ref_p1 Unexecuted instantiation: allintra_vis.c:av1_get_pred_cdf_uni_comp_ref_p1 Unexecuted instantiation: compound_type.c:av1_get_pred_cdf_uni_comp_ref_p1 Unexecuted instantiation: encodeframe.c:av1_get_pred_cdf_uni_comp_ref_p1 Unexecuted instantiation: encodeframe_utils.c:av1_get_pred_cdf_uni_comp_ref_p1 Unexecuted instantiation: encodemb.c:av1_get_pred_cdf_uni_comp_ref_p1 Unexecuted instantiation: encode_strategy.c:av1_get_pred_cdf_uni_comp_ref_p1 Unexecuted instantiation: interp_search.c:av1_get_pred_cdf_uni_comp_ref_p1 Unexecuted instantiation: motion_search_facade.c:av1_get_pred_cdf_uni_comp_ref_p1 Unexecuted instantiation: partition_search.c:av1_get_pred_cdf_uni_comp_ref_p1 Unexecuted instantiation: partition_strategy.c:av1_get_pred_cdf_uni_comp_ref_p1 Unexecuted instantiation: nonrd_pickmode.c:av1_get_pred_cdf_uni_comp_ref_p1 |
242 | | |
243 | | static INLINE aom_cdf_prob *av1_get_pred_cdf_uni_comp_ref_p2( |
244 | 0 | const MACROBLOCKD *xd) { |
245 | 0 | const int pred_context = av1_get_pred_context_uni_comp_ref_p2(xd); |
246 | 0 | return xd->tile_ctx->uni_comp_ref_cdf[pred_context][2]; |
247 | 0 | } Unexecuted instantiation: decodeframe.c:av1_get_pred_cdf_uni_comp_ref_p2 Unexecuted instantiation: decodemv.c:av1_get_pred_cdf_uni_comp_ref_p2 Unexecuted instantiation: bitstream.c:av1_get_pred_cdf_uni_comp_ref_p2 Unexecuted instantiation: encoder.c:av1_get_pred_cdf_uni_comp_ref_p2 Unexecuted instantiation: encoder_utils.c:av1_get_pred_cdf_uni_comp_ref_p2 Unexecuted instantiation: encodetxb.c:av1_get_pred_cdf_uni_comp_ref_p2 Unexecuted instantiation: ethread.c:av1_get_pred_cdf_uni_comp_ref_p2 Unexecuted instantiation: global_motion_facade.c:av1_get_pred_cdf_uni_comp_ref_p2 Unexecuted instantiation: mcomp.c:av1_get_pred_cdf_uni_comp_ref_p2 Unexecuted instantiation: palette.c:av1_get_pred_cdf_uni_comp_ref_p2 Unexecuted instantiation: rd.c:av1_get_pred_cdf_uni_comp_ref_p2 Unexecuted instantiation: rdopt.c:av1_get_pred_cdf_uni_comp_ref_p2 Unexecuted instantiation: segmentation.c:av1_get_pred_cdf_uni_comp_ref_p2 Unexecuted instantiation: speed_features.c:av1_get_pred_cdf_uni_comp_ref_p2 Unexecuted instantiation: superres_scale.c:av1_get_pred_cdf_uni_comp_ref_p2 Unexecuted instantiation: svc_layercontext.c:av1_get_pred_cdf_uni_comp_ref_p2 Unexecuted instantiation: tokenize.c:av1_get_pred_cdf_uni_comp_ref_p2 Unexecuted instantiation: tpl_model.c:av1_get_pred_cdf_uni_comp_ref_p2 Unexecuted instantiation: tx_search.c:av1_get_pred_cdf_uni_comp_ref_p2 Unexecuted instantiation: intra_mode_search.c:av1_get_pred_cdf_uni_comp_ref_p2 Unexecuted instantiation: pred_common.c:av1_get_pred_cdf_uni_comp_ref_p2 Unexecuted instantiation: aq_cyclicrefresh.c:av1_get_pred_cdf_uni_comp_ref_p2 Unexecuted instantiation: allintra_vis.c:av1_get_pred_cdf_uni_comp_ref_p2 Unexecuted instantiation: compound_type.c:av1_get_pred_cdf_uni_comp_ref_p2 Unexecuted instantiation: encodeframe.c:av1_get_pred_cdf_uni_comp_ref_p2 Unexecuted instantiation: encodeframe_utils.c:av1_get_pred_cdf_uni_comp_ref_p2 Unexecuted instantiation: encodemb.c:av1_get_pred_cdf_uni_comp_ref_p2 Unexecuted instantiation: encode_strategy.c:av1_get_pred_cdf_uni_comp_ref_p2 Unexecuted instantiation: interp_search.c:av1_get_pred_cdf_uni_comp_ref_p2 Unexecuted instantiation: motion_search_facade.c:av1_get_pred_cdf_uni_comp_ref_p2 Unexecuted instantiation: partition_search.c:av1_get_pred_cdf_uni_comp_ref_p2 Unexecuted instantiation: partition_strategy.c:av1_get_pred_cdf_uni_comp_ref_p2 Unexecuted instantiation: nonrd_pickmode.c:av1_get_pred_cdf_uni_comp_ref_p2 |
248 | | |
249 | | // == Bi-directional contexts == |
250 | | |
251 | | int av1_get_pred_context_comp_ref_p(const MACROBLOCKD *xd); |
252 | | |
253 | | int av1_get_pred_context_comp_ref_p1(const MACROBLOCKD *xd); |
254 | | |
255 | | int av1_get_pred_context_comp_ref_p2(const MACROBLOCKD *xd); |
256 | | |
257 | | int av1_get_pred_context_comp_bwdref_p(const MACROBLOCKD *xd); |
258 | | |
259 | | int av1_get_pred_context_comp_bwdref_p1(const MACROBLOCKD *xd); |
260 | | |
261 | 0 | static INLINE aom_cdf_prob *av1_get_pred_cdf_comp_ref_p(const MACROBLOCKD *xd) { |
262 | 0 | const int pred_context = av1_get_pred_context_comp_ref_p(xd); |
263 | 0 | return xd->tile_ctx->comp_ref_cdf[pred_context][0]; |
264 | 0 | } Unexecuted instantiation: decodeframe.c:av1_get_pred_cdf_comp_ref_p Unexecuted instantiation: decodemv.c:av1_get_pred_cdf_comp_ref_p Unexecuted instantiation: bitstream.c:av1_get_pred_cdf_comp_ref_p Unexecuted instantiation: encoder.c:av1_get_pred_cdf_comp_ref_p Unexecuted instantiation: encoder_utils.c:av1_get_pred_cdf_comp_ref_p Unexecuted instantiation: encodetxb.c:av1_get_pred_cdf_comp_ref_p Unexecuted instantiation: ethread.c:av1_get_pred_cdf_comp_ref_p Unexecuted instantiation: global_motion_facade.c:av1_get_pred_cdf_comp_ref_p Unexecuted instantiation: mcomp.c:av1_get_pred_cdf_comp_ref_p Unexecuted instantiation: palette.c:av1_get_pred_cdf_comp_ref_p Unexecuted instantiation: rd.c:av1_get_pred_cdf_comp_ref_p Unexecuted instantiation: rdopt.c:av1_get_pred_cdf_comp_ref_p Unexecuted instantiation: segmentation.c:av1_get_pred_cdf_comp_ref_p Unexecuted instantiation: speed_features.c:av1_get_pred_cdf_comp_ref_p Unexecuted instantiation: superres_scale.c:av1_get_pred_cdf_comp_ref_p Unexecuted instantiation: svc_layercontext.c:av1_get_pred_cdf_comp_ref_p Unexecuted instantiation: tokenize.c:av1_get_pred_cdf_comp_ref_p Unexecuted instantiation: tpl_model.c:av1_get_pred_cdf_comp_ref_p Unexecuted instantiation: tx_search.c:av1_get_pred_cdf_comp_ref_p Unexecuted instantiation: intra_mode_search.c:av1_get_pred_cdf_comp_ref_p Unexecuted instantiation: pred_common.c:av1_get_pred_cdf_comp_ref_p Unexecuted instantiation: aq_cyclicrefresh.c:av1_get_pred_cdf_comp_ref_p Unexecuted instantiation: allintra_vis.c:av1_get_pred_cdf_comp_ref_p Unexecuted instantiation: compound_type.c:av1_get_pred_cdf_comp_ref_p Unexecuted instantiation: encodeframe.c:av1_get_pred_cdf_comp_ref_p Unexecuted instantiation: encodeframe_utils.c:av1_get_pred_cdf_comp_ref_p Unexecuted instantiation: encodemb.c:av1_get_pred_cdf_comp_ref_p Unexecuted instantiation: encode_strategy.c:av1_get_pred_cdf_comp_ref_p Unexecuted instantiation: interp_search.c:av1_get_pred_cdf_comp_ref_p Unexecuted instantiation: motion_search_facade.c:av1_get_pred_cdf_comp_ref_p Unexecuted instantiation: partition_search.c:av1_get_pred_cdf_comp_ref_p Unexecuted instantiation: partition_strategy.c:av1_get_pred_cdf_comp_ref_p Unexecuted instantiation: nonrd_pickmode.c:av1_get_pred_cdf_comp_ref_p |
265 | | |
266 | | static INLINE aom_cdf_prob *av1_get_pred_cdf_comp_ref_p1( |
267 | 0 | const MACROBLOCKD *xd) { |
268 | 0 | const int pred_context = av1_get_pred_context_comp_ref_p1(xd); |
269 | 0 | return xd->tile_ctx->comp_ref_cdf[pred_context][1]; |
270 | 0 | } Unexecuted instantiation: decodeframe.c:av1_get_pred_cdf_comp_ref_p1 Unexecuted instantiation: decodemv.c:av1_get_pred_cdf_comp_ref_p1 Unexecuted instantiation: bitstream.c:av1_get_pred_cdf_comp_ref_p1 Unexecuted instantiation: encoder.c:av1_get_pred_cdf_comp_ref_p1 Unexecuted instantiation: encoder_utils.c:av1_get_pred_cdf_comp_ref_p1 Unexecuted instantiation: encodetxb.c:av1_get_pred_cdf_comp_ref_p1 Unexecuted instantiation: ethread.c:av1_get_pred_cdf_comp_ref_p1 Unexecuted instantiation: global_motion_facade.c:av1_get_pred_cdf_comp_ref_p1 Unexecuted instantiation: mcomp.c:av1_get_pred_cdf_comp_ref_p1 Unexecuted instantiation: palette.c:av1_get_pred_cdf_comp_ref_p1 Unexecuted instantiation: rd.c:av1_get_pred_cdf_comp_ref_p1 Unexecuted instantiation: rdopt.c:av1_get_pred_cdf_comp_ref_p1 Unexecuted instantiation: segmentation.c:av1_get_pred_cdf_comp_ref_p1 Unexecuted instantiation: speed_features.c:av1_get_pred_cdf_comp_ref_p1 Unexecuted instantiation: superres_scale.c:av1_get_pred_cdf_comp_ref_p1 Unexecuted instantiation: svc_layercontext.c:av1_get_pred_cdf_comp_ref_p1 Unexecuted instantiation: tokenize.c:av1_get_pred_cdf_comp_ref_p1 Unexecuted instantiation: tpl_model.c:av1_get_pred_cdf_comp_ref_p1 Unexecuted instantiation: tx_search.c:av1_get_pred_cdf_comp_ref_p1 Unexecuted instantiation: intra_mode_search.c:av1_get_pred_cdf_comp_ref_p1 Unexecuted instantiation: pred_common.c:av1_get_pred_cdf_comp_ref_p1 Unexecuted instantiation: aq_cyclicrefresh.c:av1_get_pred_cdf_comp_ref_p1 Unexecuted instantiation: allintra_vis.c:av1_get_pred_cdf_comp_ref_p1 Unexecuted instantiation: compound_type.c:av1_get_pred_cdf_comp_ref_p1 Unexecuted instantiation: encodeframe.c:av1_get_pred_cdf_comp_ref_p1 Unexecuted instantiation: encodeframe_utils.c:av1_get_pred_cdf_comp_ref_p1 Unexecuted instantiation: encodemb.c:av1_get_pred_cdf_comp_ref_p1 Unexecuted instantiation: encode_strategy.c:av1_get_pred_cdf_comp_ref_p1 Unexecuted instantiation: interp_search.c:av1_get_pred_cdf_comp_ref_p1 Unexecuted instantiation: motion_search_facade.c:av1_get_pred_cdf_comp_ref_p1 Unexecuted instantiation: partition_search.c:av1_get_pred_cdf_comp_ref_p1 Unexecuted instantiation: partition_strategy.c:av1_get_pred_cdf_comp_ref_p1 Unexecuted instantiation: nonrd_pickmode.c:av1_get_pred_cdf_comp_ref_p1 |
271 | | |
272 | | static INLINE aom_cdf_prob *av1_get_pred_cdf_comp_ref_p2( |
273 | 0 | const MACROBLOCKD *xd) { |
274 | 0 | const int pred_context = av1_get_pred_context_comp_ref_p2(xd); |
275 | 0 | return xd->tile_ctx->comp_ref_cdf[pred_context][2]; |
276 | 0 | } Unexecuted instantiation: decodeframe.c:av1_get_pred_cdf_comp_ref_p2 Unexecuted instantiation: decodemv.c:av1_get_pred_cdf_comp_ref_p2 Unexecuted instantiation: bitstream.c:av1_get_pred_cdf_comp_ref_p2 Unexecuted instantiation: encoder.c:av1_get_pred_cdf_comp_ref_p2 Unexecuted instantiation: encoder_utils.c:av1_get_pred_cdf_comp_ref_p2 Unexecuted instantiation: encodetxb.c:av1_get_pred_cdf_comp_ref_p2 Unexecuted instantiation: ethread.c:av1_get_pred_cdf_comp_ref_p2 Unexecuted instantiation: global_motion_facade.c:av1_get_pred_cdf_comp_ref_p2 Unexecuted instantiation: mcomp.c:av1_get_pred_cdf_comp_ref_p2 Unexecuted instantiation: palette.c:av1_get_pred_cdf_comp_ref_p2 Unexecuted instantiation: rd.c:av1_get_pred_cdf_comp_ref_p2 Unexecuted instantiation: rdopt.c:av1_get_pred_cdf_comp_ref_p2 Unexecuted instantiation: segmentation.c:av1_get_pred_cdf_comp_ref_p2 Unexecuted instantiation: speed_features.c:av1_get_pred_cdf_comp_ref_p2 Unexecuted instantiation: superres_scale.c:av1_get_pred_cdf_comp_ref_p2 Unexecuted instantiation: svc_layercontext.c:av1_get_pred_cdf_comp_ref_p2 Unexecuted instantiation: tokenize.c:av1_get_pred_cdf_comp_ref_p2 Unexecuted instantiation: tpl_model.c:av1_get_pred_cdf_comp_ref_p2 Unexecuted instantiation: tx_search.c:av1_get_pred_cdf_comp_ref_p2 Unexecuted instantiation: intra_mode_search.c:av1_get_pred_cdf_comp_ref_p2 Unexecuted instantiation: pred_common.c:av1_get_pred_cdf_comp_ref_p2 Unexecuted instantiation: aq_cyclicrefresh.c:av1_get_pred_cdf_comp_ref_p2 Unexecuted instantiation: allintra_vis.c:av1_get_pred_cdf_comp_ref_p2 Unexecuted instantiation: compound_type.c:av1_get_pred_cdf_comp_ref_p2 Unexecuted instantiation: encodeframe.c:av1_get_pred_cdf_comp_ref_p2 Unexecuted instantiation: encodeframe_utils.c:av1_get_pred_cdf_comp_ref_p2 Unexecuted instantiation: encodemb.c:av1_get_pred_cdf_comp_ref_p2 Unexecuted instantiation: encode_strategy.c:av1_get_pred_cdf_comp_ref_p2 Unexecuted instantiation: interp_search.c:av1_get_pred_cdf_comp_ref_p2 Unexecuted instantiation: motion_search_facade.c:av1_get_pred_cdf_comp_ref_p2 Unexecuted instantiation: partition_search.c:av1_get_pred_cdf_comp_ref_p2 Unexecuted instantiation: partition_strategy.c:av1_get_pred_cdf_comp_ref_p2 Unexecuted instantiation: nonrd_pickmode.c:av1_get_pred_cdf_comp_ref_p2 |
277 | | |
278 | | static INLINE aom_cdf_prob *av1_get_pred_cdf_comp_bwdref_p( |
279 | 0 | const MACROBLOCKD *xd) { |
280 | 0 | const int pred_context = av1_get_pred_context_comp_bwdref_p(xd); |
281 | 0 | return xd->tile_ctx->comp_bwdref_cdf[pred_context][0]; |
282 | 0 | } Unexecuted instantiation: decodeframe.c:av1_get_pred_cdf_comp_bwdref_p Unexecuted instantiation: decodemv.c:av1_get_pred_cdf_comp_bwdref_p Unexecuted instantiation: bitstream.c:av1_get_pred_cdf_comp_bwdref_p Unexecuted instantiation: encoder.c:av1_get_pred_cdf_comp_bwdref_p Unexecuted instantiation: encoder_utils.c:av1_get_pred_cdf_comp_bwdref_p Unexecuted instantiation: encodetxb.c:av1_get_pred_cdf_comp_bwdref_p Unexecuted instantiation: ethread.c:av1_get_pred_cdf_comp_bwdref_p Unexecuted instantiation: global_motion_facade.c:av1_get_pred_cdf_comp_bwdref_p Unexecuted instantiation: mcomp.c:av1_get_pred_cdf_comp_bwdref_p Unexecuted instantiation: palette.c:av1_get_pred_cdf_comp_bwdref_p Unexecuted instantiation: rd.c:av1_get_pred_cdf_comp_bwdref_p Unexecuted instantiation: rdopt.c:av1_get_pred_cdf_comp_bwdref_p Unexecuted instantiation: segmentation.c:av1_get_pred_cdf_comp_bwdref_p Unexecuted instantiation: speed_features.c:av1_get_pred_cdf_comp_bwdref_p Unexecuted instantiation: superres_scale.c:av1_get_pred_cdf_comp_bwdref_p Unexecuted instantiation: svc_layercontext.c:av1_get_pred_cdf_comp_bwdref_p Unexecuted instantiation: tokenize.c:av1_get_pred_cdf_comp_bwdref_p Unexecuted instantiation: tpl_model.c:av1_get_pred_cdf_comp_bwdref_p Unexecuted instantiation: tx_search.c:av1_get_pred_cdf_comp_bwdref_p Unexecuted instantiation: intra_mode_search.c:av1_get_pred_cdf_comp_bwdref_p Unexecuted instantiation: pred_common.c:av1_get_pred_cdf_comp_bwdref_p Unexecuted instantiation: aq_cyclicrefresh.c:av1_get_pred_cdf_comp_bwdref_p Unexecuted instantiation: allintra_vis.c:av1_get_pred_cdf_comp_bwdref_p Unexecuted instantiation: compound_type.c:av1_get_pred_cdf_comp_bwdref_p Unexecuted instantiation: encodeframe.c:av1_get_pred_cdf_comp_bwdref_p Unexecuted instantiation: encodeframe_utils.c:av1_get_pred_cdf_comp_bwdref_p Unexecuted instantiation: encodemb.c:av1_get_pred_cdf_comp_bwdref_p Unexecuted instantiation: encode_strategy.c:av1_get_pred_cdf_comp_bwdref_p Unexecuted instantiation: interp_search.c:av1_get_pred_cdf_comp_bwdref_p Unexecuted instantiation: motion_search_facade.c:av1_get_pred_cdf_comp_bwdref_p Unexecuted instantiation: partition_search.c:av1_get_pred_cdf_comp_bwdref_p Unexecuted instantiation: partition_strategy.c:av1_get_pred_cdf_comp_bwdref_p Unexecuted instantiation: nonrd_pickmode.c:av1_get_pred_cdf_comp_bwdref_p |
283 | | |
284 | | static INLINE aom_cdf_prob *av1_get_pred_cdf_comp_bwdref_p1( |
285 | 0 | const MACROBLOCKD *xd) { |
286 | 0 | const int pred_context = av1_get_pred_context_comp_bwdref_p1(xd); |
287 | 0 | return xd->tile_ctx->comp_bwdref_cdf[pred_context][1]; |
288 | 0 | } Unexecuted instantiation: decodeframe.c:av1_get_pred_cdf_comp_bwdref_p1 Unexecuted instantiation: decodemv.c:av1_get_pred_cdf_comp_bwdref_p1 Unexecuted instantiation: bitstream.c:av1_get_pred_cdf_comp_bwdref_p1 Unexecuted instantiation: encoder.c:av1_get_pred_cdf_comp_bwdref_p1 Unexecuted instantiation: encoder_utils.c:av1_get_pred_cdf_comp_bwdref_p1 Unexecuted instantiation: encodetxb.c:av1_get_pred_cdf_comp_bwdref_p1 Unexecuted instantiation: ethread.c:av1_get_pred_cdf_comp_bwdref_p1 Unexecuted instantiation: global_motion_facade.c:av1_get_pred_cdf_comp_bwdref_p1 Unexecuted instantiation: mcomp.c:av1_get_pred_cdf_comp_bwdref_p1 Unexecuted instantiation: palette.c:av1_get_pred_cdf_comp_bwdref_p1 Unexecuted instantiation: rd.c:av1_get_pred_cdf_comp_bwdref_p1 Unexecuted instantiation: rdopt.c:av1_get_pred_cdf_comp_bwdref_p1 Unexecuted instantiation: segmentation.c:av1_get_pred_cdf_comp_bwdref_p1 Unexecuted instantiation: speed_features.c:av1_get_pred_cdf_comp_bwdref_p1 Unexecuted instantiation: superres_scale.c:av1_get_pred_cdf_comp_bwdref_p1 Unexecuted instantiation: svc_layercontext.c:av1_get_pred_cdf_comp_bwdref_p1 Unexecuted instantiation: tokenize.c:av1_get_pred_cdf_comp_bwdref_p1 Unexecuted instantiation: tpl_model.c:av1_get_pred_cdf_comp_bwdref_p1 Unexecuted instantiation: tx_search.c:av1_get_pred_cdf_comp_bwdref_p1 Unexecuted instantiation: intra_mode_search.c:av1_get_pred_cdf_comp_bwdref_p1 Unexecuted instantiation: pred_common.c:av1_get_pred_cdf_comp_bwdref_p1 Unexecuted instantiation: aq_cyclicrefresh.c:av1_get_pred_cdf_comp_bwdref_p1 Unexecuted instantiation: allintra_vis.c:av1_get_pred_cdf_comp_bwdref_p1 Unexecuted instantiation: compound_type.c:av1_get_pred_cdf_comp_bwdref_p1 Unexecuted instantiation: encodeframe.c:av1_get_pred_cdf_comp_bwdref_p1 Unexecuted instantiation: encodeframe_utils.c:av1_get_pred_cdf_comp_bwdref_p1 Unexecuted instantiation: encodemb.c:av1_get_pred_cdf_comp_bwdref_p1 Unexecuted instantiation: encode_strategy.c:av1_get_pred_cdf_comp_bwdref_p1 Unexecuted instantiation: interp_search.c:av1_get_pred_cdf_comp_bwdref_p1 Unexecuted instantiation: motion_search_facade.c:av1_get_pred_cdf_comp_bwdref_p1 Unexecuted instantiation: partition_search.c:av1_get_pred_cdf_comp_bwdref_p1 Unexecuted instantiation: partition_strategy.c:av1_get_pred_cdf_comp_bwdref_p1 Unexecuted instantiation: nonrd_pickmode.c:av1_get_pred_cdf_comp_bwdref_p1 |
289 | | |
290 | | // == Single contexts == |
291 | | |
292 | | int av1_get_pred_context_single_ref_p1(const MACROBLOCKD *xd); |
293 | | |
294 | | int av1_get_pred_context_single_ref_p2(const MACROBLOCKD *xd); |
295 | | |
296 | | int av1_get_pred_context_single_ref_p3(const MACROBLOCKD *xd); |
297 | | |
298 | | int av1_get_pred_context_single_ref_p4(const MACROBLOCKD *xd); |
299 | | |
300 | | int av1_get_pred_context_single_ref_p5(const MACROBLOCKD *xd); |
301 | | |
302 | | int av1_get_pred_context_single_ref_p6(const MACROBLOCKD *xd); |
303 | | |
304 | | static INLINE aom_cdf_prob *av1_get_pred_cdf_single_ref_p1( |
305 | 0 | const MACROBLOCKD *xd) { |
306 | 0 | return xd->tile_ctx |
307 | 0 | ->single_ref_cdf[av1_get_pred_context_single_ref_p1(xd)][0]; |
308 | 0 | } Unexecuted instantiation: decodeframe.c:av1_get_pred_cdf_single_ref_p1 Unexecuted instantiation: decodemv.c:av1_get_pred_cdf_single_ref_p1 Unexecuted instantiation: bitstream.c:av1_get_pred_cdf_single_ref_p1 Unexecuted instantiation: encoder.c:av1_get_pred_cdf_single_ref_p1 Unexecuted instantiation: encoder_utils.c:av1_get_pred_cdf_single_ref_p1 Unexecuted instantiation: encodetxb.c:av1_get_pred_cdf_single_ref_p1 Unexecuted instantiation: ethread.c:av1_get_pred_cdf_single_ref_p1 Unexecuted instantiation: global_motion_facade.c:av1_get_pred_cdf_single_ref_p1 Unexecuted instantiation: mcomp.c:av1_get_pred_cdf_single_ref_p1 Unexecuted instantiation: palette.c:av1_get_pred_cdf_single_ref_p1 Unexecuted instantiation: rd.c:av1_get_pred_cdf_single_ref_p1 Unexecuted instantiation: rdopt.c:av1_get_pred_cdf_single_ref_p1 Unexecuted instantiation: segmentation.c:av1_get_pred_cdf_single_ref_p1 Unexecuted instantiation: speed_features.c:av1_get_pred_cdf_single_ref_p1 Unexecuted instantiation: superres_scale.c:av1_get_pred_cdf_single_ref_p1 Unexecuted instantiation: svc_layercontext.c:av1_get_pred_cdf_single_ref_p1 Unexecuted instantiation: tokenize.c:av1_get_pred_cdf_single_ref_p1 Unexecuted instantiation: tpl_model.c:av1_get_pred_cdf_single_ref_p1 Unexecuted instantiation: tx_search.c:av1_get_pred_cdf_single_ref_p1 Unexecuted instantiation: intra_mode_search.c:av1_get_pred_cdf_single_ref_p1 Unexecuted instantiation: pred_common.c:av1_get_pred_cdf_single_ref_p1 Unexecuted instantiation: aq_cyclicrefresh.c:av1_get_pred_cdf_single_ref_p1 Unexecuted instantiation: allintra_vis.c:av1_get_pred_cdf_single_ref_p1 Unexecuted instantiation: compound_type.c:av1_get_pred_cdf_single_ref_p1 Unexecuted instantiation: encodeframe.c:av1_get_pred_cdf_single_ref_p1 Unexecuted instantiation: encodeframe_utils.c:av1_get_pred_cdf_single_ref_p1 Unexecuted instantiation: encodemb.c:av1_get_pred_cdf_single_ref_p1 Unexecuted instantiation: encode_strategy.c:av1_get_pred_cdf_single_ref_p1 Unexecuted instantiation: interp_search.c:av1_get_pred_cdf_single_ref_p1 Unexecuted instantiation: motion_search_facade.c:av1_get_pred_cdf_single_ref_p1 Unexecuted instantiation: partition_search.c:av1_get_pred_cdf_single_ref_p1 Unexecuted instantiation: partition_strategy.c:av1_get_pred_cdf_single_ref_p1 Unexecuted instantiation: nonrd_pickmode.c:av1_get_pred_cdf_single_ref_p1 |
309 | | static INLINE aom_cdf_prob *av1_get_pred_cdf_single_ref_p2( |
310 | 0 | const MACROBLOCKD *xd) { |
311 | 0 | return xd->tile_ctx |
312 | 0 | ->single_ref_cdf[av1_get_pred_context_single_ref_p2(xd)][1]; |
313 | 0 | } Unexecuted instantiation: decodeframe.c:av1_get_pred_cdf_single_ref_p2 Unexecuted instantiation: decodemv.c:av1_get_pred_cdf_single_ref_p2 Unexecuted instantiation: bitstream.c:av1_get_pred_cdf_single_ref_p2 Unexecuted instantiation: encoder.c:av1_get_pred_cdf_single_ref_p2 Unexecuted instantiation: encoder_utils.c:av1_get_pred_cdf_single_ref_p2 Unexecuted instantiation: encodetxb.c:av1_get_pred_cdf_single_ref_p2 Unexecuted instantiation: ethread.c:av1_get_pred_cdf_single_ref_p2 Unexecuted instantiation: global_motion_facade.c:av1_get_pred_cdf_single_ref_p2 Unexecuted instantiation: mcomp.c:av1_get_pred_cdf_single_ref_p2 Unexecuted instantiation: palette.c:av1_get_pred_cdf_single_ref_p2 Unexecuted instantiation: rd.c:av1_get_pred_cdf_single_ref_p2 Unexecuted instantiation: rdopt.c:av1_get_pred_cdf_single_ref_p2 Unexecuted instantiation: segmentation.c:av1_get_pred_cdf_single_ref_p2 Unexecuted instantiation: speed_features.c:av1_get_pred_cdf_single_ref_p2 Unexecuted instantiation: superres_scale.c:av1_get_pred_cdf_single_ref_p2 Unexecuted instantiation: svc_layercontext.c:av1_get_pred_cdf_single_ref_p2 Unexecuted instantiation: tokenize.c:av1_get_pred_cdf_single_ref_p2 Unexecuted instantiation: tpl_model.c:av1_get_pred_cdf_single_ref_p2 Unexecuted instantiation: tx_search.c:av1_get_pred_cdf_single_ref_p2 Unexecuted instantiation: intra_mode_search.c:av1_get_pred_cdf_single_ref_p2 Unexecuted instantiation: pred_common.c:av1_get_pred_cdf_single_ref_p2 Unexecuted instantiation: aq_cyclicrefresh.c:av1_get_pred_cdf_single_ref_p2 Unexecuted instantiation: allintra_vis.c:av1_get_pred_cdf_single_ref_p2 Unexecuted instantiation: compound_type.c:av1_get_pred_cdf_single_ref_p2 Unexecuted instantiation: encodeframe.c:av1_get_pred_cdf_single_ref_p2 Unexecuted instantiation: encodeframe_utils.c:av1_get_pred_cdf_single_ref_p2 Unexecuted instantiation: encodemb.c:av1_get_pred_cdf_single_ref_p2 Unexecuted instantiation: encode_strategy.c:av1_get_pred_cdf_single_ref_p2 Unexecuted instantiation: interp_search.c:av1_get_pred_cdf_single_ref_p2 Unexecuted instantiation: motion_search_facade.c:av1_get_pred_cdf_single_ref_p2 Unexecuted instantiation: partition_search.c:av1_get_pred_cdf_single_ref_p2 Unexecuted instantiation: partition_strategy.c:av1_get_pred_cdf_single_ref_p2 Unexecuted instantiation: nonrd_pickmode.c:av1_get_pred_cdf_single_ref_p2 |
314 | | static INLINE aom_cdf_prob *av1_get_pred_cdf_single_ref_p3( |
315 | 0 | const MACROBLOCKD *xd) { |
316 | 0 | return xd->tile_ctx |
317 | 0 | ->single_ref_cdf[av1_get_pred_context_single_ref_p3(xd)][2]; |
318 | 0 | } Unexecuted instantiation: decodeframe.c:av1_get_pred_cdf_single_ref_p3 Unexecuted instantiation: decodemv.c:av1_get_pred_cdf_single_ref_p3 Unexecuted instantiation: bitstream.c:av1_get_pred_cdf_single_ref_p3 Unexecuted instantiation: encoder.c:av1_get_pred_cdf_single_ref_p3 Unexecuted instantiation: encoder_utils.c:av1_get_pred_cdf_single_ref_p3 Unexecuted instantiation: encodetxb.c:av1_get_pred_cdf_single_ref_p3 Unexecuted instantiation: ethread.c:av1_get_pred_cdf_single_ref_p3 Unexecuted instantiation: global_motion_facade.c:av1_get_pred_cdf_single_ref_p3 Unexecuted instantiation: mcomp.c:av1_get_pred_cdf_single_ref_p3 Unexecuted instantiation: palette.c:av1_get_pred_cdf_single_ref_p3 Unexecuted instantiation: rd.c:av1_get_pred_cdf_single_ref_p3 Unexecuted instantiation: rdopt.c:av1_get_pred_cdf_single_ref_p3 Unexecuted instantiation: segmentation.c:av1_get_pred_cdf_single_ref_p3 Unexecuted instantiation: speed_features.c:av1_get_pred_cdf_single_ref_p3 Unexecuted instantiation: superres_scale.c:av1_get_pred_cdf_single_ref_p3 Unexecuted instantiation: svc_layercontext.c:av1_get_pred_cdf_single_ref_p3 Unexecuted instantiation: tokenize.c:av1_get_pred_cdf_single_ref_p3 Unexecuted instantiation: tpl_model.c:av1_get_pred_cdf_single_ref_p3 Unexecuted instantiation: tx_search.c:av1_get_pred_cdf_single_ref_p3 Unexecuted instantiation: intra_mode_search.c:av1_get_pred_cdf_single_ref_p3 Unexecuted instantiation: pred_common.c:av1_get_pred_cdf_single_ref_p3 Unexecuted instantiation: aq_cyclicrefresh.c:av1_get_pred_cdf_single_ref_p3 Unexecuted instantiation: allintra_vis.c:av1_get_pred_cdf_single_ref_p3 Unexecuted instantiation: compound_type.c:av1_get_pred_cdf_single_ref_p3 Unexecuted instantiation: encodeframe.c:av1_get_pred_cdf_single_ref_p3 Unexecuted instantiation: encodeframe_utils.c:av1_get_pred_cdf_single_ref_p3 Unexecuted instantiation: encodemb.c:av1_get_pred_cdf_single_ref_p3 Unexecuted instantiation: encode_strategy.c:av1_get_pred_cdf_single_ref_p3 Unexecuted instantiation: interp_search.c:av1_get_pred_cdf_single_ref_p3 Unexecuted instantiation: motion_search_facade.c:av1_get_pred_cdf_single_ref_p3 Unexecuted instantiation: partition_search.c:av1_get_pred_cdf_single_ref_p3 Unexecuted instantiation: partition_strategy.c:av1_get_pred_cdf_single_ref_p3 Unexecuted instantiation: nonrd_pickmode.c:av1_get_pred_cdf_single_ref_p3 |
319 | | static INLINE aom_cdf_prob *av1_get_pred_cdf_single_ref_p4( |
320 | 0 | const MACROBLOCKD *xd) { |
321 | 0 | return xd->tile_ctx |
322 | 0 | ->single_ref_cdf[av1_get_pred_context_single_ref_p4(xd)][3]; |
323 | 0 | } Unexecuted instantiation: decodeframe.c:av1_get_pred_cdf_single_ref_p4 Unexecuted instantiation: decodemv.c:av1_get_pred_cdf_single_ref_p4 Unexecuted instantiation: bitstream.c:av1_get_pred_cdf_single_ref_p4 Unexecuted instantiation: encoder.c:av1_get_pred_cdf_single_ref_p4 Unexecuted instantiation: encoder_utils.c:av1_get_pred_cdf_single_ref_p4 Unexecuted instantiation: encodetxb.c:av1_get_pred_cdf_single_ref_p4 Unexecuted instantiation: ethread.c:av1_get_pred_cdf_single_ref_p4 Unexecuted instantiation: global_motion_facade.c:av1_get_pred_cdf_single_ref_p4 Unexecuted instantiation: mcomp.c:av1_get_pred_cdf_single_ref_p4 Unexecuted instantiation: palette.c:av1_get_pred_cdf_single_ref_p4 Unexecuted instantiation: rd.c:av1_get_pred_cdf_single_ref_p4 Unexecuted instantiation: rdopt.c:av1_get_pred_cdf_single_ref_p4 Unexecuted instantiation: segmentation.c:av1_get_pred_cdf_single_ref_p4 Unexecuted instantiation: speed_features.c:av1_get_pred_cdf_single_ref_p4 Unexecuted instantiation: superres_scale.c:av1_get_pred_cdf_single_ref_p4 Unexecuted instantiation: svc_layercontext.c:av1_get_pred_cdf_single_ref_p4 Unexecuted instantiation: tokenize.c:av1_get_pred_cdf_single_ref_p4 Unexecuted instantiation: tpl_model.c:av1_get_pred_cdf_single_ref_p4 Unexecuted instantiation: tx_search.c:av1_get_pred_cdf_single_ref_p4 Unexecuted instantiation: intra_mode_search.c:av1_get_pred_cdf_single_ref_p4 Unexecuted instantiation: pred_common.c:av1_get_pred_cdf_single_ref_p4 Unexecuted instantiation: aq_cyclicrefresh.c:av1_get_pred_cdf_single_ref_p4 Unexecuted instantiation: allintra_vis.c:av1_get_pred_cdf_single_ref_p4 Unexecuted instantiation: compound_type.c:av1_get_pred_cdf_single_ref_p4 Unexecuted instantiation: encodeframe.c:av1_get_pred_cdf_single_ref_p4 Unexecuted instantiation: encodeframe_utils.c:av1_get_pred_cdf_single_ref_p4 Unexecuted instantiation: encodemb.c:av1_get_pred_cdf_single_ref_p4 Unexecuted instantiation: encode_strategy.c:av1_get_pred_cdf_single_ref_p4 Unexecuted instantiation: interp_search.c:av1_get_pred_cdf_single_ref_p4 Unexecuted instantiation: motion_search_facade.c:av1_get_pred_cdf_single_ref_p4 Unexecuted instantiation: partition_search.c:av1_get_pred_cdf_single_ref_p4 Unexecuted instantiation: partition_strategy.c:av1_get_pred_cdf_single_ref_p4 Unexecuted instantiation: nonrd_pickmode.c:av1_get_pred_cdf_single_ref_p4 |
324 | | static INLINE aom_cdf_prob *av1_get_pred_cdf_single_ref_p5( |
325 | 0 | const MACROBLOCKD *xd) { |
326 | 0 | return xd->tile_ctx |
327 | 0 | ->single_ref_cdf[av1_get_pred_context_single_ref_p5(xd)][4]; |
328 | 0 | } Unexecuted instantiation: decodeframe.c:av1_get_pred_cdf_single_ref_p5 Unexecuted instantiation: decodemv.c:av1_get_pred_cdf_single_ref_p5 Unexecuted instantiation: bitstream.c:av1_get_pred_cdf_single_ref_p5 Unexecuted instantiation: encoder.c:av1_get_pred_cdf_single_ref_p5 Unexecuted instantiation: encoder_utils.c:av1_get_pred_cdf_single_ref_p5 Unexecuted instantiation: encodetxb.c:av1_get_pred_cdf_single_ref_p5 Unexecuted instantiation: ethread.c:av1_get_pred_cdf_single_ref_p5 Unexecuted instantiation: global_motion_facade.c:av1_get_pred_cdf_single_ref_p5 Unexecuted instantiation: mcomp.c:av1_get_pred_cdf_single_ref_p5 Unexecuted instantiation: palette.c:av1_get_pred_cdf_single_ref_p5 Unexecuted instantiation: rd.c:av1_get_pred_cdf_single_ref_p5 Unexecuted instantiation: rdopt.c:av1_get_pred_cdf_single_ref_p5 Unexecuted instantiation: segmentation.c:av1_get_pred_cdf_single_ref_p5 Unexecuted instantiation: speed_features.c:av1_get_pred_cdf_single_ref_p5 Unexecuted instantiation: superres_scale.c:av1_get_pred_cdf_single_ref_p5 Unexecuted instantiation: svc_layercontext.c:av1_get_pred_cdf_single_ref_p5 Unexecuted instantiation: tokenize.c:av1_get_pred_cdf_single_ref_p5 Unexecuted instantiation: tpl_model.c:av1_get_pred_cdf_single_ref_p5 Unexecuted instantiation: tx_search.c:av1_get_pred_cdf_single_ref_p5 Unexecuted instantiation: intra_mode_search.c:av1_get_pred_cdf_single_ref_p5 Unexecuted instantiation: pred_common.c:av1_get_pred_cdf_single_ref_p5 Unexecuted instantiation: aq_cyclicrefresh.c:av1_get_pred_cdf_single_ref_p5 Unexecuted instantiation: allintra_vis.c:av1_get_pred_cdf_single_ref_p5 Unexecuted instantiation: compound_type.c:av1_get_pred_cdf_single_ref_p5 Unexecuted instantiation: encodeframe.c:av1_get_pred_cdf_single_ref_p5 Unexecuted instantiation: encodeframe_utils.c:av1_get_pred_cdf_single_ref_p5 Unexecuted instantiation: encodemb.c:av1_get_pred_cdf_single_ref_p5 Unexecuted instantiation: encode_strategy.c:av1_get_pred_cdf_single_ref_p5 Unexecuted instantiation: interp_search.c:av1_get_pred_cdf_single_ref_p5 Unexecuted instantiation: motion_search_facade.c:av1_get_pred_cdf_single_ref_p5 Unexecuted instantiation: partition_search.c:av1_get_pred_cdf_single_ref_p5 Unexecuted instantiation: partition_strategy.c:av1_get_pred_cdf_single_ref_p5 Unexecuted instantiation: nonrd_pickmode.c:av1_get_pred_cdf_single_ref_p5 |
329 | | static INLINE aom_cdf_prob *av1_get_pred_cdf_single_ref_p6( |
330 | 0 | const MACROBLOCKD *xd) { |
331 | 0 | return xd->tile_ctx |
332 | 0 | ->single_ref_cdf[av1_get_pred_context_single_ref_p6(xd)][5]; |
333 | 0 | } Unexecuted instantiation: decodeframe.c:av1_get_pred_cdf_single_ref_p6 Unexecuted instantiation: decodemv.c:av1_get_pred_cdf_single_ref_p6 Unexecuted instantiation: bitstream.c:av1_get_pred_cdf_single_ref_p6 Unexecuted instantiation: encoder.c:av1_get_pred_cdf_single_ref_p6 Unexecuted instantiation: encoder_utils.c:av1_get_pred_cdf_single_ref_p6 Unexecuted instantiation: encodetxb.c:av1_get_pred_cdf_single_ref_p6 Unexecuted instantiation: ethread.c:av1_get_pred_cdf_single_ref_p6 Unexecuted instantiation: global_motion_facade.c:av1_get_pred_cdf_single_ref_p6 Unexecuted instantiation: mcomp.c:av1_get_pred_cdf_single_ref_p6 Unexecuted instantiation: palette.c:av1_get_pred_cdf_single_ref_p6 Unexecuted instantiation: rd.c:av1_get_pred_cdf_single_ref_p6 Unexecuted instantiation: rdopt.c:av1_get_pred_cdf_single_ref_p6 Unexecuted instantiation: segmentation.c:av1_get_pred_cdf_single_ref_p6 Unexecuted instantiation: speed_features.c:av1_get_pred_cdf_single_ref_p6 Unexecuted instantiation: superres_scale.c:av1_get_pred_cdf_single_ref_p6 Unexecuted instantiation: svc_layercontext.c:av1_get_pred_cdf_single_ref_p6 Unexecuted instantiation: tokenize.c:av1_get_pred_cdf_single_ref_p6 Unexecuted instantiation: tpl_model.c:av1_get_pred_cdf_single_ref_p6 Unexecuted instantiation: tx_search.c:av1_get_pred_cdf_single_ref_p6 Unexecuted instantiation: intra_mode_search.c:av1_get_pred_cdf_single_ref_p6 Unexecuted instantiation: pred_common.c:av1_get_pred_cdf_single_ref_p6 Unexecuted instantiation: aq_cyclicrefresh.c:av1_get_pred_cdf_single_ref_p6 Unexecuted instantiation: allintra_vis.c:av1_get_pred_cdf_single_ref_p6 Unexecuted instantiation: compound_type.c:av1_get_pred_cdf_single_ref_p6 Unexecuted instantiation: encodeframe.c:av1_get_pred_cdf_single_ref_p6 Unexecuted instantiation: encodeframe_utils.c:av1_get_pred_cdf_single_ref_p6 Unexecuted instantiation: encodemb.c:av1_get_pred_cdf_single_ref_p6 Unexecuted instantiation: encode_strategy.c:av1_get_pred_cdf_single_ref_p6 Unexecuted instantiation: interp_search.c:av1_get_pred_cdf_single_ref_p6 Unexecuted instantiation: motion_search_facade.c:av1_get_pred_cdf_single_ref_p6 Unexecuted instantiation: partition_search.c:av1_get_pred_cdf_single_ref_p6 Unexecuted instantiation: partition_strategy.c:av1_get_pred_cdf_single_ref_p6 Unexecuted instantiation: nonrd_pickmode.c:av1_get_pred_cdf_single_ref_p6 |
334 | | |
335 | | // Returns a context number for the given MB prediction signal |
336 | | // The mode info data structure has a one element border above and to the |
337 | | // left of the entries corresponding to real blocks. |
338 | | // The prediction flags in these dummy entries are initialized to 0. |
339 | 0 | static INLINE int get_tx_size_context(const MACROBLOCKD *xd) { |
340 | 0 | const MB_MODE_INFO *mbmi = xd->mi[0]; |
341 | 0 | const MB_MODE_INFO *const above_mbmi = xd->above_mbmi; |
342 | 0 | const MB_MODE_INFO *const left_mbmi = xd->left_mbmi; |
343 | 0 | const TX_SIZE max_tx_size = max_txsize_rect_lookup[mbmi->bsize]; |
344 | 0 | const int max_tx_wide = tx_size_wide[max_tx_size]; |
345 | 0 | const int max_tx_high = tx_size_high[max_tx_size]; |
346 | 0 | const int has_above = xd->up_available; |
347 | 0 | const int has_left = xd->left_available; |
348 | |
|
349 | 0 | int above = xd->above_txfm_context[0] >= max_tx_wide; |
350 | 0 | int left = xd->left_txfm_context[0] >= max_tx_high; |
351 | |
|
352 | 0 | if (has_above) |
353 | 0 | if (is_inter_block(above_mbmi)) |
354 | 0 | above = block_size_wide[above_mbmi->bsize] >= max_tx_wide; |
355 | |
|
356 | 0 | if (has_left) |
357 | 0 | if (is_inter_block(left_mbmi)) |
358 | 0 | left = block_size_high[left_mbmi->bsize] >= max_tx_high; |
359 | |
|
360 | 0 | if (has_above && has_left) |
361 | 0 | return (above + left); |
362 | 0 | else if (has_above) |
363 | 0 | return above; |
364 | 0 | else if (has_left) |
365 | 0 | return left; |
366 | 0 | else |
367 | 0 | return 0; |
368 | 0 | } Unexecuted instantiation: decodeframe.c:get_tx_size_context Unexecuted instantiation: decodemv.c:get_tx_size_context Unexecuted instantiation: bitstream.c:get_tx_size_context Unexecuted instantiation: encoder.c:get_tx_size_context Unexecuted instantiation: encoder_utils.c:get_tx_size_context Unexecuted instantiation: encodetxb.c:get_tx_size_context Unexecuted instantiation: ethread.c:get_tx_size_context Unexecuted instantiation: global_motion_facade.c:get_tx_size_context Unexecuted instantiation: mcomp.c:get_tx_size_context Unexecuted instantiation: palette.c:get_tx_size_context Unexecuted instantiation: rd.c:get_tx_size_context Unexecuted instantiation: rdopt.c:get_tx_size_context Unexecuted instantiation: segmentation.c:get_tx_size_context Unexecuted instantiation: speed_features.c:get_tx_size_context Unexecuted instantiation: superres_scale.c:get_tx_size_context Unexecuted instantiation: svc_layercontext.c:get_tx_size_context Unexecuted instantiation: tokenize.c:get_tx_size_context Unexecuted instantiation: tpl_model.c:get_tx_size_context Unexecuted instantiation: tx_search.c:get_tx_size_context Unexecuted instantiation: intra_mode_search.c:get_tx_size_context Unexecuted instantiation: pred_common.c:get_tx_size_context Unexecuted instantiation: aq_cyclicrefresh.c:get_tx_size_context Unexecuted instantiation: allintra_vis.c:get_tx_size_context Unexecuted instantiation: compound_type.c:get_tx_size_context Unexecuted instantiation: encodeframe.c:get_tx_size_context Unexecuted instantiation: encodeframe_utils.c:get_tx_size_context Unexecuted instantiation: encodemb.c:get_tx_size_context Unexecuted instantiation: encode_strategy.c:get_tx_size_context Unexecuted instantiation: interp_search.c:get_tx_size_context Unexecuted instantiation: motion_search_facade.c:get_tx_size_context Unexecuted instantiation: partition_search.c:get_tx_size_context Unexecuted instantiation: partition_strategy.c:get_tx_size_context Unexecuted instantiation: nonrd_pickmode.c:get_tx_size_context |
369 | | |
370 | | #ifdef __cplusplus |
371 | | } // extern "C" |
372 | | #endif |
373 | | |
374 | | #endif // AOM_AV1_COMMON_PRED_COMMON_H_ |