/src/libavif/ext/aom/av1/common/pred_common.h
Line | Count | Source |
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 <stdint.h> |
16 | | |
17 | | #include "av1/common/av1_common_int.h" |
18 | | #include "av1/common/blockd.h" |
19 | | #include "av1/common/mvref_common.h" |
20 | | #include "aom_dsp/aom_dsp_common.h" |
21 | | |
22 | | #ifdef __cplusplus |
23 | | extern "C" { |
24 | | #endif |
25 | | |
26 | | static inline uint8_t get_segment_id( |
27 | | const CommonModeInfoParams *const mi_params, const uint8_t *segment_ids, |
28 | 950k | BLOCK_SIZE bsize, int mi_row, int mi_col) { |
29 | 950k | const int mi_offset = mi_row * mi_params->mi_cols + mi_col; |
30 | 950k | const int bw = mi_size_wide[bsize]; |
31 | 950k | const int bh = mi_size_high[bsize]; |
32 | 950k | const int xmis = AOMMIN(mi_params->mi_cols - mi_col, bw); |
33 | 950k | const int ymis = AOMMIN(mi_params->mi_rows - mi_row, bh); |
34 | 950k | const int seg_stride = mi_params->mi_cols; |
35 | 950k | uint8_t segment_id = MAX_SEGMENTS; |
36 | | |
37 | 1.90M | for (int y = 0; y < ymis; ++y) { |
38 | 1.90M | for (int x = 0; x < xmis; ++x) { |
39 | 950k | segment_id = |
40 | 950k | AOMMIN(segment_id, segment_ids[mi_offset + y * seg_stride + x]); |
41 | 950k | } |
42 | 950k | } |
43 | | |
44 | 950k | assert(segment_id < MAX_SEGMENTS); |
45 | 950k | return segment_id; |
46 | 950k | } Unexecuted instantiation: decodeframe.c:get_segment_id decodemv.c:get_segment_id Line | Count | Source | 28 | 950k | BLOCK_SIZE bsize, int mi_row, int mi_col) { | 29 | 950k | const int mi_offset = mi_row * mi_params->mi_cols + mi_col; | 30 | 950k | const int bw = mi_size_wide[bsize]; | 31 | 950k | const int bh = mi_size_high[bsize]; | 32 | 950k | const int xmis = AOMMIN(mi_params->mi_cols - mi_col, bw); | 33 | 950k | const int ymis = AOMMIN(mi_params->mi_rows - mi_row, bh); | 34 | 950k | const int seg_stride = mi_params->mi_cols; | 35 | 950k | uint8_t segment_id = MAX_SEGMENTS; | 36 | | | 37 | 1.90M | for (int y = 0; y < ymis; ++y) { | 38 | 1.90M | for (int x = 0; x < xmis; ++x) { | 39 | 950k | segment_id = | 40 | 950k | AOMMIN(segment_id, segment_ids[mi_offset + y * seg_stride + x]); | 41 | 950k | } | 42 | 950k | } | 43 | | | 44 | | assert(segment_id < MAX_SEGMENTS); | 45 | 950k | return segment_id; | 46 | 950k | } |
Unexecuted instantiation: av1_cx_iface.c:get_segment_id Unexecuted instantiation: allintra_vis.c:get_segment_id Unexecuted instantiation: bitstream.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: 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: firstpass.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: partition_search.c:get_segment_id Unexecuted instantiation: partition_strategy.c:get_segment_id Unexecuted instantiation: rd.c:get_segment_id Unexecuted instantiation: rdopt.c:get_segment_id Unexecuted instantiation: nonrd_pickmode.c:get_segment_id Unexecuted instantiation: nonrd_opt.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: temporal_filter.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: var_based_part.c:get_segment_id Unexecuted instantiation: pred_common.c:get_segment_id Unexecuted instantiation: aq_cyclicrefresh.c:get_segment_id Unexecuted instantiation: compound_type.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: rdopt_sse4.c:get_segment_id Unexecuted instantiation: rdopt_avx2.c:get_segment_id |
47 | | |
48 | | static inline uint8_t av1_get_spatial_seg_pred(const AV1_COMMON *const cm, |
49 | | const MACROBLOCKD *const xd, |
50 | | int *cdf_index, |
51 | 334k | int skip_over4x4) { |
52 | 334k | const int step_size = skip_over4x4 ? 2 : 1; |
53 | 334k | uint8_t prev_ul = UINT8_MAX; // top left segment_id |
54 | 334k | uint8_t prev_l = UINT8_MAX; // left segment_id |
55 | 334k | uint8_t prev_u = UINT8_MAX; // top segment_id |
56 | 334k | const int mi_row = xd->mi_row; |
57 | 334k | const int mi_col = xd->mi_col; |
58 | 334k | const CommonModeInfoParams *const mi_params = &cm->mi_params; |
59 | 334k | const uint8_t *seg_map = cm->cur_frame->seg_map; |
60 | 334k | if ((xd->up_available) && (xd->left_available)) { |
61 | 308k | prev_ul = get_segment_id(mi_params, seg_map, BLOCK_4X4, mi_row - step_size, |
62 | 308k | mi_col - step_size); |
63 | 308k | } |
64 | 334k | if (xd->up_available) { |
65 | 320k | prev_u = get_segment_id(mi_params, seg_map, BLOCK_4X4, mi_row - step_size, |
66 | 320k | mi_col - 0); |
67 | 320k | } |
68 | 334k | if (xd->left_available) { |
69 | 321k | prev_l = get_segment_id(mi_params, seg_map, BLOCK_4X4, mi_row - 0, |
70 | 321k | mi_col - step_size); |
71 | 321k | } |
72 | 334k | assert(IMPLIES(prev_ul != UINT8_MAX, |
73 | 334k | prev_u != UINT8_MAX && prev_l != UINT8_MAX)); |
74 | | |
75 | | // Pick CDF index based on number of matching/out-of-bounds segment IDs. |
76 | 334k | if (prev_ul == UINT8_MAX) /* Edge cases */ |
77 | 26.1k | *cdf_index = 0; |
78 | 308k | else if ((prev_ul == prev_u) && (prev_ul == prev_l)) |
79 | 70.8k | *cdf_index = 2; |
80 | 237k | else if ((prev_ul == prev_u) || (prev_ul == prev_l) || (prev_u == prev_l)) |
81 | 171k | *cdf_index = 1; |
82 | 66.7k | else |
83 | 66.7k | *cdf_index = 0; |
84 | | |
85 | | // If 2 or more are identical returns that as predictor, otherwise prev_l. |
86 | 334k | if (prev_u == UINT8_MAX) // edge case |
87 | 14.7k | return prev_l == UINT8_MAX ? 0 : prev_l; |
88 | 320k | if (prev_l == UINT8_MAX) // edge case |
89 | 11.3k | return prev_u; |
90 | 308k | return (prev_ul == prev_u) ? prev_u : prev_l; |
91 | 320k | } Unexecuted instantiation: decodeframe.c:av1_get_spatial_seg_pred decodemv.c:av1_get_spatial_seg_pred Line | Count | Source | 51 | 334k | int skip_over4x4) { | 52 | 334k | const int step_size = skip_over4x4 ? 2 : 1; | 53 | 334k | uint8_t prev_ul = UINT8_MAX; // top left segment_id | 54 | 334k | uint8_t prev_l = UINT8_MAX; // left segment_id | 55 | 334k | uint8_t prev_u = UINT8_MAX; // top segment_id | 56 | 334k | const int mi_row = xd->mi_row; | 57 | 334k | const int mi_col = xd->mi_col; | 58 | 334k | const CommonModeInfoParams *const mi_params = &cm->mi_params; | 59 | 334k | const uint8_t *seg_map = cm->cur_frame->seg_map; | 60 | 334k | if ((xd->up_available) && (xd->left_available)) { | 61 | 308k | prev_ul = get_segment_id(mi_params, seg_map, BLOCK_4X4, mi_row - step_size, | 62 | 308k | mi_col - step_size); | 63 | 308k | } | 64 | 334k | if (xd->up_available) { | 65 | 320k | prev_u = get_segment_id(mi_params, seg_map, BLOCK_4X4, mi_row - step_size, | 66 | 320k | mi_col - 0); | 67 | 320k | } | 68 | 334k | if (xd->left_available) { | 69 | 321k | prev_l = get_segment_id(mi_params, seg_map, BLOCK_4X4, mi_row - 0, | 70 | 321k | mi_col - step_size); | 71 | 321k | } | 72 | 334k | assert(IMPLIES(prev_ul != UINT8_MAX, | 73 | 334k | prev_u != UINT8_MAX && prev_l != UINT8_MAX)); | 74 | | | 75 | | // Pick CDF index based on number of matching/out-of-bounds segment IDs. | 76 | 334k | if (prev_ul == UINT8_MAX) /* Edge cases */ | 77 | 26.1k | *cdf_index = 0; | 78 | 308k | else if ((prev_ul == prev_u) && (prev_ul == prev_l)) | 79 | 70.8k | *cdf_index = 2; | 80 | 237k | else if ((prev_ul == prev_u) || (prev_ul == prev_l) || (prev_u == prev_l)) | 81 | 171k | *cdf_index = 1; | 82 | 66.7k | else | 83 | 66.7k | *cdf_index = 0; | 84 | | | 85 | | // If 2 or more are identical returns that as predictor, otherwise prev_l. | 86 | 334k | if (prev_u == UINT8_MAX) // edge case | 87 | 14.7k | return prev_l == UINT8_MAX ? 0 : prev_l; | 88 | 320k | if (prev_l == UINT8_MAX) // edge case | 89 | 11.3k | return prev_u; | 90 | 308k | return (prev_ul == prev_u) ? prev_u : prev_l; | 91 | 320k | } |
Unexecuted instantiation: av1_cx_iface.c:av1_get_spatial_seg_pred Unexecuted instantiation: allintra_vis.c:av1_get_spatial_seg_pred Unexecuted instantiation: bitstream.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: 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: firstpass.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: partition_search.c:av1_get_spatial_seg_pred Unexecuted instantiation: partition_strategy.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: nonrd_pickmode.c:av1_get_spatial_seg_pred Unexecuted instantiation: nonrd_opt.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: temporal_filter.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: var_based_part.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: compound_type.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: rdopt_sse4.c:av1_get_spatial_seg_pred Unexecuted instantiation: rdopt_avx2.c:av1_get_spatial_seg_pred |
92 | | |
93 | 32 | static inline uint8_t av1_get_pred_context_seg_id(const MACROBLOCKD *xd) { |
94 | 32 | const MB_MODE_INFO *const above_mi = xd->above_mbmi; |
95 | 32 | const MB_MODE_INFO *const left_mi = xd->left_mbmi; |
96 | 32 | const int above_sip = (above_mi != NULL) ? above_mi->seg_id_predicted : 0; |
97 | 32 | const int left_sip = (left_mi != NULL) ? left_mi->seg_id_predicted : 0; |
98 | | |
99 | 32 | return above_sip + left_sip; |
100 | 32 | } Unexecuted instantiation: decodeframe.c:av1_get_pred_context_seg_id decodemv.c:av1_get_pred_context_seg_id Line | Count | Source | 93 | 32 | static inline uint8_t av1_get_pred_context_seg_id(const MACROBLOCKD *xd) { | 94 | 32 | const MB_MODE_INFO *const above_mi = xd->above_mbmi; | 95 | 32 | const MB_MODE_INFO *const left_mi = xd->left_mbmi; | 96 | 32 | const int above_sip = (above_mi != NULL) ? above_mi->seg_id_predicted : 0; | 97 | 32 | const int left_sip = (left_mi != NULL) ? left_mi->seg_id_predicted : 0; | 98 | | | 99 | 32 | return above_sip + left_sip; | 100 | 32 | } |
Unexecuted instantiation: av1_cx_iface.c:av1_get_pred_context_seg_id Unexecuted instantiation: allintra_vis.c:av1_get_pred_context_seg_id Unexecuted instantiation: bitstream.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: 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: firstpass.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: partition_search.c:av1_get_pred_context_seg_id Unexecuted instantiation: partition_strategy.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: nonrd_pickmode.c:av1_get_pred_context_seg_id Unexecuted instantiation: nonrd_opt.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: temporal_filter.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: var_based_part.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: compound_type.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: rdopt_sse4.c:av1_get_pred_context_seg_id Unexecuted instantiation: rdopt_avx2.c:av1_get_pred_context_seg_id |
101 | | |
102 | | static inline int get_comp_index_context(const AV1_COMMON *cm, |
103 | 2.64k | const MACROBLOCKD *xd) { |
104 | 2.64k | MB_MODE_INFO *mbmi = xd->mi[0]; |
105 | 2.64k | const RefCntBuffer *const bck_buf = get_ref_frame_buf(cm, mbmi->ref_frame[0]); |
106 | 2.64k | const RefCntBuffer *const fwd_buf = get_ref_frame_buf(cm, mbmi->ref_frame[1]); |
107 | 2.64k | int bck_frame_index = 0, fwd_frame_index = 0; |
108 | 2.64k | int cur_frame_index = cm->cur_frame->order_hint; |
109 | | |
110 | 2.64k | if (bck_buf != NULL) bck_frame_index = bck_buf->order_hint; |
111 | 2.64k | if (fwd_buf != NULL) fwd_frame_index = fwd_buf->order_hint; |
112 | | |
113 | 2.64k | int fwd = abs(get_relative_dist(&cm->seq_params->order_hint_info, |
114 | 2.64k | fwd_frame_index, cur_frame_index)); |
115 | 2.64k | int bck = abs(get_relative_dist(&cm->seq_params->order_hint_info, |
116 | 2.64k | cur_frame_index, bck_frame_index)); |
117 | | |
118 | 2.64k | const MB_MODE_INFO *const above_mi = xd->above_mbmi; |
119 | 2.64k | const MB_MODE_INFO *const left_mi = xd->left_mbmi; |
120 | | |
121 | 2.64k | int above_ctx = 0, left_ctx = 0; |
122 | 2.64k | const int offset = (fwd == bck); |
123 | | |
124 | 2.64k | if (above_mi != NULL) { |
125 | 2.16k | if (has_second_ref(above_mi)) |
126 | 1.35k | above_ctx = above_mi->compound_idx; |
127 | 803 | else if (above_mi->ref_frame[0] == ALTREF_FRAME) |
128 | 169 | above_ctx = 1; |
129 | 2.16k | } |
130 | | |
131 | 2.64k | if (left_mi != NULL) { |
132 | 2.35k | if (has_second_ref(left_mi)) |
133 | 1.38k | left_ctx = left_mi->compound_idx; |
134 | 963 | else if (left_mi->ref_frame[0] == ALTREF_FRAME) |
135 | 168 | left_ctx = 1; |
136 | 2.35k | } |
137 | | |
138 | 2.64k | return above_ctx + left_ctx + 3 * offset; |
139 | 2.64k | } Unexecuted instantiation: decodeframe.c:get_comp_index_context decodemv.c:get_comp_index_context Line | Count | Source | 103 | 2.64k | const MACROBLOCKD *xd) { | 104 | 2.64k | MB_MODE_INFO *mbmi = xd->mi[0]; | 105 | 2.64k | const RefCntBuffer *const bck_buf = get_ref_frame_buf(cm, mbmi->ref_frame[0]); | 106 | 2.64k | const RefCntBuffer *const fwd_buf = get_ref_frame_buf(cm, mbmi->ref_frame[1]); | 107 | 2.64k | int bck_frame_index = 0, fwd_frame_index = 0; | 108 | 2.64k | int cur_frame_index = cm->cur_frame->order_hint; | 109 | | | 110 | 2.64k | if (bck_buf != NULL) bck_frame_index = bck_buf->order_hint; | 111 | 2.64k | if (fwd_buf != NULL) fwd_frame_index = fwd_buf->order_hint; | 112 | | | 113 | 2.64k | int fwd = abs(get_relative_dist(&cm->seq_params->order_hint_info, | 114 | 2.64k | fwd_frame_index, cur_frame_index)); | 115 | 2.64k | int bck = abs(get_relative_dist(&cm->seq_params->order_hint_info, | 116 | 2.64k | cur_frame_index, bck_frame_index)); | 117 | | | 118 | 2.64k | const MB_MODE_INFO *const above_mi = xd->above_mbmi; | 119 | 2.64k | const MB_MODE_INFO *const left_mi = xd->left_mbmi; | 120 | | | 121 | 2.64k | int above_ctx = 0, left_ctx = 0; | 122 | 2.64k | const int offset = (fwd == bck); | 123 | | | 124 | 2.64k | if (above_mi != NULL) { | 125 | 2.15k | if (has_second_ref(above_mi)) | 126 | 1.35k | above_ctx = above_mi->compound_idx; | 127 | 800 | else if (above_mi->ref_frame[0] == ALTREF_FRAME) | 128 | 169 | above_ctx = 1; | 129 | 2.15k | } | 130 | | | 131 | 2.64k | if (left_mi != NULL) { | 132 | 2.35k | if (has_second_ref(left_mi)) | 133 | 1.38k | left_ctx = left_mi->compound_idx; | 134 | 963 | else if (left_mi->ref_frame[0] == ALTREF_FRAME) | 135 | 168 | left_ctx = 1; | 136 | 2.35k | } | 137 | | | 138 | 2.64k | return above_ctx + left_ctx + 3 * offset; | 139 | 2.64k | } |
Unexecuted instantiation: av1_cx_iface.c:get_comp_index_context Unexecuted instantiation: allintra_vis.c:get_comp_index_context Unexecuted instantiation: bitstream.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: 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: firstpass.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 partition_search.c:get_comp_index_context Line | Count | Source | 103 | 4 | const MACROBLOCKD *xd) { | 104 | 4 | MB_MODE_INFO *mbmi = xd->mi[0]; | 105 | 4 | const RefCntBuffer *const bck_buf = get_ref_frame_buf(cm, mbmi->ref_frame[0]); | 106 | 4 | const RefCntBuffer *const fwd_buf = get_ref_frame_buf(cm, mbmi->ref_frame[1]); | 107 | 4 | int bck_frame_index = 0, fwd_frame_index = 0; | 108 | 4 | int cur_frame_index = cm->cur_frame->order_hint; | 109 | | | 110 | 4 | if (bck_buf != NULL) bck_frame_index = bck_buf->order_hint; | 111 | 4 | if (fwd_buf != NULL) fwd_frame_index = fwd_buf->order_hint; | 112 | | | 113 | 4 | int fwd = abs(get_relative_dist(&cm->seq_params->order_hint_info, | 114 | 4 | fwd_frame_index, cur_frame_index)); | 115 | 4 | int bck = abs(get_relative_dist(&cm->seq_params->order_hint_info, | 116 | 4 | cur_frame_index, bck_frame_index)); | 117 | | | 118 | 4 | const MB_MODE_INFO *const above_mi = xd->above_mbmi; | 119 | 4 | const MB_MODE_INFO *const left_mi = xd->left_mbmi; | 120 | | | 121 | 4 | int above_ctx = 0, left_ctx = 0; | 122 | 4 | const int offset = (fwd == bck); | 123 | | | 124 | 4 | if (above_mi != NULL) { | 125 | 3 | if (has_second_ref(above_mi)) | 126 | 0 | above_ctx = above_mi->compound_idx; | 127 | 3 | else if (above_mi->ref_frame[0] == ALTREF_FRAME) | 128 | 0 | above_ctx = 1; | 129 | 3 | } | 130 | | | 131 | 4 | if (left_mi != NULL) { | 132 | 0 | if (has_second_ref(left_mi)) | 133 | 0 | left_ctx = left_mi->compound_idx; | 134 | 0 | else if (left_mi->ref_frame[0] == ALTREF_FRAME) | 135 | 0 | left_ctx = 1; | 136 | 0 | } | 137 | | | 138 | 4 | return above_ctx + left_ctx + 3 * offset; | 139 | 4 | } |
Unexecuted instantiation: partition_strategy.c:get_comp_index_context Unexecuted instantiation: rd.c:get_comp_index_context Unexecuted instantiation: rdopt.c:get_comp_index_context Unexecuted instantiation: nonrd_pickmode.c:get_comp_index_context Unexecuted instantiation: nonrd_opt.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: temporal_filter.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: var_based_part.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: compound_type.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: rdopt_sse4.c:get_comp_index_context Unexecuted instantiation: rdopt_avx2.c:get_comp_index_context |
140 | | |
141 | 6.52k | static inline int get_comp_group_idx_context(const MACROBLOCKD *xd) { |
142 | 6.52k | const MB_MODE_INFO *const above_mi = xd->above_mbmi; |
143 | 6.52k | const MB_MODE_INFO *const left_mi = xd->left_mbmi; |
144 | 6.52k | int above_ctx = 0, left_ctx = 0; |
145 | | |
146 | 6.52k | if (above_mi) { |
147 | 5.07k | if (has_second_ref(above_mi)) |
148 | 3.49k | above_ctx = above_mi->comp_group_idx; |
149 | 1.58k | else if (above_mi->ref_frame[0] == ALTREF_FRAME) |
150 | 397 | above_ctx = 3; |
151 | 5.07k | } |
152 | 6.52k | if (left_mi) { |
153 | 5.72k | if (has_second_ref(left_mi)) |
154 | 3.61k | left_ctx = left_mi->comp_group_idx; |
155 | 2.11k | else if (left_mi->ref_frame[0] == ALTREF_FRAME) |
156 | 609 | left_ctx = 3; |
157 | 5.72k | } |
158 | | |
159 | 6.52k | return AOMMIN(5, above_ctx + left_ctx); |
160 | 6.52k | } Unexecuted instantiation: decodeframe.c:get_comp_group_idx_context decodemv.c:get_comp_group_idx_context Line | Count | Source | 141 | 6.51k | static inline int get_comp_group_idx_context(const MACROBLOCKD *xd) { | 142 | 6.51k | const MB_MODE_INFO *const above_mi = xd->above_mbmi; | 143 | 6.51k | const MB_MODE_INFO *const left_mi = xd->left_mbmi; | 144 | 6.51k | int above_ctx = 0, left_ctx = 0; | 145 | | | 146 | 6.51k | if (above_mi) { | 147 | 5.06k | if (has_second_ref(above_mi)) | 148 | 3.49k | above_ctx = above_mi->comp_group_idx; | 149 | 1.57k | else if (above_mi->ref_frame[0] == ALTREF_FRAME) | 150 | 397 | above_ctx = 3; | 151 | 5.06k | } | 152 | 6.51k | if (left_mi) { | 153 | 5.72k | if (has_second_ref(left_mi)) | 154 | 3.61k | left_ctx = left_mi->comp_group_idx; | 155 | 2.11k | else if (left_mi->ref_frame[0] == ALTREF_FRAME) | 156 | 609 | left_ctx = 3; | 157 | 5.72k | } | 158 | | | 159 | 6.51k | return AOMMIN(5, above_ctx + left_ctx); | 160 | 6.51k | } |
Unexecuted instantiation: av1_cx_iface.c:get_comp_group_idx_context Unexecuted instantiation: allintra_vis.c:get_comp_group_idx_context bitstream.c:get_comp_group_idx_context Line | Count | Source | 141 | 4 | static inline int get_comp_group_idx_context(const MACROBLOCKD *xd) { | 142 | 4 | const MB_MODE_INFO *const above_mi = xd->above_mbmi; | 143 | 4 | const MB_MODE_INFO *const left_mi = xd->left_mbmi; | 144 | 4 | int above_ctx = 0, left_ctx = 0; | 145 | | | 146 | 4 | if (above_mi) { | 147 | 3 | if (has_second_ref(above_mi)) | 148 | 0 | above_ctx = above_mi->comp_group_idx; | 149 | 3 | else if (above_mi->ref_frame[0] == ALTREF_FRAME) | 150 | 0 | above_ctx = 3; | 151 | 3 | } | 152 | 4 | if (left_mi) { | 153 | 0 | if (has_second_ref(left_mi)) | 154 | 0 | left_ctx = left_mi->comp_group_idx; | 155 | 0 | else if (left_mi->ref_frame[0] == ALTREF_FRAME) | 156 | 0 | left_ctx = 3; | 157 | 0 | } | 158 | | | 159 | 4 | return AOMMIN(5, above_ctx + left_ctx); | 160 | 4 | } |
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: 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: firstpass.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 partition_search.c:get_comp_group_idx_context Line | Count | Source | 141 | 4 | static inline int get_comp_group_idx_context(const MACROBLOCKD *xd) { | 142 | 4 | const MB_MODE_INFO *const above_mi = xd->above_mbmi; | 143 | 4 | const MB_MODE_INFO *const left_mi = xd->left_mbmi; | 144 | 4 | int above_ctx = 0, left_ctx = 0; | 145 | | | 146 | 4 | if (above_mi) { | 147 | 3 | if (has_second_ref(above_mi)) | 148 | 0 | above_ctx = above_mi->comp_group_idx; | 149 | 3 | else if (above_mi->ref_frame[0] == ALTREF_FRAME) | 150 | 0 | above_ctx = 3; | 151 | 3 | } | 152 | 4 | if (left_mi) { | 153 | 0 | if (has_second_ref(left_mi)) | 154 | 0 | left_ctx = left_mi->comp_group_idx; | 155 | 0 | else if (left_mi->ref_frame[0] == ALTREF_FRAME) | 156 | 0 | left_ctx = 3; | 157 | 0 | } | 158 | | | 159 | 4 | return AOMMIN(5, above_ctx + left_ctx); | 160 | 4 | } |
Unexecuted instantiation: partition_strategy.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: nonrd_pickmode.c:get_comp_group_idx_context Unexecuted instantiation: nonrd_opt.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: temporal_filter.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: var_based_part.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: compound_type.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: rdopt_sse4.c:get_comp_group_idx_context Unexecuted instantiation: rdopt_avx2.c:get_comp_group_idx_context |
161 | | |
162 | | static inline aom_cdf_prob *av1_get_pred_cdf_seg_id( |
163 | 0 | struct segmentation_probs *segp, const MACROBLOCKD *xd) { |
164 | 0 | return segp->pred_cdf[av1_get_pred_context_seg_id(xd)]; |
165 | 0 | } Unexecuted instantiation: decodeframe.c:av1_get_pred_cdf_seg_id Unexecuted instantiation: decodemv.c:av1_get_pred_cdf_seg_id Unexecuted instantiation: av1_cx_iface.c:av1_get_pred_cdf_seg_id Unexecuted instantiation: allintra_vis.c:av1_get_pred_cdf_seg_id Unexecuted instantiation: bitstream.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: 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: firstpass.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: partition_search.c:av1_get_pred_cdf_seg_id Unexecuted instantiation: partition_strategy.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: nonrd_pickmode.c:av1_get_pred_cdf_seg_id Unexecuted instantiation: nonrd_opt.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: temporal_filter.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: var_based_part.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: compound_type.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: rdopt_sse4.c:av1_get_pred_cdf_seg_id Unexecuted instantiation: rdopt_avx2.c:av1_get_pred_cdf_seg_id |
166 | | |
167 | 287k | static inline int av1_get_skip_mode_context(const MACROBLOCKD *xd) { |
168 | 287k | const MB_MODE_INFO *const above_mi = xd->above_mbmi; |
169 | 287k | const MB_MODE_INFO *const left_mi = xd->left_mbmi; |
170 | 287k | const int above_skip_mode = above_mi ? above_mi->skip_mode : 0; |
171 | 287k | const int left_skip_mode = left_mi ? left_mi->skip_mode : 0; |
172 | 287k | return above_skip_mode + left_skip_mode; |
173 | 287k | } Unexecuted instantiation: decodeframe.c:av1_get_skip_mode_context decodemv.c:av1_get_skip_mode_context Line | Count | Source | 167 | 5.12k | static inline int av1_get_skip_mode_context(const MACROBLOCKD *xd) { | 168 | 5.12k | const MB_MODE_INFO *const above_mi = xd->above_mbmi; | 169 | 5.12k | const MB_MODE_INFO *const left_mi = xd->left_mbmi; | 170 | 5.12k | const int above_skip_mode = above_mi ? above_mi->skip_mode : 0; | 171 | 5.12k | const int left_skip_mode = left_mi ? left_mi->skip_mode : 0; | 172 | 5.12k | return above_skip_mode + left_skip_mode; | 173 | 5.12k | } |
Unexecuted instantiation: av1_cx_iface.c:av1_get_skip_mode_context Unexecuted instantiation: allintra_vis.c:av1_get_skip_mode_context Unexecuted instantiation: bitstream.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: 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: firstpass.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 partition_search.c:av1_get_skip_mode_context Line | Count | Source | 167 | 282k | static inline int av1_get_skip_mode_context(const MACROBLOCKD *xd) { | 168 | 282k | const MB_MODE_INFO *const above_mi = xd->above_mbmi; | 169 | 282k | const MB_MODE_INFO *const left_mi = xd->left_mbmi; | 170 | 282k | const int above_skip_mode = above_mi ? above_mi->skip_mode : 0; | 171 | 282k | const int left_skip_mode = left_mi ? left_mi->skip_mode : 0; | 172 | 282k | return above_skip_mode + left_skip_mode; | 173 | 282k | } |
Unexecuted instantiation: partition_strategy.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: nonrd_pickmode.c:av1_get_skip_mode_context Unexecuted instantiation: nonrd_opt.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: temporal_filter.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: var_based_part.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: compound_type.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: rdopt_sse4.c:av1_get_skip_mode_context Unexecuted instantiation: rdopt_avx2.c:av1_get_skip_mode_context |
174 | | |
175 | 182M | static inline int av1_get_skip_txfm_context(const MACROBLOCKD *xd) { |
176 | 182M | const MB_MODE_INFO *const above_mi = xd->above_mbmi; |
177 | 182M | const MB_MODE_INFO *const left_mi = xd->left_mbmi; |
178 | 182M | const int above_skip_txfm = above_mi ? above_mi->skip_txfm : 0; |
179 | 182M | const int left_skip_txfm = left_mi ? left_mi->skip_txfm : 0; |
180 | 182M | return above_skip_txfm + left_skip_txfm; |
181 | 182M | } Unexecuted instantiation: decodeframe.c:av1_get_skip_txfm_context decodemv.c:av1_get_skip_txfm_context Line | Count | Source | 175 | 6.69M | static inline int av1_get_skip_txfm_context(const MACROBLOCKD *xd) { | 176 | 6.69M | const MB_MODE_INFO *const above_mi = xd->above_mbmi; | 177 | 6.69M | const MB_MODE_INFO *const left_mi = xd->left_mbmi; | 178 | 6.69M | const int above_skip_txfm = above_mi ? above_mi->skip_txfm : 0; | 179 | 6.69M | const int left_skip_txfm = left_mi ? left_mi->skip_txfm : 0; | 180 | 6.69M | return above_skip_txfm + left_skip_txfm; | 181 | 6.69M | } |
Unexecuted instantiation: av1_cx_iface.c:av1_get_skip_txfm_context Unexecuted instantiation: allintra_vis.c:av1_get_skip_txfm_context bitstream.c:av1_get_skip_txfm_context Line | Count | Source | 175 | 11.0M | static inline int av1_get_skip_txfm_context(const MACROBLOCKD *xd) { | 176 | 11.0M | const MB_MODE_INFO *const above_mi = xd->above_mbmi; | 177 | 11.0M | const MB_MODE_INFO *const left_mi = xd->left_mbmi; | 178 | 11.0M | const int above_skip_txfm = above_mi ? above_mi->skip_txfm : 0; | 179 | 11.0M | const int left_skip_txfm = left_mi ? left_mi->skip_txfm : 0; | 180 | 11.0M | return above_skip_txfm + left_skip_txfm; | 181 | 11.0M | } |
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: 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: firstpass.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 partition_search.c:av1_get_skip_txfm_context Line | Count | Source | 175 | 9.59M | static inline int av1_get_skip_txfm_context(const MACROBLOCKD *xd) { | 176 | 9.59M | const MB_MODE_INFO *const above_mi = xd->above_mbmi; | 177 | 9.59M | const MB_MODE_INFO *const left_mi = xd->left_mbmi; | 178 | 9.59M | const int above_skip_txfm = above_mi ? above_mi->skip_txfm : 0; | 179 | 9.59M | const int left_skip_txfm = left_mi ? left_mi->skip_txfm : 0; | 180 | 9.59M | return above_skip_txfm + left_skip_txfm; | 181 | 9.59M | } |
Unexecuted instantiation: partition_strategy.c:av1_get_skip_txfm_context Unexecuted instantiation: rd.c:av1_get_skip_txfm_context rdopt.c:av1_get_skip_txfm_context Line | Count | Source | 175 | 22.6M | static inline int av1_get_skip_txfm_context(const MACROBLOCKD *xd) { | 176 | 22.6M | const MB_MODE_INFO *const above_mi = xd->above_mbmi; | 177 | 22.6M | const MB_MODE_INFO *const left_mi = xd->left_mbmi; | 178 | 22.6M | const int above_skip_txfm = above_mi ? above_mi->skip_txfm : 0; | 179 | 22.6M | const int left_skip_txfm = left_mi ? left_mi->skip_txfm : 0; | 180 | 22.6M | return above_skip_txfm + left_skip_txfm; | 181 | 22.6M | } |
nonrd_pickmode.c:av1_get_skip_txfm_context Line | Count | Source | 175 | 4.37M | static inline int av1_get_skip_txfm_context(const MACROBLOCKD *xd) { | 176 | 4.37M | const MB_MODE_INFO *const above_mi = xd->above_mbmi; | 177 | 4.37M | const MB_MODE_INFO *const left_mi = xd->left_mbmi; | 178 | 4.37M | const int above_skip_txfm = above_mi ? above_mi->skip_txfm : 0; | 179 | 4.37M | const int left_skip_txfm = left_mi ? left_mi->skip_txfm : 0; | 180 | 4.37M | return above_skip_txfm + left_skip_txfm; | 181 | 4.37M | } |
Unexecuted instantiation: nonrd_opt.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: temporal_filter.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 tx_search.c:av1_get_skip_txfm_context Line | Count | Source | 175 | 80.7M | static inline int av1_get_skip_txfm_context(const MACROBLOCKD *xd) { | 176 | 80.7M | const MB_MODE_INFO *const above_mi = xd->above_mbmi; | 177 | 80.7M | const MB_MODE_INFO *const left_mi = xd->left_mbmi; | 178 | 80.7M | const int above_skip_txfm = above_mi ? above_mi->skip_txfm : 0; | 179 | 80.7M | const int left_skip_txfm = left_mi ? left_mi->skip_txfm : 0; | 180 | 80.7M | return above_skip_txfm + left_skip_txfm; | 181 | 80.7M | } |
intra_mode_search.c:av1_get_skip_txfm_context Line | Count | Source | 175 | 46.9M | static inline int av1_get_skip_txfm_context(const MACROBLOCKD *xd) { | 176 | 46.9M | const MB_MODE_INFO *const above_mi = xd->above_mbmi; | 177 | 46.9M | const MB_MODE_INFO *const left_mi = xd->left_mbmi; | 178 | 46.9M | const int above_skip_txfm = above_mi ? above_mi->skip_txfm : 0; | 179 | 46.9M | const int left_skip_txfm = left_mi ? left_mi->skip_txfm : 0; | 180 | 46.9M | return above_skip_txfm + left_skip_txfm; | 181 | 46.9M | } |
Unexecuted instantiation: var_based_part.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: compound_type.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: rdopt_sse4.c:av1_get_skip_txfm_context Unexecuted instantiation: rdopt_avx2.c:av1_get_skip_txfm_context |
182 | | |
183 | | int av1_get_pred_context_switchable_interp(const MACROBLOCKD *xd, int dir); |
184 | | |
185 | | // Get a list of palette base colors that are used in the above and left blocks, |
186 | | // referred to as "color cache". The return value is the number of colors in the |
187 | | // cache (<= 2 * PALETTE_MAX_SIZE). The color values are stored in "cache" |
188 | | // in ascending order. |
189 | | int av1_get_palette_cache(const MACROBLOCKD *const xd, int plane, |
190 | | uint16_t *cache); |
191 | | |
192 | 6.47M | static inline int av1_get_palette_bsize_ctx(BLOCK_SIZE bsize) { |
193 | 6.47M | assert(bsize < BLOCK_SIZES_ALL); |
194 | 6.47M | return num_pels_log2_lookup[bsize] - num_pels_log2_lookup[BLOCK_8X8]; |
195 | 6.47M | } Unexecuted instantiation: decodeframe.c:av1_get_palette_bsize_ctx decodemv.c:av1_get_palette_bsize_ctx Line | Count | Source | 192 | 579k | static inline int av1_get_palette_bsize_ctx(BLOCK_SIZE bsize) { | 193 | | assert(bsize < BLOCK_SIZES_ALL); | 194 | 579k | return num_pels_log2_lookup[bsize] - num_pels_log2_lookup[BLOCK_8X8]; | 195 | 579k | } |
Unexecuted instantiation: av1_cx_iface.c:av1_get_palette_bsize_ctx Unexecuted instantiation: allintra_vis.c:av1_get_palette_bsize_ctx bitstream.c:av1_get_palette_bsize_ctx Line | Count | Source | 192 | 244k | static inline int av1_get_palette_bsize_ctx(BLOCK_SIZE bsize) { | 193 | | assert(bsize < BLOCK_SIZES_ALL); | 194 | 244k | return num_pels_log2_lookup[bsize] - num_pels_log2_lookup[BLOCK_8X8]; | 195 | 244k | } |
Unexecuted instantiation: encodeframe.c:av1_get_palette_bsize_ctx encodeframe_utils.c:av1_get_palette_bsize_ctx Line | Count | Source | 192 | 245k | static inline int av1_get_palette_bsize_ctx(BLOCK_SIZE bsize) { | 193 | | assert(bsize < BLOCK_SIZES_ALL); | 194 | 245k | return num_pels_log2_lookup[bsize] - num_pels_log2_lookup[BLOCK_8X8]; | 195 | 245k | } |
Unexecuted instantiation: encodemb.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: firstpass.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 palette.c:av1_get_palette_bsize_ctx Line | Count | Source | 192 | 4.56M | static inline int av1_get_palette_bsize_ctx(BLOCK_SIZE bsize) { | 193 | | assert(bsize < BLOCK_SIZES_ALL); | 194 | 4.56M | return num_pels_log2_lookup[bsize] - num_pels_log2_lookup[BLOCK_8X8]; | 195 | 4.56M | } |
Unexecuted instantiation: partition_search.c:av1_get_palette_bsize_ctx Unexecuted instantiation: partition_strategy.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: nonrd_pickmode.c:av1_get_palette_bsize_ctx Unexecuted instantiation: nonrd_opt.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: temporal_filter.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 intra_mode_search.c:av1_get_palette_bsize_ctx Line | Count | Source | 192 | 842k | static inline int av1_get_palette_bsize_ctx(BLOCK_SIZE bsize) { | 193 | | assert(bsize < BLOCK_SIZES_ALL); | 194 | 842k | return num_pels_log2_lookup[bsize] - num_pels_log2_lookup[BLOCK_8X8]; | 195 | 842k | } |
Unexecuted instantiation: var_based_part.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: compound_type.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: rdopt_sse4.c:av1_get_palette_bsize_ctx Unexecuted instantiation: rdopt_avx2.c:av1_get_palette_bsize_ctx |
196 | | |
197 | 4.46M | static inline int av1_get_palette_mode_ctx(const MACROBLOCKD *xd) { |
198 | 4.46M | const MB_MODE_INFO *const above_mi = xd->above_mbmi; |
199 | 4.46M | const MB_MODE_INFO *const left_mi = xd->left_mbmi; |
200 | 4.46M | int ctx = 0; |
201 | 4.46M | if (above_mi) ctx += (above_mi->palette_mode_info.palette_size[0] > 0); |
202 | 4.46M | if (left_mi) ctx += (left_mi->palette_mode_info.palette_size[0] > 0); |
203 | 4.46M | return ctx; |
204 | 4.46M | } Unexecuted instantiation: decodeframe.c:av1_get_palette_mode_ctx decodemv.c:av1_get_palette_mode_ctx Line | Count | Source | 197 | 330k | static inline int av1_get_palette_mode_ctx(const MACROBLOCKD *xd) { | 198 | 330k | const MB_MODE_INFO *const above_mi = xd->above_mbmi; | 199 | 330k | const MB_MODE_INFO *const left_mi = xd->left_mbmi; | 200 | 330k | int ctx = 0; | 201 | 330k | if (above_mi) ctx += (above_mi->palette_mode_info.palette_size[0] > 0); | 202 | 330k | if (left_mi) ctx += (left_mi->palette_mode_info.palette_size[0] > 0); | 203 | 330k | return ctx; | 204 | 330k | } |
Unexecuted instantiation: av1_cx_iface.c:av1_get_palette_mode_ctx Unexecuted instantiation: allintra_vis.c:av1_get_palette_mode_ctx bitstream.c:av1_get_palette_mode_ctx Line | Count | Source | 197 | 240k | static inline int av1_get_palette_mode_ctx(const MACROBLOCKD *xd) { | 198 | 240k | const MB_MODE_INFO *const above_mi = xd->above_mbmi; | 199 | 240k | const MB_MODE_INFO *const left_mi = xd->left_mbmi; | 200 | 240k | int ctx = 0; | 201 | 240k | if (above_mi) ctx += (above_mi->palette_mode_info.palette_size[0] > 0); | 202 | 240k | if (left_mi) ctx += (left_mi->palette_mode_info.palette_size[0] > 0); | 203 | 240k | return ctx; | 204 | 240k | } |
Unexecuted instantiation: encodeframe.c:av1_get_palette_mode_ctx encodeframe_utils.c:av1_get_palette_mode_ctx Line | Count | Source | 197 | 242k | static inline int av1_get_palette_mode_ctx(const MACROBLOCKD *xd) { | 198 | 242k | const MB_MODE_INFO *const above_mi = xd->above_mbmi; | 199 | 242k | const MB_MODE_INFO *const left_mi = xd->left_mbmi; | 200 | 242k | int ctx = 0; | 201 | 242k | if (above_mi) ctx += (above_mi->palette_mode_info.palette_size[0] > 0); | 202 | 242k | if (left_mi) ctx += (left_mi->palette_mode_info.palette_size[0] > 0); | 203 | 242k | return ctx; | 204 | 242k | } |
Unexecuted instantiation: encodemb.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: firstpass.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 palette.c:av1_get_palette_mode_ctx Line | Count | Source | 197 | 2.80M | static inline int av1_get_palette_mode_ctx(const MACROBLOCKD *xd) { | 198 | 2.80M | const MB_MODE_INFO *const above_mi = xd->above_mbmi; | 199 | 2.80M | const MB_MODE_INFO *const left_mi = xd->left_mbmi; | 200 | 2.80M | int ctx = 0; | 201 | 2.80M | if (above_mi) ctx += (above_mi->palette_mode_info.palette_size[0] > 0); | 202 | 2.80M | if (left_mi) ctx += (left_mi->palette_mode_info.palette_size[0] > 0); | 203 | 2.80M | return ctx; | 204 | 2.80M | } |
Unexecuted instantiation: partition_search.c:av1_get_palette_mode_ctx Unexecuted instantiation: partition_strategy.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: nonrd_pickmode.c:av1_get_palette_mode_ctx Unexecuted instantiation: nonrd_opt.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: temporal_filter.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 intra_mode_search.c:av1_get_palette_mode_ctx Line | Count | Source | 197 | 842k | static inline int av1_get_palette_mode_ctx(const MACROBLOCKD *xd) { | 198 | 842k | const MB_MODE_INFO *const above_mi = xd->above_mbmi; | 199 | 842k | const MB_MODE_INFO *const left_mi = xd->left_mbmi; | 200 | 842k | int ctx = 0; | 201 | 842k | if (above_mi) ctx += (above_mi->palette_mode_info.palette_size[0] > 0); | 202 | 842k | if (left_mi) ctx += (left_mi->palette_mode_info.palette_size[0] > 0); | 203 | 842k | return ctx; | 204 | 842k | } |
Unexecuted instantiation: var_based_part.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: compound_type.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: rdopt_sse4.c:av1_get_palette_mode_ctx Unexecuted instantiation: rdopt_avx2.c:av1_get_palette_mode_ctx |
205 | | |
206 | | int av1_get_intra_inter_context(const MACROBLOCKD *xd); |
207 | | |
208 | | int av1_get_reference_mode_context(const MACROBLOCKD *xd); |
209 | | |
210 | 495k | static inline aom_cdf_prob *av1_get_reference_mode_cdf(const MACROBLOCKD *xd) { |
211 | 495k | return xd->tile_ctx->comp_inter_cdf[av1_get_reference_mode_context(xd)]; |
212 | 495k | } Unexecuted instantiation: decodeframe.c:av1_get_reference_mode_cdf Unexecuted instantiation: decodemv.c:av1_get_reference_mode_cdf Unexecuted instantiation: av1_cx_iface.c:av1_get_reference_mode_cdf Unexecuted instantiation: allintra_vis.c:av1_get_reference_mode_cdf bitstream.c:av1_get_reference_mode_cdf Line | Count | Source | 210 | 25 | static inline aom_cdf_prob *av1_get_reference_mode_cdf(const MACROBLOCKD *xd) { | 211 | 25 | return xd->tile_ctx->comp_inter_cdf[av1_get_reference_mode_context(xd)]; | 212 | 25 | } |
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: 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: firstpass.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 partition_search.c:av1_get_reference_mode_cdf Line | Count | Source | 210 | 495k | static inline aom_cdf_prob *av1_get_reference_mode_cdf(const MACROBLOCKD *xd) { | 211 | 495k | return xd->tile_ctx->comp_inter_cdf[av1_get_reference_mode_context(xd)]; | 212 | 495k | } |
Unexecuted instantiation: partition_strategy.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: nonrd_pickmode.c:av1_get_reference_mode_cdf Unexecuted instantiation: nonrd_opt.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: temporal_filter.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: var_based_part.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: compound_type.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: rdopt_sse4.c:av1_get_reference_mode_cdf Unexecuted instantiation: rdopt_avx2.c:av1_get_reference_mode_cdf |
213 | | |
214 | 0 | static inline aom_cdf_prob *av1_get_skip_txfm_cdf(const MACROBLOCKD *xd) { |
215 | 0 | return xd->tile_ctx->skip_txfm_cdfs[av1_get_skip_txfm_context(xd)]; |
216 | 0 | } Unexecuted instantiation: decodeframe.c:av1_get_skip_txfm_cdf Unexecuted instantiation: decodemv.c:av1_get_skip_txfm_cdf Unexecuted instantiation: av1_cx_iface.c:av1_get_skip_txfm_cdf Unexecuted instantiation: allintra_vis.c:av1_get_skip_txfm_cdf Unexecuted instantiation: bitstream.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: 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: firstpass.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: partition_search.c:av1_get_skip_txfm_cdf Unexecuted instantiation: partition_strategy.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: nonrd_pickmode.c:av1_get_skip_txfm_cdf Unexecuted instantiation: nonrd_opt.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: temporal_filter.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: var_based_part.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: compound_type.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: rdopt_sse4.c:av1_get_skip_txfm_cdf Unexecuted instantiation: rdopt_avx2.c:av1_get_skip_txfm_cdf |
217 | | |
218 | | int av1_get_comp_reference_type_context(const MACROBLOCKD *xd); |
219 | | |
220 | | // == Uni-directional contexts == |
221 | | |
222 | | int av1_get_pred_context_uni_comp_ref_p(const MACROBLOCKD *xd); |
223 | | |
224 | | int av1_get_pred_context_uni_comp_ref_p1(const MACROBLOCKD *xd); |
225 | | |
226 | | int av1_get_pred_context_uni_comp_ref_p2(const MACROBLOCKD *xd); |
227 | | |
228 | | static inline aom_cdf_prob *av1_get_comp_reference_type_cdf( |
229 | 8 | const MACROBLOCKD *xd) { |
230 | 8 | const int pred_context = av1_get_comp_reference_type_context(xd); |
231 | 8 | return xd->tile_ctx->comp_ref_type_cdf[pred_context]; |
232 | 8 | } Unexecuted instantiation: decodeframe.c:av1_get_comp_reference_type_cdf Unexecuted instantiation: decodemv.c:av1_get_comp_reference_type_cdf Unexecuted instantiation: av1_cx_iface.c:av1_get_comp_reference_type_cdf Unexecuted instantiation: allintra_vis.c:av1_get_comp_reference_type_cdf bitstream.c:av1_get_comp_reference_type_cdf Line | Count | Source | 229 | 4 | const MACROBLOCKD *xd) { | 230 | 4 | const int pred_context = av1_get_comp_reference_type_context(xd); | 231 | 4 | return xd->tile_ctx->comp_ref_type_cdf[pred_context]; | 232 | 4 | } |
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: 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: firstpass.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 partition_search.c:av1_get_comp_reference_type_cdf Line | Count | Source | 229 | 4 | const MACROBLOCKD *xd) { | 230 | 4 | const int pred_context = av1_get_comp_reference_type_context(xd); | 231 | 4 | return xd->tile_ctx->comp_ref_type_cdf[pred_context]; | 232 | 4 | } |
Unexecuted instantiation: partition_strategy.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: nonrd_pickmode.c:av1_get_comp_reference_type_cdf Unexecuted instantiation: nonrd_opt.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: temporal_filter.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: var_based_part.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: compound_type.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: rdopt_sse4.c:av1_get_comp_reference_type_cdf Unexecuted instantiation: rdopt_avx2.c:av1_get_comp_reference_type_cdf |
233 | | |
234 | | static inline aom_cdf_prob *av1_get_pred_cdf_uni_comp_ref_p( |
235 | 1.95k | const MACROBLOCKD *xd) { |
236 | 1.95k | const int pred_context = av1_get_pred_context_uni_comp_ref_p(xd); |
237 | 1.95k | return xd->tile_ctx->uni_comp_ref_cdf[pred_context][0]; |
238 | 1.95k | } Unexecuted instantiation: decodeframe.c:av1_get_pred_cdf_uni_comp_ref_p decodemv.c:av1_get_pred_cdf_uni_comp_ref_p Line | Count | Source | 235 | 1.95k | const MACROBLOCKD *xd) { | 236 | 1.95k | const int pred_context = av1_get_pred_context_uni_comp_ref_p(xd); | 237 | 1.95k | return xd->tile_ctx->uni_comp_ref_cdf[pred_context][0]; | 238 | 1.95k | } |
Unexecuted instantiation: av1_cx_iface.c:av1_get_pred_cdf_uni_comp_ref_p Unexecuted instantiation: allintra_vis.c:av1_get_pred_cdf_uni_comp_ref_p Unexecuted instantiation: bitstream.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: 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: firstpass.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: 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: rd.c:av1_get_pred_cdf_uni_comp_ref_p Unexecuted instantiation: rdopt.c:av1_get_pred_cdf_uni_comp_ref_p Unexecuted instantiation: nonrd_pickmode.c:av1_get_pred_cdf_uni_comp_ref_p Unexecuted instantiation: nonrd_opt.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: temporal_filter.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: var_based_part.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: compound_type.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: rdopt_sse4.c:av1_get_pred_cdf_uni_comp_ref_p Unexecuted instantiation: rdopt_avx2.c:av1_get_pred_cdf_uni_comp_ref_p |
239 | | |
240 | | static inline aom_cdf_prob *av1_get_pred_cdf_uni_comp_ref_p1( |
241 | 1.24k | const MACROBLOCKD *xd) { |
242 | 1.24k | const int pred_context = av1_get_pred_context_uni_comp_ref_p1(xd); |
243 | 1.24k | return xd->tile_ctx->uni_comp_ref_cdf[pred_context][1]; |
244 | 1.24k | } Unexecuted instantiation: decodeframe.c:av1_get_pred_cdf_uni_comp_ref_p1 decodemv.c:av1_get_pred_cdf_uni_comp_ref_p1 Line | Count | Source | 241 | 1.24k | const MACROBLOCKD *xd) { | 242 | 1.24k | const int pred_context = av1_get_pred_context_uni_comp_ref_p1(xd); | 243 | 1.24k | return xd->tile_ctx->uni_comp_ref_cdf[pred_context][1]; | 244 | 1.24k | } |
Unexecuted instantiation: av1_cx_iface.c:av1_get_pred_cdf_uni_comp_ref_p1 Unexecuted instantiation: allintra_vis.c:av1_get_pred_cdf_uni_comp_ref_p1 Unexecuted instantiation: bitstream.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: 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: firstpass.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: 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: rd.c:av1_get_pred_cdf_uni_comp_ref_p1 Unexecuted instantiation: rdopt.c:av1_get_pred_cdf_uni_comp_ref_p1 Unexecuted instantiation: nonrd_pickmode.c:av1_get_pred_cdf_uni_comp_ref_p1 Unexecuted instantiation: nonrd_opt.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: temporal_filter.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: var_based_part.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: compound_type.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: rdopt_sse4.c:av1_get_pred_cdf_uni_comp_ref_p1 Unexecuted instantiation: rdopt_avx2.c:av1_get_pred_cdf_uni_comp_ref_p1 |
245 | | |
246 | | static inline aom_cdf_prob *av1_get_pred_cdf_uni_comp_ref_p2( |
247 | 856 | const MACROBLOCKD *xd) { |
248 | 856 | const int pred_context = av1_get_pred_context_uni_comp_ref_p2(xd); |
249 | 856 | return xd->tile_ctx->uni_comp_ref_cdf[pred_context][2]; |
250 | 856 | } Unexecuted instantiation: decodeframe.c:av1_get_pred_cdf_uni_comp_ref_p2 decodemv.c:av1_get_pred_cdf_uni_comp_ref_p2 Line | Count | Source | 247 | 856 | const MACROBLOCKD *xd) { | 248 | 856 | const int pred_context = av1_get_pred_context_uni_comp_ref_p2(xd); | 249 | 856 | return xd->tile_ctx->uni_comp_ref_cdf[pred_context][2]; | 250 | 856 | } |
Unexecuted instantiation: av1_cx_iface.c:av1_get_pred_cdf_uni_comp_ref_p2 Unexecuted instantiation: allintra_vis.c:av1_get_pred_cdf_uni_comp_ref_p2 Unexecuted instantiation: bitstream.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: 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: firstpass.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: 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: rd.c:av1_get_pred_cdf_uni_comp_ref_p2 Unexecuted instantiation: rdopt.c:av1_get_pred_cdf_uni_comp_ref_p2 Unexecuted instantiation: nonrd_pickmode.c:av1_get_pred_cdf_uni_comp_ref_p2 Unexecuted instantiation: nonrd_opt.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: temporal_filter.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: var_based_part.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: compound_type.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: rdopt_sse4.c:av1_get_pred_cdf_uni_comp_ref_p2 Unexecuted instantiation: rdopt_avx2.c:av1_get_pred_cdf_uni_comp_ref_p2 |
251 | | |
252 | | // == Bi-directional contexts == |
253 | | |
254 | | int av1_get_pred_context_comp_ref_p(const MACROBLOCKD *xd); |
255 | | |
256 | | int av1_get_pred_context_comp_ref_p1(const MACROBLOCKD *xd); |
257 | | |
258 | | int av1_get_pred_context_comp_ref_p2(const MACROBLOCKD *xd); |
259 | | |
260 | | int av1_get_pred_context_comp_bwdref_p(const MACROBLOCKD *xd); |
261 | | |
262 | | int av1_get_pred_context_comp_bwdref_p1(const MACROBLOCKD *xd); |
263 | | |
264 | 5.51k | static inline aom_cdf_prob *av1_get_pred_cdf_comp_ref_p(const MACROBLOCKD *xd) { |
265 | 5.51k | const int pred_context = av1_get_pred_context_comp_ref_p(xd); |
266 | 5.51k | return xd->tile_ctx->comp_ref_cdf[pred_context][0]; |
267 | 5.51k | } Unexecuted instantiation: decodeframe.c:av1_get_pred_cdf_comp_ref_p decodemv.c:av1_get_pred_cdf_comp_ref_p Line | Count | Source | 264 | 5.51k | static inline aom_cdf_prob *av1_get_pred_cdf_comp_ref_p(const MACROBLOCKD *xd) { | 265 | 5.51k | const int pred_context = av1_get_pred_context_comp_ref_p(xd); | 266 | 5.51k | return xd->tile_ctx->comp_ref_cdf[pred_context][0]; | 267 | 5.51k | } |
Unexecuted instantiation: av1_cx_iface.c:av1_get_pred_cdf_comp_ref_p Unexecuted instantiation: allintra_vis.c:av1_get_pred_cdf_comp_ref_p bitstream.c:av1_get_pred_cdf_comp_ref_p Line | Count | Source | 264 | 4 | static inline aom_cdf_prob *av1_get_pred_cdf_comp_ref_p(const MACROBLOCKD *xd) { | 265 | 4 | const int pred_context = av1_get_pred_context_comp_ref_p(xd); | 266 | 4 | return xd->tile_ctx->comp_ref_cdf[pred_context][0]; | 267 | 4 | } |
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: 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: firstpass.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 partition_search.c:av1_get_pred_cdf_comp_ref_p Line | Count | Source | 264 | 4 | static inline aom_cdf_prob *av1_get_pred_cdf_comp_ref_p(const MACROBLOCKD *xd) { | 265 | 4 | const int pred_context = av1_get_pred_context_comp_ref_p(xd); | 266 | 4 | return xd->tile_ctx->comp_ref_cdf[pred_context][0]; | 267 | 4 | } |
Unexecuted instantiation: partition_strategy.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: nonrd_pickmode.c:av1_get_pred_cdf_comp_ref_p Unexecuted instantiation: nonrd_opt.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: temporal_filter.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: var_based_part.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: compound_type.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: rdopt_sse4.c:av1_get_pred_cdf_comp_ref_p Unexecuted instantiation: rdopt_avx2.c:av1_get_pred_cdf_comp_ref_p |
268 | | |
269 | | static inline aom_cdf_prob *av1_get_pred_cdf_comp_ref_p1( |
270 | 3.62k | const MACROBLOCKD *xd) { |
271 | 3.62k | const int pred_context = av1_get_pred_context_comp_ref_p1(xd); |
272 | 3.62k | return xd->tile_ctx->comp_ref_cdf[pred_context][1]; |
273 | 3.62k | } Unexecuted instantiation: decodeframe.c:av1_get_pred_cdf_comp_ref_p1 decodemv.c:av1_get_pred_cdf_comp_ref_p1 Line | Count | Source | 270 | 3.61k | const MACROBLOCKD *xd) { | 271 | 3.61k | const int pred_context = av1_get_pred_context_comp_ref_p1(xd); | 272 | 3.61k | return xd->tile_ctx->comp_ref_cdf[pred_context][1]; | 273 | 3.61k | } |
Unexecuted instantiation: av1_cx_iface.c:av1_get_pred_cdf_comp_ref_p1 Unexecuted instantiation: allintra_vis.c:av1_get_pred_cdf_comp_ref_p1 bitstream.c:av1_get_pred_cdf_comp_ref_p1 Line | Count | Source | 270 | 4 | const MACROBLOCKD *xd) { | 271 | 4 | const int pred_context = av1_get_pred_context_comp_ref_p1(xd); | 272 | 4 | return xd->tile_ctx->comp_ref_cdf[pred_context][1]; | 273 | 4 | } |
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: 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: firstpass.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 partition_search.c:av1_get_pred_cdf_comp_ref_p1 Line | Count | Source | 270 | 4 | const MACROBLOCKD *xd) { | 271 | 4 | const int pred_context = av1_get_pred_context_comp_ref_p1(xd); | 272 | 4 | return xd->tile_ctx->comp_ref_cdf[pred_context][1]; | 273 | 4 | } |
Unexecuted instantiation: partition_strategy.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: nonrd_pickmode.c:av1_get_pred_cdf_comp_ref_p1 Unexecuted instantiation: nonrd_opt.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: temporal_filter.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: var_based_part.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: compound_type.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: rdopt_sse4.c:av1_get_pred_cdf_comp_ref_p1 Unexecuted instantiation: rdopt_avx2.c:av1_get_pred_cdf_comp_ref_p1 |
274 | | |
275 | | static inline aom_cdf_prob *av1_get_pred_cdf_comp_ref_p2( |
276 | 1.89k | const MACROBLOCKD *xd) { |
277 | 1.89k | const int pred_context = av1_get_pred_context_comp_ref_p2(xd); |
278 | 1.89k | return xd->tile_ctx->comp_ref_cdf[pred_context][2]; |
279 | 1.89k | } Unexecuted instantiation: decodeframe.c:av1_get_pred_cdf_comp_ref_p2 decodemv.c:av1_get_pred_cdf_comp_ref_p2 Line | Count | Source | 276 | 1.89k | const MACROBLOCKD *xd) { | 277 | 1.89k | const int pred_context = av1_get_pred_context_comp_ref_p2(xd); | 278 | 1.89k | return xd->tile_ctx->comp_ref_cdf[pred_context][2]; | 279 | 1.89k | } |
Unexecuted instantiation: av1_cx_iface.c:av1_get_pred_cdf_comp_ref_p2 Unexecuted instantiation: allintra_vis.c:av1_get_pred_cdf_comp_ref_p2 Unexecuted instantiation: bitstream.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: 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: firstpass.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: partition_search.c:av1_get_pred_cdf_comp_ref_p2 Unexecuted instantiation: partition_strategy.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: nonrd_pickmode.c:av1_get_pred_cdf_comp_ref_p2 Unexecuted instantiation: nonrd_opt.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: temporal_filter.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: var_based_part.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: compound_type.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: rdopt_sse4.c:av1_get_pred_cdf_comp_ref_p2 Unexecuted instantiation: rdopt_avx2.c:av1_get_pred_cdf_comp_ref_p2 |
280 | | |
281 | | static inline aom_cdf_prob *av1_get_pred_cdf_comp_bwdref_p( |
282 | 5.51k | const MACROBLOCKD *xd) { |
283 | 5.51k | const int pred_context = av1_get_pred_context_comp_bwdref_p(xd); |
284 | 5.51k | return xd->tile_ctx->comp_bwdref_cdf[pred_context][0]; |
285 | 5.51k | } Unexecuted instantiation: decodeframe.c:av1_get_pred_cdf_comp_bwdref_p decodemv.c:av1_get_pred_cdf_comp_bwdref_p Line | Count | Source | 282 | 5.51k | const MACROBLOCKD *xd) { | 283 | 5.51k | const int pred_context = av1_get_pred_context_comp_bwdref_p(xd); | 284 | 5.51k | return xd->tile_ctx->comp_bwdref_cdf[pred_context][0]; | 285 | 5.51k | } |
Unexecuted instantiation: av1_cx_iface.c:av1_get_pred_cdf_comp_bwdref_p Unexecuted instantiation: allintra_vis.c:av1_get_pred_cdf_comp_bwdref_p bitstream.c:av1_get_pred_cdf_comp_bwdref_p Line | Count | Source | 282 | 4 | const MACROBLOCKD *xd) { | 283 | 4 | const int pred_context = av1_get_pred_context_comp_bwdref_p(xd); | 284 | 4 | return xd->tile_ctx->comp_bwdref_cdf[pred_context][0]; | 285 | 4 | } |
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: 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: firstpass.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 partition_search.c:av1_get_pred_cdf_comp_bwdref_p Line | Count | Source | 282 | 4 | const MACROBLOCKD *xd) { | 283 | 4 | const int pred_context = av1_get_pred_context_comp_bwdref_p(xd); | 284 | 4 | return xd->tile_ctx->comp_bwdref_cdf[pred_context][0]; | 285 | 4 | } |
Unexecuted instantiation: partition_strategy.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: nonrd_pickmode.c:av1_get_pred_cdf_comp_bwdref_p Unexecuted instantiation: nonrd_opt.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: temporal_filter.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: var_based_part.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: compound_type.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: rdopt_sse4.c:av1_get_pred_cdf_comp_bwdref_p Unexecuted instantiation: rdopt_avx2.c:av1_get_pred_cdf_comp_bwdref_p |
286 | | |
287 | | static inline aom_cdf_prob *av1_get_pred_cdf_comp_bwdref_p1( |
288 | 2.86k | const MACROBLOCKD *xd) { |
289 | 2.86k | const int pred_context = av1_get_pred_context_comp_bwdref_p1(xd); |
290 | 2.86k | return xd->tile_ctx->comp_bwdref_cdf[pred_context][1]; |
291 | 2.86k | } Unexecuted instantiation: decodeframe.c:av1_get_pred_cdf_comp_bwdref_p1 decodemv.c:av1_get_pred_cdf_comp_bwdref_p1 Line | Count | Source | 288 | 2.86k | const MACROBLOCKD *xd) { | 289 | 2.86k | const int pred_context = av1_get_pred_context_comp_bwdref_p1(xd); | 290 | 2.86k | return xd->tile_ctx->comp_bwdref_cdf[pred_context][1]; | 291 | 2.86k | } |
Unexecuted instantiation: av1_cx_iface.c:av1_get_pred_cdf_comp_bwdref_p1 Unexecuted instantiation: allintra_vis.c:av1_get_pred_cdf_comp_bwdref_p1 Unexecuted instantiation: bitstream.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: 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: firstpass.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: partition_search.c:av1_get_pred_cdf_comp_bwdref_p1 Unexecuted instantiation: partition_strategy.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: nonrd_pickmode.c:av1_get_pred_cdf_comp_bwdref_p1 Unexecuted instantiation: nonrd_opt.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: temporal_filter.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: var_based_part.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: compound_type.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: rdopt_sse4.c:av1_get_pred_cdf_comp_bwdref_p1 Unexecuted instantiation: rdopt_avx2.c:av1_get_pred_cdf_comp_bwdref_p1 |
292 | | |
293 | | // == Single contexts == |
294 | | |
295 | | int av1_get_pred_context_single_ref_p1(const MACROBLOCKD *xd); |
296 | | |
297 | | int av1_get_pred_context_single_ref_p2(const MACROBLOCKD *xd); |
298 | | |
299 | | int av1_get_pred_context_single_ref_p3(const MACROBLOCKD *xd); |
300 | | |
301 | | int av1_get_pred_context_single_ref_p4(const MACROBLOCKD *xd); |
302 | | |
303 | | int av1_get_pred_context_single_ref_p5(const MACROBLOCKD *xd); |
304 | | |
305 | | int av1_get_pred_context_single_ref_p6(const MACROBLOCKD *xd); |
306 | | |
307 | | static inline aom_cdf_prob *av1_get_pred_cdf_single_ref_p1( |
308 | 1.22M | const MACROBLOCKD *xd) { |
309 | 1.22M | return xd->tile_ctx |
310 | 1.22M | ->single_ref_cdf[av1_get_pred_context_single_ref_p1(xd)][0]; |
311 | 1.22M | } Unexecuted instantiation: decodeframe.c:av1_get_pred_cdf_single_ref_p1 decodemv.c:av1_get_pred_cdf_single_ref_p1 Line | Count | Source | 308 | 189k | const MACROBLOCKD *xd) { | 309 | 189k | return xd->tile_ctx | 310 | 189k | ->single_ref_cdf[av1_get_pred_context_single_ref_p1(xd)][0]; | 311 | 189k | } |
Unexecuted instantiation: av1_cx_iface.c:av1_get_pred_cdf_single_ref_p1 Unexecuted instantiation: allintra_vis.c:av1_get_pred_cdf_single_ref_p1 bitstream.c:av1_get_pred_cdf_single_ref_p1 Line | Count | Source | 308 | 515k | const MACROBLOCKD *xd) { | 309 | 515k | return xd->tile_ctx | 310 | 515k | ->single_ref_cdf[av1_get_pred_context_single_ref_p1(xd)][0]; | 311 | 515k | } |
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: 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: firstpass.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 partition_search.c:av1_get_pred_cdf_single_ref_p1 Line | Count | Source | 308 | 519k | const MACROBLOCKD *xd) { | 309 | 519k | return xd->tile_ctx | 310 | 519k | ->single_ref_cdf[av1_get_pred_context_single_ref_p1(xd)][0]; | 311 | 519k | } |
Unexecuted instantiation: partition_strategy.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: nonrd_pickmode.c:av1_get_pred_cdf_single_ref_p1 Unexecuted instantiation: nonrd_opt.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: temporal_filter.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: var_based_part.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: compound_type.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: rdopt_sse4.c:av1_get_pred_cdf_single_ref_p1 Unexecuted instantiation: rdopt_avx2.c:av1_get_pred_cdf_single_ref_p1 |
312 | | static inline aom_cdf_prob *av1_get_pred_cdf_single_ref_p2( |
313 | 75.2k | const MACROBLOCKD *xd) { |
314 | 75.2k | return xd->tile_ctx |
315 | 75.2k | ->single_ref_cdf[av1_get_pred_context_single_ref_p2(xd)][1]; |
316 | 75.2k | } Unexecuted instantiation: decodeframe.c:av1_get_pred_cdf_single_ref_p2 decodemv.c:av1_get_pred_cdf_single_ref_p2 Line | Count | Source | 313 | 24.5k | const MACROBLOCKD *xd) { | 314 | 24.5k | return xd->tile_ctx | 315 | 24.5k | ->single_ref_cdf[av1_get_pred_context_single_ref_p2(xd)][1]; | 316 | 24.5k | } |
Unexecuted instantiation: av1_cx_iface.c:av1_get_pred_cdf_single_ref_p2 Unexecuted instantiation: allintra_vis.c:av1_get_pred_cdf_single_ref_p2 bitstream.c:av1_get_pred_cdf_single_ref_p2 Line | Count | Source | 313 | 25.4k | const MACROBLOCKD *xd) { | 314 | 25.4k | return xd->tile_ctx | 315 | 25.4k | ->single_ref_cdf[av1_get_pred_context_single_ref_p2(xd)][1]; | 316 | 25.4k | } |
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: 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: firstpass.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 partition_search.c:av1_get_pred_cdf_single_ref_p2 Line | Count | Source | 313 | 25.3k | const MACROBLOCKD *xd) { | 314 | 25.3k | return xd->tile_ctx | 315 | 25.3k | ->single_ref_cdf[av1_get_pred_context_single_ref_p2(xd)][1]; | 316 | 25.3k | } |
Unexecuted instantiation: partition_strategy.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: nonrd_pickmode.c:av1_get_pred_cdf_single_ref_p2 Unexecuted instantiation: nonrd_opt.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: temporal_filter.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: var_based_part.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: compound_type.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: rdopt_sse4.c:av1_get_pred_cdf_single_ref_p2 Unexecuted instantiation: rdopt_avx2.c:av1_get_pred_cdf_single_ref_p2 |
317 | | static inline aom_cdf_prob *av1_get_pred_cdf_single_ref_p3( |
318 | 1.15M | const MACROBLOCKD *xd) { |
319 | 1.15M | return xd->tile_ctx |
320 | 1.15M | ->single_ref_cdf[av1_get_pred_context_single_ref_p3(xd)][2]; |
321 | 1.15M | } Unexecuted instantiation: decodeframe.c:av1_get_pred_cdf_single_ref_p3 decodemv.c:av1_get_pred_cdf_single_ref_p3 Line | Count | Source | 318 | 165k | const MACROBLOCKD *xd) { | 319 | 165k | return xd->tile_ctx | 320 | 165k | ->single_ref_cdf[av1_get_pred_context_single_ref_p3(xd)][2]; | 321 | 165k | } |
Unexecuted instantiation: av1_cx_iface.c:av1_get_pred_cdf_single_ref_p3 Unexecuted instantiation: allintra_vis.c:av1_get_pred_cdf_single_ref_p3 bitstream.c:av1_get_pred_cdf_single_ref_p3 Line | Count | Source | 318 | 492k | const MACROBLOCKD *xd) { | 319 | 492k | return xd->tile_ctx | 320 | 492k | ->single_ref_cdf[av1_get_pred_context_single_ref_p3(xd)][2]; | 321 | 492k | } |
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: 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: firstpass.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 partition_search.c:av1_get_pred_cdf_single_ref_p3 Line | Count | Source | 318 | 493k | const MACROBLOCKD *xd) { | 319 | 493k | return xd->tile_ctx | 320 | 493k | ->single_ref_cdf[av1_get_pred_context_single_ref_p3(xd)][2]; | 321 | 493k | } |
Unexecuted instantiation: partition_strategy.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: nonrd_pickmode.c:av1_get_pred_cdf_single_ref_p3 Unexecuted instantiation: nonrd_opt.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: temporal_filter.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: var_based_part.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: compound_type.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: rdopt_sse4.c:av1_get_pred_cdf_single_ref_p3 Unexecuted instantiation: rdopt_avx2.c:av1_get_pred_cdf_single_ref_p3 |
322 | | static inline aom_cdf_prob *av1_get_pred_cdf_single_ref_p4( |
323 | 1.04M | const MACROBLOCKD *xd) { |
324 | 1.04M | return xd->tile_ctx |
325 | 1.04M | ->single_ref_cdf[av1_get_pred_context_single_ref_p4(xd)][3]; |
326 | 1.04M | } Unexecuted instantiation: decodeframe.c:av1_get_pred_cdf_single_ref_p4 decodemv.c:av1_get_pred_cdf_single_ref_p4 Line | Count | Source | 323 | 146k | const MACROBLOCKD *xd) { | 324 | 146k | return xd->tile_ctx | 325 | 146k | ->single_ref_cdf[av1_get_pred_context_single_ref_p4(xd)][3]; | 326 | 146k | } |
Unexecuted instantiation: av1_cx_iface.c:av1_get_pred_cdf_single_ref_p4 Unexecuted instantiation: allintra_vis.c:av1_get_pred_cdf_single_ref_p4 bitstream.c:av1_get_pred_cdf_single_ref_p4 Line | Count | Source | 323 | 449k | const MACROBLOCKD *xd) { | 324 | 449k | return xd->tile_ctx | 325 | 449k | ->single_ref_cdf[av1_get_pred_context_single_ref_p4(xd)][3]; | 326 | 449k | } |
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: 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: firstpass.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 partition_search.c:av1_get_pred_cdf_single_ref_p4 Line | Count | Source | 323 | 451k | const MACROBLOCKD *xd) { | 324 | 451k | return xd->tile_ctx | 325 | 451k | ->single_ref_cdf[av1_get_pred_context_single_ref_p4(xd)][3]; | 326 | 451k | } |
Unexecuted instantiation: partition_strategy.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: nonrd_pickmode.c:av1_get_pred_cdf_single_ref_p4 Unexecuted instantiation: nonrd_opt.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: temporal_filter.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: var_based_part.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: compound_type.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: rdopt_sse4.c:av1_get_pred_cdf_single_ref_p4 Unexecuted instantiation: rdopt_avx2.c:av1_get_pred_cdf_single_ref_p4 |
327 | | static inline aom_cdf_prob *av1_get_pred_cdf_single_ref_p5( |
328 | 101k | const MACROBLOCKD *xd) { |
329 | 101k | return xd->tile_ctx |
330 | 101k | ->single_ref_cdf[av1_get_pred_context_single_ref_p5(xd)][4]; |
331 | 101k | } Unexecuted instantiation: decodeframe.c:av1_get_pred_cdf_single_ref_p5 decodemv.c:av1_get_pred_cdf_single_ref_p5 Line | Count | Source | 328 | 18.0k | const MACROBLOCKD *xd) { | 329 | 18.0k | return xd->tile_ctx | 330 | 18.0k | ->single_ref_cdf[av1_get_pred_context_single_ref_p5(xd)][4]; | 331 | 18.0k | } |
Unexecuted instantiation: av1_cx_iface.c:av1_get_pred_cdf_single_ref_p5 Unexecuted instantiation: allintra_vis.c:av1_get_pred_cdf_single_ref_p5 bitstream.c:av1_get_pred_cdf_single_ref_p5 Line | Count | Source | 328 | 41.9k | const MACROBLOCKD *xd) { | 329 | 41.9k | return xd->tile_ctx | 330 | 41.9k | ->single_ref_cdf[av1_get_pred_context_single_ref_p5(xd)][4]; | 331 | 41.9k | } |
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: 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: firstpass.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 partition_search.c:av1_get_pred_cdf_single_ref_p5 Line | Count | Source | 328 | 41.9k | const MACROBLOCKD *xd) { | 329 | 41.9k | return xd->tile_ctx | 330 | 41.9k | ->single_ref_cdf[av1_get_pred_context_single_ref_p5(xd)][4]; | 331 | 41.9k | } |
Unexecuted instantiation: partition_strategy.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: nonrd_pickmode.c:av1_get_pred_cdf_single_ref_p5 Unexecuted instantiation: nonrd_opt.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: temporal_filter.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: var_based_part.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: compound_type.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: rdopt_sse4.c:av1_get_pred_cdf_single_ref_p5 Unexecuted instantiation: rdopt_avx2.c:av1_get_pred_cdf_single_ref_p5 |
332 | | static inline aom_cdf_prob *av1_get_pred_cdf_single_ref_p6( |
333 | 8.16k | const MACROBLOCKD *xd) { |
334 | 8.16k | return xd->tile_ctx |
335 | 8.16k | ->single_ref_cdf[av1_get_pred_context_single_ref_p6(xd)][5]; |
336 | 8.16k | } Unexecuted instantiation: decodeframe.c:av1_get_pred_cdf_single_ref_p6 decodemv.c:av1_get_pred_cdf_single_ref_p6 Line | Count | Source | 333 | 8.16k | const MACROBLOCKD *xd) { | 334 | 8.16k | return xd->tile_ctx | 335 | 8.16k | ->single_ref_cdf[av1_get_pred_context_single_ref_p6(xd)][5]; | 336 | 8.16k | } |
Unexecuted instantiation: av1_cx_iface.c:av1_get_pred_cdf_single_ref_p6 Unexecuted instantiation: allintra_vis.c:av1_get_pred_cdf_single_ref_p6 Unexecuted instantiation: bitstream.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: 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: firstpass.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: partition_search.c:av1_get_pred_cdf_single_ref_p6 Unexecuted instantiation: partition_strategy.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: nonrd_pickmode.c:av1_get_pred_cdf_single_ref_p6 Unexecuted instantiation: nonrd_opt.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: temporal_filter.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: var_based_part.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: compound_type.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: rdopt_sse4.c:av1_get_pred_cdf_single_ref_p6 Unexecuted instantiation: rdopt_avx2.c:av1_get_pred_cdf_single_ref_p6 |
337 | | |
338 | | // Returns a context number for the given MB prediction signal |
339 | | // The mode info data structure has a one element border above and to the |
340 | | // left of the entries corresponding to real blocks. |
341 | | // The prediction flags in these dummy entries are initialized to 0. |
342 | 38.0M | static inline int get_tx_size_context(const MACROBLOCKD *xd) { |
343 | 38.0M | const MB_MODE_INFO *mbmi = xd->mi[0]; |
344 | 38.0M | const MB_MODE_INFO *const above_mbmi = xd->above_mbmi; |
345 | 38.0M | const MB_MODE_INFO *const left_mbmi = xd->left_mbmi; |
346 | 38.0M | const TX_SIZE max_tx_size = max_txsize_rect_lookup[mbmi->bsize]; |
347 | 38.0M | const int max_tx_wide = tx_size_wide[max_tx_size]; |
348 | 38.0M | const int max_tx_high = tx_size_high[max_tx_size]; |
349 | 38.0M | const int has_above = xd->up_available; |
350 | 38.0M | const int has_left = xd->left_available; |
351 | | |
352 | 38.0M | int above = xd->above_txfm_context[0] >= max_tx_wide; |
353 | 38.0M | int left = xd->left_txfm_context[0] >= max_tx_high; |
354 | | |
355 | 38.0M | if (has_above) |
356 | 29.8M | if (is_inter_block(above_mbmi)) |
357 | 368k | above = block_size_wide[above_mbmi->bsize] >= max_tx_wide; |
358 | | |
359 | 38.0M | if (has_left) |
360 | 30.1M | if (is_inter_block(left_mbmi)) |
361 | 367k | left = block_size_high[left_mbmi->bsize] >= max_tx_high; |
362 | | |
363 | 38.0M | if (has_above && has_left) |
364 | 23.8M | return (above + left); |
365 | 14.2M | else if (has_above) |
366 | 6.03M | return above; |
367 | 8.18M | else if (has_left) |
368 | 6.28M | return left; |
369 | 1.89M | else |
370 | 1.89M | return 0; |
371 | 38.0M | } decodeframe.c:get_tx_size_context Line | Count | Source | 342 | 3.42M | static inline int get_tx_size_context(const MACROBLOCKD *xd) { | 343 | 3.42M | const MB_MODE_INFO *mbmi = xd->mi[0]; | 344 | 3.42M | const MB_MODE_INFO *const above_mbmi = xd->above_mbmi; | 345 | 3.42M | const MB_MODE_INFO *const left_mbmi = xd->left_mbmi; | 346 | 3.42M | const TX_SIZE max_tx_size = max_txsize_rect_lookup[mbmi->bsize]; | 347 | 3.42M | const int max_tx_wide = tx_size_wide[max_tx_size]; | 348 | 3.42M | const int max_tx_high = tx_size_high[max_tx_size]; | 349 | 3.42M | const int has_above = xd->up_available; | 350 | 3.42M | const int has_left = xd->left_available; | 351 | | | 352 | 3.42M | int above = xd->above_txfm_context[0] >= max_tx_wide; | 353 | 3.42M | int left = xd->left_txfm_context[0] >= max_tx_high; | 354 | | | 355 | 3.42M | if (has_above) | 356 | 2.90M | if (is_inter_block(above_mbmi)) | 357 | 28.7k | above = block_size_wide[above_mbmi->bsize] >= max_tx_wide; | 358 | | | 359 | 3.42M | if (has_left) | 360 | 2.92M | if (is_inter_block(left_mbmi)) | 361 | 28.6k | left = block_size_high[left_mbmi->bsize] >= max_tx_high; | 362 | | | 363 | 3.42M | if (has_above && has_left) | 364 | 2.49M | return (above + left); | 365 | 928k | else if (has_above) | 366 | 405k | return above; | 367 | 522k | else if (has_left) | 368 | 422k | return left; | 369 | 99.6k | else | 370 | 99.6k | return 0; | 371 | 3.42M | } |
Unexecuted instantiation: decodemv.c:get_tx_size_context Unexecuted instantiation: av1_cx_iface.c:get_tx_size_context Unexecuted instantiation: allintra_vis.c:get_tx_size_context bitstream.c:get_tx_size_context Line | Count | Source | 342 | 5.38M | static inline int get_tx_size_context(const MACROBLOCKD *xd) { | 343 | 5.38M | const MB_MODE_INFO *mbmi = xd->mi[0]; | 344 | 5.38M | const MB_MODE_INFO *const above_mbmi = xd->above_mbmi; | 345 | 5.38M | const MB_MODE_INFO *const left_mbmi = xd->left_mbmi; | 346 | 5.38M | const TX_SIZE max_tx_size = max_txsize_rect_lookup[mbmi->bsize]; | 347 | 5.38M | const int max_tx_wide = tx_size_wide[max_tx_size]; | 348 | 5.38M | const int max_tx_high = tx_size_high[max_tx_size]; | 349 | 5.38M | const int has_above = xd->up_available; | 350 | 5.38M | const int has_left = xd->left_available; | 351 | | | 352 | 5.38M | int above = xd->above_txfm_context[0] >= max_tx_wide; | 353 | 5.38M | int left = xd->left_txfm_context[0] >= max_tx_high; | 354 | | | 355 | 5.38M | if (has_above) | 356 | 4.44M | if (is_inter_block(above_mbmi)) | 357 | 92.0k | above = block_size_wide[above_mbmi->bsize] >= max_tx_wide; | 358 | | | 359 | 5.38M | if (has_left) | 360 | 4.45M | if (is_inter_block(left_mbmi)) | 361 | 91.6k | left = block_size_high[left_mbmi->bsize] >= max_tx_high; | 362 | | | 363 | 5.38M | if (has_above && has_left) | 364 | 3.70M | return (above + left); | 365 | 1.68M | else if (has_above) | 366 | 738k | return above; | 367 | 942k | else if (has_left) | 368 | 748k | return left; | 369 | 193k | else | 370 | 193k | return 0; | 371 | 5.38M | } |
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: 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: firstpass.c:get_tx_size_context Unexecuted instantiation: global_motion_facade.c:get_tx_size_context Unexecuted instantiation: mcomp.c:get_tx_size_context palette.c:get_tx_size_context Line | Count | Source | 342 | 178 | static inline int get_tx_size_context(const MACROBLOCKD *xd) { | 343 | 178 | const MB_MODE_INFO *mbmi = xd->mi[0]; | 344 | 178 | const MB_MODE_INFO *const above_mbmi = xd->above_mbmi; | 345 | 178 | const MB_MODE_INFO *const left_mbmi = xd->left_mbmi; | 346 | 178 | const TX_SIZE max_tx_size = max_txsize_rect_lookup[mbmi->bsize]; | 347 | 178 | const int max_tx_wide = tx_size_wide[max_tx_size]; | 348 | 178 | const int max_tx_high = tx_size_high[max_tx_size]; | 349 | 178 | const int has_above = xd->up_available; | 350 | 178 | const int has_left = xd->left_available; | 351 | | | 352 | 178 | int above = xd->above_txfm_context[0] >= max_tx_wide; | 353 | 178 | int left = xd->left_txfm_context[0] >= max_tx_high; | 354 | | | 355 | 178 | if (has_above) | 356 | 0 | if (is_inter_block(above_mbmi)) | 357 | 0 | above = block_size_wide[above_mbmi->bsize] >= max_tx_wide; | 358 | | | 359 | 178 | if (has_left) | 360 | 12 | if (is_inter_block(left_mbmi)) | 361 | 0 | left = block_size_high[left_mbmi->bsize] >= max_tx_high; | 362 | | | 363 | 178 | if (has_above && has_left) | 364 | 0 | return (above + left); | 365 | 178 | else if (has_above) | 366 | 0 | return above; | 367 | 178 | else if (has_left) | 368 | 12 | return left; | 369 | 166 | else | 370 | 166 | return 0; | 371 | 178 | } |
partition_search.c:get_tx_size_context Line | Count | Source | 342 | 7.27M | static inline int get_tx_size_context(const MACROBLOCKD *xd) { | 343 | 7.27M | const MB_MODE_INFO *mbmi = xd->mi[0]; | 344 | 7.27M | const MB_MODE_INFO *const above_mbmi = xd->above_mbmi; | 345 | 7.27M | const MB_MODE_INFO *const left_mbmi = xd->left_mbmi; | 346 | 7.27M | const TX_SIZE max_tx_size = max_txsize_rect_lookup[mbmi->bsize]; | 347 | 7.27M | const int max_tx_wide = tx_size_wide[max_tx_size]; | 348 | 7.27M | const int max_tx_high = tx_size_high[max_tx_size]; | 349 | 7.27M | const int has_above = xd->up_available; | 350 | 7.27M | const int has_left = xd->left_available; | 351 | | | 352 | 7.27M | int above = xd->above_txfm_context[0] >= max_tx_wide; | 353 | 7.27M | int left = xd->left_txfm_context[0] >= max_tx_high; | 354 | | | 355 | 7.27M | if (has_above) | 356 | 5.93M | if (is_inter_block(above_mbmi)) | 357 | 112k | above = block_size_wide[above_mbmi->bsize] >= max_tx_wide; | 358 | | | 359 | 7.27M | if (has_left) | 360 | 5.91M | if (is_inter_block(left_mbmi)) | 361 | 111k | left = block_size_high[left_mbmi->bsize] >= max_tx_high; | 362 | | | 363 | 7.27M | if (has_above && has_left) | 364 | 4.86M | return (above + left); | 365 | 2.41M | else if (has_above) | 366 | 1.07M | return above; | 367 | 1.34M | else if (has_left) | 368 | 1.05M | return left; | 369 | 291k | else | 370 | 291k | return 0; | 371 | 7.27M | } |
Unexecuted instantiation: partition_strategy.c:get_tx_size_context Unexecuted instantiation: rd.c:get_tx_size_context Unexecuted instantiation: rdopt.c:get_tx_size_context Unexecuted instantiation: nonrd_pickmode.c:get_tx_size_context Unexecuted instantiation: nonrd_opt.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: temporal_filter.c:get_tx_size_context Unexecuted instantiation: tokenize.c:get_tx_size_context Unexecuted instantiation: tpl_model.c:get_tx_size_context tx_search.c:get_tx_size_context Line | Count | Source | 342 | 14.5M | static inline int get_tx_size_context(const MACROBLOCKD *xd) { | 343 | 14.5M | const MB_MODE_INFO *mbmi = xd->mi[0]; | 344 | 14.5M | const MB_MODE_INFO *const above_mbmi = xd->above_mbmi; | 345 | 14.5M | const MB_MODE_INFO *const left_mbmi = xd->left_mbmi; | 346 | 14.5M | const TX_SIZE max_tx_size = max_txsize_rect_lookup[mbmi->bsize]; | 347 | 14.5M | const int max_tx_wide = tx_size_wide[max_tx_size]; | 348 | 14.5M | const int max_tx_high = tx_size_high[max_tx_size]; | 349 | 14.5M | const int has_above = xd->up_available; | 350 | 14.5M | const int has_left = xd->left_available; | 351 | | | 352 | 14.5M | int above = xd->above_txfm_context[0] >= max_tx_wide; | 353 | 14.5M | int left = xd->left_txfm_context[0] >= max_tx_high; | 354 | | | 355 | 14.5M | if (has_above) | 356 | 10.8M | if (is_inter_block(above_mbmi)) | 357 | 135k | above = block_size_wide[above_mbmi->bsize] >= max_tx_wide; | 358 | | | 359 | 14.5M | if (has_left) | 360 | 11.0M | if (is_inter_block(left_mbmi)) | 361 | 134k | left = block_size_high[left_mbmi->bsize] >= max_tx_high; | 362 | | | 363 | 14.5M | if (has_above && has_left) | 364 | 8.32M | return (above + left); | 365 | 6.21M | else if (has_above) | 366 | 2.55M | return above; | 367 | 3.65M | else if (has_left) | 368 | 2.74M | return left; | 369 | 909k | else | 370 | 909k | return 0; | 371 | 14.5M | } |
intra_mode_search.c:get_tx_size_context Line | Count | Source | 342 | 7.43M | static inline int get_tx_size_context(const MACROBLOCKD *xd) { | 343 | 7.43M | const MB_MODE_INFO *mbmi = xd->mi[0]; | 344 | 7.43M | const MB_MODE_INFO *const above_mbmi = xd->above_mbmi; | 345 | 7.43M | const MB_MODE_INFO *const left_mbmi = xd->left_mbmi; | 346 | 7.43M | const TX_SIZE max_tx_size = max_txsize_rect_lookup[mbmi->bsize]; | 347 | 7.43M | const int max_tx_wide = tx_size_wide[max_tx_size]; | 348 | 7.43M | const int max_tx_high = tx_size_high[max_tx_size]; | 349 | 7.43M | const int has_above = xd->up_available; | 350 | 7.43M | const int has_left = xd->left_available; | 351 | | | 352 | 7.43M | int above = xd->above_txfm_context[0] >= max_tx_wide; | 353 | 7.43M | int left = xd->left_txfm_context[0] >= max_tx_high; | 354 | | | 355 | 7.43M | if (has_above) | 356 | 5.71M | if (is_inter_block(above_mbmi)) | 357 | 595 | above = block_size_wide[above_mbmi->bsize] >= max_tx_wide; | 358 | | | 359 | 7.43M | if (has_left) | 360 | 5.77M | if (is_inter_block(left_mbmi)) | 361 | 934 | left = block_size_high[left_mbmi->bsize] >= max_tx_high; | 362 | | | 363 | 7.43M | if (has_above && has_left) | 364 | 4.45M | return (above + left); | 365 | 2.97M | else if (has_above) | 366 | 1.25M | return above; | 367 | 1.71M | else if (has_left) | 368 | 1.31M | return left; | 369 | 402k | else | 370 | 402k | return 0; | 371 | 7.43M | } |
Unexecuted instantiation: var_based_part.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: compound_type.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: rdopt_sse4.c:get_tx_size_context Unexecuted instantiation: rdopt_avx2.c:get_tx_size_context |
372 | | |
373 | | #ifdef __cplusplus |
374 | | } // extern "C" |
375 | | #endif |
376 | | |
377 | | #endif // AOM_AV1_COMMON_PRED_COMMON_H_ |