/src/libvpx/vp9/common/vp9_onyxc_int.h
Line | Count | Source (jump to first uncovered line) |
1 | | /* |
2 | | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. |
3 | | * |
4 | | * Use of this source code is governed by a BSD-style license |
5 | | * that can be found in the LICENSE file in the root of the source |
6 | | * tree. An additional intellectual property rights grant can be found |
7 | | * in the file PATENTS. All contributing project authors may |
8 | | * be found in the AUTHORS file in the root of the source tree. |
9 | | */ |
10 | | |
11 | | #ifndef VPX_VP9_COMMON_VP9_ONYXC_INT_H_ |
12 | | #define VPX_VP9_COMMON_VP9_ONYXC_INT_H_ |
13 | | |
14 | | #include "./vpx_config.h" |
15 | | #include "vpx/internal/vpx_codec_internal.h" |
16 | | #include "./vp9_rtcd.h" |
17 | | #include "vp9/common/vp9_alloccommon.h" |
18 | | #include "vp9/common/vp9_loopfilter.h" |
19 | | #include "vp9/common/vp9_entropymv.h" |
20 | | #include "vp9/common/vp9_entropy.h" |
21 | | #include "vp9/common/vp9_entropymode.h" |
22 | | #include "vp9/common/vp9_frame_buffers.h" |
23 | | #include "vp9/common/vp9_quant_common.h" |
24 | | #include "vp9/common/vp9_tile_common.h" |
25 | | |
26 | | #if CONFIG_VP9_POSTPROC |
27 | | #include "vp9/common/vp9_postproc.h" |
28 | | #endif |
29 | | |
30 | | #ifdef __cplusplus |
31 | | extern "C" { |
32 | | #endif |
33 | | |
34 | 402k | #define REFS_PER_FRAME 3 |
35 | | |
36 | 747k | #define REF_FRAMES_LOG2 3 |
37 | 643k | #define REF_FRAMES (1 << REF_FRAMES_LOG2) |
38 | | |
39 | | // 1 scratch frame for the new frame, REFS_PER_FRAME for scaled references on |
40 | | // the encoder. |
41 | 260k | #define FRAME_BUFFERS (REF_FRAMES + 1 + REFS_PER_FRAME) |
42 | | |
43 | 81.0k | #define FRAME_CONTEXTS_LOG2 2 |
44 | 38.7k | #define FRAME_CONTEXTS (1 << FRAME_CONTEXTS_LOG2) |
45 | | |
46 | 35.7k | #define NUM_PING_PONG_BUFFERS 2 |
47 | | |
48 | | extern const struct { |
49 | | PARTITION_CONTEXT above; |
50 | | PARTITION_CONTEXT left; |
51 | | } partition_context_lookup[BLOCK_SIZES]; |
52 | | |
53 | | typedef enum { |
54 | | SINGLE_REFERENCE = 0, |
55 | | COMPOUND_REFERENCE = 1, |
56 | | REFERENCE_MODE_SELECT = 2, |
57 | | REFERENCE_MODES = 3, |
58 | | } REFERENCE_MODE; |
59 | | |
60 | | typedef struct { |
61 | | int_mv mv[2]; |
62 | | MV_REFERENCE_FRAME ref_frame[2]; |
63 | | } MV_REF; |
64 | | |
65 | | typedef struct { |
66 | | int ref_count; |
67 | | MV_REF *mvs; |
68 | | int mi_rows; |
69 | | int mi_cols; |
70 | | uint8_t released; |
71 | | |
72 | | // Note that frame_index/frame_coding_index are only set by set_frame_index() |
73 | | // on the encoder side. |
74 | | |
75 | | // TODO(angiebird): Set frame_index/frame_coding_index on the decoder side |
76 | | // properly. |
77 | | int frame_index; // Display order in the video, it's equivalent to the |
78 | | // show_idx defined in EncodeFrameInfo. |
79 | | int frame_coding_index; // The coding order (starting from zero) of this |
80 | | // frame. |
81 | | vpx_codec_frame_buffer_t raw_frame_buffer; |
82 | | YV12_BUFFER_CONFIG buf; |
83 | | } RefCntBuffer; |
84 | | |
85 | | typedef struct BufferPool { |
86 | | // Private data associated with the frame buffer callbacks. |
87 | | void *cb_priv; |
88 | | |
89 | | vpx_get_frame_buffer_cb_fn_t get_fb_cb; |
90 | | vpx_release_frame_buffer_cb_fn_t release_fb_cb; |
91 | | |
92 | | RefCntBuffer frame_bufs[FRAME_BUFFERS]; |
93 | | |
94 | | // Frame buffers allocated internally by the codec. |
95 | | InternalFrameBufferList int_frame_buffers; |
96 | | } BufferPool; |
97 | | |
98 | | typedef struct VP9Common { |
99 | | struct vpx_internal_error_info error; |
100 | | vpx_color_space_t color_space; |
101 | | vpx_color_range_t color_range; |
102 | | int width; |
103 | | int height; |
104 | | int render_width; |
105 | | int render_height; |
106 | | int last_width; |
107 | | int last_height; |
108 | | |
109 | | // TODO(jkoleszar): this implies chroma ss right now, but could vary per |
110 | | // plane. Revisit as part of the future change to YV12_BUFFER_CONFIG to |
111 | | // support additional planes. |
112 | | int subsampling_x; |
113 | | int subsampling_y; |
114 | | |
115 | | #if CONFIG_VP9_HIGHBITDEPTH |
116 | | int use_highbitdepth; // Marks if we need to use 16bit frame buffers. |
117 | | #endif |
118 | | |
119 | | YV12_BUFFER_CONFIG *frame_to_show; |
120 | | RefCntBuffer *prev_frame; |
121 | | |
122 | | // TODO(hkuang): Combine this with cur_buf in macroblockd. |
123 | | RefCntBuffer *cur_frame; |
124 | | |
125 | | int ref_frame_map[REF_FRAMES]; /* maps fb_idx to reference slot */ |
126 | | |
127 | | // Prepare ref_frame_map for the next frame. |
128 | | // Only used in frame parallel decode. |
129 | | int next_ref_frame_map[REF_FRAMES]; |
130 | | |
131 | | // TODO(jkoleszar): could expand active_ref_idx to 4, with 0 as intra, and |
132 | | // roll new_fb_idx into it. |
133 | | |
134 | | // Each frame can reference REFS_PER_FRAME buffers |
135 | | RefBuffer frame_refs[REFS_PER_FRAME]; |
136 | | |
137 | | int new_fb_idx; |
138 | | |
139 | | int cur_show_frame_fb_idx; |
140 | | |
141 | | #if CONFIG_VP9_POSTPROC |
142 | | YV12_BUFFER_CONFIG post_proc_buffer; |
143 | | YV12_BUFFER_CONFIG post_proc_buffer_int; |
144 | | #endif |
145 | | |
146 | | FRAME_TYPE last_frame_type; /* last frame's frame type for motion search.*/ |
147 | | FRAME_TYPE frame_type; |
148 | | |
149 | | int show_frame; |
150 | | int last_show_frame; |
151 | | int show_existing_frame; |
152 | | |
153 | | // Flag signaling that the frame is encoded using only INTRA modes. |
154 | | uint8_t intra_only; |
155 | | uint8_t last_intra_only; |
156 | | |
157 | | int allow_high_precision_mv; |
158 | | |
159 | | // Flag signaling that the frame context should be reset to default values. |
160 | | // 0 or 1 implies don't reset, 2 reset just the context specified in the |
161 | | // frame header, 3 reset all contexts. |
162 | | int reset_frame_context; |
163 | | |
164 | | // MBs, mb_rows/cols is in 16-pixel units; mi_rows/cols is in |
165 | | // MODE_INFO (8-pixel) units. |
166 | | int MBs; |
167 | | int mb_rows, mi_rows; |
168 | | int mb_cols, mi_cols; |
169 | | int mi_stride; |
170 | | |
171 | | /* profile settings */ |
172 | | TX_MODE tx_mode; |
173 | | |
174 | | int base_qindex; |
175 | | int y_dc_delta_q; |
176 | | int uv_dc_delta_q; |
177 | | int uv_ac_delta_q; |
178 | | int16_t y_dequant[MAX_SEGMENTS][2]; |
179 | | int16_t uv_dequant[MAX_SEGMENTS][2]; |
180 | | |
181 | | /* We allocate a MODE_INFO struct for each macroblock, together with |
182 | | an extra row on top and column on the left to simplify prediction. */ |
183 | | int mi_alloc_size; |
184 | | MODE_INFO *mip; /* Base of allocated array */ |
185 | | MODE_INFO *mi; /* Corresponds to upper left visible macroblock */ |
186 | | |
187 | | // TODO(agrange): Move prev_mi into encoder structure. |
188 | | // prev_mip and prev_mi will only be allocated in VP9 encoder. |
189 | | MODE_INFO *prev_mip; /* MODE_INFO array 'mip' from last decoded frame */ |
190 | | MODE_INFO *prev_mi; /* 'mi' from last frame (points into prev_mip) */ |
191 | | |
192 | | // Separate mi functions between encoder and decoder. |
193 | | int (*alloc_mi)(struct VP9Common *cm, int mi_size); |
194 | | void (*free_mi)(struct VP9Common *cm); |
195 | | void (*setup_mi)(struct VP9Common *cm); |
196 | | |
197 | | // Grid of pointers to 8x8 MODE_INFO structs. Any 8x8 not in the visible |
198 | | // area will be NULL. |
199 | | MODE_INFO **mi_grid_base; |
200 | | MODE_INFO **mi_grid_visible; |
201 | | MODE_INFO **prev_mi_grid_base; |
202 | | MODE_INFO **prev_mi_grid_visible; |
203 | | |
204 | | // Whether to use previous frame's motion vectors for prediction. |
205 | | int use_prev_frame_mvs; |
206 | | |
207 | | // Persistent mb segment id map used in prediction. |
208 | | int seg_map_idx; |
209 | | int prev_seg_map_idx; |
210 | | |
211 | | uint8_t *seg_map_array[NUM_PING_PONG_BUFFERS]; |
212 | | uint8_t *last_frame_seg_map; |
213 | | uint8_t *current_frame_seg_map; |
214 | | int seg_map_alloc_size; |
215 | | |
216 | | INTERP_FILTER interp_filter; |
217 | | |
218 | | loop_filter_info_n lf_info; |
219 | | |
220 | | int refresh_frame_context; /* Two state 0 = NO, 1 = YES */ |
221 | | |
222 | | int ref_frame_sign_bias[MAX_REF_FRAMES]; /* Two state 0, 1 */ |
223 | | |
224 | | struct loopfilter lf; |
225 | | struct segmentation seg; |
226 | | |
227 | | // Context probabilities for reference frame prediction |
228 | | MV_REFERENCE_FRAME comp_fixed_ref; |
229 | | MV_REFERENCE_FRAME comp_var_ref[2]; |
230 | | REFERENCE_MODE reference_mode; |
231 | | |
232 | | FRAME_CONTEXT *fc; /* this frame entropy */ |
233 | | FRAME_CONTEXT *frame_contexts; // FRAME_CONTEXTS |
234 | | unsigned int frame_context_idx; /* Context to use/update */ |
235 | | FRAME_COUNTS counts; |
236 | | |
237 | | // TODO(angiebird): current_video_frame/current_frame_coding_index into a |
238 | | // structure |
239 | | unsigned int current_video_frame; |
240 | | // Each show or no show frame is assigned with a coding index based on its |
241 | | // coding order (starting from zero). |
242 | | |
243 | | // Current frame's coding index. |
244 | | int current_frame_coding_index; |
245 | | BITSTREAM_PROFILE profile; |
246 | | |
247 | | // VPX_BITS_8 in profile 0 or 1, VPX_BITS_10 or VPX_BITS_12 in profile 2 or 3. |
248 | | vpx_bit_depth_t bit_depth; |
249 | | vpx_bit_depth_t dequant_bit_depth; // bit_depth of current dequantizer |
250 | | |
251 | | #if CONFIG_VP9_POSTPROC |
252 | | struct postproc_state postproc_state; |
253 | | #endif |
254 | | |
255 | | int error_resilient_mode; |
256 | | int frame_parallel_decoding_mode; |
257 | | |
258 | | int log2_tile_cols, log2_tile_rows; |
259 | | int byte_alignment; |
260 | | int skip_loop_filter; |
261 | | |
262 | | // External BufferPool passed from outside. |
263 | | BufferPool *buffer_pool; |
264 | | |
265 | | PARTITION_CONTEXT *above_seg_context; |
266 | | ENTROPY_CONTEXT *above_context; |
267 | | int above_context_alloc_cols; |
268 | | |
269 | | int lf_row; |
270 | | } VP9_COMMON; |
271 | | |
272 | 2.98k | static INLINE void init_frame_indexes(VP9_COMMON *cm) { |
273 | 2.98k | cm->current_video_frame = 0; |
274 | 2.98k | cm->current_frame_coding_index = 0; |
275 | 2.98k | } Unexecuted instantiation: vp9_cx_iface.c:init_frame_indexes Unexecuted instantiation: vp9_firstpass.c:init_frame_indexes Unexecuted instantiation: vp9_mcomp.c:init_frame_indexes vp9_encoder.c:init_frame_indexes Line | Count | Source | 272 | 2.98k | static INLINE void init_frame_indexes(VP9_COMMON *cm) { | 273 | 2.98k | cm->current_video_frame = 0; | 274 | 2.98k | cm->current_frame_coding_index = 0; | 275 | 2.98k | } |
Unexecuted instantiation: vp9_picklpf.c:init_frame_indexes Unexecuted instantiation: vp9_quantize.c:init_frame_indexes Unexecuted instantiation: vp9_ratectrl.c:init_frame_indexes Unexecuted instantiation: vp9_rd.c:init_frame_indexes Unexecuted instantiation: vp9_segmentation.c:init_frame_indexes Unexecuted instantiation: vp9_speed_features.c:init_frame_indexes Unexecuted instantiation: vp9_svc_layercontext.c:init_frame_indexes Unexecuted instantiation: vp9_tokenize.c:init_frame_indexes Unexecuted instantiation: vp9_aq_variance.c:init_frame_indexes Unexecuted instantiation: vp9_aq_360.c:init_frame_indexes Unexecuted instantiation: vp9_aq_cyclicrefresh.c:init_frame_indexes Unexecuted instantiation: vp9_aq_complexity.c:init_frame_indexes Unexecuted instantiation: vp9_alt_ref_aq.c:init_frame_indexes Unexecuted instantiation: vp9_skin_detection.c:init_frame_indexes Unexecuted instantiation: vp9_noise_estimate.c:init_frame_indexes Unexecuted instantiation: vp9_ext_ratectrl.c:init_frame_indexes Unexecuted instantiation: vp9_temporal_filter.c:init_frame_indexes Unexecuted instantiation: vp9_tpl_model.c:init_frame_indexes Unexecuted instantiation: vp9_mbgraph.c:init_frame_indexes Unexecuted instantiation: yv12config.c:init_frame_indexes Unexecuted instantiation: vp9_alloccommon.c:init_frame_indexes Unexecuted instantiation: vp9_entropy.c:init_frame_indexes Unexecuted instantiation: vp9_entropymode.c:init_frame_indexes Unexecuted instantiation: vp9_entropymv.c:init_frame_indexes Unexecuted instantiation: vp9_tile_common.c:init_frame_indexes Unexecuted instantiation: vp9_loopfilter.c:init_frame_indexes Unexecuted instantiation: vp9_thread_common.c:init_frame_indexes Unexecuted instantiation: vp9_reconinter.c:init_frame_indexes Unexecuted instantiation: vp9_reconintra.c:init_frame_indexes Unexecuted instantiation: vp9_bitstream.c:init_frame_indexes Unexecuted instantiation: vp9_context_tree.c:init_frame_indexes Unexecuted instantiation: vp9_encodeframe.c:init_frame_indexes Unexecuted instantiation: vp9_encodemb.c:init_frame_indexes Unexecuted instantiation: vp9_encodemv.c:init_frame_indexes Unexecuted instantiation: vp9_ethread.c:init_frame_indexes Unexecuted instantiation: vp9_frame_scale.c:init_frame_indexes Unexecuted instantiation: vp9_lookahead.c:init_frame_indexes Unexecuted instantiation: vp9_multi_thread.c:init_frame_indexes Unexecuted instantiation: vp9_rdopt.c:init_frame_indexes Unexecuted instantiation: vp9_pickmode.c:init_frame_indexes Unexecuted instantiation: temporal_filter_sse4.c:init_frame_indexes Unexecuted instantiation: highbd_temporal_filter_sse4.c:init_frame_indexes Unexecuted instantiation: vp9_pred_common.c:init_frame_indexes Unexecuted instantiation: vp9_mvref_common.c:init_frame_indexes |
276 | | |
277 | 42.2k | static INLINE void update_frame_indexes(VP9_COMMON *cm, int show_frame) { |
278 | 42.2k | if (show_frame) { |
279 | | // Don't increment frame counters if this was an altref buffer |
280 | | // update not a real frame |
281 | 42.2k | ++cm->current_video_frame; |
282 | 42.2k | } |
283 | 42.2k | ++cm->current_frame_coding_index; |
284 | 42.2k | } Unexecuted instantiation: vp9_cx_iface.c:update_frame_indexes Unexecuted instantiation: vp9_firstpass.c:update_frame_indexes Unexecuted instantiation: vp9_mcomp.c:update_frame_indexes vp9_encoder.c:update_frame_indexes Line | Count | Source | 277 | 42.2k | static INLINE void update_frame_indexes(VP9_COMMON *cm, int show_frame) { | 278 | 42.2k | if (show_frame) { | 279 | | // Don't increment frame counters if this was an altref buffer | 280 | | // update not a real frame | 281 | 42.2k | ++cm->current_video_frame; | 282 | 42.2k | } | 283 | 42.2k | ++cm->current_frame_coding_index; | 284 | 42.2k | } |
Unexecuted instantiation: vp9_picklpf.c:update_frame_indexes Unexecuted instantiation: vp9_quantize.c:update_frame_indexes Unexecuted instantiation: vp9_ratectrl.c:update_frame_indexes Unexecuted instantiation: vp9_rd.c:update_frame_indexes Unexecuted instantiation: vp9_segmentation.c:update_frame_indexes Unexecuted instantiation: vp9_speed_features.c:update_frame_indexes Unexecuted instantiation: vp9_svc_layercontext.c:update_frame_indexes Unexecuted instantiation: vp9_tokenize.c:update_frame_indexes Unexecuted instantiation: vp9_aq_variance.c:update_frame_indexes Unexecuted instantiation: vp9_aq_360.c:update_frame_indexes Unexecuted instantiation: vp9_aq_cyclicrefresh.c:update_frame_indexes Unexecuted instantiation: vp9_aq_complexity.c:update_frame_indexes Unexecuted instantiation: vp9_alt_ref_aq.c:update_frame_indexes Unexecuted instantiation: vp9_skin_detection.c:update_frame_indexes Unexecuted instantiation: vp9_noise_estimate.c:update_frame_indexes Unexecuted instantiation: vp9_ext_ratectrl.c:update_frame_indexes Unexecuted instantiation: vp9_temporal_filter.c:update_frame_indexes Unexecuted instantiation: vp9_tpl_model.c:update_frame_indexes Unexecuted instantiation: vp9_mbgraph.c:update_frame_indexes Unexecuted instantiation: yv12config.c:update_frame_indexes Unexecuted instantiation: vp9_alloccommon.c:update_frame_indexes Unexecuted instantiation: vp9_entropy.c:update_frame_indexes Unexecuted instantiation: vp9_entropymode.c:update_frame_indexes Unexecuted instantiation: vp9_entropymv.c:update_frame_indexes Unexecuted instantiation: vp9_tile_common.c:update_frame_indexes Unexecuted instantiation: vp9_loopfilter.c:update_frame_indexes Unexecuted instantiation: vp9_thread_common.c:update_frame_indexes Unexecuted instantiation: vp9_reconinter.c:update_frame_indexes Unexecuted instantiation: vp9_reconintra.c:update_frame_indexes Unexecuted instantiation: vp9_bitstream.c:update_frame_indexes Unexecuted instantiation: vp9_context_tree.c:update_frame_indexes Unexecuted instantiation: vp9_encodeframe.c:update_frame_indexes Unexecuted instantiation: vp9_encodemb.c:update_frame_indexes Unexecuted instantiation: vp9_encodemv.c:update_frame_indexes Unexecuted instantiation: vp9_ethread.c:update_frame_indexes Unexecuted instantiation: vp9_frame_scale.c:update_frame_indexes Unexecuted instantiation: vp9_lookahead.c:update_frame_indexes Unexecuted instantiation: vp9_multi_thread.c:update_frame_indexes Unexecuted instantiation: vp9_rdopt.c:update_frame_indexes Unexecuted instantiation: vp9_pickmode.c:update_frame_indexes Unexecuted instantiation: temporal_filter_sse4.c:update_frame_indexes Unexecuted instantiation: highbd_temporal_filter_sse4.c:update_frame_indexes Unexecuted instantiation: vp9_pred_common.c:update_frame_indexes Unexecuted instantiation: vp9_mvref_common.c:update_frame_indexes |
285 | | |
286 | | typedef struct { |
287 | | int frame_width; |
288 | | int frame_height; |
289 | | int render_frame_width; |
290 | | int render_frame_height; |
291 | | int mi_rows; |
292 | | int mi_cols; |
293 | | int mb_rows; |
294 | | int mb_cols; |
295 | | int num_mbs; |
296 | | vpx_bit_depth_t bit_depth; |
297 | | } FRAME_INFO; |
298 | | |
299 | | static INLINE void init_frame_info(FRAME_INFO *frame_info, |
300 | 0 | const VP9_COMMON *cm) { |
301 | 0 | frame_info->frame_width = cm->width; |
302 | 0 | frame_info->frame_height = cm->height; |
303 | 0 | frame_info->render_frame_width = cm->render_width; |
304 | 0 | frame_info->render_frame_height = cm->render_height; |
305 | 0 | frame_info->mi_cols = cm->mi_cols; |
306 | 0 | frame_info->mi_rows = cm->mi_rows; |
307 | 0 | frame_info->mb_cols = cm->mb_cols; |
308 | 0 | frame_info->mb_rows = cm->mb_rows; |
309 | 0 | frame_info->num_mbs = cm->MBs; |
310 | 0 | frame_info->bit_depth = cm->bit_depth; |
311 | 0 | // TODO(angiebird): Figure out how to get subsampling_x/y here |
312 | 0 | } Unexecuted instantiation: vp9_cx_iface.c:init_frame_info Unexecuted instantiation: vp9_firstpass.c:init_frame_info Unexecuted instantiation: vp9_mcomp.c:init_frame_info Unexecuted instantiation: vp9_encoder.c:init_frame_info Unexecuted instantiation: vp9_picklpf.c:init_frame_info Unexecuted instantiation: vp9_quantize.c:init_frame_info Unexecuted instantiation: vp9_ratectrl.c:init_frame_info Unexecuted instantiation: vp9_rd.c:init_frame_info Unexecuted instantiation: vp9_segmentation.c:init_frame_info Unexecuted instantiation: vp9_speed_features.c:init_frame_info Unexecuted instantiation: vp9_svc_layercontext.c:init_frame_info Unexecuted instantiation: vp9_tokenize.c:init_frame_info Unexecuted instantiation: vp9_aq_variance.c:init_frame_info Unexecuted instantiation: vp9_aq_360.c:init_frame_info Unexecuted instantiation: vp9_aq_cyclicrefresh.c:init_frame_info Unexecuted instantiation: vp9_aq_complexity.c:init_frame_info Unexecuted instantiation: vp9_alt_ref_aq.c:init_frame_info Unexecuted instantiation: vp9_skin_detection.c:init_frame_info Unexecuted instantiation: vp9_noise_estimate.c:init_frame_info Unexecuted instantiation: vp9_ext_ratectrl.c:init_frame_info Unexecuted instantiation: vp9_temporal_filter.c:init_frame_info Unexecuted instantiation: vp9_tpl_model.c:init_frame_info Unexecuted instantiation: vp9_mbgraph.c:init_frame_info Unexecuted instantiation: yv12config.c:init_frame_info Unexecuted instantiation: vp9_alloccommon.c:init_frame_info Unexecuted instantiation: vp9_entropy.c:init_frame_info Unexecuted instantiation: vp9_entropymode.c:init_frame_info Unexecuted instantiation: vp9_entropymv.c:init_frame_info Unexecuted instantiation: vp9_tile_common.c:init_frame_info Unexecuted instantiation: vp9_loopfilter.c:init_frame_info Unexecuted instantiation: vp9_thread_common.c:init_frame_info Unexecuted instantiation: vp9_reconinter.c:init_frame_info Unexecuted instantiation: vp9_reconintra.c:init_frame_info Unexecuted instantiation: vp9_bitstream.c:init_frame_info Unexecuted instantiation: vp9_context_tree.c:init_frame_info Unexecuted instantiation: vp9_encodeframe.c:init_frame_info Unexecuted instantiation: vp9_encodemb.c:init_frame_info Unexecuted instantiation: vp9_encodemv.c:init_frame_info Unexecuted instantiation: vp9_ethread.c:init_frame_info Unexecuted instantiation: vp9_frame_scale.c:init_frame_info Unexecuted instantiation: vp9_lookahead.c:init_frame_info Unexecuted instantiation: vp9_multi_thread.c:init_frame_info Unexecuted instantiation: vp9_rdopt.c:init_frame_info Unexecuted instantiation: vp9_pickmode.c:init_frame_info Unexecuted instantiation: temporal_filter_sse4.c:init_frame_info Unexecuted instantiation: highbd_temporal_filter_sse4.c:init_frame_info Unexecuted instantiation: vp9_pred_common.c:init_frame_info Unexecuted instantiation: vp9_mvref_common.c:init_frame_info |
313 | | |
314 | 0 | static INLINE YV12_BUFFER_CONFIG *get_buf_frame(VP9_COMMON *cm, int index) { |
315 | 0 | if (index < 0 || index >= FRAME_BUFFERS) return NULL; |
316 | 0 | if (cm->error.error_code != VPX_CODEC_OK) return NULL; |
317 | 0 | return &cm->buffer_pool->frame_bufs[index].buf; |
318 | 0 | } Unexecuted instantiation: vp9_cx_iface.c:get_buf_frame Unexecuted instantiation: vp9_firstpass.c:get_buf_frame Unexecuted instantiation: vp9_mcomp.c:get_buf_frame Unexecuted instantiation: vp9_encoder.c:get_buf_frame Unexecuted instantiation: vp9_picklpf.c:get_buf_frame Unexecuted instantiation: vp9_quantize.c:get_buf_frame Unexecuted instantiation: vp9_ratectrl.c:get_buf_frame Unexecuted instantiation: vp9_rd.c:get_buf_frame Unexecuted instantiation: vp9_segmentation.c:get_buf_frame Unexecuted instantiation: vp9_speed_features.c:get_buf_frame Unexecuted instantiation: vp9_svc_layercontext.c:get_buf_frame Unexecuted instantiation: vp9_tokenize.c:get_buf_frame Unexecuted instantiation: vp9_aq_variance.c:get_buf_frame Unexecuted instantiation: vp9_aq_360.c:get_buf_frame Unexecuted instantiation: vp9_aq_cyclicrefresh.c:get_buf_frame Unexecuted instantiation: vp9_aq_complexity.c:get_buf_frame Unexecuted instantiation: vp9_alt_ref_aq.c:get_buf_frame Unexecuted instantiation: vp9_skin_detection.c:get_buf_frame Unexecuted instantiation: vp9_noise_estimate.c:get_buf_frame Unexecuted instantiation: vp9_ext_ratectrl.c:get_buf_frame Unexecuted instantiation: vp9_temporal_filter.c:get_buf_frame Unexecuted instantiation: vp9_tpl_model.c:get_buf_frame Unexecuted instantiation: vp9_mbgraph.c:get_buf_frame Unexecuted instantiation: yv12config.c:get_buf_frame Unexecuted instantiation: vp9_alloccommon.c:get_buf_frame Unexecuted instantiation: vp9_entropy.c:get_buf_frame Unexecuted instantiation: vp9_entropymode.c:get_buf_frame Unexecuted instantiation: vp9_entropymv.c:get_buf_frame Unexecuted instantiation: vp9_tile_common.c:get_buf_frame Unexecuted instantiation: vp9_loopfilter.c:get_buf_frame Unexecuted instantiation: vp9_thread_common.c:get_buf_frame Unexecuted instantiation: vp9_reconinter.c:get_buf_frame Unexecuted instantiation: vp9_reconintra.c:get_buf_frame Unexecuted instantiation: vp9_bitstream.c:get_buf_frame Unexecuted instantiation: vp9_context_tree.c:get_buf_frame Unexecuted instantiation: vp9_encodeframe.c:get_buf_frame Unexecuted instantiation: vp9_encodemb.c:get_buf_frame Unexecuted instantiation: vp9_encodemv.c:get_buf_frame Unexecuted instantiation: vp9_ethread.c:get_buf_frame Unexecuted instantiation: vp9_frame_scale.c:get_buf_frame Unexecuted instantiation: vp9_lookahead.c:get_buf_frame Unexecuted instantiation: vp9_multi_thread.c:get_buf_frame Unexecuted instantiation: vp9_rdopt.c:get_buf_frame Unexecuted instantiation: vp9_pickmode.c:get_buf_frame Unexecuted instantiation: temporal_filter_sse4.c:get_buf_frame Unexecuted instantiation: highbd_temporal_filter_sse4.c:get_buf_frame Unexecuted instantiation: vp9_pred_common.c:get_buf_frame Unexecuted instantiation: vp9_mvref_common.c:get_buf_frame |
319 | | |
320 | 0 | static INLINE YV12_BUFFER_CONFIG *get_ref_frame(VP9_COMMON *cm, int index) { |
321 | 0 | if (index < 0 || index >= REF_FRAMES) return NULL; |
322 | 0 | if (cm->ref_frame_map[index] < 0) return NULL; |
323 | 0 | assert(cm->ref_frame_map[index] < FRAME_BUFFERS); |
324 | 0 | return &cm->buffer_pool->frame_bufs[cm->ref_frame_map[index]].buf; |
325 | 0 | } Unexecuted instantiation: vp9_cx_iface.c:get_ref_frame Unexecuted instantiation: vp9_firstpass.c:get_ref_frame Unexecuted instantiation: vp9_mcomp.c:get_ref_frame Unexecuted instantiation: vp9_encoder.c:get_ref_frame Unexecuted instantiation: vp9_picklpf.c:get_ref_frame Unexecuted instantiation: vp9_quantize.c:get_ref_frame Unexecuted instantiation: vp9_ratectrl.c:get_ref_frame Unexecuted instantiation: vp9_rd.c:get_ref_frame Unexecuted instantiation: vp9_segmentation.c:get_ref_frame Unexecuted instantiation: vp9_speed_features.c:get_ref_frame Unexecuted instantiation: vp9_svc_layercontext.c:get_ref_frame Unexecuted instantiation: vp9_tokenize.c:get_ref_frame Unexecuted instantiation: vp9_aq_variance.c:get_ref_frame Unexecuted instantiation: vp9_aq_360.c:get_ref_frame Unexecuted instantiation: vp9_aq_cyclicrefresh.c:get_ref_frame Unexecuted instantiation: vp9_aq_complexity.c:get_ref_frame Unexecuted instantiation: vp9_alt_ref_aq.c:get_ref_frame Unexecuted instantiation: vp9_skin_detection.c:get_ref_frame Unexecuted instantiation: vp9_noise_estimate.c:get_ref_frame Unexecuted instantiation: vp9_ext_ratectrl.c:get_ref_frame Unexecuted instantiation: vp9_temporal_filter.c:get_ref_frame Unexecuted instantiation: vp9_tpl_model.c:get_ref_frame Unexecuted instantiation: vp9_mbgraph.c:get_ref_frame Unexecuted instantiation: yv12config.c:get_ref_frame Unexecuted instantiation: vp9_alloccommon.c:get_ref_frame Unexecuted instantiation: vp9_entropy.c:get_ref_frame Unexecuted instantiation: vp9_entropymode.c:get_ref_frame Unexecuted instantiation: vp9_entropymv.c:get_ref_frame Unexecuted instantiation: vp9_tile_common.c:get_ref_frame Unexecuted instantiation: vp9_loopfilter.c:get_ref_frame Unexecuted instantiation: vp9_thread_common.c:get_ref_frame Unexecuted instantiation: vp9_reconinter.c:get_ref_frame Unexecuted instantiation: vp9_reconintra.c:get_ref_frame Unexecuted instantiation: vp9_bitstream.c:get_ref_frame Unexecuted instantiation: vp9_context_tree.c:get_ref_frame Unexecuted instantiation: vp9_encodeframe.c:get_ref_frame Unexecuted instantiation: vp9_encodemb.c:get_ref_frame Unexecuted instantiation: vp9_encodemv.c:get_ref_frame Unexecuted instantiation: vp9_ethread.c:get_ref_frame Unexecuted instantiation: vp9_frame_scale.c:get_ref_frame Unexecuted instantiation: vp9_lookahead.c:get_ref_frame Unexecuted instantiation: vp9_multi_thread.c:get_ref_frame Unexecuted instantiation: vp9_rdopt.c:get_ref_frame Unexecuted instantiation: vp9_pickmode.c:get_ref_frame Unexecuted instantiation: temporal_filter_sse4.c:get_ref_frame Unexecuted instantiation: highbd_temporal_filter_sse4.c:get_ref_frame Unexecuted instantiation: vp9_pred_common.c:get_ref_frame Unexecuted instantiation: vp9_mvref_common.c:get_ref_frame |
326 | | |
327 | 19.1M | static INLINE YV12_BUFFER_CONFIG *get_frame_new_buffer(VP9_COMMON *cm) { |
328 | 19.1M | return &cm->buffer_pool->frame_bufs[cm->new_fb_idx].buf; |
329 | 19.1M | } Unexecuted instantiation: vp9_cx_iface.c:get_frame_new_buffer Unexecuted instantiation: vp9_firstpass.c:get_frame_new_buffer Unexecuted instantiation: vp9_mcomp.c:get_frame_new_buffer vp9_encoder.c:get_frame_new_buffer Line | Count | Source | 327 | 84.5k | static INLINE YV12_BUFFER_CONFIG *get_frame_new_buffer(VP9_COMMON *cm) { | 328 | 84.5k | return &cm->buffer_pool->frame_bufs[cm->new_fb_idx].buf; | 329 | 84.5k | } |
Unexecuted instantiation: vp9_picklpf.c:get_frame_new_buffer Unexecuted instantiation: vp9_quantize.c:get_frame_new_buffer Unexecuted instantiation: vp9_ratectrl.c:get_frame_new_buffer Unexecuted instantiation: vp9_rd.c:get_frame_new_buffer Unexecuted instantiation: vp9_segmentation.c:get_frame_new_buffer Unexecuted instantiation: vp9_speed_features.c:get_frame_new_buffer Unexecuted instantiation: vp9_svc_layercontext.c:get_frame_new_buffer Unexecuted instantiation: vp9_tokenize.c:get_frame_new_buffer Unexecuted instantiation: vp9_aq_variance.c:get_frame_new_buffer Unexecuted instantiation: vp9_aq_360.c:get_frame_new_buffer Unexecuted instantiation: vp9_aq_cyclicrefresh.c:get_frame_new_buffer Unexecuted instantiation: vp9_aq_complexity.c:get_frame_new_buffer Unexecuted instantiation: vp9_alt_ref_aq.c:get_frame_new_buffer Unexecuted instantiation: vp9_skin_detection.c:get_frame_new_buffer Unexecuted instantiation: vp9_noise_estimate.c:get_frame_new_buffer Unexecuted instantiation: vp9_ext_ratectrl.c:get_frame_new_buffer Unexecuted instantiation: vp9_temporal_filter.c:get_frame_new_buffer Unexecuted instantiation: vp9_tpl_model.c:get_frame_new_buffer Unexecuted instantiation: vp9_mbgraph.c:get_frame_new_buffer Unexecuted instantiation: yv12config.c:get_frame_new_buffer Unexecuted instantiation: vp9_alloccommon.c:get_frame_new_buffer Unexecuted instantiation: vp9_entropy.c:get_frame_new_buffer Unexecuted instantiation: vp9_entropymode.c:get_frame_new_buffer Unexecuted instantiation: vp9_entropymv.c:get_frame_new_buffer Unexecuted instantiation: vp9_tile_common.c:get_frame_new_buffer Unexecuted instantiation: vp9_loopfilter.c:get_frame_new_buffer Unexecuted instantiation: vp9_thread_common.c:get_frame_new_buffer Unexecuted instantiation: vp9_reconinter.c:get_frame_new_buffer Unexecuted instantiation: vp9_reconintra.c:get_frame_new_buffer Unexecuted instantiation: vp9_bitstream.c:get_frame_new_buffer Unexecuted instantiation: vp9_context_tree.c:get_frame_new_buffer vp9_encodeframe.c:get_frame_new_buffer Line | Count | Source | 327 | 19.0M | static INLINE YV12_BUFFER_CONFIG *get_frame_new_buffer(VP9_COMMON *cm) { | 328 | 19.0M | return &cm->buffer_pool->frame_bufs[cm->new_fb_idx].buf; | 329 | 19.0M | } |
Unexecuted instantiation: vp9_encodemb.c:get_frame_new_buffer Unexecuted instantiation: vp9_encodemv.c:get_frame_new_buffer Unexecuted instantiation: vp9_ethread.c:get_frame_new_buffer Unexecuted instantiation: vp9_frame_scale.c:get_frame_new_buffer Unexecuted instantiation: vp9_lookahead.c:get_frame_new_buffer Unexecuted instantiation: vp9_multi_thread.c:get_frame_new_buffer Unexecuted instantiation: vp9_rdopt.c:get_frame_new_buffer Unexecuted instantiation: vp9_pickmode.c:get_frame_new_buffer Unexecuted instantiation: temporal_filter_sse4.c:get_frame_new_buffer Unexecuted instantiation: highbd_temporal_filter_sse4.c:get_frame_new_buffer Unexecuted instantiation: vp9_pred_common.c:get_frame_new_buffer Unexecuted instantiation: vp9_mvref_common.c:get_frame_new_buffer |
330 | | |
331 | 42.2k | static INLINE int get_free_fb(VP9_COMMON *cm) { |
332 | 42.2k | RefCntBuffer *const frame_bufs = cm->buffer_pool->frame_bufs; |
333 | 42.2k | int i; |
334 | | |
335 | 102k | for (i = 0; i < FRAME_BUFFERS; ++i) |
336 | 102k | if (frame_bufs[i].ref_count == 0) break; |
337 | | |
338 | 42.2k | if (i != FRAME_BUFFERS) { |
339 | 42.2k | frame_bufs[i].ref_count = 1; |
340 | 42.2k | } else { |
341 | | // Reset i to be INVALID_IDX to indicate no free buffer found. |
342 | 0 | i = INVALID_IDX; |
343 | 0 | } |
344 | | |
345 | 42.2k | return i; |
346 | 42.2k | } Unexecuted instantiation: vp9_cx_iface.c:get_free_fb Unexecuted instantiation: vp9_firstpass.c:get_free_fb Unexecuted instantiation: vp9_mcomp.c:get_free_fb vp9_encoder.c:get_free_fb Line | Count | Source | 331 | 42.2k | static INLINE int get_free_fb(VP9_COMMON *cm) { | 332 | 42.2k | RefCntBuffer *const frame_bufs = cm->buffer_pool->frame_bufs; | 333 | 42.2k | int i; | 334 | | | 335 | 102k | for (i = 0; i < FRAME_BUFFERS; ++i) | 336 | 102k | if (frame_bufs[i].ref_count == 0) break; | 337 | | | 338 | 42.2k | if (i != FRAME_BUFFERS) { | 339 | 42.2k | frame_bufs[i].ref_count = 1; | 340 | 42.2k | } else { | 341 | | // Reset i to be INVALID_IDX to indicate no free buffer found. | 342 | 0 | i = INVALID_IDX; | 343 | 0 | } | 344 | | | 345 | 42.2k | return i; | 346 | 42.2k | } |
Unexecuted instantiation: vp9_picklpf.c:get_free_fb Unexecuted instantiation: vp9_quantize.c:get_free_fb Unexecuted instantiation: vp9_ratectrl.c:get_free_fb Unexecuted instantiation: vp9_rd.c:get_free_fb Unexecuted instantiation: vp9_segmentation.c:get_free_fb Unexecuted instantiation: vp9_speed_features.c:get_free_fb Unexecuted instantiation: vp9_svc_layercontext.c:get_free_fb Unexecuted instantiation: vp9_tokenize.c:get_free_fb Unexecuted instantiation: vp9_aq_variance.c:get_free_fb Unexecuted instantiation: vp9_aq_360.c:get_free_fb Unexecuted instantiation: vp9_aq_cyclicrefresh.c:get_free_fb Unexecuted instantiation: vp9_aq_complexity.c:get_free_fb Unexecuted instantiation: vp9_alt_ref_aq.c:get_free_fb Unexecuted instantiation: vp9_skin_detection.c:get_free_fb Unexecuted instantiation: vp9_noise_estimate.c:get_free_fb Unexecuted instantiation: vp9_ext_ratectrl.c:get_free_fb Unexecuted instantiation: vp9_temporal_filter.c:get_free_fb Unexecuted instantiation: vp9_tpl_model.c:get_free_fb Unexecuted instantiation: vp9_mbgraph.c:get_free_fb Unexecuted instantiation: yv12config.c:get_free_fb Unexecuted instantiation: vp9_alloccommon.c:get_free_fb Unexecuted instantiation: vp9_entropy.c:get_free_fb Unexecuted instantiation: vp9_entropymode.c:get_free_fb Unexecuted instantiation: vp9_entropymv.c:get_free_fb Unexecuted instantiation: vp9_tile_common.c:get_free_fb Unexecuted instantiation: vp9_loopfilter.c:get_free_fb Unexecuted instantiation: vp9_thread_common.c:get_free_fb Unexecuted instantiation: vp9_reconinter.c:get_free_fb Unexecuted instantiation: vp9_reconintra.c:get_free_fb Unexecuted instantiation: vp9_bitstream.c:get_free_fb Unexecuted instantiation: vp9_context_tree.c:get_free_fb Unexecuted instantiation: vp9_encodeframe.c:get_free_fb Unexecuted instantiation: vp9_encodemb.c:get_free_fb Unexecuted instantiation: vp9_encodemv.c:get_free_fb Unexecuted instantiation: vp9_ethread.c:get_free_fb Unexecuted instantiation: vp9_frame_scale.c:get_free_fb Unexecuted instantiation: vp9_lookahead.c:get_free_fb Unexecuted instantiation: vp9_multi_thread.c:get_free_fb Unexecuted instantiation: vp9_rdopt.c:get_free_fb Unexecuted instantiation: vp9_pickmode.c:get_free_fb Unexecuted instantiation: temporal_filter_sse4.c:get_free_fb Unexecuted instantiation: highbd_temporal_filter_sse4.c:get_free_fb Unexecuted instantiation: vp9_pred_common.c:get_free_fb Unexecuted instantiation: vp9_mvref_common.c:get_free_fb |
347 | | |
348 | 60.0k | static INLINE void ref_cnt_fb(RefCntBuffer *bufs, int *idx, int new_idx) { |
349 | 60.0k | const int ref_index = *idx; |
350 | | |
351 | 60.0k | if (ref_index >= 0 && bufs[ref_index].ref_count > 0) |
352 | 51.3k | bufs[ref_index].ref_count--; |
353 | | |
354 | 60.0k | *idx = new_idx; |
355 | | |
356 | 60.0k | bufs[new_idx].ref_count++; |
357 | 60.0k | } Unexecuted instantiation: vp9_cx_iface.c:ref_cnt_fb Unexecuted instantiation: vp9_firstpass.c:ref_cnt_fb Unexecuted instantiation: vp9_mcomp.c:ref_cnt_fb Line | Count | Source | 348 | 60.0k | static INLINE void ref_cnt_fb(RefCntBuffer *bufs, int *idx, int new_idx) { | 349 | 60.0k | const int ref_index = *idx; | 350 | | | 351 | 60.0k | if (ref_index >= 0 && bufs[ref_index].ref_count > 0) | 352 | 51.3k | bufs[ref_index].ref_count--; | 353 | | | 354 | 60.0k | *idx = new_idx; | 355 | | | 356 | 60.0k | bufs[new_idx].ref_count++; | 357 | 60.0k | } |
Unexecuted instantiation: vp9_picklpf.c:ref_cnt_fb Unexecuted instantiation: vp9_quantize.c:ref_cnt_fb Unexecuted instantiation: vp9_ratectrl.c:ref_cnt_fb Unexecuted instantiation: vp9_rd.c:ref_cnt_fb Unexecuted instantiation: vp9_segmentation.c:ref_cnt_fb Unexecuted instantiation: vp9_speed_features.c:ref_cnt_fb Unexecuted instantiation: vp9_svc_layercontext.c:ref_cnt_fb Unexecuted instantiation: vp9_tokenize.c:ref_cnt_fb Unexecuted instantiation: vp9_aq_variance.c:ref_cnt_fb Unexecuted instantiation: vp9_aq_360.c:ref_cnt_fb Unexecuted instantiation: vp9_aq_cyclicrefresh.c:ref_cnt_fb Unexecuted instantiation: vp9_aq_complexity.c:ref_cnt_fb Unexecuted instantiation: vp9_alt_ref_aq.c:ref_cnt_fb Unexecuted instantiation: vp9_skin_detection.c:ref_cnt_fb Unexecuted instantiation: vp9_noise_estimate.c:ref_cnt_fb Unexecuted instantiation: vp9_ext_ratectrl.c:ref_cnt_fb Unexecuted instantiation: vp9_temporal_filter.c:ref_cnt_fb Unexecuted instantiation: vp9_tpl_model.c:ref_cnt_fb Unexecuted instantiation: vp9_mbgraph.c:ref_cnt_fb Unexecuted instantiation: yv12config.c:ref_cnt_fb Unexecuted instantiation: vp9_alloccommon.c:ref_cnt_fb Unexecuted instantiation: vp9_entropy.c:ref_cnt_fb Unexecuted instantiation: vp9_entropymode.c:ref_cnt_fb Unexecuted instantiation: vp9_entropymv.c:ref_cnt_fb Unexecuted instantiation: vp9_tile_common.c:ref_cnt_fb Unexecuted instantiation: vp9_loopfilter.c:ref_cnt_fb Unexecuted instantiation: vp9_thread_common.c:ref_cnt_fb Unexecuted instantiation: vp9_reconinter.c:ref_cnt_fb Unexecuted instantiation: vp9_reconintra.c:ref_cnt_fb Unexecuted instantiation: vp9_bitstream.c:ref_cnt_fb Unexecuted instantiation: vp9_context_tree.c:ref_cnt_fb Unexecuted instantiation: vp9_encodeframe.c:ref_cnt_fb Unexecuted instantiation: vp9_encodemb.c:ref_cnt_fb Unexecuted instantiation: vp9_encodemv.c:ref_cnt_fb Unexecuted instantiation: vp9_ethread.c:ref_cnt_fb Unexecuted instantiation: vp9_frame_scale.c:ref_cnt_fb Unexecuted instantiation: vp9_lookahead.c:ref_cnt_fb Unexecuted instantiation: vp9_multi_thread.c:ref_cnt_fb Unexecuted instantiation: vp9_rdopt.c:ref_cnt_fb Unexecuted instantiation: vp9_pickmode.c:ref_cnt_fb Unexecuted instantiation: temporal_filter_sse4.c:ref_cnt_fb Unexecuted instantiation: highbd_temporal_filter_sse4.c:ref_cnt_fb Unexecuted instantiation: vp9_pred_common.c:ref_cnt_fb Unexecuted instantiation: vp9_mvref_common.c:ref_cnt_fb |
358 | | |
359 | 559k | static INLINE int mi_cols_aligned_to_sb(int n_mis) { |
360 | 559k | return ALIGN_POWER_OF_TWO(n_mis, MI_BLOCK_SIZE_LOG2); |
361 | 559k | } Unexecuted instantiation: vp9_cx_iface.c:mi_cols_aligned_to_sb Unexecuted instantiation: vp9_firstpass.c:mi_cols_aligned_to_sb Unexecuted instantiation: vp9_mcomp.c:mi_cols_aligned_to_sb vp9_encoder.c:mi_cols_aligned_to_sb Line | Count | Source | 359 | 85.7k | static INLINE int mi_cols_aligned_to_sb(int n_mis) { | 360 | 85.7k | return ALIGN_POWER_OF_TWO(n_mis, MI_BLOCK_SIZE_LOG2); | 361 | 85.7k | } |
Unexecuted instantiation: vp9_picklpf.c:mi_cols_aligned_to_sb Unexecuted instantiation: vp9_quantize.c:mi_cols_aligned_to_sb Unexecuted instantiation: vp9_ratectrl.c:mi_cols_aligned_to_sb Unexecuted instantiation: vp9_rd.c:mi_cols_aligned_to_sb Unexecuted instantiation: vp9_segmentation.c:mi_cols_aligned_to_sb Unexecuted instantiation: vp9_speed_features.c:mi_cols_aligned_to_sb Unexecuted instantiation: vp9_svc_layercontext.c:mi_cols_aligned_to_sb Unexecuted instantiation: vp9_tokenize.c:mi_cols_aligned_to_sb Unexecuted instantiation: vp9_aq_variance.c:mi_cols_aligned_to_sb Unexecuted instantiation: vp9_aq_360.c:mi_cols_aligned_to_sb Unexecuted instantiation: vp9_aq_cyclicrefresh.c:mi_cols_aligned_to_sb Unexecuted instantiation: vp9_aq_complexity.c:mi_cols_aligned_to_sb Unexecuted instantiation: vp9_alt_ref_aq.c:mi_cols_aligned_to_sb Unexecuted instantiation: vp9_skin_detection.c:mi_cols_aligned_to_sb Unexecuted instantiation: vp9_noise_estimate.c:mi_cols_aligned_to_sb Unexecuted instantiation: vp9_ext_ratectrl.c:mi_cols_aligned_to_sb Unexecuted instantiation: vp9_temporal_filter.c:mi_cols_aligned_to_sb Unexecuted instantiation: vp9_tpl_model.c:mi_cols_aligned_to_sb Unexecuted instantiation: vp9_mbgraph.c:mi_cols_aligned_to_sb Unexecuted instantiation: yv12config.c:mi_cols_aligned_to_sb vp9_alloccommon.c:mi_cols_aligned_to_sb Line | Count | Source | 359 | 5.96k | static INLINE int mi_cols_aligned_to_sb(int n_mis) { | 360 | 5.96k | return ALIGN_POWER_OF_TWO(n_mis, MI_BLOCK_SIZE_LOG2); | 361 | 5.96k | } |
Unexecuted instantiation: vp9_entropy.c:mi_cols_aligned_to_sb Unexecuted instantiation: vp9_entropymode.c:mi_cols_aligned_to_sb Unexecuted instantiation: vp9_entropymv.c:mi_cols_aligned_to_sb vp9_tile_common.c:mi_cols_aligned_to_sb Line | Count | Source | 359 | 272k | static INLINE int mi_cols_aligned_to_sb(int n_mis) { | 360 | 272k | return ALIGN_POWER_OF_TWO(n_mis, MI_BLOCK_SIZE_LOG2); | 361 | 272k | } |
Unexecuted instantiation: vp9_loopfilter.c:mi_cols_aligned_to_sb Unexecuted instantiation: vp9_thread_common.c:mi_cols_aligned_to_sb Unexecuted instantiation: vp9_reconinter.c:mi_cols_aligned_to_sb Unexecuted instantiation: vp9_reconintra.c:mi_cols_aligned_to_sb vp9_bitstream.c:mi_cols_aligned_to_sb Line | Count | Source | 359 | 97.6k | static INLINE int mi_cols_aligned_to_sb(int n_mis) { | 360 | 97.6k | return ALIGN_POWER_OF_TWO(n_mis, MI_BLOCK_SIZE_LOG2); | 361 | 97.6k | } |
Unexecuted instantiation: vp9_context_tree.c:mi_cols_aligned_to_sb vp9_encodeframe.c:mi_cols_aligned_to_sb Line | Count | Source | 359 | 97.6k | static INLINE int mi_cols_aligned_to_sb(int n_mis) { | 360 | 97.6k | return ALIGN_POWER_OF_TWO(n_mis, MI_BLOCK_SIZE_LOG2); | 361 | 97.6k | } |
Unexecuted instantiation: vp9_encodemb.c:mi_cols_aligned_to_sb Unexecuted instantiation: vp9_encodemv.c:mi_cols_aligned_to_sb Unexecuted instantiation: vp9_ethread.c:mi_cols_aligned_to_sb Unexecuted instantiation: vp9_frame_scale.c:mi_cols_aligned_to_sb Unexecuted instantiation: vp9_lookahead.c:mi_cols_aligned_to_sb Unexecuted instantiation: vp9_multi_thread.c:mi_cols_aligned_to_sb Unexecuted instantiation: vp9_rdopt.c:mi_cols_aligned_to_sb Unexecuted instantiation: vp9_pickmode.c:mi_cols_aligned_to_sb Unexecuted instantiation: temporal_filter_sse4.c:mi_cols_aligned_to_sb Unexecuted instantiation: highbd_temporal_filter_sse4.c:mi_cols_aligned_to_sb Unexecuted instantiation: vp9_pred_common.c:mi_cols_aligned_to_sb Unexecuted instantiation: vp9_mvref_common.c:mi_cols_aligned_to_sb |
362 | | |
363 | 20.4M | static INLINE int frame_is_intra_only(const VP9_COMMON *const cm) { |
364 | 20.4M | return cm->frame_type == KEY_FRAME || cm->intra_only; |
365 | 20.4M | } Unexecuted instantiation: vp9_cx_iface.c:frame_is_intra_only Unexecuted instantiation: vp9_firstpass.c:frame_is_intra_only Unexecuted instantiation: vp9_mcomp.c:frame_is_intra_only vp9_encoder.c:frame_is_intra_only Line | Count | Source | 363 | 448k | static INLINE int frame_is_intra_only(const VP9_COMMON *const cm) { | 364 | 448k | return cm->frame_type == KEY_FRAME || cm->intra_only; | 365 | 448k | } |
Unexecuted instantiation: vp9_picklpf.c:frame_is_intra_only Unexecuted instantiation: vp9_quantize.c:frame_is_intra_only vp9_ratectrl.c:frame_is_intra_only Line | Count | Source | 363 | 426k | static INLINE int frame_is_intra_only(const VP9_COMMON *const cm) { | 364 | 426k | return cm->frame_type == KEY_FRAME || cm->intra_only; | 365 | 426k | } |
vp9_rd.c:frame_is_intra_only Line | Count | Source | 363 | 84.5k | static INLINE int frame_is_intra_only(const VP9_COMMON *const cm) { | 364 | 84.5k | return cm->frame_type == KEY_FRAME || cm->intra_only; | 365 | 84.5k | } |
Unexecuted instantiation: vp9_segmentation.c:frame_is_intra_only vp9_speed_features.c:frame_is_intra_only Line | Count | Source | 363 | 110k | static INLINE int frame_is_intra_only(const VP9_COMMON *const cm) { | 364 | 110k | return cm->frame_type == KEY_FRAME || cm->intra_only; | 365 | 110k | } |
Unexecuted instantiation: vp9_svc_layercontext.c:frame_is_intra_only Unexecuted instantiation: vp9_tokenize.c:frame_is_intra_only Unexecuted instantiation: vp9_aq_variance.c:frame_is_intra_only Unexecuted instantiation: vp9_aq_360.c:frame_is_intra_only Unexecuted instantiation: vp9_aq_cyclicrefresh.c:frame_is_intra_only Unexecuted instantiation: vp9_aq_complexity.c:frame_is_intra_only Unexecuted instantiation: vp9_alt_ref_aq.c:frame_is_intra_only Unexecuted instantiation: vp9_skin_detection.c:frame_is_intra_only Unexecuted instantiation: vp9_noise_estimate.c:frame_is_intra_only Unexecuted instantiation: vp9_ext_ratectrl.c:frame_is_intra_only Unexecuted instantiation: vp9_temporal_filter.c:frame_is_intra_only Unexecuted instantiation: vp9_tpl_model.c:frame_is_intra_only Unexecuted instantiation: vp9_mbgraph.c:frame_is_intra_only Unexecuted instantiation: yv12config.c:frame_is_intra_only Unexecuted instantiation: vp9_alloccommon.c:frame_is_intra_only Unexecuted instantiation: vp9_entropy.c:frame_is_intra_only vp9_entropymode.c:frame_is_intra_only Line | Count | Source | 363 | 7.75k | static INLINE int frame_is_intra_only(const VP9_COMMON *const cm) { | 364 | 7.75k | return cm->frame_type == KEY_FRAME || cm->intra_only; | 365 | 7.75k | } |
Unexecuted instantiation: vp9_entropymv.c:frame_is_intra_only Unexecuted instantiation: vp9_tile_common.c:frame_is_intra_only Unexecuted instantiation: vp9_loopfilter.c:frame_is_intra_only Unexecuted instantiation: vp9_thread_common.c:frame_is_intra_only Unexecuted instantiation: vp9_reconinter.c:frame_is_intra_only Unexecuted instantiation: vp9_reconintra.c:frame_is_intra_only vp9_bitstream.c:frame_is_intra_only Line | Count | Source | 363 | 1.98M | static INLINE int frame_is_intra_only(const VP9_COMMON *const cm) { | 364 | 1.98M | return cm->frame_type == KEY_FRAME || cm->intra_only; | 365 | 1.98M | } |
Unexecuted instantiation: vp9_context_tree.c:frame_is_intra_only vp9_encodeframe.c:frame_is_intra_only Line | Count | Source | 363 | 17.3M | static INLINE int frame_is_intra_only(const VP9_COMMON *const cm) { | 364 | 17.3M | return cm->frame_type == KEY_FRAME || cm->intra_only; | 365 | 17.3M | } |
Unexecuted instantiation: vp9_encodemb.c:frame_is_intra_only Unexecuted instantiation: vp9_encodemv.c:frame_is_intra_only Unexecuted instantiation: vp9_ethread.c:frame_is_intra_only Unexecuted instantiation: vp9_frame_scale.c:frame_is_intra_only Unexecuted instantiation: vp9_lookahead.c:frame_is_intra_only Unexecuted instantiation: vp9_multi_thread.c:frame_is_intra_only Unexecuted instantiation: vp9_rdopt.c:frame_is_intra_only Unexecuted instantiation: vp9_pickmode.c:frame_is_intra_only Unexecuted instantiation: temporal_filter_sse4.c:frame_is_intra_only Unexecuted instantiation: highbd_temporal_filter_sse4.c:frame_is_intra_only Unexecuted instantiation: vp9_pred_common.c:frame_is_intra_only Unexecuted instantiation: vp9_mvref_common.c:frame_is_intra_only |
366 | | |
367 | | static INLINE void set_partition_probs(const VP9_COMMON *const cm, |
368 | 112k | MACROBLOCKD *const xd) { |
369 | 112k | xd->partition_probs = |
370 | 112k | frame_is_intra_only(cm) |
371 | 112k | ? &vp9_kf_partition_probs[0] |
372 | 112k | : (const vpx_prob(*)[PARTITION_TYPES - 1]) cm->fc->partition_prob; |
373 | 112k | } Unexecuted instantiation: vp9_cx_iface.c:set_partition_probs Unexecuted instantiation: vp9_firstpass.c:set_partition_probs Unexecuted instantiation: vp9_mcomp.c:set_partition_probs vp9_encoder.c:set_partition_probs Line | Count | Source | 368 | 25.6k | MACROBLOCKD *const xd) { | 369 | 25.6k | xd->partition_probs = | 370 | 25.6k | frame_is_intra_only(cm) | 371 | 25.6k | ? &vp9_kf_partition_probs[0] | 372 | 25.6k | : (const vpx_prob(*)[PARTITION_TYPES - 1]) cm->fc->partition_prob; | 373 | 25.6k | } |
Unexecuted instantiation: vp9_picklpf.c:set_partition_probs Unexecuted instantiation: vp9_quantize.c:set_partition_probs Unexecuted instantiation: vp9_ratectrl.c:set_partition_probs vp9_rd.c:set_partition_probs Line | Count | Source | 368 | 42.2k | MACROBLOCKD *const xd) { | 369 | 42.2k | xd->partition_probs = | 370 | 42.2k | frame_is_intra_only(cm) | 371 | 42.2k | ? &vp9_kf_partition_probs[0] | 372 | 42.2k | : (const vpx_prob(*)[PARTITION_TYPES - 1]) cm->fc->partition_prob; | 373 | 42.2k | } |
Unexecuted instantiation: vp9_segmentation.c:set_partition_probs Unexecuted instantiation: vp9_speed_features.c:set_partition_probs Unexecuted instantiation: vp9_svc_layercontext.c:set_partition_probs Unexecuted instantiation: vp9_tokenize.c:set_partition_probs Unexecuted instantiation: vp9_aq_variance.c:set_partition_probs Unexecuted instantiation: vp9_aq_360.c:set_partition_probs Unexecuted instantiation: vp9_aq_cyclicrefresh.c:set_partition_probs Unexecuted instantiation: vp9_aq_complexity.c:set_partition_probs Unexecuted instantiation: vp9_alt_ref_aq.c:set_partition_probs Unexecuted instantiation: vp9_skin_detection.c:set_partition_probs Unexecuted instantiation: vp9_noise_estimate.c:set_partition_probs Unexecuted instantiation: vp9_ext_ratectrl.c:set_partition_probs Unexecuted instantiation: vp9_temporal_filter.c:set_partition_probs Unexecuted instantiation: vp9_tpl_model.c:set_partition_probs Unexecuted instantiation: vp9_mbgraph.c:set_partition_probs Unexecuted instantiation: yv12config.c:set_partition_probs Unexecuted instantiation: vp9_alloccommon.c:set_partition_probs Unexecuted instantiation: vp9_entropy.c:set_partition_probs Unexecuted instantiation: vp9_entropymode.c:set_partition_probs Unexecuted instantiation: vp9_entropymv.c:set_partition_probs Unexecuted instantiation: vp9_tile_common.c:set_partition_probs Unexecuted instantiation: vp9_loopfilter.c:set_partition_probs Unexecuted instantiation: vp9_thread_common.c:set_partition_probs Unexecuted instantiation: vp9_reconinter.c:set_partition_probs Unexecuted instantiation: vp9_reconintra.c:set_partition_probs vp9_bitstream.c:set_partition_probs Line | Count | Source | 368 | 44.7k | MACROBLOCKD *const xd) { | 369 | 44.7k | xd->partition_probs = | 370 | 44.7k | frame_is_intra_only(cm) | 371 | 44.7k | ? &vp9_kf_partition_probs[0] | 372 | 44.7k | : (const vpx_prob(*)[PARTITION_TYPES - 1]) cm->fc->partition_prob; | 373 | 44.7k | } |
Unexecuted instantiation: vp9_context_tree.c:set_partition_probs Unexecuted instantiation: vp9_encodeframe.c:set_partition_probs Unexecuted instantiation: vp9_encodemb.c:set_partition_probs Unexecuted instantiation: vp9_encodemv.c:set_partition_probs Unexecuted instantiation: vp9_ethread.c:set_partition_probs Unexecuted instantiation: vp9_frame_scale.c:set_partition_probs Unexecuted instantiation: vp9_lookahead.c:set_partition_probs Unexecuted instantiation: vp9_multi_thread.c:set_partition_probs Unexecuted instantiation: vp9_rdopt.c:set_partition_probs Unexecuted instantiation: vp9_pickmode.c:set_partition_probs Unexecuted instantiation: temporal_filter_sse4.c:set_partition_probs Unexecuted instantiation: highbd_temporal_filter_sse4.c:set_partition_probs Unexecuted instantiation: vp9_pred_common.c:set_partition_probs Unexecuted instantiation: vp9_mvref_common.c:set_partition_probs |
374 | | |
375 | | static INLINE void vp9_init_macroblockd(VP9_COMMON *cm, MACROBLOCKD *xd, |
376 | 25.6k | tran_low_t *dqcoeff) { |
377 | 25.6k | int i; |
378 | | |
379 | 102k | for (i = 0; i < MAX_MB_PLANE; ++i) { |
380 | 77.0k | xd->plane[i].dqcoeff = dqcoeff; |
381 | 77.0k | xd->above_context[i] = |
382 | 77.0k | cm->above_context + |
383 | 77.0k | i * sizeof(*cm->above_context) * 2 * mi_cols_aligned_to_sb(cm->mi_cols); |
384 | | |
385 | 77.0k | if (get_plane_type(i) == PLANE_TYPE_Y) { |
386 | 25.6k | memcpy(xd->plane[i].seg_dequant, cm->y_dequant, sizeof(cm->y_dequant)); |
387 | 51.3k | } else { |
388 | 51.3k | memcpy(xd->plane[i].seg_dequant, cm->uv_dequant, sizeof(cm->uv_dequant)); |
389 | 51.3k | } |
390 | 77.0k | xd->fc = cm->fc; |
391 | 77.0k | } |
392 | | |
393 | 25.6k | xd->above_seg_context = cm->above_seg_context; |
394 | 25.6k | xd->mi_stride = cm->mi_stride; |
395 | 25.6k | xd->error_info = &cm->error; |
396 | | |
397 | 25.6k | set_partition_probs(cm, xd); |
398 | 25.6k | } Unexecuted instantiation: vp9_cx_iface.c:vp9_init_macroblockd Unexecuted instantiation: vp9_firstpass.c:vp9_init_macroblockd Unexecuted instantiation: vp9_mcomp.c:vp9_init_macroblockd vp9_encoder.c:vp9_init_macroblockd Line | Count | Source | 376 | 25.6k | tran_low_t *dqcoeff) { | 377 | 25.6k | int i; | 378 | | | 379 | 102k | for (i = 0; i < MAX_MB_PLANE; ++i) { | 380 | 77.0k | xd->plane[i].dqcoeff = dqcoeff; | 381 | 77.0k | xd->above_context[i] = | 382 | 77.0k | cm->above_context + | 383 | 77.0k | i * sizeof(*cm->above_context) * 2 * mi_cols_aligned_to_sb(cm->mi_cols); | 384 | | | 385 | 77.0k | if (get_plane_type(i) == PLANE_TYPE_Y) { | 386 | 25.6k | memcpy(xd->plane[i].seg_dequant, cm->y_dequant, sizeof(cm->y_dequant)); | 387 | 51.3k | } else { | 388 | 51.3k | memcpy(xd->plane[i].seg_dequant, cm->uv_dequant, sizeof(cm->uv_dequant)); | 389 | 51.3k | } | 390 | 77.0k | xd->fc = cm->fc; | 391 | 77.0k | } | 392 | | | 393 | 25.6k | xd->above_seg_context = cm->above_seg_context; | 394 | 25.6k | xd->mi_stride = cm->mi_stride; | 395 | 25.6k | xd->error_info = &cm->error; | 396 | | | 397 | 25.6k | set_partition_probs(cm, xd); | 398 | 25.6k | } |
Unexecuted instantiation: vp9_picklpf.c:vp9_init_macroblockd Unexecuted instantiation: vp9_quantize.c:vp9_init_macroblockd Unexecuted instantiation: vp9_ratectrl.c:vp9_init_macroblockd Unexecuted instantiation: vp9_rd.c:vp9_init_macroblockd Unexecuted instantiation: vp9_segmentation.c:vp9_init_macroblockd Unexecuted instantiation: vp9_speed_features.c:vp9_init_macroblockd Unexecuted instantiation: vp9_svc_layercontext.c:vp9_init_macroblockd Unexecuted instantiation: vp9_tokenize.c:vp9_init_macroblockd Unexecuted instantiation: vp9_aq_variance.c:vp9_init_macroblockd Unexecuted instantiation: vp9_aq_360.c:vp9_init_macroblockd Unexecuted instantiation: vp9_aq_cyclicrefresh.c:vp9_init_macroblockd Unexecuted instantiation: vp9_aq_complexity.c:vp9_init_macroblockd Unexecuted instantiation: vp9_alt_ref_aq.c:vp9_init_macroblockd Unexecuted instantiation: vp9_skin_detection.c:vp9_init_macroblockd Unexecuted instantiation: vp9_noise_estimate.c:vp9_init_macroblockd Unexecuted instantiation: vp9_ext_ratectrl.c:vp9_init_macroblockd Unexecuted instantiation: vp9_temporal_filter.c:vp9_init_macroblockd Unexecuted instantiation: vp9_tpl_model.c:vp9_init_macroblockd Unexecuted instantiation: vp9_mbgraph.c:vp9_init_macroblockd Unexecuted instantiation: yv12config.c:vp9_init_macroblockd Unexecuted instantiation: vp9_alloccommon.c:vp9_init_macroblockd Unexecuted instantiation: vp9_entropy.c:vp9_init_macroblockd Unexecuted instantiation: vp9_entropymode.c:vp9_init_macroblockd Unexecuted instantiation: vp9_entropymv.c:vp9_init_macroblockd Unexecuted instantiation: vp9_tile_common.c:vp9_init_macroblockd Unexecuted instantiation: vp9_loopfilter.c:vp9_init_macroblockd Unexecuted instantiation: vp9_thread_common.c:vp9_init_macroblockd Unexecuted instantiation: vp9_reconinter.c:vp9_init_macroblockd Unexecuted instantiation: vp9_reconintra.c:vp9_init_macroblockd Unexecuted instantiation: vp9_bitstream.c:vp9_init_macroblockd Unexecuted instantiation: vp9_context_tree.c:vp9_init_macroblockd Unexecuted instantiation: vp9_encodeframe.c:vp9_init_macroblockd Unexecuted instantiation: vp9_encodemb.c:vp9_init_macroblockd Unexecuted instantiation: vp9_encodemv.c:vp9_init_macroblockd Unexecuted instantiation: vp9_ethread.c:vp9_init_macroblockd Unexecuted instantiation: vp9_frame_scale.c:vp9_init_macroblockd Unexecuted instantiation: vp9_lookahead.c:vp9_init_macroblockd Unexecuted instantiation: vp9_multi_thread.c:vp9_init_macroblockd Unexecuted instantiation: vp9_rdopt.c:vp9_init_macroblockd Unexecuted instantiation: vp9_pickmode.c:vp9_init_macroblockd Unexecuted instantiation: temporal_filter_sse4.c:vp9_init_macroblockd Unexecuted instantiation: highbd_temporal_filter_sse4.c:vp9_init_macroblockd Unexecuted instantiation: vp9_pred_common.c:vp9_init_macroblockd Unexecuted instantiation: vp9_mvref_common.c:vp9_init_macroblockd |
399 | | |
400 | | static INLINE const vpx_prob *get_partition_probs(const MACROBLOCKD *xd, |
401 | 676k | int ctx) { |
402 | 676k | return xd->partition_probs[ctx]; |
403 | 676k | } Unexecuted instantiation: vp9_cx_iface.c:get_partition_probs Unexecuted instantiation: vp9_firstpass.c:get_partition_probs Unexecuted instantiation: vp9_mcomp.c:get_partition_probs Unexecuted instantiation: vp9_encoder.c:get_partition_probs Unexecuted instantiation: vp9_picklpf.c:get_partition_probs Unexecuted instantiation: vp9_quantize.c:get_partition_probs Unexecuted instantiation: vp9_ratectrl.c:get_partition_probs vp9_rd.c:get_partition_probs Line | Count | Source | 401 | 676k | int ctx) { | 402 | 676k | return xd->partition_probs[ctx]; | 403 | 676k | } |
Unexecuted instantiation: vp9_segmentation.c:get_partition_probs Unexecuted instantiation: vp9_speed_features.c:get_partition_probs Unexecuted instantiation: vp9_svc_layercontext.c:get_partition_probs Unexecuted instantiation: vp9_tokenize.c:get_partition_probs Unexecuted instantiation: vp9_aq_variance.c:get_partition_probs Unexecuted instantiation: vp9_aq_360.c:get_partition_probs Unexecuted instantiation: vp9_aq_cyclicrefresh.c:get_partition_probs Unexecuted instantiation: vp9_aq_complexity.c:get_partition_probs Unexecuted instantiation: vp9_alt_ref_aq.c:get_partition_probs Unexecuted instantiation: vp9_skin_detection.c:get_partition_probs Unexecuted instantiation: vp9_noise_estimate.c:get_partition_probs Unexecuted instantiation: vp9_ext_ratectrl.c:get_partition_probs Unexecuted instantiation: vp9_temporal_filter.c:get_partition_probs Unexecuted instantiation: vp9_tpl_model.c:get_partition_probs Unexecuted instantiation: vp9_mbgraph.c:get_partition_probs Unexecuted instantiation: yv12config.c:get_partition_probs Unexecuted instantiation: vp9_alloccommon.c:get_partition_probs Unexecuted instantiation: vp9_entropy.c:get_partition_probs Unexecuted instantiation: vp9_entropymode.c:get_partition_probs Unexecuted instantiation: vp9_entropymv.c:get_partition_probs Unexecuted instantiation: vp9_tile_common.c:get_partition_probs Unexecuted instantiation: vp9_loopfilter.c:get_partition_probs Unexecuted instantiation: vp9_thread_common.c:get_partition_probs Unexecuted instantiation: vp9_reconinter.c:get_partition_probs Unexecuted instantiation: vp9_reconintra.c:get_partition_probs Unexecuted instantiation: vp9_bitstream.c:get_partition_probs Unexecuted instantiation: vp9_context_tree.c:get_partition_probs Unexecuted instantiation: vp9_encodeframe.c:get_partition_probs Unexecuted instantiation: vp9_encodemb.c:get_partition_probs Unexecuted instantiation: vp9_encodemv.c:get_partition_probs Unexecuted instantiation: vp9_ethread.c:get_partition_probs Unexecuted instantiation: vp9_frame_scale.c:get_partition_probs Unexecuted instantiation: vp9_lookahead.c:get_partition_probs Unexecuted instantiation: vp9_multi_thread.c:get_partition_probs Unexecuted instantiation: vp9_rdopt.c:get_partition_probs Unexecuted instantiation: vp9_pickmode.c:get_partition_probs Unexecuted instantiation: temporal_filter_sse4.c:get_partition_probs Unexecuted instantiation: highbd_temporal_filter_sse4.c:get_partition_probs Unexecuted instantiation: vp9_pred_common.c:get_partition_probs Unexecuted instantiation: vp9_mvref_common.c:get_partition_probs |
404 | | |
405 | 19.0M | static INLINE void set_skip_context(MACROBLOCKD *xd, int mi_row, int mi_col) { |
406 | 19.0M | const int above_idx = mi_col * 2; |
407 | 19.0M | const int left_idx = (mi_row * 2) & 15; |
408 | 19.0M | int i; |
409 | 76.2M | for (i = 0; i < MAX_MB_PLANE; ++i) { |
410 | 57.2M | struct macroblockd_plane *const pd = &xd->plane[i]; |
411 | 57.2M | pd->above_context = &xd->above_context[i][above_idx >> pd->subsampling_x]; |
412 | 57.2M | pd->left_context = &xd->left_context[i][left_idx >> pd->subsampling_y]; |
413 | 57.2M | } |
414 | 19.0M | } Unexecuted instantiation: vp9_cx_iface.c:set_skip_context Unexecuted instantiation: vp9_firstpass.c:set_skip_context Unexecuted instantiation: vp9_mcomp.c:set_skip_context Unexecuted instantiation: vp9_encoder.c:set_skip_context Unexecuted instantiation: vp9_picklpf.c:set_skip_context Unexecuted instantiation: vp9_quantize.c:set_skip_context Unexecuted instantiation: vp9_ratectrl.c:set_skip_context Unexecuted instantiation: vp9_rd.c:set_skip_context Unexecuted instantiation: vp9_segmentation.c:set_skip_context Unexecuted instantiation: vp9_speed_features.c:set_skip_context Unexecuted instantiation: vp9_svc_layercontext.c:set_skip_context Unexecuted instantiation: vp9_tokenize.c:set_skip_context Unexecuted instantiation: vp9_aq_variance.c:set_skip_context Unexecuted instantiation: vp9_aq_360.c:set_skip_context Unexecuted instantiation: vp9_aq_cyclicrefresh.c:set_skip_context Unexecuted instantiation: vp9_aq_complexity.c:set_skip_context Unexecuted instantiation: vp9_alt_ref_aq.c:set_skip_context Unexecuted instantiation: vp9_skin_detection.c:set_skip_context Unexecuted instantiation: vp9_noise_estimate.c:set_skip_context Unexecuted instantiation: vp9_ext_ratectrl.c:set_skip_context Unexecuted instantiation: vp9_temporal_filter.c:set_skip_context Unexecuted instantiation: vp9_tpl_model.c:set_skip_context Unexecuted instantiation: vp9_mbgraph.c:set_skip_context Unexecuted instantiation: yv12config.c:set_skip_context Unexecuted instantiation: vp9_alloccommon.c:set_skip_context Unexecuted instantiation: vp9_entropy.c:set_skip_context Unexecuted instantiation: vp9_entropymode.c:set_skip_context Unexecuted instantiation: vp9_entropymv.c:set_skip_context Unexecuted instantiation: vp9_tile_common.c:set_skip_context Unexecuted instantiation: vp9_loopfilter.c:set_skip_context Unexecuted instantiation: vp9_thread_common.c:set_skip_context Unexecuted instantiation: vp9_reconinter.c:set_skip_context Unexecuted instantiation: vp9_reconintra.c:set_skip_context Unexecuted instantiation: vp9_bitstream.c:set_skip_context Unexecuted instantiation: vp9_context_tree.c:set_skip_context vp9_encodeframe.c:set_skip_context Line | Count | Source | 405 | 19.0M | static INLINE void set_skip_context(MACROBLOCKD *xd, int mi_row, int mi_col) { | 406 | 19.0M | const int above_idx = mi_col * 2; | 407 | 19.0M | const int left_idx = (mi_row * 2) & 15; | 408 | 19.0M | int i; | 409 | 76.2M | for (i = 0; i < MAX_MB_PLANE; ++i) { | 410 | 57.2M | struct macroblockd_plane *const pd = &xd->plane[i]; | 411 | 57.2M | pd->above_context = &xd->above_context[i][above_idx >> pd->subsampling_x]; | 412 | 57.2M | pd->left_context = &xd->left_context[i][left_idx >> pd->subsampling_y]; | 413 | 57.2M | } | 414 | 19.0M | } |
Unexecuted instantiation: vp9_encodemb.c:set_skip_context Unexecuted instantiation: vp9_encodemv.c:set_skip_context Unexecuted instantiation: vp9_ethread.c:set_skip_context Unexecuted instantiation: vp9_frame_scale.c:set_skip_context Unexecuted instantiation: vp9_lookahead.c:set_skip_context Unexecuted instantiation: vp9_multi_thread.c:set_skip_context Unexecuted instantiation: vp9_rdopt.c:set_skip_context Unexecuted instantiation: vp9_pickmode.c:set_skip_context Unexecuted instantiation: temporal_filter_sse4.c:set_skip_context Unexecuted instantiation: highbd_temporal_filter_sse4.c:set_skip_context Unexecuted instantiation: vp9_pred_common.c:set_skip_context Unexecuted instantiation: vp9_mvref_common.c:set_skip_context |
415 | | |
416 | 85.9k | static INLINE int calc_mi_size(int len) { |
417 | | // len is in mi units. |
418 | 85.9k | return len + MI_BLOCK_SIZE; |
419 | 85.9k | } Unexecuted instantiation: vp9_cx_iface.c:calc_mi_size Unexecuted instantiation: vp9_firstpass.c:calc_mi_size Unexecuted instantiation: vp9_mcomp.c:calc_mi_size vp9_encoder.c:calc_mi_size Line | Count | Source | 416 | 25.6k | static INLINE int calc_mi_size(int len) { | 417 | | // len is in mi units. | 418 | 25.6k | return len + MI_BLOCK_SIZE; | 419 | 25.6k | } |
Unexecuted instantiation: vp9_picklpf.c:calc_mi_size Unexecuted instantiation: vp9_quantize.c:calc_mi_size Unexecuted instantiation: vp9_ratectrl.c:calc_mi_size Unexecuted instantiation: vp9_rd.c:calc_mi_size Unexecuted instantiation: vp9_segmentation.c:calc_mi_size Unexecuted instantiation: vp9_speed_features.c:calc_mi_size Unexecuted instantiation: vp9_svc_layercontext.c:calc_mi_size Unexecuted instantiation: vp9_tokenize.c:calc_mi_size Unexecuted instantiation: vp9_aq_variance.c:calc_mi_size Unexecuted instantiation: vp9_aq_360.c:calc_mi_size Unexecuted instantiation: vp9_aq_cyclicrefresh.c:calc_mi_size Unexecuted instantiation: vp9_aq_complexity.c:calc_mi_size Unexecuted instantiation: vp9_alt_ref_aq.c:calc_mi_size Unexecuted instantiation: vp9_skin_detection.c:calc_mi_size Unexecuted instantiation: vp9_noise_estimate.c:calc_mi_size Unexecuted instantiation: vp9_ext_ratectrl.c:calc_mi_size Unexecuted instantiation: vp9_temporal_filter.c:calc_mi_size Unexecuted instantiation: vp9_tpl_model.c:calc_mi_size Unexecuted instantiation: vp9_mbgraph.c:calc_mi_size Unexecuted instantiation: yv12config.c:calc_mi_size vp9_alloccommon.c:calc_mi_size Line | Count | Source | 416 | 60.3k | static INLINE int calc_mi_size(int len) { | 417 | | // len is in mi units. | 418 | 60.3k | return len + MI_BLOCK_SIZE; | 419 | 60.3k | } |
Unexecuted instantiation: vp9_entropy.c:calc_mi_size Unexecuted instantiation: vp9_entropymode.c:calc_mi_size Unexecuted instantiation: vp9_entropymv.c:calc_mi_size Unexecuted instantiation: vp9_tile_common.c:calc_mi_size Unexecuted instantiation: vp9_loopfilter.c:calc_mi_size Unexecuted instantiation: vp9_thread_common.c:calc_mi_size Unexecuted instantiation: vp9_reconinter.c:calc_mi_size Unexecuted instantiation: vp9_reconintra.c:calc_mi_size Unexecuted instantiation: vp9_bitstream.c:calc_mi_size Unexecuted instantiation: vp9_context_tree.c:calc_mi_size Unexecuted instantiation: vp9_encodeframe.c:calc_mi_size Unexecuted instantiation: vp9_encodemb.c:calc_mi_size Unexecuted instantiation: vp9_encodemv.c:calc_mi_size Unexecuted instantiation: vp9_ethread.c:calc_mi_size Unexecuted instantiation: vp9_frame_scale.c:calc_mi_size Unexecuted instantiation: vp9_lookahead.c:calc_mi_size Unexecuted instantiation: vp9_multi_thread.c:calc_mi_size Unexecuted instantiation: vp9_rdopt.c:calc_mi_size Unexecuted instantiation: vp9_pickmode.c:calc_mi_size Unexecuted instantiation: temporal_filter_sse4.c:calc_mi_size Unexecuted instantiation: highbd_temporal_filter_sse4.c:calc_mi_size Unexecuted instantiation: vp9_pred_common.c:calc_mi_size Unexecuted instantiation: vp9_mvref_common.c:calc_mi_size |
420 | | |
421 | | static INLINE void set_mi_row_col(MACROBLOCKD *xd, const TileInfo *const tile, |
422 | | int mi_row, int bh, int mi_col, int bw, |
423 | 20.9M | int mi_rows, int mi_cols) { |
424 | 20.9M | xd->mb_to_top_edge = -((mi_row * MI_SIZE) * 8); |
425 | 20.9M | xd->mb_to_bottom_edge = ((mi_rows - bh - mi_row) * MI_SIZE) * 8; |
426 | 20.9M | xd->mb_to_left_edge = -((mi_col * MI_SIZE) * 8); |
427 | 20.9M | xd->mb_to_right_edge = ((mi_cols - bw - mi_col) * MI_SIZE) * 8; |
428 | | |
429 | | // Are edges available for intra prediction? |
430 | 20.9M | xd->above_mi = (mi_row != 0) ? xd->mi[-xd->mi_stride] : NULL; |
431 | 20.9M | xd->left_mi = (mi_col > tile->mi_col_start) ? xd->mi[-1] : NULL; |
432 | 20.9M | } Unexecuted instantiation: vp9_cx_iface.c:set_mi_row_col Unexecuted instantiation: vp9_firstpass.c:set_mi_row_col Unexecuted instantiation: vp9_mcomp.c:set_mi_row_col Unexecuted instantiation: vp9_encoder.c:set_mi_row_col Unexecuted instantiation: vp9_picklpf.c:set_mi_row_col Unexecuted instantiation: vp9_quantize.c:set_mi_row_col Unexecuted instantiation: vp9_ratectrl.c:set_mi_row_col Unexecuted instantiation: vp9_rd.c:set_mi_row_col Unexecuted instantiation: vp9_segmentation.c:set_mi_row_col Unexecuted instantiation: vp9_speed_features.c:set_mi_row_col Unexecuted instantiation: vp9_svc_layercontext.c:set_mi_row_col Unexecuted instantiation: vp9_tokenize.c:set_mi_row_col Unexecuted instantiation: vp9_aq_variance.c:set_mi_row_col Unexecuted instantiation: vp9_aq_360.c:set_mi_row_col Unexecuted instantiation: vp9_aq_cyclicrefresh.c:set_mi_row_col Unexecuted instantiation: vp9_aq_complexity.c:set_mi_row_col Unexecuted instantiation: vp9_alt_ref_aq.c:set_mi_row_col Unexecuted instantiation: vp9_skin_detection.c:set_mi_row_col Unexecuted instantiation: vp9_noise_estimate.c:set_mi_row_col Unexecuted instantiation: vp9_ext_ratectrl.c:set_mi_row_col Unexecuted instantiation: vp9_temporal_filter.c:set_mi_row_col Unexecuted instantiation: vp9_tpl_model.c:set_mi_row_col Unexecuted instantiation: vp9_mbgraph.c:set_mi_row_col Unexecuted instantiation: yv12config.c:set_mi_row_col Unexecuted instantiation: vp9_alloccommon.c:set_mi_row_col Unexecuted instantiation: vp9_entropy.c:set_mi_row_col Unexecuted instantiation: vp9_entropymode.c:set_mi_row_col Unexecuted instantiation: vp9_entropymv.c:set_mi_row_col Unexecuted instantiation: vp9_tile_common.c:set_mi_row_col Unexecuted instantiation: vp9_loopfilter.c:set_mi_row_col Unexecuted instantiation: vp9_thread_common.c:set_mi_row_col Unexecuted instantiation: vp9_reconinter.c:set_mi_row_col Unexecuted instantiation: vp9_reconintra.c:set_mi_row_col vp9_bitstream.c:set_mi_row_col Line | Count | Source | 423 | 1.89M | int mi_rows, int mi_cols) { | 424 | 1.89M | xd->mb_to_top_edge = -((mi_row * MI_SIZE) * 8); | 425 | 1.89M | xd->mb_to_bottom_edge = ((mi_rows - bh - mi_row) * MI_SIZE) * 8; | 426 | 1.89M | xd->mb_to_left_edge = -((mi_col * MI_SIZE) * 8); | 427 | 1.89M | xd->mb_to_right_edge = ((mi_cols - bw - mi_col) * MI_SIZE) * 8; | 428 | | | 429 | | // Are edges available for intra prediction? | 430 | 1.89M | xd->above_mi = (mi_row != 0) ? xd->mi[-xd->mi_stride] : NULL; | 431 | 1.89M | xd->left_mi = (mi_col > tile->mi_col_start) ? xd->mi[-1] : NULL; | 432 | 1.89M | } |
Unexecuted instantiation: vp9_context_tree.c:set_mi_row_col vp9_encodeframe.c:set_mi_row_col Line | Count | Source | 423 | 19.0M | int mi_rows, int mi_cols) { | 424 | 19.0M | xd->mb_to_top_edge = -((mi_row * MI_SIZE) * 8); | 425 | 19.0M | xd->mb_to_bottom_edge = ((mi_rows - bh - mi_row) * MI_SIZE) * 8; | 426 | 19.0M | xd->mb_to_left_edge = -((mi_col * MI_SIZE) * 8); | 427 | 19.0M | xd->mb_to_right_edge = ((mi_cols - bw - mi_col) * MI_SIZE) * 8; | 428 | | | 429 | | // Are edges available for intra prediction? | 430 | 19.0M | xd->above_mi = (mi_row != 0) ? xd->mi[-xd->mi_stride] : NULL; | 431 | 19.0M | xd->left_mi = (mi_col > tile->mi_col_start) ? xd->mi[-1] : NULL; | 432 | 19.0M | } |
Unexecuted instantiation: vp9_encodemb.c:set_mi_row_col Unexecuted instantiation: vp9_encodemv.c:set_mi_row_col Unexecuted instantiation: vp9_ethread.c:set_mi_row_col Unexecuted instantiation: vp9_frame_scale.c:set_mi_row_col Unexecuted instantiation: vp9_lookahead.c:set_mi_row_col Unexecuted instantiation: vp9_multi_thread.c:set_mi_row_col Unexecuted instantiation: vp9_rdopt.c:set_mi_row_col Unexecuted instantiation: vp9_pickmode.c:set_mi_row_col Unexecuted instantiation: temporal_filter_sse4.c:set_mi_row_col Unexecuted instantiation: highbd_temporal_filter_sse4.c:set_mi_row_col Unexecuted instantiation: vp9_pred_common.c:set_mi_row_col Unexecuted instantiation: vp9_mvref_common.c:set_mi_row_col |
433 | | |
434 | | static INLINE void update_partition_context(MACROBLOCKD *xd, int mi_row, |
435 | | int mi_col, BLOCK_SIZE subsize, |
436 | 8.56M | BLOCK_SIZE bsize) { |
437 | 8.56M | PARTITION_CONTEXT *const above_ctx = xd->above_seg_context + mi_col; |
438 | 8.56M | PARTITION_CONTEXT *const left_ctx = xd->left_seg_context + (mi_row & MI_MASK); |
439 | | |
440 | | // num_4x4_blocks_wide_lookup[bsize] / 2 |
441 | 8.56M | const int bs = num_8x8_blocks_wide_lookup[bsize]; |
442 | | |
443 | | // update the partition context at the end notes. set partition bits |
444 | | // of block sizes larger than the current one to be one, and partition |
445 | | // bits of smaller block sizes to be zero. |
446 | 8.56M | memset(above_ctx, partition_context_lookup[subsize].above, bs); |
447 | 8.56M | memset(left_ctx, partition_context_lookup[subsize].left, bs); |
448 | 8.56M | } Unexecuted instantiation: vp9_cx_iface.c:update_partition_context Unexecuted instantiation: vp9_firstpass.c:update_partition_context Unexecuted instantiation: vp9_mcomp.c:update_partition_context Unexecuted instantiation: vp9_encoder.c:update_partition_context Unexecuted instantiation: vp9_picklpf.c:update_partition_context Unexecuted instantiation: vp9_quantize.c:update_partition_context Unexecuted instantiation: vp9_ratectrl.c:update_partition_context Unexecuted instantiation: vp9_rd.c:update_partition_context Unexecuted instantiation: vp9_segmentation.c:update_partition_context Unexecuted instantiation: vp9_speed_features.c:update_partition_context Unexecuted instantiation: vp9_svc_layercontext.c:update_partition_context Unexecuted instantiation: vp9_tokenize.c:update_partition_context Unexecuted instantiation: vp9_aq_variance.c:update_partition_context Unexecuted instantiation: vp9_aq_360.c:update_partition_context Unexecuted instantiation: vp9_aq_cyclicrefresh.c:update_partition_context Unexecuted instantiation: vp9_aq_complexity.c:update_partition_context Unexecuted instantiation: vp9_alt_ref_aq.c:update_partition_context Unexecuted instantiation: vp9_skin_detection.c:update_partition_context Unexecuted instantiation: vp9_noise_estimate.c:update_partition_context Unexecuted instantiation: vp9_ext_ratectrl.c:update_partition_context Unexecuted instantiation: vp9_temporal_filter.c:update_partition_context Unexecuted instantiation: vp9_tpl_model.c:update_partition_context Unexecuted instantiation: vp9_mbgraph.c:update_partition_context Unexecuted instantiation: yv12config.c:update_partition_context Unexecuted instantiation: vp9_alloccommon.c:update_partition_context Unexecuted instantiation: vp9_entropy.c:update_partition_context Unexecuted instantiation: vp9_entropymode.c:update_partition_context Unexecuted instantiation: vp9_entropymv.c:update_partition_context Unexecuted instantiation: vp9_tile_common.c:update_partition_context Unexecuted instantiation: vp9_loopfilter.c:update_partition_context Unexecuted instantiation: vp9_thread_common.c:update_partition_context Unexecuted instantiation: vp9_reconinter.c:update_partition_context Unexecuted instantiation: vp9_reconintra.c:update_partition_context vp9_bitstream.c:update_partition_context Line | Count | Source | 436 | 1.85M | BLOCK_SIZE bsize) { | 437 | 1.85M | PARTITION_CONTEXT *const above_ctx = xd->above_seg_context + mi_col; | 438 | 1.85M | PARTITION_CONTEXT *const left_ctx = xd->left_seg_context + (mi_row & MI_MASK); | 439 | | | 440 | | // num_4x4_blocks_wide_lookup[bsize] / 2 | 441 | 1.85M | const int bs = num_8x8_blocks_wide_lookup[bsize]; | 442 | | | 443 | | // update the partition context at the end notes. set partition bits | 444 | | // of block sizes larger than the current one to be one, and partition | 445 | | // bits of smaller block sizes to be zero. | 446 | 1.85M | memset(above_ctx, partition_context_lookup[subsize].above, bs); | 447 | 1.85M | memset(left_ctx, partition_context_lookup[subsize].left, bs); | 448 | 1.85M | } |
Unexecuted instantiation: vp9_context_tree.c:update_partition_context vp9_encodeframe.c:update_partition_context Line | Count | Source | 436 | 6.70M | BLOCK_SIZE bsize) { | 437 | 6.70M | PARTITION_CONTEXT *const above_ctx = xd->above_seg_context + mi_col; | 438 | 6.70M | PARTITION_CONTEXT *const left_ctx = xd->left_seg_context + (mi_row & MI_MASK); | 439 | | | 440 | | // num_4x4_blocks_wide_lookup[bsize] / 2 | 441 | 6.70M | const int bs = num_8x8_blocks_wide_lookup[bsize]; | 442 | | | 443 | | // update the partition context at the end notes. set partition bits | 444 | | // of block sizes larger than the current one to be one, and partition | 445 | | // bits of smaller block sizes to be zero. | 446 | 6.70M | memset(above_ctx, partition_context_lookup[subsize].above, bs); | 447 | 6.70M | memset(left_ctx, partition_context_lookup[subsize].left, bs); | 448 | 6.70M | } |
Unexecuted instantiation: vp9_encodemb.c:update_partition_context Unexecuted instantiation: vp9_encodemv.c:update_partition_context Unexecuted instantiation: vp9_ethread.c:update_partition_context Unexecuted instantiation: vp9_frame_scale.c:update_partition_context Unexecuted instantiation: vp9_lookahead.c:update_partition_context Unexecuted instantiation: vp9_multi_thread.c:update_partition_context Unexecuted instantiation: vp9_rdopt.c:update_partition_context Unexecuted instantiation: vp9_pickmode.c:update_partition_context Unexecuted instantiation: temporal_filter_sse4.c:update_partition_context Unexecuted instantiation: highbd_temporal_filter_sse4.c:update_partition_context Unexecuted instantiation: vp9_pred_common.c:update_partition_context Unexecuted instantiation: vp9_mvref_common.c:update_partition_context |
449 | | |
450 | | static INLINE int partition_plane_context(const MACROBLOCKD *xd, int mi_row, |
451 | 14.1M | int mi_col, BLOCK_SIZE bsize) { |
452 | 14.1M | const PARTITION_CONTEXT *above_ctx = xd->above_seg_context + mi_col; |
453 | 14.1M | const PARTITION_CONTEXT *left_ctx = xd->left_seg_context + (mi_row & MI_MASK); |
454 | 14.1M | const int bsl = mi_width_log2_lookup[bsize]; |
455 | 14.1M | int above = (*above_ctx >> bsl) & 1, left = (*left_ctx >> bsl) & 1; |
456 | | |
457 | 14.1M | assert(b_width_log2_lookup[bsize] == b_height_log2_lookup[bsize]); |
458 | 14.1M | assert(bsl >= 0); |
459 | | |
460 | 14.1M | return (left * 2 + above) + bsl * PARTITION_PLOFFSET; |
461 | 14.1M | } Unexecuted instantiation: vp9_cx_iface.c:partition_plane_context Unexecuted instantiation: vp9_firstpass.c:partition_plane_context Unexecuted instantiation: vp9_mcomp.c:partition_plane_context Unexecuted instantiation: vp9_encoder.c:partition_plane_context Unexecuted instantiation: vp9_picklpf.c:partition_plane_context Unexecuted instantiation: vp9_quantize.c:partition_plane_context Unexecuted instantiation: vp9_ratectrl.c:partition_plane_context Unexecuted instantiation: vp9_rd.c:partition_plane_context Unexecuted instantiation: vp9_segmentation.c:partition_plane_context Unexecuted instantiation: vp9_speed_features.c:partition_plane_context Unexecuted instantiation: vp9_svc_layercontext.c:partition_plane_context Unexecuted instantiation: vp9_tokenize.c:partition_plane_context Unexecuted instantiation: vp9_aq_variance.c:partition_plane_context Unexecuted instantiation: vp9_aq_360.c:partition_plane_context Unexecuted instantiation: vp9_aq_cyclicrefresh.c:partition_plane_context Unexecuted instantiation: vp9_aq_complexity.c:partition_plane_context Unexecuted instantiation: vp9_alt_ref_aq.c:partition_plane_context Unexecuted instantiation: vp9_skin_detection.c:partition_plane_context Unexecuted instantiation: vp9_noise_estimate.c:partition_plane_context Unexecuted instantiation: vp9_ext_ratectrl.c:partition_plane_context Unexecuted instantiation: vp9_temporal_filter.c:partition_plane_context Unexecuted instantiation: vp9_tpl_model.c:partition_plane_context Unexecuted instantiation: vp9_mbgraph.c:partition_plane_context Unexecuted instantiation: yv12config.c:partition_plane_context Unexecuted instantiation: vp9_alloccommon.c:partition_plane_context Unexecuted instantiation: vp9_entropy.c:partition_plane_context Unexecuted instantiation: vp9_entropymode.c:partition_plane_context Unexecuted instantiation: vp9_entropymv.c:partition_plane_context Unexecuted instantiation: vp9_tile_common.c:partition_plane_context Unexecuted instantiation: vp9_loopfilter.c:partition_plane_context Unexecuted instantiation: vp9_thread_common.c:partition_plane_context Unexecuted instantiation: vp9_reconinter.c:partition_plane_context Unexecuted instantiation: vp9_reconintra.c:partition_plane_context vp9_bitstream.c:partition_plane_context Line | Count | Source | 451 | 2.52M | int mi_col, BLOCK_SIZE bsize) { | 452 | 2.52M | const PARTITION_CONTEXT *above_ctx = xd->above_seg_context + mi_col; | 453 | 2.52M | const PARTITION_CONTEXT *left_ctx = xd->left_seg_context + (mi_row & MI_MASK); | 454 | 2.52M | const int bsl = mi_width_log2_lookup[bsize]; | 455 | 2.52M | int above = (*above_ctx >> bsl) & 1, left = (*left_ctx >> bsl) & 1; | 456 | | | 457 | 2.52M | assert(b_width_log2_lookup[bsize] == b_height_log2_lookup[bsize]); | 458 | 2.52M | assert(bsl >= 0); | 459 | | | 460 | 2.52M | return (left * 2 + above) + bsl * PARTITION_PLOFFSET; | 461 | 2.52M | } |
Unexecuted instantiation: vp9_context_tree.c:partition_plane_context vp9_encodeframe.c:partition_plane_context Line | Count | Source | 451 | 11.6M | int mi_col, BLOCK_SIZE bsize) { | 452 | 11.6M | const PARTITION_CONTEXT *above_ctx = xd->above_seg_context + mi_col; | 453 | 11.6M | const PARTITION_CONTEXT *left_ctx = xd->left_seg_context + (mi_row & MI_MASK); | 454 | 11.6M | const int bsl = mi_width_log2_lookup[bsize]; | 455 | 11.6M | int above = (*above_ctx >> bsl) & 1, left = (*left_ctx >> bsl) & 1; | 456 | | | 457 | 11.6M | assert(b_width_log2_lookup[bsize] == b_height_log2_lookup[bsize]); | 458 | 11.6M | assert(bsl >= 0); | 459 | | | 460 | 11.6M | return (left * 2 + above) + bsl * PARTITION_PLOFFSET; | 461 | 11.6M | } |
Unexecuted instantiation: vp9_encodemb.c:partition_plane_context Unexecuted instantiation: vp9_encodemv.c:partition_plane_context Unexecuted instantiation: vp9_ethread.c:partition_plane_context Unexecuted instantiation: vp9_frame_scale.c:partition_plane_context Unexecuted instantiation: vp9_lookahead.c:partition_plane_context Unexecuted instantiation: vp9_multi_thread.c:partition_plane_context Unexecuted instantiation: vp9_rdopt.c:partition_plane_context Unexecuted instantiation: vp9_pickmode.c:partition_plane_context Unexecuted instantiation: temporal_filter_sse4.c:partition_plane_context Unexecuted instantiation: highbd_temporal_filter_sse4.c:partition_plane_context Unexecuted instantiation: vp9_pred_common.c:partition_plane_context Unexecuted instantiation: vp9_mvref_common.c:partition_plane_context |
462 | | |
463 | | #ifdef __cplusplus |
464 | | } // extern "C" |
465 | | #endif |
466 | | |
467 | | #endif // VPX_VP9_COMMON_VP9_ONYXC_INT_H_ |