/src/aom/av1/common/av1_common_int.h
Line | Count | Source (jump to first uncovered line) |
1 | | /* |
2 | | * Copyright (c) 2016, Alliance for Open Media. All rights reserved. |
3 | | * |
4 | | * This source code is subject to the terms of the BSD 2 Clause License and |
5 | | * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License |
6 | | * was not distributed with this source code in the LICENSE file, you can |
7 | | * obtain it at www.aomedia.org/license/software. If the Alliance for Open |
8 | | * Media Patent License 1.0 was not distributed with this source code in the |
9 | | * PATENTS file, you can obtain it at www.aomedia.org/license/patent. |
10 | | */ |
11 | | |
12 | | #ifndef AOM_AV1_COMMON_AV1_COMMON_INT_H_ |
13 | | #define AOM_AV1_COMMON_AV1_COMMON_INT_H_ |
14 | | |
15 | | #include <stdbool.h> |
16 | | |
17 | | #include "config/aom_config.h" |
18 | | #include "config/av1_rtcd.h" |
19 | | |
20 | | #include "aom/internal/aom_codec_internal.h" |
21 | | #include "aom_dsp/flow_estimation/corner_detect.h" |
22 | | #include "aom_util/aom_pthread.h" |
23 | | #include "av1/common/alloccommon.h" |
24 | | #include "av1/common/av1_loopfilter.h" |
25 | | #include "av1/common/entropy.h" |
26 | | #include "av1/common/entropymode.h" |
27 | | #include "av1/common/entropymv.h" |
28 | | #include "av1/common/enums.h" |
29 | | #include "av1/common/frame_buffers.h" |
30 | | #include "av1/common/mv.h" |
31 | | #include "av1/common/quant_common.h" |
32 | | #include "av1/common/restoration.h" |
33 | | #include "av1/common/tile_common.h" |
34 | | #include "av1/common/timing.h" |
35 | | #include "aom_dsp/grain_params.h" |
36 | | #include "aom_dsp/grain_table.h" |
37 | | #include "aom_dsp/odintrin.h" |
38 | | #ifdef __cplusplus |
39 | | extern "C" { |
40 | | #endif |
41 | | |
42 | | #if defined(__clang__) && defined(__has_warning) |
43 | | #if __has_feature(cxx_attributes) && __has_warning("-Wimplicit-fallthrough") |
44 | | #define AOM_FALLTHROUGH_INTENDED [[clang::fallthrough]] // NOLINT |
45 | | #endif |
46 | | #elif defined(__GNUC__) && __GNUC__ >= 7 |
47 | | #define AOM_FALLTHROUGH_INTENDED __attribute__((fallthrough)) // NOLINT |
48 | | #endif |
49 | | |
50 | | #ifndef AOM_FALLTHROUGH_INTENDED |
51 | | #define AOM_FALLTHROUGH_INTENDED \ |
52 | 219k | do { \ |
53 | 219k | } while (0) |
54 | | #endif |
55 | | |
56 | 0 | #define CDEF_MAX_STRENGTHS 16 |
57 | | |
58 | | /* Constant values while waiting for the sequence header */ |
59 | 0 | #define FRAME_ID_LENGTH 15 |
60 | 0 | #define DELTA_FRAME_ID_LENGTH 14 |
61 | | |
62 | | #define FRAME_CONTEXTS (FRAME_BUFFERS + 1) |
63 | | // Extra frame context which is always kept at default values |
64 | | #define FRAME_CONTEXT_DEFAULTS (FRAME_CONTEXTS - 1) |
65 | 18.6k | #define PRIMARY_REF_BITS 3 |
66 | 280k | #define PRIMARY_REF_NONE 7 |
67 | | |
68 | | #define NUM_PING_PONG_BUFFERS 2 |
69 | | |
70 | 355k | #define MAX_NUM_TEMPORAL_LAYERS 8 |
71 | 136k | #define MAX_NUM_SPATIAL_LAYERS 4 |
72 | | /* clang-format off */ |
73 | | // clang-format seems to think this is a pointer dereference and not a |
74 | | // multiplication. |
75 | | #define MAX_NUM_OPERATING_POINTS \ |
76 | 0 | (MAX_NUM_TEMPORAL_LAYERS * MAX_NUM_SPATIAL_LAYERS) |
77 | | /* clang-format on */ |
78 | | |
79 | | // TODO(jingning): Turning this on to set up transform coefficient |
80 | | // processing timer. |
81 | | #define TXCOEFF_TIMER 0 |
82 | | #define TXCOEFF_COST_TIMER 0 |
83 | | |
84 | | /*!\cond */ |
85 | | |
86 | | enum { |
87 | | SINGLE_REFERENCE = 0, |
88 | | COMPOUND_REFERENCE = 1, |
89 | | REFERENCE_MODE_SELECT = 2, |
90 | | REFERENCE_MODES = 3, |
91 | | } UENUM1BYTE(REFERENCE_MODE); |
92 | | |
93 | | enum { |
94 | | /** |
95 | | * Frame context updates are disabled |
96 | | */ |
97 | | REFRESH_FRAME_CONTEXT_DISABLED, |
98 | | /** |
99 | | * Update frame context to values resulting from backward probability |
100 | | * updates based on entropy/counts in the decoded frame |
101 | | */ |
102 | | REFRESH_FRAME_CONTEXT_BACKWARD, |
103 | | } UENUM1BYTE(REFRESH_FRAME_CONTEXT_MODE); |
104 | | |
105 | 6.33k | #define MFMV_STACK_SIZE 3 |
106 | | typedef struct { |
107 | | int_mv mfmv0; |
108 | | uint8_t ref_frame_offset; |
109 | | } TPL_MV_REF; |
110 | | |
111 | | typedef struct { |
112 | | int_mv mv; |
113 | | MV_REFERENCE_FRAME ref_frame; |
114 | | } MV_REF; |
115 | | |
116 | | typedef struct RefCntBuffer { |
117 | | // For a RefCntBuffer, the following are reference-holding variables: |
118 | | // - cm->ref_frame_map[] |
119 | | // - cm->cur_frame |
120 | | // - cm->scaled_ref_buf[] (encoder only) |
121 | | // - pbi->output_frame_index[] (decoder only) |
122 | | // With that definition, 'ref_count' is the number of reference-holding |
123 | | // variables that are currently referencing this buffer. |
124 | | // For example: |
125 | | // - suppose this buffer is at index 'k' in the buffer pool, and |
126 | | // - Total 'n' of the variables / array elements above have value 'k' (that |
127 | | // is, they are pointing to buffer at index 'k'). |
128 | | // Then, pool->frame_bufs[k].ref_count = n. |
129 | | int ref_count; |
130 | | |
131 | | unsigned int order_hint; |
132 | | unsigned int ref_order_hints[INTER_REFS_PER_FRAME]; |
133 | | |
134 | | // These variables are used only in encoder and compare the absolute |
135 | | // display order hint to compute the relative distance and overcome |
136 | | // the limitation of get_relative_dist() which returns incorrect |
137 | | // distance when a very old frame is used as a reference. |
138 | | unsigned int display_order_hint; |
139 | | unsigned int ref_display_order_hint[INTER_REFS_PER_FRAME]; |
140 | | // Frame's level within the hierarchical structure. |
141 | | unsigned int pyramid_level; |
142 | | MV_REF *mvs; |
143 | | uint8_t *seg_map; |
144 | | struct segmentation seg; |
145 | | int mi_rows; |
146 | | int mi_cols; |
147 | | // Width and height give the size of the buffer (before any upscaling, unlike |
148 | | // the sizes that can be derived from the buf structure) |
149 | | int width; |
150 | | int height; |
151 | | WarpedMotionParams global_motion[REF_FRAMES]; |
152 | | int showable_frame; // frame can be used as show existing frame in future |
153 | | uint8_t film_grain_params_present; |
154 | | aom_film_grain_t film_grain_params; |
155 | | aom_codec_frame_buffer_t raw_frame_buffer; |
156 | | YV12_BUFFER_CONFIG buf; |
157 | | int temporal_id; // Temporal layer ID of the frame |
158 | | int spatial_id; // Spatial layer ID of the frame |
159 | | FRAME_TYPE frame_type; |
160 | | |
161 | | // This is only used in the encoder but needs to be indexed per ref frame |
162 | | // so it's extremely convenient to keep it here. |
163 | | int interp_filter_selected[SWITCHABLE]; |
164 | | |
165 | | // Inter frame reference frame delta for loop filter |
166 | | int8_t ref_deltas[REF_FRAMES]; |
167 | | |
168 | | // 0 = ZERO_MV, MV |
169 | | int8_t mode_deltas[MAX_MODE_LF_DELTAS]; |
170 | | |
171 | | FRAME_CONTEXT frame_context; |
172 | | } RefCntBuffer; |
173 | | |
174 | | typedef struct BufferPool { |
175 | | // Protect BufferPool from being accessed by several FrameWorkers at |
176 | | // the same time during frame parallel decode. |
177 | | // TODO(hkuang): Try to use atomic variable instead of locking the whole pool. |
178 | | // TODO(wtc): Remove this. See |
179 | | // https://chromium-review.googlesource.com/c/webm/libvpx/+/560630. |
180 | | #if CONFIG_MULTITHREAD |
181 | | pthread_mutex_t pool_mutex; |
182 | | #endif |
183 | | |
184 | | // Private data associated with the frame buffer callbacks. |
185 | | void *cb_priv; |
186 | | |
187 | | aom_get_frame_buffer_cb_fn_t get_fb_cb; |
188 | | aom_release_frame_buffer_cb_fn_t release_fb_cb; |
189 | | |
190 | | RefCntBuffer *frame_bufs; |
191 | | uint8_t num_frame_bufs; |
192 | | |
193 | | // Frame buffers allocated internally by the codec. |
194 | | InternalFrameBufferList int_frame_buffers; |
195 | | } BufferPool; |
196 | | |
197 | | /*!\endcond */ |
198 | | |
199 | | /*!\brief Parameters related to CDEF */ |
200 | | typedef struct { |
201 | | //! CDEF column line buffer |
202 | | uint16_t *colbuf[MAX_MB_PLANE]; |
203 | | //! CDEF top & bottom line buffer |
204 | | uint16_t *linebuf[MAX_MB_PLANE]; |
205 | | //! CDEF intermediate buffer |
206 | | uint16_t *srcbuf; |
207 | | //! CDEF column line buffer sizes |
208 | | size_t allocated_colbuf_size[MAX_MB_PLANE]; |
209 | | //! CDEF top and bottom line buffer sizes |
210 | | size_t allocated_linebuf_size[MAX_MB_PLANE]; |
211 | | //! CDEF intermediate buffer size |
212 | | size_t allocated_srcbuf_size; |
213 | | //! CDEF damping factor |
214 | | int cdef_damping; |
215 | | //! Number of CDEF strength values |
216 | | int nb_cdef_strengths; |
217 | | //! CDEF strength values for luma |
218 | | int cdef_strengths[CDEF_MAX_STRENGTHS]; |
219 | | //! CDEF strength values for chroma |
220 | | int cdef_uv_strengths[CDEF_MAX_STRENGTHS]; |
221 | | //! Number of CDEF strength values in bits |
222 | | int cdef_bits; |
223 | | //! Number of rows in the frame in 4 pixel |
224 | | int allocated_mi_rows; |
225 | | //! Number of CDEF workers |
226 | | int allocated_num_workers; |
227 | | } CdefInfo; |
228 | | |
229 | | /*!\cond */ |
230 | | |
231 | | typedef struct { |
232 | | int delta_q_present_flag; |
233 | | // Resolution of delta quant |
234 | | int delta_q_res; |
235 | | int delta_lf_present_flag; |
236 | | // Resolution of delta lf level |
237 | | int delta_lf_res; |
238 | | // This is a flag for number of deltas of loop filter level |
239 | | // 0: use 1 delta, for y_vertical, y_horizontal, u, and v |
240 | | // 1: use separate deltas for each filter level |
241 | | int delta_lf_multi; |
242 | | } DeltaQInfo; |
243 | | |
244 | | typedef struct { |
245 | | int enable_order_hint; // 0 - disable order hint, and related tools |
246 | | int order_hint_bits_minus_1; // dist_wtd_comp, ref_frame_mvs, |
247 | | // frame_sign_bias |
248 | | // if 0, enable_dist_wtd_comp and |
249 | | // enable_ref_frame_mvs must be set as 0. |
250 | | int enable_dist_wtd_comp; // 0 - disable dist-wtd compound modes |
251 | | // 1 - enable it |
252 | | int enable_ref_frame_mvs; // 0 - disable ref frame mvs |
253 | | // 1 - enable it |
254 | | } OrderHintInfo; |
255 | | |
256 | | // Sequence header structure. |
257 | | // Note: All syntax elements of sequence_header_obu that need to be |
258 | | // bit-identical across multiple sequence headers must be part of this struct, |
259 | | // so that consistency is checked by are_seq_headers_consistent() function. |
260 | | // One exception is the last member 'op_params' that is ignored by |
261 | | // are_seq_headers_consistent() function. |
262 | | typedef struct SequenceHeader { |
263 | | int num_bits_width; |
264 | | int num_bits_height; |
265 | | int max_frame_width; |
266 | | int max_frame_height; |
267 | | // Whether current and reference frame IDs are signaled in the bitstream. |
268 | | // Frame id numbers are additional information that do not affect the |
269 | | // decoding process, but provide decoders with a way of detecting missing |
270 | | // reference frames so that appropriate action can be taken. |
271 | | uint8_t frame_id_numbers_present_flag; |
272 | | int frame_id_length; |
273 | | int delta_frame_id_length; |
274 | | BLOCK_SIZE sb_size; // Size of the superblock used for this frame |
275 | | int mib_size; // Size of the superblock in units of MI blocks |
276 | | int mib_size_log2; // Log 2 of above. |
277 | | |
278 | | OrderHintInfo order_hint_info; |
279 | | |
280 | | uint8_t force_screen_content_tools; // 0 - force off |
281 | | // 1 - force on |
282 | | // 2 - adaptive |
283 | | uint8_t still_picture; // Video is a single frame still picture |
284 | | uint8_t reduced_still_picture_hdr; // Use reduced header for still picture |
285 | | uint8_t force_integer_mv; // 0 - Don't force. MV can use subpel |
286 | | // 1 - force to integer |
287 | | // 2 - adaptive |
288 | | uint8_t enable_filter_intra; // enables/disables filterintra |
289 | | uint8_t enable_intra_edge_filter; // enables/disables edge upsampling |
290 | | uint8_t enable_interintra_compound; // enables/disables interintra_compound |
291 | | uint8_t enable_masked_compound; // enables/disables masked compound |
292 | | uint8_t enable_dual_filter; // 0 - disable dual interpolation filter |
293 | | // 1 - enable vert/horz filter selection |
294 | | uint8_t enable_warped_motion; // 0 - disable warp for the sequence |
295 | | // 1 - enable warp for the sequence |
296 | | uint8_t enable_superres; // 0 - Disable superres for the sequence |
297 | | // and no frame level superres flag |
298 | | // 1 - Enable superres for the sequence |
299 | | // enable per-frame superres flag |
300 | | uint8_t enable_cdef; // To turn on/off CDEF |
301 | | uint8_t enable_restoration; // To turn on/off loop restoration |
302 | | BITSTREAM_PROFILE profile; |
303 | | |
304 | | // Color config. |
305 | | aom_bit_depth_t bit_depth; // AOM_BITS_8 in profile 0 or 1, |
306 | | // AOM_BITS_10 or AOM_BITS_12 in profile 2 or 3. |
307 | | uint8_t use_highbitdepth; // If true, we need to use 16bit frame buffers. |
308 | | uint8_t monochrome; // Monochrome video |
309 | | aom_color_primaries_t color_primaries; |
310 | | aom_transfer_characteristics_t transfer_characteristics; |
311 | | aom_matrix_coefficients_t matrix_coefficients; |
312 | | int color_range; |
313 | | int subsampling_x; // Chroma subsampling for x |
314 | | int subsampling_y; // Chroma subsampling for y |
315 | | aom_chroma_sample_position_t chroma_sample_position; |
316 | | uint8_t separate_uv_delta_q; |
317 | | uint8_t film_grain_params_present; |
318 | | |
319 | | // Operating point info. |
320 | | int operating_points_cnt_minus_1; |
321 | | int operating_point_idc[MAX_NUM_OPERATING_POINTS]; |
322 | | // True if operating_point_idc[op] is not equal to 0 for any value of op from |
323 | | // 0 to operating_points_cnt_minus_1. |
324 | | bool has_nonzero_operating_point_idc; |
325 | | int timing_info_present; |
326 | | aom_timing_info_t timing_info; |
327 | | uint8_t decoder_model_info_present_flag; |
328 | | aom_dec_model_info_t decoder_model_info; |
329 | | uint8_t display_model_info_present_flag; |
330 | | AV1_LEVEL seq_level_idx[MAX_NUM_OPERATING_POINTS]; |
331 | | uint8_t tier[MAX_NUM_OPERATING_POINTS]; // seq_tier in spec. One bit: 0 or 1. |
332 | | |
333 | | // IMPORTANT: the op_params member must be at the end of the struct so that |
334 | | // are_seq_headers_consistent() can be implemented with a memcmp() call. |
335 | | // TODO(urvang): We probably don't need the +1 here. |
336 | | aom_dec_model_op_parameters_t op_params[MAX_NUM_OPERATING_POINTS + 1]; |
337 | | } SequenceHeader; |
338 | | |
339 | | typedef struct { |
340 | | int skip_mode_allowed; |
341 | | int skip_mode_flag; |
342 | | int ref_frame_idx_0; |
343 | | int ref_frame_idx_1; |
344 | | } SkipModeInfo; |
345 | | |
346 | | typedef struct { |
347 | | FRAME_TYPE frame_type; |
348 | | REFERENCE_MODE reference_mode; |
349 | | |
350 | | unsigned int order_hint; |
351 | | unsigned int display_order_hint; |
352 | | // Frame's level within the hierarchical structure. |
353 | | unsigned int pyramid_level; |
354 | | unsigned int frame_number; |
355 | | SkipModeInfo skip_mode_info; |
356 | | int refresh_frame_flags; // Which ref frames are overwritten by this frame |
357 | | int frame_refs_short_signaling; |
358 | | } CurrentFrame; |
359 | | |
360 | | /*!\endcond */ |
361 | | |
362 | | /*! |
363 | | * \brief Frame level features. |
364 | | */ |
365 | | typedef struct { |
366 | | /*! |
367 | | * If true, CDF update in the symbol encoding/decoding process is disabled. |
368 | | */ |
369 | | bool disable_cdf_update; |
370 | | /*! |
371 | | * If true, motion vectors are specified to eighth pel precision; and |
372 | | * if false, motion vectors are specified to quarter pel precision. |
373 | | */ |
374 | | bool allow_high_precision_mv; |
375 | | /*! |
376 | | * If true, force integer motion vectors; if false, use the default. |
377 | | */ |
378 | | bool cur_frame_force_integer_mv; |
379 | | /*! |
380 | | * If true, palette tool and/or intra block copy tools may be used. |
381 | | */ |
382 | | bool allow_screen_content_tools; |
383 | | bool allow_intrabc; /*!< If true, intra block copy tool may be used. */ |
384 | | bool allow_warped_motion; /*!< If true, frame may use warped motion mode. */ |
385 | | /*! |
386 | | * If true, using previous frames' motion vectors for prediction is allowed. |
387 | | */ |
388 | | bool allow_ref_frame_mvs; |
389 | | /*! |
390 | | * If true, frame is fully lossless at coded resolution. |
391 | | * */ |
392 | | bool coded_lossless; |
393 | | /*! |
394 | | * If true, frame is fully lossless at upscaled resolution. |
395 | | */ |
396 | | bool all_lossless; |
397 | | /*! |
398 | | * If true, the frame is restricted to a reduced subset of the full set of |
399 | | * transform types. |
400 | | */ |
401 | | bool reduced_tx_set_used; |
402 | | /*! |
403 | | * If true, error resilient mode is enabled. |
404 | | * Note: Error resilient mode allows the syntax of a frame to be parsed |
405 | | * independently of previously decoded frames. |
406 | | */ |
407 | | bool error_resilient_mode; |
408 | | /*! |
409 | | * If false, only MOTION_MODE that may be used is SIMPLE_TRANSLATION; |
410 | | * if true, all MOTION_MODES may be used. |
411 | | */ |
412 | | bool switchable_motion_mode; |
413 | | TX_MODE tx_mode; /*!< Transform mode at frame level. */ |
414 | | InterpFilter interp_filter; /*!< Interpolation filter at frame level. */ |
415 | | /*! |
416 | | * The reference frame that contains the CDF values and other state that |
417 | | * should be loaded at the start of the frame. |
418 | | */ |
419 | | int primary_ref_frame; |
420 | | /*! |
421 | | * Byte alignment of the planes in the reference buffers. |
422 | | */ |
423 | | int byte_alignment; |
424 | | /*! |
425 | | * Flag signaling how frame contexts should be updated at the end of |
426 | | * a frame decode. |
427 | | */ |
428 | | REFRESH_FRAME_CONTEXT_MODE refresh_frame_context; |
429 | | } FeatureFlags; |
430 | | |
431 | | /*! |
432 | | * \brief Params related to tiles. |
433 | | */ |
434 | | typedef struct CommonTileParams { |
435 | | int cols; /*!< number of tile columns that frame is divided into */ |
436 | | int rows; /*!< number of tile rows that frame is divided into */ |
437 | | int max_width_sb; /*!< maximum tile width in superblock units. */ |
438 | | int max_height_sb; /*!< maximum tile height in superblock units. */ |
439 | | |
440 | | /*! |
441 | | * Min width of non-rightmost tile in MI units. Only valid if cols > 1. |
442 | | */ |
443 | | int min_inner_width; |
444 | | |
445 | | /*! |
446 | | * If true, tiles are uniformly spaced with power-of-two number of rows and |
447 | | * columns. |
448 | | * If false, tiles have explicitly configured widths and heights. |
449 | | */ |
450 | | int uniform_spacing; |
451 | | |
452 | | /** |
453 | | * \name Members only valid when uniform_spacing == 1 |
454 | | */ |
455 | | /**@{*/ |
456 | | int log2_cols; /*!< log2 of 'cols'. */ |
457 | | int log2_rows; /*!< log2 of 'rows'. */ |
458 | | int width; /*!< tile width in MI units */ |
459 | | int height; /*!< tile height in MI units */ |
460 | | /**@}*/ |
461 | | |
462 | | /*! |
463 | | * Min num of tile columns possible based on 'max_width_sb' and frame width. |
464 | | */ |
465 | | int min_log2_cols; |
466 | | /*! |
467 | | * Min num of tile rows possible based on 'max_height_sb' and frame height. |
468 | | */ |
469 | | int min_log2_rows; |
470 | | /*! |
471 | | * Max num of tile columns possible based on frame width. |
472 | | */ |
473 | | int max_log2_cols; |
474 | | /*! |
475 | | * Max num of tile rows possible based on frame height. |
476 | | */ |
477 | | int max_log2_rows; |
478 | | /*! |
479 | | * log2 of min number of tiles (same as min_log2_cols + min_log2_rows). |
480 | | */ |
481 | | int min_log2; |
482 | | /*! |
483 | | * col_start_sb[i] is the start position of tile column i in superblock units. |
484 | | * valid for 0 <= i <= cols |
485 | | */ |
486 | | int col_start_sb[MAX_TILE_COLS + 1]; |
487 | | /*! |
488 | | * row_start_sb[i] is the start position of tile row i in superblock units. |
489 | | * valid for 0 <= i <= rows |
490 | | */ |
491 | | int row_start_sb[MAX_TILE_ROWS + 1]; |
492 | | /*! |
493 | | * If true, we are using large scale tile mode. |
494 | | */ |
495 | | unsigned int large_scale; |
496 | | /*! |
497 | | * Only relevant when large_scale == 1. |
498 | | * If true, the independent decoding of a single tile or a section of a frame |
499 | | * is allowed. |
500 | | */ |
501 | | unsigned int single_tile_decoding; |
502 | | } CommonTileParams; |
503 | | |
504 | | typedef struct CommonModeInfoParams CommonModeInfoParams; |
505 | | /*! |
506 | | * \brief Params related to MB_MODE_INFO arrays and related info. |
507 | | */ |
508 | | struct CommonModeInfoParams { |
509 | | /*! |
510 | | * Number of rows in the frame in 16 pixel units. |
511 | | * This is computed from frame height aligned to a multiple of 8. |
512 | | */ |
513 | | int mb_rows; |
514 | | /*! |
515 | | * Number of cols in the frame in 16 pixel units. |
516 | | * This is computed from frame width aligned to a multiple of 8. |
517 | | */ |
518 | | int mb_cols; |
519 | | |
520 | | /*! |
521 | | * Total MBs = mb_rows * mb_cols. |
522 | | */ |
523 | | int MBs; |
524 | | |
525 | | /*! |
526 | | * Number of rows in the frame in 4 pixel (MB_MODE_INFO) units. |
527 | | * This is computed from frame height aligned to a multiple of 8. |
528 | | */ |
529 | | int mi_rows; |
530 | | /*! |
531 | | * Number of cols in the frame in 4 pixel (MB_MODE_INFO) units. |
532 | | * This is computed from frame width aligned to a multiple of 8. |
533 | | */ |
534 | | int mi_cols; |
535 | | |
536 | | /*! |
537 | | * An array of MB_MODE_INFO structs for every 'mi_alloc_bsize' sized block |
538 | | * in the frame. |
539 | | * Note: This array should be treated like a scratch memory, and should NOT be |
540 | | * accessed directly, in most cases. Please use 'mi_grid_base' array instead. |
541 | | */ |
542 | | MB_MODE_INFO *mi_alloc; |
543 | | /*! |
544 | | * Number of allocated elements in 'mi_alloc'. |
545 | | */ |
546 | | int mi_alloc_size; |
547 | | /*! |
548 | | * Stride for 'mi_alloc' array. |
549 | | */ |
550 | | int mi_alloc_stride; |
551 | | /*! |
552 | | * The minimum block size that each element in 'mi_alloc' can correspond to. |
553 | | * For decoder, this is always BLOCK_4X4. |
554 | | * For encoder, this is BLOCK_8X8 for resolution >= 4k case or REALTIME mode |
555 | | * case. Otherwise, this is BLOCK_4X4. |
556 | | */ |
557 | | BLOCK_SIZE mi_alloc_bsize; |
558 | | |
559 | | /*! |
560 | | * Grid of pointers to 4x4 MB_MODE_INFO structs allocated in 'mi_alloc'. |
561 | | * It's possible that: |
562 | | * - Multiple pointers in the grid point to the same element in 'mi_alloc' |
563 | | * (for example, for all 4x4 blocks that belong to the same partition block). |
564 | | * - Some pointers can be NULL (for example, for blocks outside visible area). |
565 | | */ |
566 | | MB_MODE_INFO **mi_grid_base; |
567 | | /*! |
568 | | * Number of allocated elements in 'mi_grid_base' (and 'tx_type_map' also). |
569 | | */ |
570 | | int mi_grid_size; |
571 | | /*! |
572 | | * Stride for 'mi_grid_base' (and 'tx_type_map' also). |
573 | | */ |
574 | | int mi_stride; |
575 | | |
576 | | /*! |
577 | | * An array of tx types for each 4x4 block in the frame. |
578 | | * Number of allocated elements is same as 'mi_grid_size', and stride is |
579 | | * same as 'mi_grid_size'. So, indexing into 'tx_type_map' is same as that of |
580 | | * 'mi_grid_base'. |
581 | | */ |
582 | | TX_TYPE *tx_type_map; |
583 | | |
584 | | /** |
585 | | * \name Function pointers to allow separate logic for encoder and decoder. |
586 | | */ |
587 | | /**@{*/ |
588 | | /*! |
589 | | * Free the memory allocated to arrays in 'mi_params'. |
590 | | * \param[in,out] mi_params object containing common mode info parameters |
591 | | */ |
592 | | void (*free_mi)(struct CommonModeInfoParams *mi_params); |
593 | | /*! |
594 | | * Initialize / reset appropriate arrays in 'mi_params'. |
595 | | * \param[in,out] mi_params object containing common mode info parameters |
596 | | */ |
597 | | void (*setup_mi)(struct CommonModeInfoParams *mi_params); |
598 | | /*! |
599 | | * Allocate required memory for arrays in 'mi_params'. |
600 | | * \param[in,out] mi_params object containing common mode info |
601 | | * parameters |
602 | | * \param width frame width |
603 | | * \param height frame height |
604 | | * \param min_partition_size minimum partition size allowed while |
605 | | * encoding |
606 | | */ |
607 | | void (*set_mb_mi)(struct CommonModeInfoParams *mi_params, int width, |
608 | | int height, BLOCK_SIZE min_partition_size); |
609 | | /**@}*/ |
610 | | }; |
611 | | |
612 | | typedef struct CommonQuantParams CommonQuantParams; |
613 | | /*! |
614 | | * \brief Parameters related to quantization at the frame level. |
615 | | */ |
616 | | struct CommonQuantParams { |
617 | | /*! |
618 | | * Base qindex of the frame in the range 0 to 255. |
619 | | */ |
620 | | int base_qindex; |
621 | | |
622 | | /*! |
623 | | * Delta of qindex (from base_qindex) for Y plane DC coefficient. |
624 | | * Note: y_ac_delta_q is implicitly 0. |
625 | | */ |
626 | | int y_dc_delta_q; |
627 | | |
628 | | /*! |
629 | | * Delta of qindex (from base_qindex) for U plane DC coefficients. |
630 | | */ |
631 | | int u_dc_delta_q; |
632 | | /*! |
633 | | * Delta of qindex (from base_qindex) for U plane AC coefficients. |
634 | | */ |
635 | | int v_dc_delta_q; |
636 | | |
637 | | /*! |
638 | | * Delta of qindex (from base_qindex) for V plane DC coefficients. |
639 | | * Same as those for U plane if cm->seq_params->separate_uv_delta_q == 0. |
640 | | */ |
641 | | int u_ac_delta_q; |
642 | | /*! |
643 | | * Delta of qindex (from base_qindex) for V plane AC coefficients. |
644 | | * Same as those for U plane if cm->seq_params->separate_uv_delta_q == 0. |
645 | | */ |
646 | | int v_ac_delta_q; |
647 | | |
648 | | /* |
649 | | * Note: The qindex per superblock may have a delta from the qindex obtained |
650 | | * at frame level from parameters above, based on 'cm->delta_q_info'. |
651 | | */ |
652 | | |
653 | | /** |
654 | | * \name True dequantizers. |
655 | | * The dequantizers below are true dequantizers used only in the |
656 | | * dequantization process. They have the same coefficient |
657 | | * shift/scale as TX. |
658 | | */ |
659 | | /**@{*/ |
660 | | int16_t y_dequant_QTX[MAX_SEGMENTS][2]; /*!< Dequant for Y plane */ |
661 | | int16_t u_dequant_QTX[MAX_SEGMENTS][2]; /*!< Dequant for U plane */ |
662 | | int16_t v_dequant_QTX[MAX_SEGMENTS][2]; /*!< Dequant for V plane */ |
663 | | /**@}*/ |
664 | | |
665 | | /** |
666 | | * \name Global quantization matrix tables. |
667 | | */ |
668 | | /**@{*/ |
669 | | /*! |
670 | | * Global dequantization matrix table. |
671 | | */ |
672 | | const qm_val_t *giqmatrix[NUM_QM_LEVELS][3][TX_SIZES_ALL]; |
673 | | /*! |
674 | | * Global quantization matrix table. |
675 | | */ |
676 | | const qm_val_t *gqmatrix[NUM_QM_LEVELS][3][TX_SIZES_ALL]; |
677 | | /**@}*/ |
678 | | |
679 | | /** |
680 | | * \name Local dequantization matrix tables for each frame. |
681 | | */ |
682 | | /**@{*/ |
683 | | /*! |
684 | | * Local dequant matrix for Y plane. |
685 | | */ |
686 | | const qm_val_t *y_iqmatrix[MAX_SEGMENTS][TX_SIZES_ALL]; |
687 | | /*! |
688 | | * Local dequant matrix for U plane. |
689 | | */ |
690 | | const qm_val_t *u_iqmatrix[MAX_SEGMENTS][TX_SIZES_ALL]; |
691 | | /*! |
692 | | * Local dequant matrix for V plane. |
693 | | */ |
694 | | const qm_val_t *v_iqmatrix[MAX_SEGMENTS][TX_SIZES_ALL]; |
695 | | /**@}*/ |
696 | | |
697 | | /*! |
698 | | * Flag indicating whether quantization matrices are being used: |
699 | | * - If true, qm_level_y, qm_level_u and qm_level_v indicate the level |
700 | | * indices to be used to access appropriate global quant matrix tables. |
701 | | * - If false, we implicitly use level index 'NUM_QM_LEVELS - 1'. |
702 | | */ |
703 | | bool using_qmatrix; |
704 | | /** |
705 | | * \name Valid only when using_qmatrix == true |
706 | | * Indicate the level indices to be used to access appropriate global quant |
707 | | * matrix tables. |
708 | | */ |
709 | | /**@{*/ |
710 | | int qmatrix_level_y; /*!< Level index for Y plane */ |
711 | | int qmatrix_level_u; /*!< Level index for U plane */ |
712 | | int qmatrix_level_v; /*!< Level index for V plane */ |
713 | | /**@}*/ |
714 | | }; |
715 | | |
716 | | typedef struct CommonContexts CommonContexts; |
717 | | /*! |
718 | | * \brief Contexts used for transmitting various symbols in the bitstream. |
719 | | */ |
720 | | struct CommonContexts { |
721 | | /*! |
722 | | * Context used by 'FRAME_CONTEXT.partition_cdf' to transmit partition type. |
723 | | * partition[i][j] is the context for ith tile row, jth mi_col. |
724 | | */ |
725 | | PARTITION_CONTEXT **partition; |
726 | | |
727 | | /*! |
728 | | * Context used to derive context for multiple symbols: |
729 | | * - 'TXB_CTX.txb_skip_ctx' used by 'FRAME_CONTEXT.txb_skip_cdf' to transmit |
730 | | * to transmit skip_txfm flag. |
731 | | * - 'TXB_CTX.dc_sign_ctx' used by 'FRAME_CONTEXT.dc_sign_cdf' to transmit |
732 | | * sign. |
733 | | * entropy[i][j][k] is the context for ith plane, jth tile row, kth mi_col. |
734 | | */ |
735 | | ENTROPY_CONTEXT **entropy[MAX_MB_PLANE]; |
736 | | |
737 | | /*! |
738 | | * Context used to derive context for 'FRAME_CONTEXT.txfm_partition_cdf' to |
739 | | * transmit 'is_split' flag to indicate if this transform block should be |
740 | | * split into smaller sub-blocks. |
741 | | * txfm[i][j] is the context for ith tile row, jth mi_col. |
742 | | */ |
743 | | TXFM_CONTEXT **txfm; |
744 | | |
745 | | /*! |
746 | | * Dimensions that were used to allocate the arrays above. |
747 | | * If these dimensions change, the arrays may have to be re-allocated. |
748 | | */ |
749 | | int num_planes; /*!< Corresponds to av1_num_planes(cm) */ |
750 | | int num_tile_rows; /*!< Corresponds to cm->tiles.row */ |
751 | | int num_mi_cols; /*!< Corresponds to cm->mi_params.mi_cols */ |
752 | | }; |
753 | | |
754 | | /*! |
755 | | * \brief Top level common structure used by both encoder and decoder. |
756 | | */ |
757 | | typedef struct AV1Common { |
758 | | /*! |
759 | | * Information about the current frame that is being coded. |
760 | | */ |
761 | | CurrentFrame current_frame; |
762 | | /*! |
763 | | * Code and details about current error status. |
764 | | */ |
765 | | struct aom_internal_error_info *error; |
766 | | |
767 | | /*! |
768 | | * AV1 allows two types of frame scaling operations: |
769 | | * 1. Frame super-resolution: that allows coding a frame at lower resolution |
770 | | * and after decoding the frame, normatively scales and restores the frame -- |
771 | | * inside the coding loop. |
772 | | * 2. Frame resize: that allows coding frame at lower/higher resolution, and |
773 | | * then non-normatively upscale the frame at the time of rendering -- outside |
774 | | * the coding loop. |
775 | | * Hence, the need for 3 types of dimensions. |
776 | | */ |
777 | | |
778 | | /** |
779 | | * \name Coded frame dimensions. |
780 | | */ |
781 | | /**@{*/ |
782 | | int width; /*!< Coded frame width */ |
783 | | int height; /*!< Coded frame height */ |
784 | | /**@}*/ |
785 | | |
786 | | /** |
787 | | * \name Rendered frame dimensions. |
788 | | * Dimensions after applying both super-resolution and resize to the coded |
789 | | * frame. Different from coded dimensions if super-resolution and/or resize |
790 | | * are being used for this frame. |
791 | | */ |
792 | | /**@{*/ |
793 | | int render_width; /*!< Rendered frame width */ |
794 | | int render_height; /*!< Rendered frame height */ |
795 | | /**@}*/ |
796 | | |
797 | | /** |
798 | | * \name Super-resolved frame dimensions. |
799 | | * Frame dimensions after applying super-resolution to the coded frame (if |
800 | | * present), but before applying resize. |
801 | | * Larger than the coded dimensions if super-resolution is being used for |
802 | | * this frame. |
803 | | * Different from rendered dimensions if resize is being used for this frame. |
804 | | */ |
805 | | /**@{*/ |
806 | | int superres_upscaled_width; /*!< Super-resolved frame width */ |
807 | | int superres_upscaled_height; /*!< Super-resolved frame height */ |
808 | | /**@}*/ |
809 | | |
810 | | /*! |
811 | | * The denominator of the superres scale used by this frame. |
812 | | * Note: The numerator is fixed to be SCALE_NUMERATOR. |
813 | | */ |
814 | | uint8_t superres_scale_denominator; |
815 | | |
816 | | /*! |
817 | | * buffer_removal_times[op_num] specifies the frame removal time in units of |
818 | | * DecCT clock ticks counted from the removal time of the last random access |
819 | | * point for operating point op_num. |
820 | | * TODO(urvang): We probably don't need the +1 here. |
821 | | */ |
822 | | uint32_t buffer_removal_times[MAX_NUM_OPERATING_POINTS + 1]; |
823 | | /*! |
824 | | * Presentation time of the frame in clock ticks DispCT counted from the |
825 | | * removal time of the last random access point for the operating point that |
826 | | * is being decoded. |
827 | | */ |
828 | | uint32_t frame_presentation_time; |
829 | | |
830 | | /*! |
831 | | * Buffer where previous frame is stored. |
832 | | */ |
833 | | RefCntBuffer *prev_frame; |
834 | | |
835 | | /*! |
836 | | * Buffer into which the current frame will be stored and other related info. |
837 | | * TODO(hkuang): Combine this with cur_buf in macroblockd. |
838 | | */ |
839 | | RefCntBuffer *cur_frame; |
840 | | |
841 | | /*! |
842 | | * For encoder, we have a two-level mapping from reference frame type to the |
843 | | * corresponding buffer in the buffer pool: |
844 | | * * 'remapped_ref_idx[i - 1]' maps reference type 'i' (range: LAST_FRAME ... |
845 | | * EXTREF_FRAME) to a remapped index 'j' (in range: 0 ... REF_FRAMES - 1) |
846 | | * * Later, 'cm->ref_frame_map[j]' maps the remapped index 'j' to a pointer to |
847 | | * the reference counted buffer structure RefCntBuffer, taken from the buffer |
848 | | * pool cm->buffer_pool->frame_bufs. |
849 | | * |
850 | | * LAST_FRAME, ..., EXTREF_FRAME |
851 | | * | | |
852 | | * v v |
853 | | * remapped_ref_idx[LAST_FRAME - 1], ..., remapped_ref_idx[EXTREF_FRAME - 1] |
854 | | * | | |
855 | | * v v |
856 | | * ref_frame_map[], ..., ref_frame_map[] |
857 | | * |
858 | | * Note: INTRA_FRAME always refers to the current frame, so there's no need to |
859 | | * have a remapped index for the same. |
860 | | */ |
861 | | int remapped_ref_idx[REF_FRAMES]; |
862 | | |
863 | | /*! |
864 | | * Scale of the current frame with respect to itself. |
865 | | * This is currently used for intra block copy, which behaves like an inter |
866 | | * prediction mode, where the reference frame is the current frame itself. |
867 | | */ |
868 | | struct scale_factors sf_identity; |
869 | | |
870 | | /*! |
871 | | * Scale factors of the reference frame with respect to the current frame. |
872 | | * This is required for generating inter prediction and will be non-identity |
873 | | * for a reference frame, if it has different dimensions than the coded |
874 | | * dimensions of the current frame. |
875 | | */ |
876 | | struct scale_factors ref_scale_factors[REF_FRAMES]; |
877 | | |
878 | | /*! |
879 | | * For decoder, ref_frame_map[i] maps reference type 'i' to a pointer to |
880 | | * the buffer in the buffer pool 'cm->buffer_pool.frame_bufs'. |
881 | | * For encoder, ref_frame_map[j] (where j = remapped_ref_idx[i]) maps |
882 | | * remapped reference index 'j' (that is, original reference type 'i') to |
883 | | * a pointer to the buffer in the buffer pool 'cm->buffer_pool.frame_bufs'. |
884 | | */ |
885 | | RefCntBuffer *ref_frame_map[REF_FRAMES]; |
886 | | |
887 | | /*! |
888 | | * If true, this frame is actually shown after decoding. |
889 | | * If false, this frame is coded in the bitstream, but not shown. It is only |
890 | | * used as a reference for other frames coded later. |
891 | | */ |
892 | | int show_frame; |
893 | | |
894 | | /*! |
895 | | * If true, this frame can be used as a show-existing frame for other frames |
896 | | * coded later. |
897 | | * When 'show_frame' is true, this is always true for all non-keyframes. |
898 | | * When 'show_frame' is false, this value is transmitted in the bitstream. |
899 | | */ |
900 | | int showable_frame; |
901 | | |
902 | | /*! |
903 | | * If true, show an existing frame coded before, instead of actually coding a |
904 | | * frame. The existing frame comes from one of the existing reference buffers, |
905 | | * as signaled in the bitstream. |
906 | | */ |
907 | | int show_existing_frame; |
908 | | |
909 | | /*! |
910 | | * Whether some features are allowed or not. |
911 | | */ |
912 | | FeatureFlags features; |
913 | | |
914 | | /*! |
915 | | * Params related to MB_MODE_INFO arrays and related info. |
916 | | */ |
917 | | CommonModeInfoParams mi_params; |
918 | | |
919 | | #if CONFIG_ENTROPY_STATS |
920 | | /*! |
921 | | * Context type used by token CDFs, in the range 0 .. (TOKEN_CDF_Q_CTXS - 1). |
922 | | */ |
923 | | int coef_cdf_category; |
924 | | #endif // CONFIG_ENTROPY_STATS |
925 | | |
926 | | /*! |
927 | | * Quantization params. |
928 | | */ |
929 | | CommonQuantParams quant_params; |
930 | | |
931 | | /*! |
932 | | * Segmentation info for current frame. |
933 | | */ |
934 | | struct segmentation seg; |
935 | | |
936 | | /*! |
937 | | * Segmentation map for previous frame. |
938 | | */ |
939 | | uint8_t *last_frame_seg_map; |
940 | | |
941 | | /** |
942 | | * \name Deblocking filter parameters. |
943 | | */ |
944 | | /**@{*/ |
945 | | loop_filter_info_n lf_info; /*!< Loop filter info */ |
946 | | struct loopfilter lf; /*!< Loop filter parameters */ |
947 | | /**@}*/ |
948 | | |
949 | | /** |
950 | | * \name Loop Restoration filter parameters. |
951 | | */ |
952 | | /**@{*/ |
953 | | RestorationInfo rst_info[MAX_MB_PLANE]; /*!< Loop Restoration filter info */ |
954 | | int32_t *rst_tmpbuf; /*!< Scratch buffer for self-guided restoration */ |
955 | | RestorationLineBuffers *rlbs; /*!< Line buffers needed by loop restoration */ |
956 | | YV12_BUFFER_CONFIG rst_frame; /*!< Stores the output of loop restoration */ |
957 | | /**@}*/ |
958 | | |
959 | | /*! |
960 | | * CDEF (Constrained Directional Enhancement Filter) parameters. |
961 | | */ |
962 | | CdefInfo cdef_info; |
963 | | |
964 | | /*! |
965 | | * Parameters for film grain synthesis. |
966 | | */ |
967 | | aom_film_grain_t film_grain_params; |
968 | | |
969 | | /*! |
970 | | * Parameters for delta quantization and delta loop filter level. |
971 | | */ |
972 | | DeltaQInfo delta_q_info; |
973 | | |
974 | | /*! |
975 | | * Global motion parameters for each reference frame. |
976 | | */ |
977 | | WarpedMotionParams global_motion[REF_FRAMES]; |
978 | | |
979 | | /*! |
980 | | * Elements part of the sequence header, that are applicable for all the |
981 | | * frames in the video. |
982 | | */ |
983 | | SequenceHeader *seq_params; |
984 | | |
985 | | /*! |
986 | | * Current CDFs of all the symbols for the current frame. |
987 | | */ |
988 | | FRAME_CONTEXT *fc; |
989 | | /*! |
990 | | * Default CDFs used when features.primary_ref_frame = PRIMARY_REF_NONE |
991 | | * (e.g. for a keyframe). These default CDFs are defined by the bitstream and |
992 | | * copied from default CDF tables for each symbol. |
993 | | */ |
994 | | FRAME_CONTEXT *default_frame_context; |
995 | | |
996 | | /*! |
997 | | * Parameters related to tiling. |
998 | | */ |
999 | | CommonTileParams tiles; |
1000 | | |
1001 | | /*! |
1002 | | * External BufferPool passed from outside. |
1003 | | */ |
1004 | | BufferPool *buffer_pool; |
1005 | | |
1006 | | /*! |
1007 | | * Above context buffers and their sizes. |
1008 | | * Note: above contexts are allocated in this struct, as their size is |
1009 | | * dependent on frame width, while left contexts are declared and allocated in |
1010 | | * MACROBLOCKD struct, as they have a fixed size. |
1011 | | */ |
1012 | | CommonContexts above_contexts; |
1013 | | |
1014 | | /** |
1015 | | * \name Signaled when cm->seq_params->frame_id_numbers_present_flag == 1 |
1016 | | */ |
1017 | | /**@{*/ |
1018 | | int current_frame_id; /*!< frame ID for the current frame. */ |
1019 | | int ref_frame_id[REF_FRAMES]; /*!< frame IDs for the reference frames. */ |
1020 | | /**@}*/ |
1021 | | |
1022 | | /*! |
1023 | | * Motion vectors provided by motion field estimation. |
1024 | | * tpl_mvs[row * stride + col] stores MV for block at [mi_row, mi_col] where: |
1025 | | * mi_row = 2 * row, |
1026 | | * mi_col = 2 * col, and |
1027 | | * stride = cm->mi_params.mi_stride / 2 |
1028 | | */ |
1029 | | TPL_MV_REF *tpl_mvs; |
1030 | | /*! |
1031 | | * Allocated size of 'tpl_mvs' array. Refer to 'ensure_mv_buffer()' function. |
1032 | | */ |
1033 | | int tpl_mvs_mem_size; |
1034 | | /*! |
1035 | | * ref_frame_sign_bias[k] is 1 if relative distance between reference 'k' and |
1036 | | * current frame is positive; and 0 otherwise. |
1037 | | */ |
1038 | | int ref_frame_sign_bias[REF_FRAMES]; |
1039 | | /*! |
1040 | | * ref_frame_side[k] is 1 if relative distance between reference 'k' and |
1041 | | * current frame is positive, -1 if relative distance is 0; and 0 otherwise. |
1042 | | * TODO(jingning): This can be combined with sign_bias later. |
1043 | | */ |
1044 | | int8_t ref_frame_side[REF_FRAMES]; |
1045 | | |
1046 | | /*! |
1047 | | * Temporal layer ID of this frame |
1048 | | * (in the range 0 ... (number_temporal_layers - 1)). |
1049 | | */ |
1050 | | int temporal_layer_id; |
1051 | | |
1052 | | /*! |
1053 | | * Spatial layer ID of this frame |
1054 | | * (in the range 0 ... (number_spatial_layers - 1)). |
1055 | | */ |
1056 | | int spatial_layer_id; |
1057 | | |
1058 | | #if TXCOEFF_TIMER |
1059 | | int64_t cum_txcoeff_timer; |
1060 | | int64_t txcoeff_timer; |
1061 | | int txb_count; |
1062 | | #endif // TXCOEFF_TIMER |
1063 | | |
1064 | | #if TXCOEFF_COST_TIMER |
1065 | | int64_t cum_txcoeff_cost_timer; |
1066 | | int64_t txcoeff_cost_timer; |
1067 | | int64_t txcoeff_cost_count; |
1068 | | #endif // TXCOEFF_COST_TIMER |
1069 | | } AV1_COMMON; |
1070 | | |
1071 | | /*!\cond */ |
1072 | | |
1073 | | // TODO(hkuang): Don't need to lock the whole pool after implementing atomic |
1074 | | // frame reference count. |
1075 | 217k | static void lock_buffer_pool(BufferPool *const pool) { |
1076 | 217k | #if CONFIG_MULTITHREAD |
1077 | 217k | pthread_mutex_lock(&pool->pool_mutex); |
1078 | | #else |
1079 | | (void)pool; |
1080 | | #endif |
1081 | 217k | } av1_dx_iface.c:lock_buffer_pool Line | Count | Source | 1075 | 19 | static void lock_buffer_pool(BufferPool *const pool) { | 1076 | 19 | #if CONFIG_MULTITHREAD | 1077 | 19 | pthread_mutex_lock(&pool->pool_mutex); | 1078 | | #else | 1079 | | (void)pool; | 1080 | | #endif | 1081 | 19 | } |
decodeframe.c:lock_buffer_pool Line | Count | Source | 1075 | 96.0k | static void lock_buffer_pool(BufferPool *const pool) { | 1076 | 96.0k | #if CONFIG_MULTITHREAD | 1077 | 96.0k | pthread_mutex_lock(&pool->pool_mutex); | 1078 | | #else | 1079 | | (void)pool; | 1080 | | #endif | 1081 | 96.0k | } |
Unexecuted instantiation: decodemv.c:lock_buffer_pool decoder.c:lock_buffer_pool Line | Count | Source | 1075 | 116k | static void lock_buffer_pool(BufferPool *const pool) { | 1076 | 116k | #if CONFIG_MULTITHREAD | 1077 | 116k | pthread_mutex_lock(&pool->pool_mutex); | 1078 | | #else | 1079 | | (void)pool; | 1080 | | #endif | 1081 | 116k | } |
Unexecuted instantiation: decodetxb.c:lock_buffer_pool Unexecuted instantiation: detokenize.c:lock_buffer_pool Unexecuted instantiation: obu.c:lock_buffer_pool Unexecuted instantiation: av1_cx_iface.c:lock_buffer_pool Unexecuted instantiation: allintra_vis.c:lock_buffer_pool Unexecuted instantiation: av1_quantize.c:lock_buffer_pool Unexecuted instantiation: bitstream.c:lock_buffer_pool Unexecuted instantiation: context_tree.c:lock_buffer_pool Unexecuted instantiation: encodeframe.c:lock_buffer_pool Unexecuted instantiation: encodeframe_utils.c:lock_buffer_pool Unexecuted instantiation: encodemb.c:lock_buffer_pool Unexecuted instantiation: encodemv.c:lock_buffer_pool Unexecuted instantiation: encoder.c:lock_buffer_pool Unexecuted instantiation: encoder_utils.c:lock_buffer_pool Unexecuted instantiation: encodetxb.c:lock_buffer_pool Unexecuted instantiation: ethread.c:lock_buffer_pool Unexecuted instantiation: firstpass.c:lock_buffer_pool Unexecuted instantiation: global_motion_facade.c:lock_buffer_pool Unexecuted instantiation: hash_motion.c:lock_buffer_pool Unexecuted instantiation: level.c:lock_buffer_pool Unexecuted instantiation: lookahead.c:lock_buffer_pool Unexecuted instantiation: mcomp.c:lock_buffer_pool Unexecuted instantiation: mv_prec.c:lock_buffer_pool Unexecuted instantiation: palette.c:lock_buffer_pool Unexecuted instantiation: partition_search.c:lock_buffer_pool Unexecuted instantiation: partition_strategy.c:lock_buffer_pool Unexecuted instantiation: pass2_strategy.c:lock_buffer_pool Unexecuted instantiation: pickcdef.c:lock_buffer_pool Unexecuted instantiation: picklpf.c:lock_buffer_pool Unexecuted instantiation: pickrst.c:lock_buffer_pool Unexecuted instantiation: ratectrl.c:lock_buffer_pool Unexecuted instantiation: rd.c:lock_buffer_pool Unexecuted instantiation: rdopt.c:lock_buffer_pool Unexecuted instantiation: nonrd_pickmode.c:lock_buffer_pool Unexecuted instantiation: nonrd_opt.c:lock_buffer_pool Unexecuted instantiation: reconinter_enc.c:lock_buffer_pool Unexecuted instantiation: segmentation.c:lock_buffer_pool Unexecuted instantiation: speed_features.c:lock_buffer_pool Unexecuted instantiation: superres_scale.c:lock_buffer_pool Unexecuted instantiation: svc_layercontext.c:lock_buffer_pool Unexecuted instantiation: temporal_filter.c:lock_buffer_pool Unexecuted instantiation: tokenize.c:lock_buffer_pool Unexecuted instantiation: tpl_model.c:lock_buffer_pool Unexecuted instantiation: tx_search.c:lock_buffer_pool Unexecuted instantiation: txb_rdopt.c:lock_buffer_pool Unexecuted instantiation: intra_mode_search.c:lock_buffer_pool Unexecuted instantiation: var_based_part.c:lock_buffer_pool Unexecuted instantiation: av1_noise_estimate.c:lock_buffer_pool Unexecuted instantiation: variance.c:lock_buffer_pool Unexecuted instantiation: pyramid.c:lock_buffer_pool Unexecuted instantiation: alloccommon.c:lock_buffer_pool Unexecuted instantiation: av1_loopfilter.c:lock_buffer_pool Unexecuted instantiation: blockd.c:lock_buffer_pool Unexecuted instantiation: cdef.c:lock_buffer_pool Unexecuted instantiation: cdef_block.c:lock_buffer_pool Unexecuted instantiation: cfl.c:lock_buffer_pool Unexecuted instantiation: debugmodes.c:lock_buffer_pool Unexecuted instantiation: entropy.c:lock_buffer_pool Unexecuted instantiation: entropymode.c:lock_buffer_pool Unexecuted instantiation: entropymv.c:lock_buffer_pool Unexecuted instantiation: mvref_common.c:lock_buffer_pool Unexecuted instantiation: pred_common.c:lock_buffer_pool Unexecuted instantiation: quant_common.c:lock_buffer_pool Unexecuted instantiation: reconinter.c:lock_buffer_pool Unexecuted instantiation: reconintra.c:lock_buffer_pool resize.c:lock_buffer_pool Line | Count | Source | 1075 | 4.26k | static void lock_buffer_pool(BufferPool *const pool) { | 1076 | 4.26k | #if CONFIG_MULTITHREAD | 1077 | 4.26k | pthread_mutex_lock(&pool->pool_mutex); | 1078 | | #else | 1079 | | (void)pool; | 1080 | | #endif | 1081 | 4.26k | } |
Unexecuted instantiation: restoration.c:lock_buffer_pool Unexecuted instantiation: scan.c:lock_buffer_pool Unexecuted instantiation: thread_common.c:lock_buffer_pool Unexecuted instantiation: tile_common.c:lock_buffer_pool Unexecuted instantiation: txb_common.c:lock_buffer_pool Unexecuted instantiation: warped_motion.c:lock_buffer_pool Unexecuted instantiation: aq_complexity.c:lock_buffer_pool Unexecuted instantiation: aq_cyclicrefresh.c:lock_buffer_pool Unexecuted instantiation: aq_variance.c:lock_buffer_pool Unexecuted instantiation: cnn.c:lock_buffer_pool Unexecuted instantiation: compound_type.c:lock_buffer_pool Unexecuted instantiation: encode_strategy.c:lock_buffer_pool Unexecuted instantiation: global_motion.c:lock_buffer_pool Unexecuted instantiation: gop_structure.c:lock_buffer_pool Unexecuted instantiation: interp_search.c:lock_buffer_pool Unexecuted instantiation: motion_search_facade.c:lock_buffer_pool Unexecuted instantiation: wedge_utils.c:lock_buffer_pool Unexecuted instantiation: convolve.c:lock_buffer_pool |
1082 | | |
1083 | 217k | static void unlock_buffer_pool(BufferPool *const pool) { |
1084 | 217k | #if CONFIG_MULTITHREAD |
1085 | 217k | pthread_mutex_unlock(&pool->pool_mutex); |
1086 | | #else |
1087 | | (void)pool; |
1088 | | #endif |
1089 | 217k | } av1_dx_iface.c:unlock_buffer_pool Line | Count | Source | 1083 | 19 | static void unlock_buffer_pool(BufferPool *const pool) { | 1084 | 19 | #if CONFIG_MULTITHREAD | 1085 | 19 | pthread_mutex_unlock(&pool->pool_mutex); | 1086 | | #else | 1087 | | (void)pool; | 1088 | | #endif | 1089 | 19 | } |
decodeframe.c:unlock_buffer_pool Line | Count | Source | 1083 | 96.0k | static void unlock_buffer_pool(BufferPool *const pool) { | 1084 | 96.0k | #if CONFIG_MULTITHREAD | 1085 | 96.0k | pthread_mutex_unlock(&pool->pool_mutex); | 1086 | | #else | 1087 | | (void)pool; | 1088 | | #endif | 1089 | 96.0k | } |
Unexecuted instantiation: decodemv.c:unlock_buffer_pool decoder.c:unlock_buffer_pool Line | Count | Source | 1083 | 116k | static void unlock_buffer_pool(BufferPool *const pool) { | 1084 | 116k | #if CONFIG_MULTITHREAD | 1085 | 116k | pthread_mutex_unlock(&pool->pool_mutex); | 1086 | | #else | 1087 | | (void)pool; | 1088 | | #endif | 1089 | 116k | } |
Unexecuted instantiation: decodetxb.c:unlock_buffer_pool Unexecuted instantiation: detokenize.c:unlock_buffer_pool Unexecuted instantiation: obu.c:unlock_buffer_pool Unexecuted instantiation: av1_cx_iface.c:unlock_buffer_pool Unexecuted instantiation: allintra_vis.c:unlock_buffer_pool Unexecuted instantiation: av1_quantize.c:unlock_buffer_pool Unexecuted instantiation: bitstream.c:unlock_buffer_pool Unexecuted instantiation: context_tree.c:unlock_buffer_pool Unexecuted instantiation: encodeframe.c:unlock_buffer_pool Unexecuted instantiation: encodeframe_utils.c:unlock_buffer_pool Unexecuted instantiation: encodemb.c:unlock_buffer_pool Unexecuted instantiation: encodemv.c:unlock_buffer_pool Unexecuted instantiation: encoder.c:unlock_buffer_pool Unexecuted instantiation: encoder_utils.c:unlock_buffer_pool Unexecuted instantiation: encodetxb.c:unlock_buffer_pool Unexecuted instantiation: ethread.c:unlock_buffer_pool Unexecuted instantiation: firstpass.c:unlock_buffer_pool Unexecuted instantiation: global_motion_facade.c:unlock_buffer_pool Unexecuted instantiation: hash_motion.c:unlock_buffer_pool Unexecuted instantiation: level.c:unlock_buffer_pool Unexecuted instantiation: lookahead.c:unlock_buffer_pool Unexecuted instantiation: mcomp.c:unlock_buffer_pool Unexecuted instantiation: mv_prec.c:unlock_buffer_pool Unexecuted instantiation: palette.c:unlock_buffer_pool Unexecuted instantiation: partition_search.c:unlock_buffer_pool Unexecuted instantiation: partition_strategy.c:unlock_buffer_pool Unexecuted instantiation: pass2_strategy.c:unlock_buffer_pool Unexecuted instantiation: pickcdef.c:unlock_buffer_pool Unexecuted instantiation: picklpf.c:unlock_buffer_pool Unexecuted instantiation: pickrst.c:unlock_buffer_pool Unexecuted instantiation: ratectrl.c:unlock_buffer_pool Unexecuted instantiation: rd.c:unlock_buffer_pool Unexecuted instantiation: rdopt.c:unlock_buffer_pool Unexecuted instantiation: nonrd_pickmode.c:unlock_buffer_pool Unexecuted instantiation: nonrd_opt.c:unlock_buffer_pool Unexecuted instantiation: reconinter_enc.c:unlock_buffer_pool Unexecuted instantiation: segmentation.c:unlock_buffer_pool Unexecuted instantiation: speed_features.c:unlock_buffer_pool Unexecuted instantiation: superres_scale.c:unlock_buffer_pool Unexecuted instantiation: svc_layercontext.c:unlock_buffer_pool Unexecuted instantiation: temporal_filter.c:unlock_buffer_pool Unexecuted instantiation: tokenize.c:unlock_buffer_pool Unexecuted instantiation: tpl_model.c:unlock_buffer_pool Unexecuted instantiation: tx_search.c:unlock_buffer_pool Unexecuted instantiation: txb_rdopt.c:unlock_buffer_pool Unexecuted instantiation: intra_mode_search.c:unlock_buffer_pool Unexecuted instantiation: var_based_part.c:unlock_buffer_pool Unexecuted instantiation: av1_noise_estimate.c:unlock_buffer_pool Unexecuted instantiation: variance.c:unlock_buffer_pool Unexecuted instantiation: pyramid.c:unlock_buffer_pool Unexecuted instantiation: alloccommon.c:unlock_buffer_pool Unexecuted instantiation: av1_loopfilter.c:unlock_buffer_pool Unexecuted instantiation: blockd.c:unlock_buffer_pool Unexecuted instantiation: cdef.c:unlock_buffer_pool Unexecuted instantiation: cdef_block.c:unlock_buffer_pool Unexecuted instantiation: cfl.c:unlock_buffer_pool Unexecuted instantiation: debugmodes.c:unlock_buffer_pool Unexecuted instantiation: entropy.c:unlock_buffer_pool Unexecuted instantiation: entropymode.c:unlock_buffer_pool Unexecuted instantiation: entropymv.c:unlock_buffer_pool Unexecuted instantiation: mvref_common.c:unlock_buffer_pool Unexecuted instantiation: pred_common.c:unlock_buffer_pool Unexecuted instantiation: quant_common.c:unlock_buffer_pool Unexecuted instantiation: reconinter.c:unlock_buffer_pool Unexecuted instantiation: reconintra.c:unlock_buffer_pool resize.c:unlock_buffer_pool Line | Count | Source | 1083 | 4.26k | static void unlock_buffer_pool(BufferPool *const pool) { | 1084 | 4.26k | #if CONFIG_MULTITHREAD | 1085 | 4.26k | pthread_mutex_unlock(&pool->pool_mutex); | 1086 | | #else | 1087 | | (void)pool; | 1088 | | #endif | 1089 | 4.26k | } |
Unexecuted instantiation: restoration.c:unlock_buffer_pool Unexecuted instantiation: scan.c:unlock_buffer_pool Unexecuted instantiation: thread_common.c:unlock_buffer_pool Unexecuted instantiation: tile_common.c:unlock_buffer_pool Unexecuted instantiation: txb_common.c:unlock_buffer_pool Unexecuted instantiation: warped_motion.c:unlock_buffer_pool Unexecuted instantiation: aq_complexity.c:unlock_buffer_pool Unexecuted instantiation: aq_cyclicrefresh.c:unlock_buffer_pool Unexecuted instantiation: aq_variance.c:unlock_buffer_pool Unexecuted instantiation: cnn.c:unlock_buffer_pool Unexecuted instantiation: compound_type.c:unlock_buffer_pool Unexecuted instantiation: encode_strategy.c:unlock_buffer_pool Unexecuted instantiation: global_motion.c:unlock_buffer_pool Unexecuted instantiation: gop_structure.c:unlock_buffer_pool Unexecuted instantiation: interp_search.c:unlock_buffer_pool Unexecuted instantiation: motion_search_facade.c:unlock_buffer_pool Unexecuted instantiation: wedge_utils.c:unlock_buffer_pool Unexecuted instantiation: convolve.c:unlock_buffer_pool |
1090 | | |
1091 | 0 | static inline YV12_BUFFER_CONFIG *get_ref_frame(AV1_COMMON *cm, int index) { |
1092 | 0 | if (index < 0 || index >= REF_FRAMES) return NULL; |
1093 | 0 | if (cm->ref_frame_map[index] == NULL) return NULL; |
1094 | 0 | return &cm->ref_frame_map[index]->buf; |
1095 | 0 | } Unexecuted instantiation: av1_dx_iface.c:get_ref_frame Unexecuted instantiation: decodeframe.c:get_ref_frame Unexecuted instantiation: decodemv.c:get_ref_frame Unexecuted instantiation: decoder.c:get_ref_frame Unexecuted instantiation: decodetxb.c:get_ref_frame Unexecuted instantiation: detokenize.c:get_ref_frame Unexecuted instantiation: obu.c:get_ref_frame Unexecuted instantiation: av1_cx_iface.c:get_ref_frame Unexecuted instantiation: allintra_vis.c:get_ref_frame Unexecuted instantiation: av1_quantize.c:get_ref_frame Unexecuted instantiation: bitstream.c:get_ref_frame Unexecuted instantiation: context_tree.c:get_ref_frame Unexecuted instantiation: encodeframe.c:get_ref_frame Unexecuted instantiation: encodeframe_utils.c:get_ref_frame Unexecuted instantiation: encodemb.c:get_ref_frame Unexecuted instantiation: encodemv.c:get_ref_frame Unexecuted instantiation: encoder.c:get_ref_frame Unexecuted instantiation: encoder_utils.c:get_ref_frame Unexecuted instantiation: encodetxb.c:get_ref_frame Unexecuted instantiation: ethread.c:get_ref_frame Unexecuted instantiation: firstpass.c:get_ref_frame Unexecuted instantiation: global_motion_facade.c:get_ref_frame Unexecuted instantiation: hash_motion.c:get_ref_frame Unexecuted instantiation: level.c:get_ref_frame Unexecuted instantiation: lookahead.c:get_ref_frame Unexecuted instantiation: mcomp.c:get_ref_frame Unexecuted instantiation: mv_prec.c:get_ref_frame Unexecuted instantiation: palette.c:get_ref_frame Unexecuted instantiation: partition_search.c:get_ref_frame Unexecuted instantiation: partition_strategy.c:get_ref_frame Unexecuted instantiation: pass2_strategy.c:get_ref_frame Unexecuted instantiation: pickcdef.c:get_ref_frame Unexecuted instantiation: picklpf.c:get_ref_frame Unexecuted instantiation: pickrst.c:get_ref_frame Unexecuted instantiation: ratectrl.c:get_ref_frame Unexecuted instantiation: rd.c:get_ref_frame Unexecuted instantiation: rdopt.c:get_ref_frame Unexecuted instantiation: nonrd_pickmode.c:get_ref_frame Unexecuted instantiation: nonrd_opt.c:get_ref_frame Unexecuted instantiation: reconinter_enc.c:get_ref_frame Unexecuted instantiation: segmentation.c:get_ref_frame Unexecuted instantiation: speed_features.c:get_ref_frame Unexecuted instantiation: superres_scale.c:get_ref_frame Unexecuted instantiation: svc_layercontext.c:get_ref_frame Unexecuted instantiation: temporal_filter.c:get_ref_frame Unexecuted instantiation: tokenize.c:get_ref_frame Unexecuted instantiation: tpl_model.c:get_ref_frame Unexecuted instantiation: tx_search.c:get_ref_frame Unexecuted instantiation: txb_rdopt.c:get_ref_frame Unexecuted instantiation: intra_mode_search.c:get_ref_frame Unexecuted instantiation: var_based_part.c:get_ref_frame Unexecuted instantiation: av1_noise_estimate.c:get_ref_frame Unexecuted instantiation: variance.c:get_ref_frame Unexecuted instantiation: pyramid.c:get_ref_frame Unexecuted instantiation: alloccommon.c:get_ref_frame Unexecuted instantiation: av1_loopfilter.c:get_ref_frame Unexecuted instantiation: blockd.c:get_ref_frame Unexecuted instantiation: cdef.c:get_ref_frame Unexecuted instantiation: cdef_block.c:get_ref_frame Unexecuted instantiation: cfl.c:get_ref_frame Unexecuted instantiation: debugmodes.c:get_ref_frame Unexecuted instantiation: entropy.c:get_ref_frame Unexecuted instantiation: entropymode.c:get_ref_frame Unexecuted instantiation: entropymv.c:get_ref_frame Unexecuted instantiation: mvref_common.c:get_ref_frame Unexecuted instantiation: pred_common.c:get_ref_frame Unexecuted instantiation: quant_common.c:get_ref_frame Unexecuted instantiation: reconinter.c:get_ref_frame Unexecuted instantiation: reconintra.c:get_ref_frame Unexecuted instantiation: resize.c:get_ref_frame Unexecuted instantiation: restoration.c:get_ref_frame Unexecuted instantiation: scan.c:get_ref_frame Unexecuted instantiation: thread_common.c:get_ref_frame Unexecuted instantiation: tile_common.c:get_ref_frame Unexecuted instantiation: txb_common.c:get_ref_frame Unexecuted instantiation: warped_motion.c:get_ref_frame Unexecuted instantiation: aq_complexity.c:get_ref_frame Unexecuted instantiation: aq_cyclicrefresh.c:get_ref_frame Unexecuted instantiation: aq_variance.c:get_ref_frame Unexecuted instantiation: cnn.c:get_ref_frame Unexecuted instantiation: compound_type.c:get_ref_frame Unexecuted instantiation: encode_strategy.c:get_ref_frame Unexecuted instantiation: global_motion.c:get_ref_frame Unexecuted instantiation: gop_structure.c:get_ref_frame Unexecuted instantiation: interp_search.c:get_ref_frame Unexecuted instantiation: motion_search_facade.c:get_ref_frame Unexecuted instantiation: wedge_utils.c:get_ref_frame Unexecuted instantiation: convolve.c:get_ref_frame |
1096 | | |
1097 | 72.2k | static inline int get_free_fb(AV1_COMMON *cm) { |
1098 | 72.2k | RefCntBuffer *const frame_bufs = cm->buffer_pool->frame_bufs; |
1099 | 72.2k | int i; |
1100 | | |
1101 | 72.2k | lock_buffer_pool(cm->buffer_pool); |
1102 | 72.2k | const int num_frame_bufs = cm->buffer_pool->num_frame_bufs; |
1103 | 180k | for (i = 0; i < num_frame_bufs; ++i) |
1104 | 180k | if (frame_bufs[i].ref_count == 0) break; |
1105 | | |
1106 | 72.2k | if (i != num_frame_bufs) { |
1107 | 72.2k | if (frame_bufs[i].buf.use_external_reference_buffers) { |
1108 | | // If this frame buffer's y_buffer, u_buffer, and v_buffer point to the |
1109 | | // external reference buffers. Restore the buffer pointers to point to the |
1110 | | // internally allocated memory. |
1111 | 0 | YV12_BUFFER_CONFIG *ybf = &frame_bufs[i].buf; |
1112 | 0 | ybf->y_buffer = ybf->store_buf_adr[0]; |
1113 | 0 | ybf->u_buffer = ybf->store_buf_adr[1]; |
1114 | 0 | ybf->v_buffer = ybf->store_buf_adr[2]; |
1115 | 0 | ybf->use_external_reference_buffers = 0; |
1116 | 0 | } |
1117 | | |
1118 | 72.2k | frame_bufs[i].ref_count = 1; |
1119 | 72.2k | } else { |
1120 | | // We should never run out of free buffers. If this assertion fails, there |
1121 | | // is a reference leak. |
1122 | 0 | assert(0 && "Ran out of free frame buffers. Likely a reference leak."); |
1123 | | // Reset i to be INVALID_IDX to indicate no free buffer found. |
1124 | 0 | i = INVALID_IDX; |
1125 | 0 | } |
1126 | | |
1127 | 72.2k | unlock_buffer_pool(cm->buffer_pool); |
1128 | 72.2k | return i; |
1129 | 72.2k | } Unexecuted instantiation: av1_dx_iface.c:get_free_fb decodeframe.c:get_free_fb Line | Count | Source | 1097 | 13.8k | static inline int get_free_fb(AV1_COMMON *cm) { | 1098 | 13.8k | RefCntBuffer *const frame_bufs = cm->buffer_pool->frame_bufs; | 1099 | 13.8k | int i; | 1100 | | | 1101 | 13.8k | lock_buffer_pool(cm->buffer_pool); | 1102 | 13.8k | const int num_frame_bufs = cm->buffer_pool->num_frame_bufs; | 1103 | 75.9k | for (i = 0; i < num_frame_bufs; ++i) | 1104 | 75.9k | if (frame_bufs[i].ref_count == 0) break; | 1105 | | | 1106 | 13.8k | if (i != num_frame_bufs) { | 1107 | 13.8k | if (frame_bufs[i].buf.use_external_reference_buffers) { | 1108 | | // If this frame buffer's y_buffer, u_buffer, and v_buffer point to the | 1109 | | // external reference buffers. Restore the buffer pointers to point to the | 1110 | | // internally allocated memory. | 1111 | 0 | YV12_BUFFER_CONFIG *ybf = &frame_bufs[i].buf; | 1112 | 0 | ybf->y_buffer = ybf->store_buf_adr[0]; | 1113 | 0 | ybf->u_buffer = ybf->store_buf_adr[1]; | 1114 | 0 | ybf->v_buffer = ybf->store_buf_adr[2]; | 1115 | 0 | ybf->use_external_reference_buffers = 0; | 1116 | 0 | } | 1117 | | | 1118 | 13.8k | frame_bufs[i].ref_count = 1; | 1119 | 13.8k | } else { | 1120 | | // We should never run out of free buffers. If this assertion fails, there | 1121 | | // is a reference leak. | 1122 | 0 | assert(0 && "Ran out of free frame buffers. Likely a reference leak."); | 1123 | | // Reset i to be INVALID_IDX to indicate no free buffer found. | 1124 | 0 | i = INVALID_IDX; | 1125 | 0 | } | 1126 | | | 1127 | 13.8k | unlock_buffer_pool(cm->buffer_pool); | 1128 | 13.8k | return i; | 1129 | 13.8k | } |
Unexecuted instantiation: decodemv.c:get_free_fb Line | Count | Source | 1097 | 58.4k | static inline int get_free_fb(AV1_COMMON *cm) { | 1098 | 58.4k | RefCntBuffer *const frame_bufs = cm->buffer_pool->frame_bufs; | 1099 | 58.4k | int i; | 1100 | | | 1101 | 58.4k | lock_buffer_pool(cm->buffer_pool); | 1102 | 58.4k | const int num_frame_bufs = cm->buffer_pool->num_frame_bufs; | 1103 | 104k | for (i = 0; i < num_frame_bufs; ++i) | 1104 | 104k | if (frame_bufs[i].ref_count == 0) break; | 1105 | | | 1106 | 58.4k | if (i != num_frame_bufs) { | 1107 | 58.4k | if (frame_bufs[i].buf.use_external_reference_buffers) { | 1108 | | // If this frame buffer's y_buffer, u_buffer, and v_buffer point to the | 1109 | | // external reference buffers. Restore the buffer pointers to point to the | 1110 | | // internally allocated memory. | 1111 | 0 | YV12_BUFFER_CONFIG *ybf = &frame_bufs[i].buf; | 1112 | 0 | ybf->y_buffer = ybf->store_buf_adr[0]; | 1113 | 0 | ybf->u_buffer = ybf->store_buf_adr[1]; | 1114 | 0 | ybf->v_buffer = ybf->store_buf_adr[2]; | 1115 | 0 | ybf->use_external_reference_buffers = 0; | 1116 | 0 | } | 1117 | | | 1118 | 58.4k | frame_bufs[i].ref_count = 1; | 1119 | 58.4k | } else { | 1120 | | // We should never run out of free buffers. If this assertion fails, there | 1121 | | // is a reference leak. | 1122 | 0 | assert(0 && "Ran out of free frame buffers. Likely a reference leak."); | 1123 | | // Reset i to be INVALID_IDX to indicate no free buffer found. | 1124 | 0 | i = INVALID_IDX; | 1125 | 0 | } | 1126 | | | 1127 | 58.4k | unlock_buffer_pool(cm->buffer_pool); | 1128 | 58.4k | return i; | 1129 | 58.4k | } |
Unexecuted instantiation: decodetxb.c:get_free_fb Unexecuted instantiation: detokenize.c:get_free_fb Unexecuted instantiation: obu.c:get_free_fb Unexecuted instantiation: av1_cx_iface.c:get_free_fb Unexecuted instantiation: allintra_vis.c:get_free_fb Unexecuted instantiation: av1_quantize.c:get_free_fb Unexecuted instantiation: bitstream.c:get_free_fb Unexecuted instantiation: context_tree.c:get_free_fb Unexecuted instantiation: encodeframe.c:get_free_fb Unexecuted instantiation: encodeframe_utils.c:get_free_fb Unexecuted instantiation: encodemb.c:get_free_fb Unexecuted instantiation: encodemv.c:get_free_fb Unexecuted instantiation: encoder.c:get_free_fb Unexecuted instantiation: encoder_utils.c:get_free_fb Unexecuted instantiation: encodetxb.c:get_free_fb Unexecuted instantiation: ethread.c:get_free_fb Unexecuted instantiation: firstpass.c:get_free_fb Unexecuted instantiation: global_motion_facade.c:get_free_fb Unexecuted instantiation: hash_motion.c:get_free_fb Unexecuted instantiation: level.c:get_free_fb Unexecuted instantiation: lookahead.c:get_free_fb Unexecuted instantiation: mcomp.c:get_free_fb Unexecuted instantiation: mv_prec.c:get_free_fb Unexecuted instantiation: palette.c:get_free_fb Unexecuted instantiation: partition_search.c:get_free_fb Unexecuted instantiation: partition_strategy.c:get_free_fb Unexecuted instantiation: pass2_strategy.c:get_free_fb Unexecuted instantiation: pickcdef.c:get_free_fb Unexecuted instantiation: picklpf.c:get_free_fb Unexecuted instantiation: pickrst.c:get_free_fb Unexecuted instantiation: ratectrl.c:get_free_fb Unexecuted instantiation: rd.c:get_free_fb Unexecuted instantiation: rdopt.c:get_free_fb Unexecuted instantiation: nonrd_pickmode.c:get_free_fb Unexecuted instantiation: nonrd_opt.c:get_free_fb Unexecuted instantiation: reconinter_enc.c:get_free_fb Unexecuted instantiation: segmentation.c:get_free_fb Unexecuted instantiation: speed_features.c:get_free_fb Unexecuted instantiation: superres_scale.c:get_free_fb Unexecuted instantiation: svc_layercontext.c:get_free_fb Unexecuted instantiation: temporal_filter.c:get_free_fb Unexecuted instantiation: tokenize.c:get_free_fb Unexecuted instantiation: tpl_model.c:get_free_fb Unexecuted instantiation: tx_search.c:get_free_fb Unexecuted instantiation: txb_rdopt.c:get_free_fb Unexecuted instantiation: intra_mode_search.c:get_free_fb Unexecuted instantiation: var_based_part.c:get_free_fb Unexecuted instantiation: av1_noise_estimate.c:get_free_fb Unexecuted instantiation: variance.c:get_free_fb Unexecuted instantiation: pyramid.c:get_free_fb Unexecuted instantiation: alloccommon.c:get_free_fb Unexecuted instantiation: av1_loopfilter.c:get_free_fb Unexecuted instantiation: blockd.c:get_free_fb Unexecuted instantiation: cdef.c:get_free_fb Unexecuted instantiation: cdef_block.c:get_free_fb Unexecuted instantiation: cfl.c:get_free_fb Unexecuted instantiation: debugmodes.c:get_free_fb Unexecuted instantiation: entropy.c:get_free_fb Unexecuted instantiation: entropymode.c:get_free_fb Unexecuted instantiation: entropymv.c:get_free_fb Unexecuted instantiation: mvref_common.c:get_free_fb Unexecuted instantiation: pred_common.c:get_free_fb Unexecuted instantiation: quant_common.c:get_free_fb Unexecuted instantiation: reconinter.c:get_free_fb Unexecuted instantiation: reconintra.c:get_free_fb Unexecuted instantiation: resize.c:get_free_fb Unexecuted instantiation: restoration.c:get_free_fb Unexecuted instantiation: scan.c:get_free_fb Unexecuted instantiation: thread_common.c:get_free_fb Unexecuted instantiation: tile_common.c:get_free_fb Unexecuted instantiation: txb_common.c:get_free_fb Unexecuted instantiation: warped_motion.c:get_free_fb Unexecuted instantiation: aq_complexity.c:get_free_fb Unexecuted instantiation: aq_cyclicrefresh.c:get_free_fb Unexecuted instantiation: aq_variance.c:get_free_fb Unexecuted instantiation: cnn.c:get_free_fb Unexecuted instantiation: compound_type.c:get_free_fb Unexecuted instantiation: encode_strategy.c:get_free_fb Unexecuted instantiation: global_motion.c:get_free_fb Unexecuted instantiation: gop_structure.c:get_free_fb Unexecuted instantiation: interp_search.c:get_free_fb Unexecuted instantiation: motion_search_facade.c:get_free_fb Unexecuted instantiation: wedge_utils.c:get_free_fb Unexecuted instantiation: convolve.c:get_free_fb |
1130 | | |
1131 | 58.4k | static inline RefCntBuffer *assign_cur_frame_new_fb(AV1_COMMON *const cm) { |
1132 | | // Release the previously-used frame-buffer |
1133 | 58.4k | if (cm->cur_frame != NULL) { |
1134 | 0 | --cm->cur_frame->ref_count; |
1135 | 0 | cm->cur_frame = NULL; |
1136 | 0 | } |
1137 | | |
1138 | | // Assign a new framebuffer |
1139 | 58.4k | const int new_fb_idx = get_free_fb(cm); |
1140 | 58.4k | if (new_fb_idx == INVALID_IDX) return NULL; |
1141 | | |
1142 | 58.4k | cm->cur_frame = &cm->buffer_pool->frame_bufs[new_fb_idx]; |
1143 | 58.4k | #if CONFIG_AV1_ENCODER && !CONFIG_REALTIME_ONLY |
1144 | 58.4k | aom_invalidate_pyramid(cm->cur_frame->buf.y_pyramid); |
1145 | 58.4k | av1_invalidate_corner_list(cm->cur_frame->buf.corners); |
1146 | 58.4k | #endif // CONFIG_AV1_ENCODER && !CONFIG_REALTIME_ONLY |
1147 | 58.4k | av1_zero(cm->cur_frame->interp_filter_selected); |
1148 | 58.4k | return cm->cur_frame; |
1149 | 58.4k | } Unexecuted instantiation: av1_dx_iface.c:assign_cur_frame_new_fb Unexecuted instantiation: decodeframe.c:assign_cur_frame_new_fb Unexecuted instantiation: decodemv.c:assign_cur_frame_new_fb decoder.c:assign_cur_frame_new_fb Line | Count | Source | 1131 | 58.4k | static inline RefCntBuffer *assign_cur_frame_new_fb(AV1_COMMON *const cm) { | 1132 | | // Release the previously-used frame-buffer | 1133 | 58.4k | if (cm->cur_frame != NULL) { | 1134 | 0 | --cm->cur_frame->ref_count; | 1135 | 0 | cm->cur_frame = NULL; | 1136 | 0 | } | 1137 | | | 1138 | | // Assign a new framebuffer | 1139 | 58.4k | const int new_fb_idx = get_free_fb(cm); | 1140 | 58.4k | if (new_fb_idx == INVALID_IDX) return NULL; | 1141 | | | 1142 | 58.4k | cm->cur_frame = &cm->buffer_pool->frame_bufs[new_fb_idx]; | 1143 | 58.4k | #if CONFIG_AV1_ENCODER && !CONFIG_REALTIME_ONLY | 1144 | 58.4k | aom_invalidate_pyramid(cm->cur_frame->buf.y_pyramid); | 1145 | 58.4k | av1_invalidate_corner_list(cm->cur_frame->buf.corners); | 1146 | 58.4k | #endif // CONFIG_AV1_ENCODER && !CONFIG_REALTIME_ONLY | 1147 | 58.4k | av1_zero(cm->cur_frame->interp_filter_selected); | 1148 | 58.4k | return cm->cur_frame; | 1149 | 58.4k | } |
Unexecuted instantiation: decodetxb.c:assign_cur_frame_new_fb Unexecuted instantiation: detokenize.c:assign_cur_frame_new_fb Unexecuted instantiation: obu.c:assign_cur_frame_new_fb Unexecuted instantiation: av1_cx_iface.c:assign_cur_frame_new_fb Unexecuted instantiation: allintra_vis.c:assign_cur_frame_new_fb Unexecuted instantiation: av1_quantize.c:assign_cur_frame_new_fb Unexecuted instantiation: bitstream.c:assign_cur_frame_new_fb Unexecuted instantiation: context_tree.c:assign_cur_frame_new_fb Unexecuted instantiation: encodeframe.c:assign_cur_frame_new_fb Unexecuted instantiation: encodeframe_utils.c:assign_cur_frame_new_fb Unexecuted instantiation: encodemb.c:assign_cur_frame_new_fb Unexecuted instantiation: encodemv.c:assign_cur_frame_new_fb Unexecuted instantiation: encoder.c:assign_cur_frame_new_fb Unexecuted instantiation: encoder_utils.c:assign_cur_frame_new_fb Unexecuted instantiation: encodetxb.c:assign_cur_frame_new_fb Unexecuted instantiation: ethread.c:assign_cur_frame_new_fb Unexecuted instantiation: firstpass.c:assign_cur_frame_new_fb Unexecuted instantiation: global_motion_facade.c:assign_cur_frame_new_fb Unexecuted instantiation: hash_motion.c:assign_cur_frame_new_fb Unexecuted instantiation: level.c:assign_cur_frame_new_fb Unexecuted instantiation: lookahead.c:assign_cur_frame_new_fb Unexecuted instantiation: mcomp.c:assign_cur_frame_new_fb Unexecuted instantiation: mv_prec.c:assign_cur_frame_new_fb Unexecuted instantiation: palette.c:assign_cur_frame_new_fb Unexecuted instantiation: partition_search.c:assign_cur_frame_new_fb Unexecuted instantiation: partition_strategy.c:assign_cur_frame_new_fb Unexecuted instantiation: pass2_strategy.c:assign_cur_frame_new_fb Unexecuted instantiation: pickcdef.c:assign_cur_frame_new_fb Unexecuted instantiation: picklpf.c:assign_cur_frame_new_fb Unexecuted instantiation: pickrst.c:assign_cur_frame_new_fb Unexecuted instantiation: ratectrl.c:assign_cur_frame_new_fb Unexecuted instantiation: rd.c:assign_cur_frame_new_fb Unexecuted instantiation: rdopt.c:assign_cur_frame_new_fb Unexecuted instantiation: nonrd_pickmode.c:assign_cur_frame_new_fb Unexecuted instantiation: nonrd_opt.c:assign_cur_frame_new_fb Unexecuted instantiation: reconinter_enc.c:assign_cur_frame_new_fb Unexecuted instantiation: segmentation.c:assign_cur_frame_new_fb Unexecuted instantiation: speed_features.c:assign_cur_frame_new_fb Unexecuted instantiation: superres_scale.c:assign_cur_frame_new_fb Unexecuted instantiation: svc_layercontext.c:assign_cur_frame_new_fb Unexecuted instantiation: temporal_filter.c:assign_cur_frame_new_fb Unexecuted instantiation: tokenize.c:assign_cur_frame_new_fb Unexecuted instantiation: tpl_model.c:assign_cur_frame_new_fb Unexecuted instantiation: tx_search.c:assign_cur_frame_new_fb Unexecuted instantiation: txb_rdopt.c:assign_cur_frame_new_fb Unexecuted instantiation: intra_mode_search.c:assign_cur_frame_new_fb Unexecuted instantiation: var_based_part.c:assign_cur_frame_new_fb Unexecuted instantiation: av1_noise_estimate.c:assign_cur_frame_new_fb Unexecuted instantiation: variance.c:assign_cur_frame_new_fb Unexecuted instantiation: pyramid.c:assign_cur_frame_new_fb Unexecuted instantiation: alloccommon.c:assign_cur_frame_new_fb Unexecuted instantiation: av1_loopfilter.c:assign_cur_frame_new_fb Unexecuted instantiation: blockd.c:assign_cur_frame_new_fb Unexecuted instantiation: cdef.c:assign_cur_frame_new_fb Unexecuted instantiation: cdef_block.c:assign_cur_frame_new_fb Unexecuted instantiation: cfl.c:assign_cur_frame_new_fb Unexecuted instantiation: debugmodes.c:assign_cur_frame_new_fb Unexecuted instantiation: entropy.c:assign_cur_frame_new_fb Unexecuted instantiation: entropymode.c:assign_cur_frame_new_fb Unexecuted instantiation: entropymv.c:assign_cur_frame_new_fb Unexecuted instantiation: mvref_common.c:assign_cur_frame_new_fb Unexecuted instantiation: pred_common.c:assign_cur_frame_new_fb Unexecuted instantiation: quant_common.c:assign_cur_frame_new_fb Unexecuted instantiation: reconinter.c:assign_cur_frame_new_fb Unexecuted instantiation: reconintra.c:assign_cur_frame_new_fb Unexecuted instantiation: resize.c:assign_cur_frame_new_fb Unexecuted instantiation: restoration.c:assign_cur_frame_new_fb Unexecuted instantiation: scan.c:assign_cur_frame_new_fb Unexecuted instantiation: thread_common.c:assign_cur_frame_new_fb Unexecuted instantiation: tile_common.c:assign_cur_frame_new_fb Unexecuted instantiation: txb_common.c:assign_cur_frame_new_fb Unexecuted instantiation: warped_motion.c:assign_cur_frame_new_fb Unexecuted instantiation: aq_complexity.c:assign_cur_frame_new_fb Unexecuted instantiation: aq_cyclicrefresh.c:assign_cur_frame_new_fb Unexecuted instantiation: aq_variance.c:assign_cur_frame_new_fb Unexecuted instantiation: cnn.c:assign_cur_frame_new_fb Unexecuted instantiation: compound_type.c:assign_cur_frame_new_fb Unexecuted instantiation: encode_strategy.c:assign_cur_frame_new_fb Unexecuted instantiation: global_motion.c:assign_cur_frame_new_fb Unexecuted instantiation: gop_structure.c:assign_cur_frame_new_fb Unexecuted instantiation: interp_search.c:assign_cur_frame_new_fb Unexecuted instantiation: motion_search_facade.c:assign_cur_frame_new_fb Unexecuted instantiation: wedge_utils.c:assign_cur_frame_new_fb Unexecuted instantiation: convolve.c:assign_cur_frame_new_fb |
1150 | | |
1151 | | // Modify 'lhs_ptr' to reference the buffer at 'rhs_ptr', and update the ref |
1152 | | // counts accordingly. |
1153 | | static inline void assign_frame_buffer_p(RefCntBuffer **lhs_ptr, |
1154 | 372 | RefCntBuffer *rhs_ptr) { |
1155 | 372 | RefCntBuffer *const old_ptr = *lhs_ptr; |
1156 | 372 | if (old_ptr != NULL) { |
1157 | 372 | assert(old_ptr->ref_count > 0); |
1158 | | // One less reference to the buffer at 'old_ptr', so decrease ref count. |
1159 | 372 | --old_ptr->ref_count; |
1160 | 372 | } |
1161 | | |
1162 | 372 | *lhs_ptr = rhs_ptr; |
1163 | | // One more reference to the buffer at 'rhs_ptr', so increase ref count. |
1164 | 372 | ++rhs_ptr->ref_count; |
1165 | 372 | } Unexecuted instantiation: av1_dx_iface.c:assign_frame_buffer_p decodeframe.c:assign_frame_buffer_p Line | Count | Source | 1154 | 372 | RefCntBuffer *rhs_ptr) { | 1155 | 372 | RefCntBuffer *const old_ptr = *lhs_ptr; | 1156 | 372 | if (old_ptr != NULL) { | 1157 | 372 | assert(old_ptr->ref_count > 0); | 1158 | | // One less reference to the buffer at 'old_ptr', so decrease ref count. | 1159 | 372 | --old_ptr->ref_count; | 1160 | 372 | } | 1161 | | | 1162 | 372 | *lhs_ptr = rhs_ptr; | 1163 | | // One more reference to the buffer at 'rhs_ptr', so increase ref count. | 1164 | 372 | ++rhs_ptr->ref_count; | 1165 | 372 | } |
Unexecuted instantiation: decodemv.c:assign_frame_buffer_p Unexecuted instantiation: decoder.c:assign_frame_buffer_p Unexecuted instantiation: decodetxb.c:assign_frame_buffer_p Unexecuted instantiation: detokenize.c:assign_frame_buffer_p Unexecuted instantiation: obu.c:assign_frame_buffer_p Unexecuted instantiation: av1_cx_iface.c:assign_frame_buffer_p Unexecuted instantiation: allintra_vis.c:assign_frame_buffer_p Unexecuted instantiation: av1_quantize.c:assign_frame_buffer_p Unexecuted instantiation: bitstream.c:assign_frame_buffer_p Unexecuted instantiation: context_tree.c:assign_frame_buffer_p Unexecuted instantiation: encodeframe.c:assign_frame_buffer_p Unexecuted instantiation: encodeframe_utils.c:assign_frame_buffer_p Unexecuted instantiation: encodemb.c:assign_frame_buffer_p Unexecuted instantiation: encodemv.c:assign_frame_buffer_p Unexecuted instantiation: encoder.c:assign_frame_buffer_p Unexecuted instantiation: encoder_utils.c:assign_frame_buffer_p Unexecuted instantiation: encodetxb.c:assign_frame_buffer_p Unexecuted instantiation: ethread.c:assign_frame_buffer_p Unexecuted instantiation: firstpass.c:assign_frame_buffer_p Unexecuted instantiation: global_motion_facade.c:assign_frame_buffer_p Unexecuted instantiation: hash_motion.c:assign_frame_buffer_p Unexecuted instantiation: level.c:assign_frame_buffer_p Unexecuted instantiation: lookahead.c:assign_frame_buffer_p Unexecuted instantiation: mcomp.c:assign_frame_buffer_p Unexecuted instantiation: mv_prec.c:assign_frame_buffer_p Unexecuted instantiation: palette.c:assign_frame_buffer_p Unexecuted instantiation: partition_search.c:assign_frame_buffer_p Unexecuted instantiation: partition_strategy.c:assign_frame_buffer_p Unexecuted instantiation: pass2_strategy.c:assign_frame_buffer_p Unexecuted instantiation: pickcdef.c:assign_frame_buffer_p Unexecuted instantiation: picklpf.c:assign_frame_buffer_p Unexecuted instantiation: pickrst.c:assign_frame_buffer_p Unexecuted instantiation: ratectrl.c:assign_frame_buffer_p Unexecuted instantiation: rd.c:assign_frame_buffer_p Unexecuted instantiation: rdopt.c:assign_frame_buffer_p Unexecuted instantiation: nonrd_pickmode.c:assign_frame_buffer_p Unexecuted instantiation: nonrd_opt.c:assign_frame_buffer_p Unexecuted instantiation: reconinter_enc.c:assign_frame_buffer_p Unexecuted instantiation: segmentation.c:assign_frame_buffer_p Unexecuted instantiation: speed_features.c:assign_frame_buffer_p Unexecuted instantiation: superres_scale.c:assign_frame_buffer_p Unexecuted instantiation: svc_layercontext.c:assign_frame_buffer_p Unexecuted instantiation: temporal_filter.c:assign_frame_buffer_p Unexecuted instantiation: tokenize.c:assign_frame_buffer_p Unexecuted instantiation: tpl_model.c:assign_frame_buffer_p Unexecuted instantiation: tx_search.c:assign_frame_buffer_p Unexecuted instantiation: txb_rdopt.c:assign_frame_buffer_p Unexecuted instantiation: intra_mode_search.c:assign_frame_buffer_p Unexecuted instantiation: var_based_part.c:assign_frame_buffer_p Unexecuted instantiation: av1_noise_estimate.c:assign_frame_buffer_p Unexecuted instantiation: variance.c:assign_frame_buffer_p Unexecuted instantiation: pyramid.c:assign_frame_buffer_p Unexecuted instantiation: alloccommon.c:assign_frame_buffer_p Unexecuted instantiation: av1_loopfilter.c:assign_frame_buffer_p Unexecuted instantiation: blockd.c:assign_frame_buffer_p Unexecuted instantiation: cdef.c:assign_frame_buffer_p Unexecuted instantiation: cdef_block.c:assign_frame_buffer_p Unexecuted instantiation: cfl.c:assign_frame_buffer_p Unexecuted instantiation: debugmodes.c:assign_frame_buffer_p Unexecuted instantiation: entropy.c:assign_frame_buffer_p Unexecuted instantiation: entropymode.c:assign_frame_buffer_p Unexecuted instantiation: entropymv.c:assign_frame_buffer_p Unexecuted instantiation: mvref_common.c:assign_frame_buffer_p Unexecuted instantiation: pred_common.c:assign_frame_buffer_p Unexecuted instantiation: quant_common.c:assign_frame_buffer_p Unexecuted instantiation: reconinter.c:assign_frame_buffer_p Unexecuted instantiation: reconintra.c:assign_frame_buffer_p Unexecuted instantiation: resize.c:assign_frame_buffer_p Unexecuted instantiation: restoration.c:assign_frame_buffer_p Unexecuted instantiation: scan.c:assign_frame_buffer_p Unexecuted instantiation: thread_common.c:assign_frame_buffer_p Unexecuted instantiation: tile_common.c:assign_frame_buffer_p Unexecuted instantiation: txb_common.c:assign_frame_buffer_p Unexecuted instantiation: warped_motion.c:assign_frame_buffer_p Unexecuted instantiation: aq_complexity.c:assign_frame_buffer_p Unexecuted instantiation: aq_cyclicrefresh.c:assign_frame_buffer_p Unexecuted instantiation: aq_variance.c:assign_frame_buffer_p Unexecuted instantiation: cnn.c:assign_frame_buffer_p Unexecuted instantiation: compound_type.c:assign_frame_buffer_p Unexecuted instantiation: encode_strategy.c:assign_frame_buffer_p Unexecuted instantiation: global_motion.c:assign_frame_buffer_p Unexecuted instantiation: gop_structure.c:assign_frame_buffer_p Unexecuted instantiation: interp_search.c:assign_frame_buffer_p Unexecuted instantiation: motion_search_facade.c:assign_frame_buffer_p Unexecuted instantiation: wedge_utils.c:assign_frame_buffer_p Unexecuted instantiation: convolve.c:assign_frame_buffer_p |
1166 | | |
1167 | 13.0M | static inline int frame_is_intra_only(const AV1_COMMON *const cm) { |
1168 | 13.0M | return cm->current_frame.frame_type == KEY_FRAME || |
1169 | 13.0M | cm->current_frame.frame_type == INTRA_ONLY_FRAME; |
1170 | 13.0M | } av1_dx_iface.c:frame_is_intra_only Line | Count | Source | 1167 | 11.7k | static inline int frame_is_intra_only(const AV1_COMMON *const cm) { | 1168 | 11.7k | return cm->current_frame.frame_type == KEY_FRAME || | 1169 | 11.7k | cm->current_frame.frame_type == INTRA_ONLY_FRAME; | 1170 | 11.7k | } |
decodeframe.c:frame_is_intra_only Line | Count | Source | 1167 | 286k | static inline int frame_is_intra_only(const AV1_COMMON *const cm) { | 1168 | 286k | return cm->current_frame.frame_type == KEY_FRAME || | 1169 | 286k | cm->current_frame.frame_type == INTRA_ONLY_FRAME; | 1170 | 286k | } |
decodemv.c:frame_is_intra_only Line | Count | Source | 1167 | 12.7M | static inline int frame_is_intra_only(const AV1_COMMON *const cm) { | 1168 | 12.7M | return cm->current_frame.frame_type == KEY_FRAME || | 1169 | 12.7M | cm->current_frame.frame_type == INTRA_ONLY_FRAME; | 1170 | 12.7M | } |
Unexecuted instantiation: decoder.c:frame_is_intra_only Unexecuted instantiation: decodetxb.c:frame_is_intra_only Unexecuted instantiation: detokenize.c:frame_is_intra_only Unexecuted instantiation: obu.c:frame_is_intra_only Unexecuted instantiation: av1_cx_iface.c:frame_is_intra_only Unexecuted instantiation: allintra_vis.c:frame_is_intra_only Unexecuted instantiation: av1_quantize.c:frame_is_intra_only Unexecuted instantiation: bitstream.c:frame_is_intra_only Unexecuted instantiation: context_tree.c:frame_is_intra_only Unexecuted instantiation: encodeframe.c:frame_is_intra_only Unexecuted instantiation: encodeframe_utils.c:frame_is_intra_only Unexecuted instantiation: encodemb.c:frame_is_intra_only Unexecuted instantiation: encodemv.c:frame_is_intra_only Unexecuted instantiation: encoder.c:frame_is_intra_only Unexecuted instantiation: encoder_utils.c:frame_is_intra_only Unexecuted instantiation: encodetxb.c:frame_is_intra_only Unexecuted instantiation: ethread.c:frame_is_intra_only Unexecuted instantiation: firstpass.c:frame_is_intra_only Unexecuted instantiation: global_motion_facade.c:frame_is_intra_only Unexecuted instantiation: hash_motion.c:frame_is_intra_only Unexecuted instantiation: level.c:frame_is_intra_only Unexecuted instantiation: lookahead.c:frame_is_intra_only Unexecuted instantiation: mcomp.c:frame_is_intra_only Unexecuted instantiation: mv_prec.c:frame_is_intra_only Unexecuted instantiation: palette.c:frame_is_intra_only Unexecuted instantiation: partition_search.c:frame_is_intra_only Unexecuted instantiation: partition_strategy.c:frame_is_intra_only Unexecuted instantiation: pass2_strategy.c:frame_is_intra_only Unexecuted instantiation: pickcdef.c:frame_is_intra_only Unexecuted instantiation: picklpf.c:frame_is_intra_only Unexecuted instantiation: pickrst.c:frame_is_intra_only Unexecuted instantiation: ratectrl.c:frame_is_intra_only Unexecuted instantiation: rd.c:frame_is_intra_only Unexecuted instantiation: rdopt.c:frame_is_intra_only Unexecuted instantiation: nonrd_pickmode.c:frame_is_intra_only Unexecuted instantiation: nonrd_opt.c:frame_is_intra_only Unexecuted instantiation: reconinter_enc.c:frame_is_intra_only Unexecuted instantiation: segmentation.c:frame_is_intra_only Unexecuted instantiation: speed_features.c:frame_is_intra_only Unexecuted instantiation: superres_scale.c:frame_is_intra_only Unexecuted instantiation: svc_layercontext.c:frame_is_intra_only Unexecuted instantiation: temporal_filter.c:frame_is_intra_only Unexecuted instantiation: tokenize.c:frame_is_intra_only Unexecuted instantiation: tpl_model.c:frame_is_intra_only Unexecuted instantiation: tx_search.c:frame_is_intra_only Unexecuted instantiation: txb_rdopt.c:frame_is_intra_only Unexecuted instantiation: intra_mode_search.c:frame_is_intra_only Unexecuted instantiation: var_based_part.c:frame_is_intra_only Unexecuted instantiation: av1_noise_estimate.c:frame_is_intra_only Unexecuted instantiation: variance.c:frame_is_intra_only Unexecuted instantiation: pyramid.c:frame_is_intra_only Unexecuted instantiation: alloccommon.c:frame_is_intra_only Unexecuted instantiation: av1_loopfilter.c:frame_is_intra_only Unexecuted instantiation: blockd.c:frame_is_intra_only Unexecuted instantiation: cdef.c:frame_is_intra_only Unexecuted instantiation: cdef_block.c:frame_is_intra_only Unexecuted instantiation: cfl.c:frame_is_intra_only Unexecuted instantiation: debugmodes.c:frame_is_intra_only Unexecuted instantiation: entropy.c:frame_is_intra_only Unexecuted instantiation: entropymode.c:frame_is_intra_only Unexecuted instantiation: entropymv.c:frame_is_intra_only mvref_common.c:frame_is_intra_only Line | Count | Source | 1167 | 22.0k | static inline int frame_is_intra_only(const AV1_COMMON *const cm) { | 1168 | 22.0k | return cm->current_frame.frame_type == KEY_FRAME || | 1169 | 22.0k | cm->current_frame.frame_type == INTRA_ONLY_FRAME; | 1170 | 22.0k | } |
Unexecuted instantiation: pred_common.c:frame_is_intra_only Unexecuted instantiation: quant_common.c:frame_is_intra_only Unexecuted instantiation: reconinter.c:frame_is_intra_only Unexecuted instantiation: reconintra.c:frame_is_intra_only Unexecuted instantiation: resize.c:frame_is_intra_only Unexecuted instantiation: restoration.c:frame_is_intra_only Unexecuted instantiation: scan.c:frame_is_intra_only thread_common.c:frame_is_intra_only Line | Count | Source | 1167 | 47.5k | static inline int frame_is_intra_only(const AV1_COMMON *const cm) { | 1168 | 47.5k | return cm->current_frame.frame_type == KEY_FRAME || | 1169 | 47.5k | cm->current_frame.frame_type == INTRA_ONLY_FRAME; | 1170 | 47.5k | } |
Unexecuted instantiation: tile_common.c:frame_is_intra_only Unexecuted instantiation: txb_common.c:frame_is_intra_only Unexecuted instantiation: warped_motion.c:frame_is_intra_only Unexecuted instantiation: aq_complexity.c:frame_is_intra_only Unexecuted instantiation: aq_cyclicrefresh.c:frame_is_intra_only Unexecuted instantiation: aq_variance.c:frame_is_intra_only Unexecuted instantiation: cnn.c:frame_is_intra_only Unexecuted instantiation: compound_type.c:frame_is_intra_only Unexecuted instantiation: encode_strategy.c:frame_is_intra_only Unexecuted instantiation: global_motion.c:frame_is_intra_only Unexecuted instantiation: gop_structure.c:frame_is_intra_only Unexecuted instantiation: interp_search.c:frame_is_intra_only Unexecuted instantiation: motion_search_facade.c:frame_is_intra_only Unexecuted instantiation: wedge_utils.c:frame_is_intra_only Unexecuted instantiation: convolve.c:frame_is_intra_only |
1171 | | |
1172 | 86.4k | static inline int frame_is_sframe(const AV1_COMMON *cm) { |
1173 | 86.4k | return cm->current_frame.frame_type == S_FRAME; |
1174 | 86.4k | } Unexecuted instantiation: av1_dx_iface.c:frame_is_sframe decodeframe.c:frame_is_sframe Line | Count | Source | 1172 | 86.4k | static inline int frame_is_sframe(const AV1_COMMON *cm) { | 1173 | 86.4k | return cm->current_frame.frame_type == S_FRAME; | 1174 | 86.4k | } |
Unexecuted instantiation: decodemv.c:frame_is_sframe Unexecuted instantiation: decoder.c:frame_is_sframe Unexecuted instantiation: decodetxb.c:frame_is_sframe Unexecuted instantiation: detokenize.c:frame_is_sframe Unexecuted instantiation: obu.c:frame_is_sframe Unexecuted instantiation: av1_cx_iface.c:frame_is_sframe Unexecuted instantiation: allintra_vis.c:frame_is_sframe Unexecuted instantiation: av1_quantize.c:frame_is_sframe Unexecuted instantiation: bitstream.c:frame_is_sframe Unexecuted instantiation: context_tree.c:frame_is_sframe Unexecuted instantiation: encodeframe.c:frame_is_sframe Unexecuted instantiation: encodeframe_utils.c:frame_is_sframe Unexecuted instantiation: encodemb.c:frame_is_sframe Unexecuted instantiation: encodemv.c:frame_is_sframe Unexecuted instantiation: encoder.c:frame_is_sframe Unexecuted instantiation: encoder_utils.c:frame_is_sframe Unexecuted instantiation: encodetxb.c:frame_is_sframe Unexecuted instantiation: ethread.c:frame_is_sframe Unexecuted instantiation: firstpass.c:frame_is_sframe Unexecuted instantiation: global_motion_facade.c:frame_is_sframe Unexecuted instantiation: hash_motion.c:frame_is_sframe Unexecuted instantiation: level.c:frame_is_sframe Unexecuted instantiation: lookahead.c:frame_is_sframe Unexecuted instantiation: mcomp.c:frame_is_sframe Unexecuted instantiation: mv_prec.c:frame_is_sframe Unexecuted instantiation: palette.c:frame_is_sframe Unexecuted instantiation: partition_search.c:frame_is_sframe Unexecuted instantiation: partition_strategy.c:frame_is_sframe Unexecuted instantiation: pass2_strategy.c:frame_is_sframe Unexecuted instantiation: pickcdef.c:frame_is_sframe Unexecuted instantiation: picklpf.c:frame_is_sframe Unexecuted instantiation: pickrst.c:frame_is_sframe Unexecuted instantiation: ratectrl.c:frame_is_sframe Unexecuted instantiation: rd.c:frame_is_sframe Unexecuted instantiation: rdopt.c:frame_is_sframe Unexecuted instantiation: nonrd_pickmode.c:frame_is_sframe Unexecuted instantiation: nonrd_opt.c:frame_is_sframe Unexecuted instantiation: reconinter_enc.c:frame_is_sframe Unexecuted instantiation: segmentation.c:frame_is_sframe Unexecuted instantiation: speed_features.c:frame_is_sframe Unexecuted instantiation: superres_scale.c:frame_is_sframe Unexecuted instantiation: svc_layercontext.c:frame_is_sframe Unexecuted instantiation: temporal_filter.c:frame_is_sframe Unexecuted instantiation: tokenize.c:frame_is_sframe Unexecuted instantiation: tpl_model.c:frame_is_sframe Unexecuted instantiation: tx_search.c:frame_is_sframe Unexecuted instantiation: txb_rdopt.c:frame_is_sframe Unexecuted instantiation: intra_mode_search.c:frame_is_sframe Unexecuted instantiation: var_based_part.c:frame_is_sframe Unexecuted instantiation: av1_noise_estimate.c:frame_is_sframe Unexecuted instantiation: variance.c:frame_is_sframe Unexecuted instantiation: pyramid.c:frame_is_sframe Unexecuted instantiation: alloccommon.c:frame_is_sframe Unexecuted instantiation: av1_loopfilter.c:frame_is_sframe Unexecuted instantiation: blockd.c:frame_is_sframe Unexecuted instantiation: cdef.c:frame_is_sframe Unexecuted instantiation: cdef_block.c:frame_is_sframe Unexecuted instantiation: cfl.c:frame_is_sframe Unexecuted instantiation: debugmodes.c:frame_is_sframe Unexecuted instantiation: entropy.c:frame_is_sframe Unexecuted instantiation: entropymode.c:frame_is_sframe Unexecuted instantiation: entropymv.c:frame_is_sframe Unexecuted instantiation: mvref_common.c:frame_is_sframe Unexecuted instantiation: pred_common.c:frame_is_sframe Unexecuted instantiation: quant_common.c:frame_is_sframe Unexecuted instantiation: reconinter.c:frame_is_sframe Unexecuted instantiation: reconintra.c:frame_is_sframe Unexecuted instantiation: resize.c:frame_is_sframe Unexecuted instantiation: restoration.c:frame_is_sframe Unexecuted instantiation: scan.c:frame_is_sframe Unexecuted instantiation: thread_common.c:frame_is_sframe Unexecuted instantiation: tile_common.c:frame_is_sframe Unexecuted instantiation: txb_common.c:frame_is_sframe Unexecuted instantiation: warped_motion.c:frame_is_sframe Unexecuted instantiation: aq_complexity.c:frame_is_sframe Unexecuted instantiation: aq_cyclicrefresh.c:frame_is_sframe Unexecuted instantiation: aq_variance.c:frame_is_sframe Unexecuted instantiation: cnn.c:frame_is_sframe Unexecuted instantiation: compound_type.c:frame_is_sframe Unexecuted instantiation: encode_strategy.c:frame_is_sframe Unexecuted instantiation: global_motion.c:frame_is_sframe Unexecuted instantiation: gop_structure.c:frame_is_sframe Unexecuted instantiation: interp_search.c:frame_is_sframe Unexecuted instantiation: motion_search_facade.c:frame_is_sframe Unexecuted instantiation: wedge_utils.c:frame_is_sframe Unexecuted instantiation: convolve.c:frame_is_sframe |
1175 | | |
1176 | | // These functions take a reference frame label between LAST_FRAME and |
1177 | | // EXTREF_FRAME inclusive. Note that this is different to the indexing |
1178 | | // previously used by the frame_refs[] array. |
1179 | | static inline int get_ref_frame_map_idx(const AV1_COMMON *const cm, |
1180 | 1.98M | const MV_REFERENCE_FRAME ref_frame) { |
1181 | 1.98M | return (ref_frame >= LAST_FRAME && ref_frame <= EXTREF_FRAME) |
1182 | 1.98M | ? cm->remapped_ref_idx[ref_frame - LAST_FRAME] |
1183 | 1.98M | : INVALID_IDX; |
1184 | 1.98M | } Unexecuted instantiation: av1_dx_iface.c:get_ref_frame_map_idx decodeframe.c:get_ref_frame_map_idx Line | Count | Source | 1180 | 741k | const MV_REFERENCE_FRAME ref_frame) { | 1181 | 741k | return (ref_frame >= LAST_FRAME && ref_frame <= EXTREF_FRAME) | 1182 | 741k | ? cm->remapped_ref_idx[ref_frame - LAST_FRAME] | 1183 | 741k | : INVALID_IDX; | 1184 | 741k | } |
decodemv.c:get_ref_frame_map_idx Line | Count | Source | 1180 | 119k | const MV_REFERENCE_FRAME ref_frame) { | 1181 | 119k | return (ref_frame >= LAST_FRAME && ref_frame <= EXTREF_FRAME) | 1182 | 119k | ? cm->remapped_ref_idx[ref_frame - LAST_FRAME] | 1183 | 119k | : INVALID_IDX; | 1184 | 119k | } |
Unexecuted instantiation: decoder.c:get_ref_frame_map_idx Unexecuted instantiation: decodetxb.c:get_ref_frame_map_idx Unexecuted instantiation: detokenize.c:get_ref_frame_map_idx Unexecuted instantiation: obu.c:get_ref_frame_map_idx Unexecuted instantiation: av1_cx_iface.c:get_ref_frame_map_idx Unexecuted instantiation: allintra_vis.c:get_ref_frame_map_idx Unexecuted instantiation: av1_quantize.c:get_ref_frame_map_idx Unexecuted instantiation: bitstream.c:get_ref_frame_map_idx Unexecuted instantiation: context_tree.c:get_ref_frame_map_idx Unexecuted instantiation: encodeframe.c:get_ref_frame_map_idx Unexecuted instantiation: encodeframe_utils.c:get_ref_frame_map_idx Unexecuted instantiation: encodemb.c:get_ref_frame_map_idx Unexecuted instantiation: encodemv.c:get_ref_frame_map_idx Unexecuted instantiation: encoder.c:get_ref_frame_map_idx Unexecuted instantiation: encoder_utils.c:get_ref_frame_map_idx Unexecuted instantiation: encodetxb.c:get_ref_frame_map_idx Unexecuted instantiation: ethread.c:get_ref_frame_map_idx Unexecuted instantiation: firstpass.c:get_ref_frame_map_idx Unexecuted instantiation: global_motion_facade.c:get_ref_frame_map_idx Unexecuted instantiation: hash_motion.c:get_ref_frame_map_idx Unexecuted instantiation: level.c:get_ref_frame_map_idx Unexecuted instantiation: lookahead.c:get_ref_frame_map_idx Unexecuted instantiation: mcomp.c:get_ref_frame_map_idx Unexecuted instantiation: mv_prec.c:get_ref_frame_map_idx Unexecuted instantiation: palette.c:get_ref_frame_map_idx Unexecuted instantiation: partition_search.c:get_ref_frame_map_idx Unexecuted instantiation: partition_strategy.c:get_ref_frame_map_idx Unexecuted instantiation: pass2_strategy.c:get_ref_frame_map_idx Unexecuted instantiation: pickcdef.c:get_ref_frame_map_idx Unexecuted instantiation: picklpf.c:get_ref_frame_map_idx Unexecuted instantiation: pickrst.c:get_ref_frame_map_idx Unexecuted instantiation: ratectrl.c:get_ref_frame_map_idx Unexecuted instantiation: rd.c:get_ref_frame_map_idx Unexecuted instantiation: rdopt.c:get_ref_frame_map_idx Unexecuted instantiation: nonrd_pickmode.c:get_ref_frame_map_idx Unexecuted instantiation: nonrd_opt.c:get_ref_frame_map_idx Unexecuted instantiation: reconinter_enc.c:get_ref_frame_map_idx Unexecuted instantiation: segmentation.c:get_ref_frame_map_idx Unexecuted instantiation: speed_features.c:get_ref_frame_map_idx Unexecuted instantiation: superres_scale.c:get_ref_frame_map_idx Unexecuted instantiation: svc_layercontext.c:get_ref_frame_map_idx Unexecuted instantiation: temporal_filter.c:get_ref_frame_map_idx Unexecuted instantiation: tokenize.c:get_ref_frame_map_idx Unexecuted instantiation: tpl_model.c:get_ref_frame_map_idx Unexecuted instantiation: tx_search.c:get_ref_frame_map_idx Unexecuted instantiation: txb_rdopt.c:get_ref_frame_map_idx Unexecuted instantiation: intra_mode_search.c:get_ref_frame_map_idx Unexecuted instantiation: var_based_part.c:get_ref_frame_map_idx Unexecuted instantiation: av1_noise_estimate.c:get_ref_frame_map_idx Unexecuted instantiation: variance.c:get_ref_frame_map_idx Unexecuted instantiation: pyramid.c:get_ref_frame_map_idx Unexecuted instantiation: alloccommon.c:get_ref_frame_map_idx Unexecuted instantiation: av1_loopfilter.c:get_ref_frame_map_idx Unexecuted instantiation: blockd.c:get_ref_frame_map_idx Unexecuted instantiation: cdef.c:get_ref_frame_map_idx Unexecuted instantiation: cdef_block.c:get_ref_frame_map_idx Unexecuted instantiation: cfl.c:get_ref_frame_map_idx Unexecuted instantiation: debugmodes.c:get_ref_frame_map_idx Unexecuted instantiation: entropy.c:get_ref_frame_map_idx Unexecuted instantiation: entropymode.c:get_ref_frame_map_idx Unexecuted instantiation: entropymv.c:get_ref_frame_map_idx mvref_common.c:get_ref_frame_map_idx Line | Count | Source | 1180 | 1.08M | const MV_REFERENCE_FRAME ref_frame) { | 1181 | 1.08M | return (ref_frame >= LAST_FRAME && ref_frame <= EXTREF_FRAME) | 1182 | 1.08M | ? cm->remapped_ref_idx[ref_frame - LAST_FRAME] | 1183 | 1.08M | : INVALID_IDX; | 1184 | 1.08M | } |
Unexecuted instantiation: pred_common.c:get_ref_frame_map_idx Unexecuted instantiation: quant_common.c:get_ref_frame_map_idx reconinter.c:get_ref_frame_map_idx Line | Count | Source | 1180 | 37.2k | const MV_REFERENCE_FRAME ref_frame) { | 1181 | 37.2k | return (ref_frame >= LAST_FRAME && ref_frame <= EXTREF_FRAME) | 1182 | 37.2k | ? cm->remapped_ref_idx[ref_frame - LAST_FRAME] | 1183 | 37.2k | : INVALID_IDX; | 1184 | 37.2k | } |
Unexecuted instantiation: reconintra.c:get_ref_frame_map_idx Unexecuted instantiation: resize.c:get_ref_frame_map_idx Unexecuted instantiation: restoration.c:get_ref_frame_map_idx Unexecuted instantiation: scan.c:get_ref_frame_map_idx Unexecuted instantiation: thread_common.c:get_ref_frame_map_idx Unexecuted instantiation: tile_common.c:get_ref_frame_map_idx Unexecuted instantiation: txb_common.c:get_ref_frame_map_idx Unexecuted instantiation: warped_motion.c:get_ref_frame_map_idx Unexecuted instantiation: aq_complexity.c:get_ref_frame_map_idx Unexecuted instantiation: aq_cyclicrefresh.c:get_ref_frame_map_idx Unexecuted instantiation: aq_variance.c:get_ref_frame_map_idx Unexecuted instantiation: cnn.c:get_ref_frame_map_idx Unexecuted instantiation: compound_type.c:get_ref_frame_map_idx Unexecuted instantiation: encode_strategy.c:get_ref_frame_map_idx Unexecuted instantiation: global_motion.c:get_ref_frame_map_idx Unexecuted instantiation: gop_structure.c:get_ref_frame_map_idx Unexecuted instantiation: interp_search.c:get_ref_frame_map_idx Unexecuted instantiation: motion_search_facade.c:get_ref_frame_map_idx Unexecuted instantiation: wedge_utils.c:get_ref_frame_map_idx Unexecuted instantiation: convolve.c:get_ref_frame_map_idx |
1185 | | |
1186 | | static inline RefCntBuffer *get_ref_frame_buf( |
1187 | 1.60M | const AV1_COMMON *const cm, const MV_REFERENCE_FRAME ref_frame) { |
1188 | 1.60M | const int map_idx = get_ref_frame_map_idx(cm, ref_frame); |
1189 | 1.60M | return (map_idx != INVALID_IDX) ? cm->ref_frame_map[map_idx] : NULL; |
1190 | 1.60M | } Unexecuted instantiation: av1_dx_iface.c:get_ref_frame_buf decodeframe.c:get_ref_frame_buf Line | Count | Source | 1187 | 467k | const AV1_COMMON *const cm, const MV_REFERENCE_FRAME ref_frame) { | 1188 | 467k | const int map_idx = get_ref_frame_map_idx(cm, ref_frame); | 1189 | 467k | return (map_idx != INVALID_IDX) ? cm->ref_frame_map[map_idx] : NULL; | 1190 | 467k | } |
decodemv.c:get_ref_frame_buf Line | Count | Source | 1187 | 19.4k | const AV1_COMMON *const cm, const MV_REFERENCE_FRAME ref_frame) { | 1188 | 19.4k | const int map_idx = get_ref_frame_map_idx(cm, ref_frame); | 1189 | 19.4k | return (map_idx != INVALID_IDX) ? cm->ref_frame_map[map_idx] : NULL; | 1190 | 19.4k | } |
Unexecuted instantiation: decoder.c:get_ref_frame_buf Unexecuted instantiation: decodetxb.c:get_ref_frame_buf Unexecuted instantiation: detokenize.c:get_ref_frame_buf Unexecuted instantiation: obu.c:get_ref_frame_buf Unexecuted instantiation: av1_cx_iface.c:get_ref_frame_buf Unexecuted instantiation: allintra_vis.c:get_ref_frame_buf Unexecuted instantiation: av1_quantize.c:get_ref_frame_buf Unexecuted instantiation: bitstream.c:get_ref_frame_buf Unexecuted instantiation: context_tree.c:get_ref_frame_buf Unexecuted instantiation: encodeframe.c:get_ref_frame_buf Unexecuted instantiation: encodeframe_utils.c:get_ref_frame_buf Unexecuted instantiation: encodemb.c:get_ref_frame_buf Unexecuted instantiation: encodemv.c:get_ref_frame_buf Unexecuted instantiation: encoder.c:get_ref_frame_buf Unexecuted instantiation: encoder_utils.c:get_ref_frame_buf Unexecuted instantiation: encodetxb.c:get_ref_frame_buf Unexecuted instantiation: ethread.c:get_ref_frame_buf Unexecuted instantiation: firstpass.c:get_ref_frame_buf Unexecuted instantiation: global_motion_facade.c:get_ref_frame_buf Unexecuted instantiation: hash_motion.c:get_ref_frame_buf Unexecuted instantiation: level.c:get_ref_frame_buf Unexecuted instantiation: lookahead.c:get_ref_frame_buf Unexecuted instantiation: mcomp.c:get_ref_frame_buf Unexecuted instantiation: mv_prec.c:get_ref_frame_buf Unexecuted instantiation: palette.c:get_ref_frame_buf Unexecuted instantiation: partition_search.c:get_ref_frame_buf Unexecuted instantiation: partition_strategy.c:get_ref_frame_buf Unexecuted instantiation: pass2_strategy.c:get_ref_frame_buf Unexecuted instantiation: pickcdef.c:get_ref_frame_buf Unexecuted instantiation: picklpf.c:get_ref_frame_buf Unexecuted instantiation: pickrst.c:get_ref_frame_buf Unexecuted instantiation: ratectrl.c:get_ref_frame_buf Unexecuted instantiation: rd.c:get_ref_frame_buf Unexecuted instantiation: rdopt.c:get_ref_frame_buf Unexecuted instantiation: nonrd_pickmode.c:get_ref_frame_buf Unexecuted instantiation: nonrd_opt.c:get_ref_frame_buf Unexecuted instantiation: reconinter_enc.c:get_ref_frame_buf Unexecuted instantiation: segmentation.c:get_ref_frame_buf Unexecuted instantiation: speed_features.c:get_ref_frame_buf Unexecuted instantiation: superres_scale.c:get_ref_frame_buf Unexecuted instantiation: svc_layercontext.c:get_ref_frame_buf Unexecuted instantiation: temporal_filter.c:get_ref_frame_buf Unexecuted instantiation: tokenize.c:get_ref_frame_buf Unexecuted instantiation: tpl_model.c:get_ref_frame_buf Unexecuted instantiation: tx_search.c:get_ref_frame_buf Unexecuted instantiation: txb_rdopt.c:get_ref_frame_buf Unexecuted instantiation: intra_mode_search.c:get_ref_frame_buf Unexecuted instantiation: var_based_part.c:get_ref_frame_buf Unexecuted instantiation: av1_noise_estimate.c:get_ref_frame_buf Unexecuted instantiation: variance.c:get_ref_frame_buf Unexecuted instantiation: pyramid.c:get_ref_frame_buf Unexecuted instantiation: alloccommon.c:get_ref_frame_buf Unexecuted instantiation: av1_loopfilter.c:get_ref_frame_buf Unexecuted instantiation: blockd.c:get_ref_frame_buf Unexecuted instantiation: cdef.c:get_ref_frame_buf Unexecuted instantiation: cdef_block.c:get_ref_frame_buf Unexecuted instantiation: cfl.c:get_ref_frame_buf Unexecuted instantiation: debugmodes.c:get_ref_frame_buf Unexecuted instantiation: entropy.c:get_ref_frame_buf Unexecuted instantiation: entropymode.c:get_ref_frame_buf Unexecuted instantiation: entropymv.c:get_ref_frame_buf mvref_common.c:get_ref_frame_buf Line | Count | Source | 1187 | 1.08M | const AV1_COMMON *const cm, const MV_REFERENCE_FRAME ref_frame) { | 1188 | 1.08M | const int map_idx = get_ref_frame_map_idx(cm, ref_frame); | 1189 | 1.08M | return (map_idx != INVALID_IDX) ? cm->ref_frame_map[map_idx] : NULL; | 1190 | 1.08M | } |
Unexecuted instantiation: pred_common.c:get_ref_frame_buf Unexecuted instantiation: quant_common.c:get_ref_frame_buf reconinter.c:get_ref_frame_buf Line | Count | Source | 1187 | 33.6k | const AV1_COMMON *const cm, const MV_REFERENCE_FRAME ref_frame) { | 1188 | 33.6k | const int map_idx = get_ref_frame_map_idx(cm, ref_frame); | 1189 | 33.6k | return (map_idx != INVALID_IDX) ? cm->ref_frame_map[map_idx] : NULL; | 1190 | 33.6k | } |
Unexecuted instantiation: reconintra.c:get_ref_frame_buf Unexecuted instantiation: resize.c:get_ref_frame_buf Unexecuted instantiation: restoration.c:get_ref_frame_buf Unexecuted instantiation: scan.c:get_ref_frame_buf Unexecuted instantiation: thread_common.c:get_ref_frame_buf Unexecuted instantiation: tile_common.c:get_ref_frame_buf Unexecuted instantiation: txb_common.c:get_ref_frame_buf Unexecuted instantiation: warped_motion.c:get_ref_frame_buf Unexecuted instantiation: aq_complexity.c:get_ref_frame_buf Unexecuted instantiation: aq_cyclicrefresh.c:get_ref_frame_buf Unexecuted instantiation: aq_variance.c:get_ref_frame_buf Unexecuted instantiation: cnn.c:get_ref_frame_buf Unexecuted instantiation: compound_type.c:get_ref_frame_buf Unexecuted instantiation: encode_strategy.c:get_ref_frame_buf Unexecuted instantiation: global_motion.c:get_ref_frame_buf Unexecuted instantiation: gop_structure.c:get_ref_frame_buf Unexecuted instantiation: interp_search.c:get_ref_frame_buf Unexecuted instantiation: motion_search_facade.c:get_ref_frame_buf Unexecuted instantiation: wedge_utils.c:get_ref_frame_buf Unexecuted instantiation: convolve.c:get_ref_frame_buf |
1191 | | |
1192 | | // Both const and non-const versions of this function are provided so that it |
1193 | | // can be used with a const AV1_COMMON if needed. |
1194 | | static inline const struct scale_factors *get_ref_scale_factors_const( |
1195 | 183k | const AV1_COMMON *const cm, const MV_REFERENCE_FRAME ref_frame) { |
1196 | 183k | const int map_idx = get_ref_frame_map_idx(cm, ref_frame); |
1197 | 183k | return (map_idx != INVALID_IDX) ? &cm->ref_scale_factors[map_idx] : NULL; |
1198 | 183k | } Unexecuted instantiation: av1_dx_iface.c:get_ref_scale_factors_const decodeframe.c:get_ref_scale_factors_const Line | Count | Source | 1195 | 80.3k | const AV1_COMMON *const cm, const MV_REFERENCE_FRAME ref_frame) { | 1196 | 80.3k | const int map_idx = get_ref_frame_map_idx(cm, ref_frame); | 1197 | 80.3k | return (map_idx != INVALID_IDX) ? &cm->ref_scale_factors[map_idx] : NULL; | 1198 | 80.3k | } |
decodemv.c:get_ref_scale_factors_const Line | Count | Source | 1195 | 99.5k | const AV1_COMMON *const cm, const MV_REFERENCE_FRAME ref_frame) { | 1196 | 99.5k | const int map_idx = get_ref_frame_map_idx(cm, ref_frame); | 1197 | 99.5k | return (map_idx != INVALID_IDX) ? &cm->ref_scale_factors[map_idx] : NULL; | 1198 | 99.5k | } |
Unexecuted instantiation: decoder.c:get_ref_scale_factors_const Unexecuted instantiation: decodetxb.c:get_ref_scale_factors_const Unexecuted instantiation: detokenize.c:get_ref_scale_factors_const Unexecuted instantiation: obu.c:get_ref_scale_factors_const Unexecuted instantiation: av1_cx_iface.c:get_ref_scale_factors_const Unexecuted instantiation: allintra_vis.c:get_ref_scale_factors_const Unexecuted instantiation: av1_quantize.c:get_ref_scale_factors_const Unexecuted instantiation: bitstream.c:get_ref_scale_factors_const Unexecuted instantiation: context_tree.c:get_ref_scale_factors_const Unexecuted instantiation: encodeframe.c:get_ref_scale_factors_const Unexecuted instantiation: encodeframe_utils.c:get_ref_scale_factors_const Unexecuted instantiation: encodemb.c:get_ref_scale_factors_const Unexecuted instantiation: encodemv.c:get_ref_scale_factors_const Unexecuted instantiation: encoder.c:get_ref_scale_factors_const Unexecuted instantiation: encoder_utils.c:get_ref_scale_factors_const Unexecuted instantiation: encodetxb.c:get_ref_scale_factors_const Unexecuted instantiation: ethread.c:get_ref_scale_factors_const Unexecuted instantiation: firstpass.c:get_ref_scale_factors_const Unexecuted instantiation: global_motion_facade.c:get_ref_scale_factors_const Unexecuted instantiation: hash_motion.c:get_ref_scale_factors_const Unexecuted instantiation: level.c:get_ref_scale_factors_const Unexecuted instantiation: lookahead.c:get_ref_scale_factors_const Unexecuted instantiation: mcomp.c:get_ref_scale_factors_const Unexecuted instantiation: mv_prec.c:get_ref_scale_factors_const Unexecuted instantiation: palette.c:get_ref_scale_factors_const Unexecuted instantiation: partition_search.c:get_ref_scale_factors_const Unexecuted instantiation: partition_strategy.c:get_ref_scale_factors_const Unexecuted instantiation: pass2_strategy.c:get_ref_scale_factors_const Unexecuted instantiation: pickcdef.c:get_ref_scale_factors_const Unexecuted instantiation: picklpf.c:get_ref_scale_factors_const Unexecuted instantiation: pickrst.c:get_ref_scale_factors_const Unexecuted instantiation: ratectrl.c:get_ref_scale_factors_const Unexecuted instantiation: rd.c:get_ref_scale_factors_const Unexecuted instantiation: rdopt.c:get_ref_scale_factors_const Unexecuted instantiation: nonrd_pickmode.c:get_ref_scale_factors_const Unexecuted instantiation: nonrd_opt.c:get_ref_scale_factors_const Unexecuted instantiation: reconinter_enc.c:get_ref_scale_factors_const Unexecuted instantiation: segmentation.c:get_ref_scale_factors_const Unexecuted instantiation: speed_features.c:get_ref_scale_factors_const Unexecuted instantiation: superres_scale.c:get_ref_scale_factors_const Unexecuted instantiation: svc_layercontext.c:get_ref_scale_factors_const Unexecuted instantiation: temporal_filter.c:get_ref_scale_factors_const Unexecuted instantiation: tokenize.c:get_ref_scale_factors_const Unexecuted instantiation: tpl_model.c:get_ref_scale_factors_const Unexecuted instantiation: tx_search.c:get_ref_scale_factors_const Unexecuted instantiation: txb_rdopt.c:get_ref_scale_factors_const Unexecuted instantiation: intra_mode_search.c:get_ref_scale_factors_const Unexecuted instantiation: var_based_part.c:get_ref_scale_factors_const Unexecuted instantiation: av1_noise_estimate.c:get_ref_scale_factors_const Unexecuted instantiation: variance.c:get_ref_scale_factors_const Unexecuted instantiation: pyramid.c:get_ref_scale_factors_const Unexecuted instantiation: alloccommon.c:get_ref_scale_factors_const Unexecuted instantiation: av1_loopfilter.c:get_ref_scale_factors_const Unexecuted instantiation: blockd.c:get_ref_scale_factors_const Unexecuted instantiation: cdef.c:get_ref_scale_factors_const Unexecuted instantiation: cdef_block.c:get_ref_scale_factors_const Unexecuted instantiation: cfl.c:get_ref_scale_factors_const Unexecuted instantiation: debugmodes.c:get_ref_scale_factors_const Unexecuted instantiation: entropy.c:get_ref_scale_factors_const Unexecuted instantiation: entropymode.c:get_ref_scale_factors_const Unexecuted instantiation: entropymv.c:get_ref_scale_factors_const Unexecuted instantiation: mvref_common.c:get_ref_scale_factors_const Unexecuted instantiation: pred_common.c:get_ref_scale_factors_const Unexecuted instantiation: quant_common.c:get_ref_scale_factors_const reconinter.c:get_ref_scale_factors_const Line | Count | Source | 1195 | 3.66k | const AV1_COMMON *const cm, const MV_REFERENCE_FRAME ref_frame) { | 1196 | 3.66k | const int map_idx = get_ref_frame_map_idx(cm, ref_frame); | 1197 | 3.66k | return (map_idx != INVALID_IDX) ? &cm->ref_scale_factors[map_idx] : NULL; | 1198 | 3.66k | } |
Unexecuted instantiation: reconintra.c:get_ref_scale_factors_const Unexecuted instantiation: resize.c:get_ref_scale_factors_const Unexecuted instantiation: restoration.c:get_ref_scale_factors_const Unexecuted instantiation: scan.c:get_ref_scale_factors_const Unexecuted instantiation: thread_common.c:get_ref_scale_factors_const Unexecuted instantiation: tile_common.c:get_ref_scale_factors_const Unexecuted instantiation: txb_common.c:get_ref_scale_factors_const Unexecuted instantiation: warped_motion.c:get_ref_scale_factors_const Unexecuted instantiation: aq_complexity.c:get_ref_scale_factors_const Unexecuted instantiation: aq_cyclicrefresh.c:get_ref_scale_factors_const Unexecuted instantiation: aq_variance.c:get_ref_scale_factors_const Unexecuted instantiation: cnn.c:get_ref_scale_factors_const Unexecuted instantiation: compound_type.c:get_ref_scale_factors_const Unexecuted instantiation: encode_strategy.c:get_ref_scale_factors_const Unexecuted instantiation: global_motion.c:get_ref_scale_factors_const Unexecuted instantiation: gop_structure.c:get_ref_scale_factors_const Unexecuted instantiation: interp_search.c:get_ref_scale_factors_const Unexecuted instantiation: motion_search_facade.c:get_ref_scale_factors_const Unexecuted instantiation: wedge_utils.c:get_ref_scale_factors_const Unexecuted instantiation: convolve.c:get_ref_scale_factors_const |
1199 | | |
1200 | | static inline struct scale_factors *get_ref_scale_factors( |
1201 | 140k | AV1_COMMON *const cm, const MV_REFERENCE_FRAME ref_frame) { |
1202 | 140k | const int map_idx = get_ref_frame_map_idx(cm, ref_frame); |
1203 | 140k | return (map_idx != INVALID_IDX) ? &cm->ref_scale_factors[map_idx] : NULL; |
1204 | 140k | } Unexecuted instantiation: av1_dx_iface.c:get_ref_scale_factors decodeframe.c:get_ref_scale_factors Line | Count | Source | 1201 | 140k | AV1_COMMON *const cm, const MV_REFERENCE_FRAME ref_frame) { | 1202 | 140k | const int map_idx = get_ref_frame_map_idx(cm, ref_frame); | 1203 | 140k | return (map_idx != INVALID_IDX) ? &cm->ref_scale_factors[map_idx] : NULL; | 1204 | 140k | } |
Unexecuted instantiation: decodemv.c:get_ref_scale_factors Unexecuted instantiation: decoder.c:get_ref_scale_factors Unexecuted instantiation: decodetxb.c:get_ref_scale_factors Unexecuted instantiation: detokenize.c:get_ref_scale_factors Unexecuted instantiation: obu.c:get_ref_scale_factors Unexecuted instantiation: av1_cx_iface.c:get_ref_scale_factors Unexecuted instantiation: allintra_vis.c:get_ref_scale_factors Unexecuted instantiation: av1_quantize.c:get_ref_scale_factors Unexecuted instantiation: bitstream.c:get_ref_scale_factors Unexecuted instantiation: context_tree.c:get_ref_scale_factors Unexecuted instantiation: encodeframe.c:get_ref_scale_factors Unexecuted instantiation: encodeframe_utils.c:get_ref_scale_factors Unexecuted instantiation: encodemb.c:get_ref_scale_factors Unexecuted instantiation: encodemv.c:get_ref_scale_factors Unexecuted instantiation: encoder.c:get_ref_scale_factors Unexecuted instantiation: encoder_utils.c:get_ref_scale_factors Unexecuted instantiation: encodetxb.c:get_ref_scale_factors Unexecuted instantiation: ethread.c:get_ref_scale_factors Unexecuted instantiation: firstpass.c:get_ref_scale_factors Unexecuted instantiation: global_motion_facade.c:get_ref_scale_factors Unexecuted instantiation: hash_motion.c:get_ref_scale_factors Unexecuted instantiation: level.c:get_ref_scale_factors Unexecuted instantiation: lookahead.c:get_ref_scale_factors Unexecuted instantiation: mcomp.c:get_ref_scale_factors Unexecuted instantiation: mv_prec.c:get_ref_scale_factors Unexecuted instantiation: palette.c:get_ref_scale_factors Unexecuted instantiation: partition_search.c:get_ref_scale_factors Unexecuted instantiation: partition_strategy.c:get_ref_scale_factors Unexecuted instantiation: pass2_strategy.c:get_ref_scale_factors Unexecuted instantiation: pickcdef.c:get_ref_scale_factors Unexecuted instantiation: picklpf.c:get_ref_scale_factors Unexecuted instantiation: pickrst.c:get_ref_scale_factors Unexecuted instantiation: ratectrl.c:get_ref_scale_factors Unexecuted instantiation: rd.c:get_ref_scale_factors Unexecuted instantiation: rdopt.c:get_ref_scale_factors Unexecuted instantiation: nonrd_pickmode.c:get_ref_scale_factors Unexecuted instantiation: nonrd_opt.c:get_ref_scale_factors Unexecuted instantiation: reconinter_enc.c:get_ref_scale_factors Unexecuted instantiation: segmentation.c:get_ref_scale_factors Unexecuted instantiation: speed_features.c:get_ref_scale_factors Unexecuted instantiation: superres_scale.c:get_ref_scale_factors Unexecuted instantiation: svc_layercontext.c:get_ref_scale_factors Unexecuted instantiation: temporal_filter.c:get_ref_scale_factors Unexecuted instantiation: tokenize.c:get_ref_scale_factors Unexecuted instantiation: tpl_model.c:get_ref_scale_factors Unexecuted instantiation: tx_search.c:get_ref_scale_factors Unexecuted instantiation: txb_rdopt.c:get_ref_scale_factors Unexecuted instantiation: intra_mode_search.c:get_ref_scale_factors Unexecuted instantiation: var_based_part.c:get_ref_scale_factors Unexecuted instantiation: av1_noise_estimate.c:get_ref_scale_factors Unexecuted instantiation: variance.c:get_ref_scale_factors Unexecuted instantiation: pyramid.c:get_ref_scale_factors Unexecuted instantiation: alloccommon.c:get_ref_scale_factors Unexecuted instantiation: av1_loopfilter.c:get_ref_scale_factors Unexecuted instantiation: blockd.c:get_ref_scale_factors Unexecuted instantiation: cdef.c:get_ref_scale_factors Unexecuted instantiation: cdef_block.c:get_ref_scale_factors Unexecuted instantiation: cfl.c:get_ref_scale_factors Unexecuted instantiation: debugmodes.c:get_ref_scale_factors Unexecuted instantiation: entropy.c:get_ref_scale_factors Unexecuted instantiation: entropymode.c:get_ref_scale_factors Unexecuted instantiation: entropymv.c:get_ref_scale_factors Unexecuted instantiation: mvref_common.c:get_ref_scale_factors Unexecuted instantiation: pred_common.c:get_ref_scale_factors Unexecuted instantiation: quant_common.c:get_ref_scale_factors Unexecuted instantiation: reconinter.c:get_ref_scale_factors Unexecuted instantiation: reconintra.c:get_ref_scale_factors Unexecuted instantiation: resize.c:get_ref_scale_factors Unexecuted instantiation: restoration.c:get_ref_scale_factors Unexecuted instantiation: scan.c:get_ref_scale_factors Unexecuted instantiation: thread_common.c:get_ref_scale_factors Unexecuted instantiation: tile_common.c:get_ref_scale_factors Unexecuted instantiation: txb_common.c:get_ref_scale_factors Unexecuted instantiation: warped_motion.c:get_ref_scale_factors Unexecuted instantiation: aq_complexity.c:get_ref_scale_factors Unexecuted instantiation: aq_cyclicrefresh.c:get_ref_scale_factors Unexecuted instantiation: aq_variance.c:get_ref_scale_factors Unexecuted instantiation: cnn.c:get_ref_scale_factors Unexecuted instantiation: compound_type.c:get_ref_scale_factors Unexecuted instantiation: encode_strategy.c:get_ref_scale_factors Unexecuted instantiation: global_motion.c:get_ref_scale_factors Unexecuted instantiation: gop_structure.c:get_ref_scale_factors Unexecuted instantiation: interp_search.c:get_ref_scale_factors Unexecuted instantiation: motion_search_facade.c:get_ref_scale_factors Unexecuted instantiation: wedge_utils.c:get_ref_scale_factors Unexecuted instantiation: convolve.c:get_ref_scale_factors |
1205 | | |
1206 | | static inline RefCntBuffer *get_primary_ref_frame_buf( |
1207 | 56.0k | const AV1_COMMON *const cm) { |
1208 | 56.0k | const int primary_ref_frame = cm->features.primary_ref_frame; |
1209 | 56.0k | if (primary_ref_frame == PRIMARY_REF_NONE) return NULL; |
1210 | 53.3k | const int map_idx = get_ref_frame_map_idx(cm, primary_ref_frame + 1); |
1211 | 53.3k | return (map_idx != INVALID_IDX) ? cm->ref_frame_map[map_idx] : NULL; |
1212 | 56.0k | } Unexecuted instantiation: av1_dx_iface.c:get_primary_ref_frame_buf decodeframe.c:get_primary_ref_frame_buf Line | Count | Source | 1207 | 56.0k | const AV1_COMMON *const cm) { | 1208 | 56.0k | const int primary_ref_frame = cm->features.primary_ref_frame; | 1209 | 56.0k | if (primary_ref_frame == PRIMARY_REF_NONE) return NULL; | 1210 | 53.3k | const int map_idx = get_ref_frame_map_idx(cm, primary_ref_frame + 1); | 1211 | 53.3k | return (map_idx != INVALID_IDX) ? cm->ref_frame_map[map_idx] : NULL; | 1212 | 56.0k | } |
Unexecuted instantiation: decodemv.c:get_primary_ref_frame_buf Unexecuted instantiation: decoder.c:get_primary_ref_frame_buf Unexecuted instantiation: decodetxb.c:get_primary_ref_frame_buf Unexecuted instantiation: detokenize.c:get_primary_ref_frame_buf Unexecuted instantiation: obu.c:get_primary_ref_frame_buf Unexecuted instantiation: av1_cx_iface.c:get_primary_ref_frame_buf Unexecuted instantiation: allintra_vis.c:get_primary_ref_frame_buf Unexecuted instantiation: av1_quantize.c:get_primary_ref_frame_buf Unexecuted instantiation: bitstream.c:get_primary_ref_frame_buf Unexecuted instantiation: context_tree.c:get_primary_ref_frame_buf Unexecuted instantiation: encodeframe.c:get_primary_ref_frame_buf Unexecuted instantiation: encodeframe_utils.c:get_primary_ref_frame_buf Unexecuted instantiation: encodemb.c:get_primary_ref_frame_buf Unexecuted instantiation: encodemv.c:get_primary_ref_frame_buf Unexecuted instantiation: encoder.c:get_primary_ref_frame_buf Unexecuted instantiation: encoder_utils.c:get_primary_ref_frame_buf Unexecuted instantiation: encodetxb.c:get_primary_ref_frame_buf Unexecuted instantiation: ethread.c:get_primary_ref_frame_buf Unexecuted instantiation: firstpass.c:get_primary_ref_frame_buf Unexecuted instantiation: global_motion_facade.c:get_primary_ref_frame_buf Unexecuted instantiation: hash_motion.c:get_primary_ref_frame_buf Unexecuted instantiation: level.c:get_primary_ref_frame_buf Unexecuted instantiation: lookahead.c:get_primary_ref_frame_buf Unexecuted instantiation: mcomp.c:get_primary_ref_frame_buf Unexecuted instantiation: mv_prec.c:get_primary_ref_frame_buf Unexecuted instantiation: palette.c:get_primary_ref_frame_buf Unexecuted instantiation: partition_search.c:get_primary_ref_frame_buf Unexecuted instantiation: partition_strategy.c:get_primary_ref_frame_buf Unexecuted instantiation: pass2_strategy.c:get_primary_ref_frame_buf Unexecuted instantiation: pickcdef.c:get_primary_ref_frame_buf Unexecuted instantiation: picklpf.c:get_primary_ref_frame_buf Unexecuted instantiation: pickrst.c:get_primary_ref_frame_buf Unexecuted instantiation: ratectrl.c:get_primary_ref_frame_buf Unexecuted instantiation: rd.c:get_primary_ref_frame_buf Unexecuted instantiation: rdopt.c:get_primary_ref_frame_buf Unexecuted instantiation: nonrd_pickmode.c:get_primary_ref_frame_buf Unexecuted instantiation: nonrd_opt.c:get_primary_ref_frame_buf Unexecuted instantiation: reconinter_enc.c:get_primary_ref_frame_buf Unexecuted instantiation: segmentation.c:get_primary_ref_frame_buf Unexecuted instantiation: speed_features.c:get_primary_ref_frame_buf Unexecuted instantiation: superres_scale.c:get_primary_ref_frame_buf Unexecuted instantiation: svc_layercontext.c:get_primary_ref_frame_buf Unexecuted instantiation: temporal_filter.c:get_primary_ref_frame_buf Unexecuted instantiation: tokenize.c:get_primary_ref_frame_buf Unexecuted instantiation: tpl_model.c:get_primary_ref_frame_buf Unexecuted instantiation: tx_search.c:get_primary_ref_frame_buf Unexecuted instantiation: txb_rdopt.c:get_primary_ref_frame_buf Unexecuted instantiation: intra_mode_search.c:get_primary_ref_frame_buf Unexecuted instantiation: var_based_part.c:get_primary_ref_frame_buf Unexecuted instantiation: av1_noise_estimate.c:get_primary_ref_frame_buf Unexecuted instantiation: variance.c:get_primary_ref_frame_buf Unexecuted instantiation: pyramid.c:get_primary_ref_frame_buf Unexecuted instantiation: alloccommon.c:get_primary_ref_frame_buf Unexecuted instantiation: av1_loopfilter.c:get_primary_ref_frame_buf Unexecuted instantiation: blockd.c:get_primary_ref_frame_buf Unexecuted instantiation: cdef.c:get_primary_ref_frame_buf Unexecuted instantiation: cdef_block.c:get_primary_ref_frame_buf Unexecuted instantiation: cfl.c:get_primary_ref_frame_buf Unexecuted instantiation: debugmodes.c:get_primary_ref_frame_buf Unexecuted instantiation: entropy.c:get_primary_ref_frame_buf Unexecuted instantiation: entropymode.c:get_primary_ref_frame_buf Unexecuted instantiation: entropymv.c:get_primary_ref_frame_buf Unexecuted instantiation: mvref_common.c:get_primary_ref_frame_buf Unexecuted instantiation: pred_common.c:get_primary_ref_frame_buf Unexecuted instantiation: quant_common.c:get_primary_ref_frame_buf Unexecuted instantiation: reconinter.c:get_primary_ref_frame_buf Unexecuted instantiation: reconintra.c:get_primary_ref_frame_buf Unexecuted instantiation: resize.c:get_primary_ref_frame_buf Unexecuted instantiation: restoration.c:get_primary_ref_frame_buf Unexecuted instantiation: scan.c:get_primary_ref_frame_buf Unexecuted instantiation: thread_common.c:get_primary_ref_frame_buf Unexecuted instantiation: tile_common.c:get_primary_ref_frame_buf Unexecuted instantiation: txb_common.c:get_primary_ref_frame_buf Unexecuted instantiation: warped_motion.c:get_primary_ref_frame_buf Unexecuted instantiation: aq_complexity.c:get_primary_ref_frame_buf Unexecuted instantiation: aq_cyclicrefresh.c:get_primary_ref_frame_buf Unexecuted instantiation: aq_variance.c:get_primary_ref_frame_buf Unexecuted instantiation: cnn.c:get_primary_ref_frame_buf Unexecuted instantiation: compound_type.c:get_primary_ref_frame_buf Unexecuted instantiation: encode_strategy.c:get_primary_ref_frame_buf Unexecuted instantiation: global_motion.c:get_primary_ref_frame_buf Unexecuted instantiation: gop_structure.c:get_primary_ref_frame_buf Unexecuted instantiation: interp_search.c:get_primary_ref_frame_buf Unexecuted instantiation: motion_search_facade.c:get_primary_ref_frame_buf Unexecuted instantiation: wedge_utils.c:get_primary_ref_frame_buf Unexecuted instantiation: convolve.c:get_primary_ref_frame_buf |
1213 | | |
1214 | | // Returns 1 if this frame might allow mvs from some reference frame. |
1215 | 26.4k | static inline int frame_might_allow_ref_frame_mvs(const AV1_COMMON *cm) { |
1216 | 26.4k | return !cm->features.error_resilient_mode && |
1217 | 26.4k | cm->seq_params->order_hint_info.enable_ref_frame_mvs && |
1218 | 26.4k | cm->seq_params->order_hint_info.enable_order_hint && |
1219 | 26.4k | !frame_is_intra_only(cm); |
1220 | 26.4k | } Unexecuted instantiation: av1_dx_iface.c:frame_might_allow_ref_frame_mvs decodeframe.c:frame_might_allow_ref_frame_mvs Line | Count | Source | 1215 | 26.4k | static inline int frame_might_allow_ref_frame_mvs(const AV1_COMMON *cm) { | 1216 | 26.4k | return !cm->features.error_resilient_mode && | 1217 | 26.4k | cm->seq_params->order_hint_info.enable_ref_frame_mvs && | 1218 | 26.4k | cm->seq_params->order_hint_info.enable_order_hint && | 1219 | 26.4k | !frame_is_intra_only(cm); | 1220 | 26.4k | } |
Unexecuted instantiation: decodemv.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: decoder.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: decodetxb.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: detokenize.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: obu.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: av1_cx_iface.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: allintra_vis.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: av1_quantize.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: bitstream.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: context_tree.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: encodeframe.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: encodeframe_utils.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: encodemb.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: encodemv.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: encoder.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: encoder_utils.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: encodetxb.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: ethread.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: firstpass.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: global_motion_facade.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: hash_motion.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: level.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: lookahead.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: mcomp.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: mv_prec.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: palette.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: partition_search.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: partition_strategy.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: pass2_strategy.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: pickcdef.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: picklpf.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: pickrst.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: ratectrl.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: rd.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: rdopt.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: nonrd_pickmode.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: nonrd_opt.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: reconinter_enc.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: segmentation.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: speed_features.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: superres_scale.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: svc_layercontext.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: temporal_filter.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: tokenize.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: tpl_model.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: tx_search.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: txb_rdopt.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: intra_mode_search.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: var_based_part.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: av1_noise_estimate.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: variance.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: pyramid.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: alloccommon.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: av1_loopfilter.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: blockd.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: cdef.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: cdef_block.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: cfl.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: debugmodes.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: entropy.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: entropymode.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: entropymv.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: mvref_common.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: pred_common.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: quant_common.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: reconinter.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: reconintra.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: resize.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: restoration.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: scan.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: thread_common.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: tile_common.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: txb_common.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: warped_motion.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: aq_complexity.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: aq_cyclicrefresh.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: aq_variance.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: cnn.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: compound_type.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: encode_strategy.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: global_motion.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: gop_structure.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: interp_search.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: motion_search_facade.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: wedge_utils.c:frame_might_allow_ref_frame_mvs Unexecuted instantiation: convolve.c:frame_might_allow_ref_frame_mvs |
1221 | | |
1222 | | // Returns 1 if this frame might use warped_motion |
1223 | 54.7k | static inline int frame_might_allow_warped_motion(const AV1_COMMON *cm) { |
1224 | 54.7k | return !cm->features.error_resilient_mode && !frame_is_intra_only(cm) && |
1225 | 54.7k | cm->seq_params->enable_warped_motion; |
1226 | 54.7k | } Unexecuted instantiation: av1_dx_iface.c:frame_might_allow_warped_motion decodeframe.c:frame_might_allow_warped_motion Line | Count | Source | 1223 | 54.7k | static inline int frame_might_allow_warped_motion(const AV1_COMMON *cm) { | 1224 | 54.7k | return !cm->features.error_resilient_mode && !frame_is_intra_only(cm) && | 1225 | 54.7k | cm->seq_params->enable_warped_motion; | 1226 | 54.7k | } |
Unexecuted instantiation: decodemv.c:frame_might_allow_warped_motion Unexecuted instantiation: decoder.c:frame_might_allow_warped_motion Unexecuted instantiation: decodetxb.c:frame_might_allow_warped_motion Unexecuted instantiation: detokenize.c:frame_might_allow_warped_motion Unexecuted instantiation: obu.c:frame_might_allow_warped_motion Unexecuted instantiation: av1_cx_iface.c:frame_might_allow_warped_motion Unexecuted instantiation: allintra_vis.c:frame_might_allow_warped_motion Unexecuted instantiation: av1_quantize.c:frame_might_allow_warped_motion Unexecuted instantiation: bitstream.c:frame_might_allow_warped_motion Unexecuted instantiation: context_tree.c:frame_might_allow_warped_motion Unexecuted instantiation: encodeframe.c:frame_might_allow_warped_motion Unexecuted instantiation: encodeframe_utils.c:frame_might_allow_warped_motion Unexecuted instantiation: encodemb.c:frame_might_allow_warped_motion Unexecuted instantiation: encodemv.c:frame_might_allow_warped_motion Unexecuted instantiation: encoder.c:frame_might_allow_warped_motion Unexecuted instantiation: encoder_utils.c:frame_might_allow_warped_motion Unexecuted instantiation: encodetxb.c:frame_might_allow_warped_motion Unexecuted instantiation: ethread.c:frame_might_allow_warped_motion Unexecuted instantiation: firstpass.c:frame_might_allow_warped_motion Unexecuted instantiation: global_motion_facade.c:frame_might_allow_warped_motion Unexecuted instantiation: hash_motion.c:frame_might_allow_warped_motion Unexecuted instantiation: level.c:frame_might_allow_warped_motion Unexecuted instantiation: lookahead.c:frame_might_allow_warped_motion Unexecuted instantiation: mcomp.c:frame_might_allow_warped_motion Unexecuted instantiation: mv_prec.c:frame_might_allow_warped_motion Unexecuted instantiation: palette.c:frame_might_allow_warped_motion Unexecuted instantiation: partition_search.c:frame_might_allow_warped_motion Unexecuted instantiation: partition_strategy.c:frame_might_allow_warped_motion Unexecuted instantiation: pass2_strategy.c:frame_might_allow_warped_motion Unexecuted instantiation: pickcdef.c:frame_might_allow_warped_motion Unexecuted instantiation: picklpf.c:frame_might_allow_warped_motion Unexecuted instantiation: pickrst.c:frame_might_allow_warped_motion Unexecuted instantiation: ratectrl.c:frame_might_allow_warped_motion Unexecuted instantiation: rd.c:frame_might_allow_warped_motion Unexecuted instantiation: rdopt.c:frame_might_allow_warped_motion Unexecuted instantiation: nonrd_pickmode.c:frame_might_allow_warped_motion Unexecuted instantiation: nonrd_opt.c:frame_might_allow_warped_motion Unexecuted instantiation: reconinter_enc.c:frame_might_allow_warped_motion Unexecuted instantiation: segmentation.c:frame_might_allow_warped_motion Unexecuted instantiation: speed_features.c:frame_might_allow_warped_motion Unexecuted instantiation: superres_scale.c:frame_might_allow_warped_motion Unexecuted instantiation: svc_layercontext.c:frame_might_allow_warped_motion Unexecuted instantiation: temporal_filter.c:frame_might_allow_warped_motion Unexecuted instantiation: tokenize.c:frame_might_allow_warped_motion Unexecuted instantiation: tpl_model.c:frame_might_allow_warped_motion Unexecuted instantiation: tx_search.c:frame_might_allow_warped_motion Unexecuted instantiation: txb_rdopt.c:frame_might_allow_warped_motion Unexecuted instantiation: intra_mode_search.c:frame_might_allow_warped_motion Unexecuted instantiation: var_based_part.c:frame_might_allow_warped_motion Unexecuted instantiation: av1_noise_estimate.c:frame_might_allow_warped_motion Unexecuted instantiation: variance.c:frame_might_allow_warped_motion Unexecuted instantiation: pyramid.c:frame_might_allow_warped_motion Unexecuted instantiation: alloccommon.c:frame_might_allow_warped_motion Unexecuted instantiation: av1_loopfilter.c:frame_might_allow_warped_motion Unexecuted instantiation: blockd.c:frame_might_allow_warped_motion Unexecuted instantiation: cdef.c:frame_might_allow_warped_motion Unexecuted instantiation: cdef_block.c:frame_might_allow_warped_motion Unexecuted instantiation: cfl.c:frame_might_allow_warped_motion Unexecuted instantiation: debugmodes.c:frame_might_allow_warped_motion Unexecuted instantiation: entropy.c:frame_might_allow_warped_motion Unexecuted instantiation: entropymode.c:frame_might_allow_warped_motion Unexecuted instantiation: entropymv.c:frame_might_allow_warped_motion Unexecuted instantiation: mvref_common.c:frame_might_allow_warped_motion Unexecuted instantiation: pred_common.c:frame_might_allow_warped_motion Unexecuted instantiation: quant_common.c:frame_might_allow_warped_motion Unexecuted instantiation: reconinter.c:frame_might_allow_warped_motion Unexecuted instantiation: reconintra.c:frame_might_allow_warped_motion Unexecuted instantiation: resize.c:frame_might_allow_warped_motion Unexecuted instantiation: restoration.c:frame_might_allow_warped_motion Unexecuted instantiation: scan.c:frame_might_allow_warped_motion Unexecuted instantiation: thread_common.c:frame_might_allow_warped_motion Unexecuted instantiation: tile_common.c:frame_might_allow_warped_motion Unexecuted instantiation: txb_common.c:frame_might_allow_warped_motion Unexecuted instantiation: warped_motion.c:frame_might_allow_warped_motion Unexecuted instantiation: aq_complexity.c:frame_might_allow_warped_motion Unexecuted instantiation: aq_cyclicrefresh.c:frame_might_allow_warped_motion Unexecuted instantiation: aq_variance.c:frame_might_allow_warped_motion Unexecuted instantiation: cnn.c:frame_might_allow_warped_motion Unexecuted instantiation: compound_type.c:frame_might_allow_warped_motion Unexecuted instantiation: encode_strategy.c:frame_might_allow_warped_motion Unexecuted instantiation: global_motion.c:frame_might_allow_warped_motion Unexecuted instantiation: gop_structure.c:frame_might_allow_warped_motion Unexecuted instantiation: interp_search.c:frame_might_allow_warped_motion Unexecuted instantiation: motion_search_facade.c:frame_might_allow_warped_motion Unexecuted instantiation: wedge_utils.c:frame_might_allow_warped_motion Unexecuted instantiation: convolve.c:frame_might_allow_warped_motion |
1227 | | |
1228 | 54.9k | static inline void ensure_mv_buffer(RefCntBuffer *buf, AV1_COMMON *cm) { |
1229 | 54.9k | const int buf_rows = buf->mi_rows; |
1230 | 54.9k | const int buf_cols = buf->mi_cols; |
1231 | 54.9k | const CommonModeInfoParams *const mi_params = &cm->mi_params; |
1232 | | |
1233 | 54.9k | if (buf->mvs == NULL || buf_rows != mi_params->mi_rows || |
1234 | 54.9k | buf_cols != mi_params->mi_cols) { |
1235 | 41.0k | aom_free(buf->mvs); |
1236 | 41.0k | buf->mi_rows = mi_params->mi_rows; |
1237 | 41.0k | buf->mi_cols = mi_params->mi_cols; |
1238 | 41.0k | CHECK_MEM_ERROR(cm, buf->mvs, |
1239 | 41.0k | (MV_REF *)aom_calloc(((mi_params->mi_rows + 1) >> 1) * |
1240 | 41.0k | ((mi_params->mi_cols + 1) >> 1), |
1241 | 41.0k | sizeof(*buf->mvs))); |
1242 | 41.0k | aom_free(buf->seg_map); |
1243 | 41.0k | CHECK_MEM_ERROR( |
1244 | 41.0k | cm, buf->seg_map, |
1245 | 41.0k | (uint8_t *)aom_calloc(mi_params->mi_rows * mi_params->mi_cols, |
1246 | 41.0k | sizeof(*buf->seg_map))); |
1247 | 41.0k | } |
1248 | | |
1249 | 54.9k | const int mem_size = |
1250 | 54.9k | ((mi_params->mi_rows + MAX_MIB_SIZE) >> 1) * (mi_params->mi_stride >> 1); |
1251 | | |
1252 | 54.9k | if (cm->tpl_mvs == NULL || cm->tpl_mvs_mem_size < mem_size) { |
1253 | 29.8k | aom_free(cm->tpl_mvs); |
1254 | 29.8k | CHECK_MEM_ERROR(cm, cm->tpl_mvs, |
1255 | 29.8k | (TPL_MV_REF *)aom_calloc(mem_size, sizeof(*cm->tpl_mvs))); |
1256 | 29.8k | cm->tpl_mvs_mem_size = mem_size; |
1257 | 29.8k | } |
1258 | 54.9k | } Unexecuted instantiation: av1_dx_iface.c:ensure_mv_buffer decodeframe.c:ensure_mv_buffer Line | Count | Source | 1228 | 54.9k | static inline void ensure_mv_buffer(RefCntBuffer *buf, AV1_COMMON *cm) { | 1229 | 54.9k | const int buf_rows = buf->mi_rows; | 1230 | 54.9k | const int buf_cols = buf->mi_cols; | 1231 | 54.9k | const CommonModeInfoParams *const mi_params = &cm->mi_params; | 1232 | | | 1233 | 54.9k | if (buf->mvs == NULL || buf_rows != mi_params->mi_rows || | 1234 | 54.9k | buf_cols != mi_params->mi_cols) { | 1235 | 41.0k | aom_free(buf->mvs); | 1236 | 41.0k | buf->mi_rows = mi_params->mi_rows; | 1237 | 41.0k | buf->mi_cols = mi_params->mi_cols; | 1238 | 41.0k | CHECK_MEM_ERROR(cm, buf->mvs, | 1239 | 41.0k | (MV_REF *)aom_calloc(((mi_params->mi_rows + 1) >> 1) * | 1240 | 41.0k | ((mi_params->mi_cols + 1) >> 1), | 1241 | 41.0k | sizeof(*buf->mvs))); | 1242 | 41.0k | aom_free(buf->seg_map); | 1243 | 41.0k | CHECK_MEM_ERROR( | 1244 | 41.0k | cm, buf->seg_map, | 1245 | 41.0k | (uint8_t *)aom_calloc(mi_params->mi_rows * mi_params->mi_cols, | 1246 | 41.0k | sizeof(*buf->seg_map))); | 1247 | 41.0k | } | 1248 | | | 1249 | 54.9k | const int mem_size = | 1250 | 54.9k | ((mi_params->mi_rows + MAX_MIB_SIZE) >> 1) * (mi_params->mi_stride >> 1); | 1251 | | | 1252 | 54.9k | if (cm->tpl_mvs == NULL || cm->tpl_mvs_mem_size < mem_size) { | 1253 | 29.8k | aom_free(cm->tpl_mvs); | 1254 | 29.8k | CHECK_MEM_ERROR(cm, cm->tpl_mvs, | 1255 | 29.8k | (TPL_MV_REF *)aom_calloc(mem_size, sizeof(*cm->tpl_mvs))); | 1256 | 29.8k | cm->tpl_mvs_mem_size = mem_size; | 1257 | 29.8k | } | 1258 | 54.9k | } |
Unexecuted instantiation: decodemv.c:ensure_mv_buffer Unexecuted instantiation: decoder.c:ensure_mv_buffer Unexecuted instantiation: decodetxb.c:ensure_mv_buffer Unexecuted instantiation: detokenize.c:ensure_mv_buffer Unexecuted instantiation: obu.c:ensure_mv_buffer Unexecuted instantiation: av1_cx_iface.c:ensure_mv_buffer Unexecuted instantiation: allintra_vis.c:ensure_mv_buffer Unexecuted instantiation: av1_quantize.c:ensure_mv_buffer Unexecuted instantiation: bitstream.c:ensure_mv_buffer Unexecuted instantiation: context_tree.c:ensure_mv_buffer Unexecuted instantiation: encodeframe.c:ensure_mv_buffer Unexecuted instantiation: encodeframe_utils.c:ensure_mv_buffer Unexecuted instantiation: encodemb.c:ensure_mv_buffer Unexecuted instantiation: encodemv.c:ensure_mv_buffer Unexecuted instantiation: encoder.c:ensure_mv_buffer Unexecuted instantiation: encoder_utils.c:ensure_mv_buffer Unexecuted instantiation: encodetxb.c:ensure_mv_buffer Unexecuted instantiation: ethread.c:ensure_mv_buffer Unexecuted instantiation: firstpass.c:ensure_mv_buffer Unexecuted instantiation: global_motion_facade.c:ensure_mv_buffer Unexecuted instantiation: hash_motion.c:ensure_mv_buffer Unexecuted instantiation: level.c:ensure_mv_buffer Unexecuted instantiation: lookahead.c:ensure_mv_buffer Unexecuted instantiation: mcomp.c:ensure_mv_buffer Unexecuted instantiation: mv_prec.c:ensure_mv_buffer Unexecuted instantiation: palette.c:ensure_mv_buffer Unexecuted instantiation: partition_search.c:ensure_mv_buffer Unexecuted instantiation: partition_strategy.c:ensure_mv_buffer Unexecuted instantiation: pass2_strategy.c:ensure_mv_buffer Unexecuted instantiation: pickcdef.c:ensure_mv_buffer Unexecuted instantiation: picklpf.c:ensure_mv_buffer Unexecuted instantiation: pickrst.c:ensure_mv_buffer Unexecuted instantiation: ratectrl.c:ensure_mv_buffer Unexecuted instantiation: rd.c:ensure_mv_buffer Unexecuted instantiation: rdopt.c:ensure_mv_buffer Unexecuted instantiation: nonrd_pickmode.c:ensure_mv_buffer Unexecuted instantiation: nonrd_opt.c:ensure_mv_buffer Unexecuted instantiation: reconinter_enc.c:ensure_mv_buffer Unexecuted instantiation: segmentation.c:ensure_mv_buffer Unexecuted instantiation: speed_features.c:ensure_mv_buffer Unexecuted instantiation: superres_scale.c:ensure_mv_buffer Unexecuted instantiation: svc_layercontext.c:ensure_mv_buffer Unexecuted instantiation: temporal_filter.c:ensure_mv_buffer Unexecuted instantiation: tokenize.c:ensure_mv_buffer Unexecuted instantiation: tpl_model.c:ensure_mv_buffer Unexecuted instantiation: tx_search.c:ensure_mv_buffer Unexecuted instantiation: txb_rdopt.c:ensure_mv_buffer Unexecuted instantiation: intra_mode_search.c:ensure_mv_buffer Unexecuted instantiation: var_based_part.c:ensure_mv_buffer Unexecuted instantiation: av1_noise_estimate.c:ensure_mv_buffer Unexecuted instantiation: variance.c:ensure_mv_buffer Unexecuted instantiation: pyramid.c:ensure_mv_buffer Unexecuted instantiation: alloccommon.c:ensure_mv_buffer Unexecuted instantiation: av1_loopfilter.c:ensure_mv_buffer Unexecuted instantiation: blockd.c:ensure_mv_buffer Unexecuted instantiation: cdef.c:ensure_mv_buffer Unexecuted instantiation: cdef_block.c:ensure_mv_buffer Unexecuted instantiation: cfl.c:ensure_mv_buffer Unexecuted instantiation: debugmodes.c:ensure_mv_buffer Unexecuted instantiation: entropy.c:ensure_mv_buffer Unexecuted instantiation: entropymode.c:ensure_mv_buffer Unexecuted instantiation: entropymv.c:ensure_mv_buffer Unexecuted instantiation: mvref_common.c:ensure_mv_buffer Unexecuted instantiation: pred_common.c:ensure_mv_buffer Unexecuted instantiation: quant_common.c:ensure_mv_buffer Unexecuted instantiation: reconinter.c:ensure_mv_buffer Unexecuted instantiation: reconintra.c:ensure_mv_buffer Unexecuted instantiation: resize.c:ensure_mv_buffer Unexecuted instantiation: restoration.c:ensure_mv_buffer Unexecuted instantiation: scan.c:ensure_mv_buffer Unexecuted instantiation: thread_common.c:ensure_mv_buffer Unexecuted instantiation: tile_common.c:ensure_mv_buffer Unexecuted instantiation: txb_common.c:ensure_mv_buffer Unexecuted instantiation: warped_motion.c:ensure_mv_buffer Unexecuted instantiation: aq_complexity.c:ensure_mv_buffer Unexecuted instantiation: aq_cyclicrefresh.c:ensure_mv_buffer Unexecuted instantiation: aq_variance.c:ensure_mv_buffer Unexecuted instantiation: cnn.c:ensure_mv_buffer Unexecuted instantiation: compound_type.c:ensure_mv_buffer Unexecuted instantiation: encode_strategy.c:ensure_mv_buffer Unexecuted instantiation: global_motion.c:ensure_mv_buffer Unexecuted instantiation: gop_structure.c:ensure_mv_buffer Unexecuted instantiation: interp_search.c:ensure_mv_buffer Unexecuted instantiation: motion_search_facade.c:ensure_mv_buffer Unexecuted instantiation: wedge_utils.c:ensure_mv_buffer Unexecuted instantiation: convolve.c:ensure_mv_buffer |
1259 | | |
1260 | | #if !CONFIG_REALTIME_ONLY || CONFIG_AV1_DECODER |
1261 | | void cfl_init(CFL_CTX *cfl, const SequenceHeader *seq_params); |
1262 | | #endif |
1263 | | |
1264 | 86.4M | static inline int av1_num_planes(const AV1_COMMON *cm) { |
1265 | 86.4M | return cm->seq_params->monochrome ? 1 : MAX_MB_PLANE; |
1266 | 86.4M | } av1_dx_iface.c:av1_num_planes Line | Count | Source | 1264 | 3.39k | static inline int av1_num_planes(const AV1_COMMON *cm) { | 1265 | 3.39k | return cm->seq_params->monochrome ? 1 : MAX_MB_PLANE; | 1266 | 3.39k | } |
decodeframe.c:av1_num_planes Line | Count | Source | 1264 | 32.8M | static inline int av1_num_planes(const AV1_COMMON *cm) { | 1265 | 32.8M | return cm->seq_params->monochrome ? 1 : MAX_MB_PLANE; | 1266 | 32.8M | } |
decodemv.c:av1_num_planes Line | Count | Source | 1264 | 4.75M | static inline int av1_num_planes(const AV1_COMMON *cm) { | 1265 | 4.75M | return cm->seq_params->monochrome ? 1 : MAX_MB_PLANE; | 1266 | 4.75M | } |
Line | Count | Source | 1264 | 48.4M | static inline int av1_num_planes(const AV1_COMMON *cm) { | 1265 | 48.4M | return cm->seq_params->monochrome ? 1 : MAX_MB_PLANE; | 1266 | 48.4M | } |
Unexecuted instantiation: decodetxb.c:av1_num_planes Unexecuted instantiation: detokenize.c:av1_num_planes Unexecuted instantiation: obu.c:av1_num_planes Unexecuted instantiation: av1_cx_iface.c:av1_num_planes Unexecuted instantiation: allintra_vis.c:av1_num_planes Unexecuted instantiation: av1_quantize.c:av1_num_planes Unexecuted instantiation: bitstream.c:av1_num_planes Unexecuted instantiation: context_tree.c:av1_num_planes Unexecuted instantiation: encodeframe.c:av1_num_planes Unexecuted instantiation: encodeframe_utils.c:av1_num_planes Unexecuted instantiation: encodemb.c:av1_num_planes Unexecuted instantiation: encodemv.c:av1_num_planes Unexecuted instantiation: encoder.c:av1_num_planes Unexecuted instantiation: encoder_utils.c:av1_num_planes Unexecuted instantiation: encodetxb.c:av1_num_planes Unexecuted instantiation: ethread.c:av1_num_planes Unexecuted instantiation: firstpass.c:av1_num_planes Unexecuted instantiation: global_motion_facade.c:av1_num_planes Unexecuted instantiation: hash_motion.c:av1_num_planes Unexecuted instantiation: level.c:av1_num_planes Unexecuted instantiation: lookahead.c:av1_num_planes Unexecuted instantiation: mcomp.c:av1_num_planes Unexecuted instantiation: mv_prec.c:av1_num_planes Unexecuted instantiation: palette.c:av1_num_planes Unexecuted instantiation: partition_search.c:av1_num_planes Unexecuted instantiation: partition_strategy.c:av1_num_planes Unexecuted instantiation: pass2_strategy.c:av1_num_planes Unexecuted instantiation: pickcdef.c:av1_num_planes Unexecuted instantiation: picklpf.c:av1_num_planes Unexecuted instantiation: pickrst.c:av1_num_planes Unexecuted instantiation: ratectrl.c:av1_num_planes Unexecuted instantiation: rd.c:av1_num_planes Unexecuted instantiation: rdopt.c:av1_num_planes Unexecuted instantiation: nonrd_pickmode.c:av1_num_planes Unexecuted instantiation: nonrd_opt.c:av1_num_planes Unexecuted instantiation: reconinter_enc.c:av1_num_planes Unexecuted instantiation: segmentation.c:av1_num_planes Unexecuted instantiation: speed_features.c:av1_num_planes Unexecuted instantiation: superres_scale.c:av1_num_planes Unexecuted instantiation: svc_layercontext.c:av1_num_planes Unexecuted instantiation: temporal_filter.c:av1_num_planes Unexecuted instantiation: tokenize.c:av1_num_planes Unexecuted instantiation: tpl_model.c:av1_num_planes Unexecuted instantiation: tx_search.c:av1_num_planes Unexecuted instantiation: txb_rdopt.c:av1_num_planes Unexecuted instantiation: intra_mode_search.c:av1_num_planes Unexecuted instantiation: var_based_part.c:av1_num_planes Unexecuted instantiation: av1_noise_estimate.c:av1_num_planes Unexecuted instantiation: variance.c:av1_num_planes Unexecuted instantiation: pyramid.c:av1_num_planes alloccommon.c:av1_num_planes Line | Count | Source | 1264 | 47.1k | static inline int av1_num_planes(const AV1_COMMON *cm) { | 1265 | 47.1k | return cm->seq_params->monochrome ? 1 : MAX_MB_PLANE; | 1266 | 47.1k | } |
Unexecuted instantiation: av1_loopfilter.c:av1_num_planes Unexecuted instantiation: blockd.c:av1_num_planes Line | Count | Source | 1264 | 64.0k | static inline int av1_num_planes(const AV1_COMMON *cm) { | 1265 | 64.0k | return cm->seq_params->monochrome ? 1 : MAX_MB_PLANE; | 1266 | 64.0k | } |
Unexecuted instantiation: cdef_block.c:av1_num_planes Unexecuted instantiation: cfl.c:av1_num_planes Unexecuted instantiation: debugmodes.c:av1_num_planes Unexecuted instantiation: entropy.c:av1_num_planes Unexecuted instantiation: entropymode.c:av1_num_planes Unexecuted instantiation: entropymv.c:av1_num_planes Unexecuted instantiation: mvref_common.c:av1_num_planes Unexecuted instantiation: pred_common.c:av1_num_planes Unexecuted instantiation: quant_common.c:av1_num_planes reconinter.c:av1_num_planes Line | Count | Source | 1264 | 27.8k | static inline int av1_num_planes(const AV1_COMMON *cm) { | 1265 | 27.8k | return cm->seq_params->monochrome ? 1 : MAX_MB_PLANE; | 1266 | 27.8k | } |
Unexecuted instantiation: reconintra.c:av1_num_planes Line | Count | Source | 1264 | 8.53k | static inline int av1_num_planes(const AV1_COMMON *cm) { | 1265 | 8.53k | return cm->seq_params->monochrome ? 1 : MAX_MB_PLANE; | 1266 | 8.53k | } |
restoration.c:av1_num_planes Line | Count | Source | 1264 | 11.2k | static inline int av1_num_planes(const AV1_COMMON *cm) { | 1265 | 11.2k | return cm->seq_params->monochrome ? 1 : MAX_MB_PLANE; | 1266 | 11.2k | } |
Unexecuted instantiation: scan.c:av1_num_planes thread_common.c:av1_num_planes Line | Count | Source | 1264 | 225k | static inline int av1_num_planes(const AV1_COMMON *cm) { | 1265 | 225k | return cm->seq_params->monochrome ? 1 : MAX_MB_PLANE; | 1266 | 225k | } |
Unexecuted instantiation: tile_common.c:av1_num_planes Unexecuted instantiation: txb_common.c:av1_num_planes Unexecuted instantiation: warped_motion.c:av1_num_planes Unexecuted instantiation: aq_complexity.c:av1_num_planes Unexecuted instantiation: aq_cyclicrefresh.c:av1_num_planes Unexecuted instantiation: aq_variance.c:av1_num_planes Unexecuted instantiation: cnn.c:av1_num_planes Unexecuted instantiation: compound_type.c:av1_num_planes Unexecuted instantiation: encode_strategy.c:av1_num_planes Unexecuted instantiation: global_motion.c:av1_num_planes Unexecuted instantiation: gop_structure.c:av1_num_planes Unexecuted instantiation: interp_search.c:av1_num_planes Unexecuted instantiation: motion_search_facade.c:av1_num_planes Unexecuted instantiation: wedge_utils.c:av1_num_planes Unexecuted instantiation: convolve.c:av1_num_planes |
1267 | | |
1268 | | static inline void av1_init_above_context(CommonContexts *above_contexts, |
1269 | | int num_planes, int tile_row, |
1270 | 57.1k | MACROBLOCKD *xd) { |
1271 | 193k | for (int i = 0; i < num_planes; ++i) { |
1272 | 136k | xd->above_entropy_context[i] = above_contexts->entropy[i][tile_row]; |
1273 | 136k | } |
1274 | 57.1k | xd->above_partition_context = above_contexts->partition[tile_row]; |
1275 | 57.1k | xd->above_txfm_context = above_contexts->txfm[tile_row]; |
1276 | 57.1k | } Unexecuted instantiation: av1_dx_iface.c:av1_init_above_context decodeframe.c:av1_init_above_context Line | Count | Source | 1270 | 57.1k | MACROBLOCKD *xd) { | 1271 | 193k | for (int i = 0; i < num_planes; ++i) { | 1272 | 136k | xd->above_entropy_context[i] = above_contexts->entropy[i][tile_row]; | 1273 | 136k | } | 1274 | 57.1k | xd->above_partition_context = above_contexts->partition[tile_row]; | 1275 | 57.1k | xd->above_txfm_context = above_contexts->txfm[tile_row]; | 1276 | 57.1k | } |
Unexecuted instantiation: decodemv.c:av1_init_above_context Unexecuted instantiation: decoder.c:av1_init_above_context Unexecuted instantiation: decodetxb.c:av1_init_above_context Unexecuted instantiation: detokenize.c:av1_init_above_context Unexecuted instantiation: obu.c:av1_init_above_context Unexecuted instantiation: av1_cx_iface.c:av1_init_above_context Unexecuted instantiation: allintra_vis.c:av1_init_above_context Unexecuted instantiation: av1_quantize.c:av1_init_above_context Unexecuted instantiation: bitstream.c:av1_init_above_context Unexecuted instantiation: context_tree.c:av1_init_above_context Unexecuted instantiation: encodeframe.c:av1_init_above_context Unexecuted instantiation: encodeframe_utils.c:av1_init_above_context Unexecuted instantiation: encodemb.c:av1_init_above_context Unexecuted instantiation: encodemv.c:av1_init_above_context Unexecuted instantiation: encoder.c:av1_init_above_context Unexecuted instantiation: encoder_utils.c:av1_init_above_context Unexecuted instantiation: encodetxb.c:av1_init_above_context Unexecuted instantiation: ethread.c:av1_init_above_context Unexecuted instantiation: firstpass.c:av1_init_above_context Unexecuted instantiation: global_motion_facade.c:av1_init_above_context Unexecuted instantiation: hash_motion.c:av1_init_above_context Unexecuted instantiation: level.c:av1_init_above_context Unexecuted instantiation: lookahead.c:av1_init_above_context Unexecuted instantiation: mcomp.c:av1_init_above_context Unexecuted instantiation: mv_prec.c:av1_init_above_context Unexecuted instantiation: palette.c:av1_init_above_context Unexecuted instantiation: partition_search.c:av1_init_above_context Unexecuted instantiation: partition_strategy.c:av1_init_above_context Unexecuted instantiation: pass2_strategy.c:av1_init_above_context Unexecuted instantiation: pickcdef.c:av1_init_above_context Unexecuted instantiation: picklpf.c:av1_init_above_context Unexecuted instantiation: pickrst.c:av1_init_above_context Unexecuted instantiation: ratectrl.c:av1_init_above_context Unexecuted instantiation: rd.c:av1_init_above_context Unexecuted instantiation: rdopt.c:av1_init_above_context Unexecuted instantiation: nonrd_pickmode.c:av1_init_above_context Unexecuted instantiation: nonrd_opt.c:av1_init_above_context Unexecuted instantiation: reconinter_enc.c:av1_init_above_context Unexecuted instantiation: segmentation.c:av1_init_above_context Unexecuted instantiation: speed_features.c:av1_init_above_context Unexecuted instantiation: superres_scale.c:av1_init_above_context Unexecuted instantiation: svc_layercontext.c:av1_init_above_context Unexecuted instantiation: temporal_filter.c:av1_init_above_context Unexecuted instantiation: tokenize.c:av1_init_above_context Unexecuted instantiation: tpl_model.c:av1_init_above_context Unexecuted instantiation: tx_search.c:av1_init_above_context Unexecuted instantiation: txb_rdopt.c:av1_init_above_context Unexecuted instantiation: intra_mode_search.c:av1_init_above_context Unexecuted instantiation: var_based_part.c:av1_init_above_context Unexecuted instantiation: av1_noise_estimate.c:av1_init_above_context Unexecuted instantiation: variance.c:av1_init_above_context Unexecuted instantiation: pyramid.c:av1_init_above_context Unexecuted instantiation: alloccommon.c:av1_init_above_context Unexecuted instantiation: av1_loopfilter.c:av1_init_above_context Unexecuted instantiation: blockd.c:av1_init_above_context Unexecuted instantiation: cdef.c:av1_init_above_context Unexecuted instantiation: cdef_block.c:av1_init_above_context Unexecuted instantiation: cfl.c:av1_init_above_context Unexecuted instantiation: debugmodes.c:av1_init_above_context Unexecuted instantiation: entropy.c:av1_init_above_context Unexecuted instantiation: entropymode.c:av1_init_above_context Unexecuted instantiation: entropymv.c:av1_init_above_context Unexecuted instantiation: mvref_common.c:av1_init_above_context Unexecuted instantiation: pred_common.c:av1_init_above_context Unexecuted instantiation: quant_common.c:av1_init_above_context Unexecuted instantiation: reconinter.c:av1_init_above_context Unexecuted instantiation: reconintra.c:av1_init_above_context Unexecuted instantiation: resize.c:av1_init_above_context Unexecuted instantiation: restoration.c:av1_init_above_context Unexecuted instantiation: scan.c:av1_init_above_context Unexecuted instantiation: thread_common.c:av1_init_above_context Unexecuted instantiation: tile_common.c:av1_init_above_context Unexecuted instantiation: txb_common.c:av1_init_above_context Unexecuted instantiation: warped_motion.c:av1_init_above_context Unexecuted instantiation: aq_complexity.c:av1_init_above_context Unexecuted instantiation: aq_cyclicrefresh.c:av1_init_above_context Unexecuted instantiation: aq_variance.c:av1_init_above_context Unexecuted instantiation: cnn.c:av1_init_above_context Unexecuted instantiation: compound_type.c:av1_init_above_context Unexecuted instantiation: encode_strategy.c:av1_init_above_context Unexecuted instantiation: global_motion.c:av1_init_above_context Unexecuted instantiation: gop_structure.c:av1_init_above_context Unexecuted instantiation: interp_search.c:av1_init_above_context Unexecuted instantiation: motion_search_facade.c:av1_init_above_context Unexecuted instantiation: wedge_utils.c:av1_init_above_context Unexecuted instantiation: convolve.c:av1_init_above_context |
1277 | | |
1278 | 164k | static inline void av1_init_macroblockd(AV1_COMMON *cm, MACROBLOCKD *xd) { |
1279 | 164k | const int num_planes = av1_num_planes(cm); |
1280 | 164k | const CommonQuantParams *const quant_params = &cm->quant_params; |
1281 | | |
1282 | 586k | for (int i = 0; i < num_planes; ++i) { |
1283 | 422k | if (xd->plane[i].plane_type == PLANE_TYPE_Y) { |
1284 | 164k | memcpy(xd->plane[i].seg_dequant_QTX, quant_params->y_dequant_QTX, |
1285 | 164k | sizeof(quant_params->y_dequant_QTX)); |
1286 | 164k | memcpy(xd->plane[i].seg_iqmatrix, quant_params->y_iqmatrix, |
1287 | 164k | sizeof(quant_params->y_iqmatrix)); |
1288 | | |
1289 | 257k | } else { |
1290 | 257k | if (i == AOM_PLANE_U) { |
1291 | 128k | memcpy(xd->plane[i].seg_dequant_QTX, quant_params->u_dequant_QTX, |
1292 | 128k | sizeof(quant_params->u_dequant_QTX)); |
1293 | 128k | memcpy(xd->plane[i].seg_iqmatrix, quant_params->u_iqmatrix, |
1294 | 128k | sizeof(quant_params->u_iqmatrix)); |
1295 | 128k | } else { |
1296 | 128k | memcpy(xd->plane[i].seg_dequant_QTX, quant_params->v_dequant_QTX, |
1297 | 128k | sizeof(quant_params->v_dequant_QTX)); |
1298 | 128k | memcpy(xd->plane[i].seg_iqmatrix, quant_params->v_iqmatrix, |
1299 | 128k | sizeof(quant_params->v_iqmatrix)); |
1300 | 128k | } |
1301 | 257k | } |
1302 | 422k | } |
1303 | 164k | xd->mi_stride = cm->mi_params.mi_stride; |
1304 | 164k | xd->error_info = cm->error; |
1305 | 164k | #if !CONFIG_REALTIME_ONLY || CONFIG_AV1_DECODER |
1306 | 164k | cfl_init(&xd->cfl, cm->seq_params); |
1307 | 164k | #endif |
1308 | 164k | } Unexecuted instantiation: av1_dx_iface.c:av1_init_macroblockd decodeframe.c:av1_init_macroblockd Line | Count | Source | 1278 | 164k | static inline void av1_init_macroblockd(AV1_COMMON *cm, MACROBLOCKD *xd) { | 1279 | 164k | const int num_planes = av1_num_planes(cm); | 1280 | 164k | const CommonQuantParams *const quant_params = &cm->quant_params; | 1281 | | | 1282 | 586k | for (int i = 0; i < num_planes; ++i) { | 1283 | 422k | if (xd->plane[i].plane_type == PLANE_TYPE_Y) { | 1284 | 164k | memcpy(xd->plane[i].seg_dequant_QTX, quant_params->y_dequant_QTX, | 1285 | 164k | sizeof(quant_params->y_dequant_QTX)); | 1286 | 164k | memcpy(xd->plane[i].seg_iqmatrix, quant_params->y_iqmatrix, | 1287 | 164k | sizeof(quant_params->y_iqmatrix)); | 1288 | | | 1289 | 257k | } else { | 1290 | 257k | if (i == AOM_PLANE_U) { | 1291 | 128k | memcpy(xd->plane[i].seg_dequant_QTX, quant_params->u_dequant_QTX, | 1292 | 128k | sizeof(quant_params->u_dequant_QTX)); | 1293 | 128k | memcpy(xd->plane[i].seg_iqmatrix, quant_params->u_iqmatrix, | 1294 | 128k | sizeof(quant_params->u_iqmatrix)); | 1295 | 128k | } else { | 1296 | 128k | memcpy(xd->plane[i].seg_dequant_QTX, quant_params->v_dequant_QTX, | 1297 | 128k | sizeof(quant_params->v_dequant_QTX)); | 1298 | 128k | memcpy(xd->plane[i].seg_iqmatrix, quant_params->v_iqmatrix, | 1299 | 128k | sizeof(quant_params->v_iqmatrix)); | 1300 | 128k | } | 1301 | 257k | } | 1302 | 422k | } | 1303 | 164k | xd->mi_stride = cm->mi_params.mi_stride; | 1304 | 164k | xd->error_info = cm->error; | 1305 | 164k | #if !CONFIG_REALTIME_ONLY || CONFIG_AV1_DECODER | 1306 | 164k | cfl_init(&xd->cfl, cm->seq_params); | 1307 | 164k | #endif | 1308 | 164k | } |
Unexecuted instantiation: decodemv.c:av1_init_macroblockd Unexecuted instantiation: decoder.c:av1_init_macroblockd Unexecuted instantiation: decodetxb.c:av1_init_macroblockd Unexecuted instantiation: detokenize.c:av1_init_macroblockd Unexecuted instantiation: obu.c:av1_init_macroblockd Unexecuted instantiation: av1_cx_iface.c:av1_init_macroblockd Unexecuted instantiation: allintra_vis.c:av1_init_macroblockd Unexecuted instantiation: av1_quantize.c:av1_init_macroblockd Unexecuted instantiation: bitstream.c:av1_init_macroblockd Unexecuted instantiation: context_tree.c:av1_init_macroblockd Unexecuted instantiation: encodeframe.c:av1_init_macroblockd Unexecuted instantiation: encodeframe_utils.c:av1_init_macroblockd Unexecuted instantiation: encodemb.c:av1_init_macroblockd Unexecuted instantiation: encodemv.c:av1_init_macroblockd Unexecuted instantiation: encoder.c:av1_init_macroblockd Unexecuted instantiation: encoder_utils.c:av1_init_macroblockd Unexecuted instantiation: encodetxb.c:av1_init_macroblockd Unexecuted instantiation: ethread.c:av1_init_macroblockd Unexecuted instantiation: firstpass.c:av1_init_macroblockd Unexecuted instantiation: global_motion_facade.c:av1_init_macroblockd Unexecuted instantiation: hash_motion.c:av1_init_macroblockd Unexecuted instantiation: level.c:av1_init_macroblockd Unexecuted instantiation: lookahead.c:av1_init_macroblockd Unexecuted instantiation: mcomp.c:av1_init_macroblockd Unexecuted instantiation: mv_prec.c:av1_init_macroblockd Unexecuted instantiation: palette.c:av1_init_macroblockd Unexecuted instantiation: partition_search.c:av1_init_macroblockd Unexecuted instantiation: partition_strategy.c:av1_init_macroblockd Unexecuted instantiation: pass2_strategy.c:av1_init_macroblockd Unexecuted instantiation: pickcdef.c:av1_init_macroblockd Unexecuted instantiation: picklpf.c:av1_init_macroblockd Unexecuted instantiation: pickrst.c:av1_init_macroblockd Unexecuted instantiation: ratectrl.c:av1_init_macroblockd Unexecuted instantiation: rd.c:av1_init_macroblockd Unexecuted instantiation: rdopt.c:av1_init_macroblockd Unexecuted instantiation: nonrd_pickmode.c:av1_init_macroblockd Unexecuted instantiation: nonrd_opt.c:av1_init_macroblockd Unexecuted instantiation: reconinter_enc.c:av1_init_macroblockd Unexecuted instantiation: segmentation.c:av1_init_macroblockd Unexecuted instantiation: speed_features.c:av1_init_macroblockd Unexecuted instantiation: superres_scale.c:av1_init_macroblockd Unexecuted instantiation: svc_layercontext.c:av1_init_macroblockd Unexecuted instantiation: temporal_filter.c:av1_init_macroblockd Unexecuted instantiation: tokenize.c:av1_init_macroblockd Unexecuted instantiation: tpl_model.c:av1_init_macroblockd Unexecuted instantiation: tx_search.c:av1_init_macroblockd Unexecuted instantiation: txb_rdopt.c:av1_init_macroblockd Unexecuted instantiation: intra_mode_search.c:av1_init_macroblockd Unexecuted instantiation: var_based_part.c:av1_init_macroblockd Unexecuted instantiation: av1_noise_estimate.c:av1_init_macroblockd Unexecuted instantiation: variance.c:av1_init_macroblockd Unexecuted instantiation: pyramid.c:av1_init_macroblockd Unexecuted instantiation: alloccommon.c:av1_init_macroblockd Unexecuted instantiation: av1_loopfilter.c:av1_init_macroblockd Unexecuted instantiation: blockd.c:av1_init_macroblockd Unexecuted instantiation: cdef.c:av1_init_macroblockd Unexecuted instantiation: cdef_block.c:av1_init_macroblockd Unexecuted instantiation: cfl.c:av1_init_macroblockd Unexecuted instantiation: debugmodes.c:av1_init_macroblockd Unexecuted instantiation: entropy.c:av1_init_macroblockd Unexecuted instantiation: entropymode.c:av1_init_macroblockd Unexecuted instantiation: entropymv.c:av1_init_macroblockd Unexecuted instantiation: mvref_common.c:av1_init_macroblockd Unexecuted instantiation: pred_common.c:av1_init_macroblockd Unexecuted instantiation: quant_common.c:av1_init_macroblockd Unexecuted instantiation: reconinter.c:av1_init_macroblockd Unexecuted instantiation: reconintra.c:av1_init_macroblockd Unexecuted instantiation: resize.c:av1_init_macroblockd Unexecuted instantiation: restoration.c:av1_init_macroblockd Unexecuted instantiation: scan.c:av1_init_macroblockd Unexecuted instantiation: thread_common.c:av1_init_macroblockd Unexecuted instantiation: tile_common.c:av1_init_macroblockd Unexecuted instantiation: txb_common.c:av1_init_macroblockd Unexecuted instantiation: warped_motion.c:av1_init_macroblockd Unexecuted instantiation: aq_complexity.c:av1_init_macroblockd Unexecuted instantiation: aq_cyclicrefresh.c:av1_init_macroblockd Unexecuted instantiation: aq_variance.c:av1_init_macroblockd Unexecuted instantiation: cnn.c:av1_init_macroblockd Unexecuted instantiation: compound_type.c:av1_init_macroblockd Unexecuted instantiation: encode_strategy.c:av1_init_macroblockd Unexecuted instantiation: global_motion.c:av1_init_macroblockd Unexecuted instantiation: gop_structure.c:av1_init_macroblockd Unexecuted instantiation: interp_search.c:av1_init_macroblockd Unexecuted instantiation: motion_search_facade.c:av1_init_macroblockd Unexecuted instantiation: wedge_utils.c:av1_init_macroblockd Unexecuted instantiation: convolve.c:av1_init_macroblockd |
1309 | | |
1310 | | static inline void set_entropy_context(MACROBLOCKD *xd, int mi_row, int mi_col, |
1311 | 6.39M | const int num_planes) { |
1312 | 6.39M | int i; |
1313 | 6.39M | int row_offset = mi_row; |
1314 | 6.39M | int col_offset = mi_col; |
1315 | 25.1M | for (i = 0; i < num_planes; ++i) { |
1316 | 18.7M | struct macroblockd_plane *const pd = &xd->plane[i]; |
1317 | | // Offset the buffer pointer |
1318 | 18.7M | const BLOCK_SIZE bsize = xd->mi[0]->bsize; |
1319 | 18.7M | if (pd->subsampling_y && (mi_row & 0x01) && (mi_size_high[bsize] == 1)) |
1320 | 410k | row_offset = mi_row - 1; |
1321 | 18.7M | if (pd->subsampling_x && (mi_col & 0x01) && (mi_size_wide[bsize] == 1)) |
1322 | 386k | col_offset = mi_col - 1; |
1323 | 18.7M | int above_idx = col_offset; |
1324 | 18.7M | int left_idx = row_offset & MAX_MIB_MASK; |
1325 | 18.7M | pd->above_entropy_context = |
1326 | 18.7M | &xd->above_entropy_context[i][above_idx >> pd->subsampling_x]; |
1327 | 18.7M | pd->left_entropy_context = |
1328 | 18.7M | &xd->left_entropy_context[i][left_idx >> pd->subsampling_y]; |
1329 | 18.7M | } |
1330 | 6.39M | } Unexecuted instantiation: av1_dx_iface.c:set_entropy_context decodeframe.c:set_entropy_context Line | Count | Source | 1311 | 6.39M | const int num_planes) { | 1312 | 6.39M | int i; | 1313 | 6.39M | int row_offset = mi_row; | 1314 | 6.39M | int col_offset = mi_col; | 1315 | 25.1M | for (i = 0; i < num_planes; ++i) { | 1316 | 18.7M | struct macroblockd_plane *const pd = &xd->plane[i]; | 1317 | | // Offset the buffer pointer | 1318 | 18.7M | const BLOCK_SIZE bsize = xd->mi[0]->bsize; | 1319 | 18.7M | if (pd->subsampling_y && (mi_row & 0x01) && (mi_size_high[bsize] == 1)) | 1320 | 410k | row_offset = mi_row - 1; | 1321 | 18.7M | if (pd->subsampling_x && (mi_col & 0x01) && (mi_size_wide[bsize] == 1)) | 1322 | 386k | col_offset = mi_col - 1; | 1323 | 18.7M | int above_idx = col_offset; | 1324 | 18.7M | int left_idx = row_offset & MAX_MIB_MASK; | 1325 | 18.7M | pd->above_entropy_context = | 1326 | 18.7M | &xd->above_entropy_context[i][above_idx >> pd->subsampling_x]; | 1327 | 18.7M | pd->left_entropy_context = | 1328 | 18.7M | &xd->left_entropy_context[i][left_idx >> pd->subsampling_y]; | 1329 | 18.7M | } | 1330 | 6.39M | } |
Unexecuted instantiation: decodemv.c:set_entropy_context Unexecuted instantiation: decoder.c:set_entropy_context Unexecuted instantiation: decodetxb.c:set_entropy_context Unexecuted instantiation: detokenize.c:set_entropy_context Unexecuted instantiation: obu.c:set_entropy_context Unexecuted instantiation: av1_cx_iface.c:set_entropy_context Unexecuted instantiation: allintra_vis.c:set_entropy_context Unexecuted instantiation: av1_quantize.c:set_entropy_context Unexecuted instantiation: bitstream.c:set_entropy_context Unexecuted instantiation: context_tree.c:set_entropy_context Unexecuted instantiation: encodeframe.c:set_entropy_context Unexecuted instantiation: encodeframe_utils.c:set_entropy_context Unexecuted instantiation: encodemb.c:set_entropy_context Unexecuted instantiation: encodemv.c:set_entropy_context Unexecuted instantiation: encoder.c:set_entropy_context Unexecuted instantiation: encoder_utils.c:set_entropy_context Unexecuted instantiation: encodetxb.c:set_entropy_context Unexecuted instantiation: ethread.c:set_entropy_context Unexecuted instantiation: firstpass.c:set_entropy_context Unexecuted instantiation: global_motion_facade.c:set_entropy_context Unexecuted instantiation: hash_motion.c:set_entropy_context Unexecuted instantiation: level.c:set_entropy_context Unexecuted instantiation: lookahead.c:set_entropy_context Unexecuted instantiation: mcomp.c:set_entropy_context Unexecuted instantiation: mv_prec.c:set_entropy_context Unexecuted instantiation: palette.c:set_entropy_context Unexecuted instantiation: partition_search.c:set_entropy_context Unexecuted instantiation: partition_strategy.c:set_entropy_context Unexecuted instantiation: pass2_strategy.c:set_entropy_context Unexecuted instantiation: pickcdef.c:set_entropy_context Unexecuted instantiation: picklpf.c:set_entropy_context Unexecuted instantiation: pickrst.c:set_entropy_context Unexecuted instantiation: ratectrl.c:set_entropy_context Unexecuted instantiation: rd.c:set_entropy_context Unexecuted instantiation: rdopt.c:set_entropy_context Unexecuted instantiation: nonrd_pickmode.c:set_entropy_context Unexecuted instantiation: nonrd_opt.c:set_entropy_context Unexecuted instantiation: reconinter_enc.c:set_entropy_context Unexecuted instantiation: segmentation.c:set_entropy_context Unexecuted instantiation: speed_features.c:set_entropy_context Unexecuted instantiation: superres_scale.c:set_entropy_context Unexecuted instantiation: svc_layercontext.c:set_entropy_context Unexecuted instantiation: temporal_filter.c:set_entropy_context Unexecuted instantiation: tokenize.c:set_entropy_context Unexecuted instantiation: tpl_model.c:set_entropy_context Unexecuted instantiation: tx_search.c:set_entropy_context Unexecuted instantiation: txb_rdopt.c:set_entropy_context Unexecuted instantiation: intra_mode_search.c:set_entropy_context Unexecuted instantiation: var_based_part.c:set_entropy_context Unexecuted instantiation: av1_noise_estimate.c:set_entropy_context Unexecuted instantiation: variance.c:set_entropy_context Unexecuted instantiation: pyramid.c:set_entropy_context Unexecuted instantiation: alloccommon.c:set_entropy_context Unexecuted instantiation: av1_loopfilter.c:set_entropy_context Unexecuted instantiation: blockd.c:set_entropy_context Unexecuted instantiation: cdef.c:set_entropy_context Unexecuted instantiation: cdef_block.c:set_entropy_context Unexecuted instantiation: cfl.c:set_entropy_context Unexecuted instantiation: debugmodes.c:set_entropy_context Unexecuted instantiation: entropy.c:set_entropy_context Unexecuted instantiation: entropymode.c:set_entropy_context Unexecuted instantiation: entropymv.c:set_entropy_context Unexecuted instantiation: mvref_common.c:set_entropy_context Unexecuted instantiation: pred_common.c:set_entropy_context Unexecuted instantiation: quant_common.c:set_entropy_context Unexecuted instantiation: reconinter.c:set_entropy_context Unexecuted instantiation: reconintra.c:set_entropy_context Unexecuted instantiation: resize.c:set_entropy_context Unexecuted instantiation: restoration.c:set_entropy_context Unexecuted instantiation: scan.c:set_entropy_context Unexecuted instantiation: thread_common.c:set_entropy_context Unexecuted instantiation: tile_common.c:set_entropy_context Unexecuted instantiation: txb_common.c:set_entropy_context Unexecuted instantiation: warped_motion.c:set_entropy_context Unexecuted instantiation: aq_complexity.c:set_entropy_context Unexecuted instantiation: aq_cyclicrefresh.c:set_entropy_context Unexecuted instantiation: aq_variance.c:set_entropy_context Unexecuted instantiation: cnn.c:set_entropy_context Unexecuted instantiation: compound_type.c:set_entropy_context Unexecuted instantiation: encode_strategy.c:set_entropy_context Unexecuted instantiation: global_motion.c:set_entropy_context Unexecuted instantiation: gop_structure.c:set_entropy_context Unexecuted instantiation: interp_search.c:set_entropy_context Unexecuted instantiation: motion_search_facade.c:set_entropy_context Unexecuted instantiation: wedge_utils.c:set_entropy_context Unexecuted instantiation: convolve.c:set_entropy_context |
1331 | | |
1332 | 157k | static inline int calc_mi_size(int len) { |
1333 | | // len is in mi units. Align to a multiple of SBs. |
1334 | 157k | return ALIGN_POWER_OF_TWO(len, MAX_MIB_SIZE_LOG2); |
1335 | 157k | } Unexecuted instantiation: av1_dx_iface.c:calc_mi_size Unexecuted instantiation: decodeframe.c:calc_mi_size Unexecuted instantiation: decodemv.c:calc_mi_size Line | Count | Source | 1332 | 126k | static inline int calc_mi_size(int len) { | 1333 | | // len is in mi units. Align to a multiple of SBs. | 1334 | 126k | return ALIGN_POWER_OF_TWO(len, MAX_MIB_SIZE_LOG2); | 1335 | 126k | } |
Unexecuted instantiation: decodetxb.c:calc_mi_size Unexecuted instantiation: detokenize.c:calc_mi_size Unexecuted instantiation: obu.c:calc_mi_size Unexecuted instantiation: av1_cx_iface.c:calc_mi_size Unexecuted instantiation: allintra_vis.c:calc_mi_size Unexecuted instantiation: av1_quantize.c:calc_mi_size Unexecuted instantiation: bitstream.c:calc_mi_size Unexecuted instantiation: context_tree.c:calc_mi_size Unexecuted instantiation: encodeframe.c:calc_mi_size Unexecuted instantiation: encodeframe_utils.c:calc_mi_size Unexecuted instantiation: encodemb.c:calc_mi_size Unexecuted instantiation: encodemv.c:calc_mi_size Unexecuted instantiation: encoder.c:calc_mi_size Unexecuted instantiation: encoder_utils.c:calc_mi_size Unexecuted instantiation: encodetxb.c:calc_mi_size Unexecuted instantiation: ethread.c:calc_mi_size Unexecuted instantiation: firstpass.c:calc_mi_size Unexecuted instantiation: global_motion_facade.c:calc_mi_size Unexecuted instantiation: hash_motion.c:calc_mi_size Unexecuted instantiation: level.c:calc_mi_size Unexecuted instantiation: lookahead.c:calc_mi_size Unexecuted instantiation: mcomp.c:calc_mi_size Unexecuted instantiation: mv_prec.c:calc_mi_size Unexecuted instantiation: palette.c:calc_mi_size Unexecuted instantiation: partition_search.c:calc_mi_size Unexecuted instantiation: partition_strategy.c:calc_mi_size Unexecuted instantiation: pass2_strategy.c:calc_mi_size Unexecuted instantiation: pickcdef.c:calc_mi_size Unexecuted instantiation: picklpf.c:calc_mi_size Unexecuted instantiation: pickrst.c:calc_mi_size Unexecuted instantiation: ratectrl.c:calc_mi_size Unexecuted instantiation: rd.c:calc_mi_size Unexecuted instantiation: rdopt.c:calc_mi_size Unexecuted instantiation: nonrd_pickmode.c:calc_mi_size Unexecuted instantiation: nonrd_opt.c:calc_mi_size Unexecuted instantiation: reconinter_enc.c:calc_mi_size Unexecuted instantiation: segmentation.c:calc_mi_size Unexecuted instantiation: speed_features.c:calc_mi_size Unexecuted instantiation: superres_scale.c:calc_mi_size Unexecuted instantiation: svc_layercontext.c:calc_mi_size Unexecuted instantiation: temporal_filter.c:calc_mi_size Unexecuted instantiation: tokenize.c:calc_mi_size Unexecuted instantiation: tpl_model.c:calc_mi_size Unexecuted instantiation: tx_search.c:calc_mi_size Unexecuted instantiation: txb_rdopt.c:calc_mi_size Unexecuted instantiation: intra_mode_search.c:calc_mi_size Unexecuted instantiation: var_based_part.c:calc_mi_size Unexecuted instantiation: av1_noise_estimate.c:calc_mi_size Unexecuted instantiation: variance.c:calc_mi_size Unexecuted instantiation: pyramid.c:calc_mi_size alloccommon.c:calc_mi_size Line | Count | Source | 1332 | 31.3k | static inline int calc_mi_size(int len) { | 1333 | | // len is in mi units. Align to a multiple of SBs. | 1334 | 31.3k | return ALIGN_POWER_OF_TWO(len, MAX_MIB_SIZE_LOG2); | 1335 | 31.3k | } |
Unexecuted instantiation: av1_loopfilter.c:calc_mi_size Unexecuted instantiation: blockd.c:calc_mi_size Unexecuted instantiation: cdef.c:calc_mi_size Unexecuted instantiation: cdef_block.c:calc_mi_size Unexecuted instantiation: cfl.c:calc_mi_size Unexecuted instantiation: debugmodes.c:calc_mi_size Unexecuted instantiation: entropy.c:calc_mi_size Unexecuted instantiation: entropymode.c:calc_mi_size Unexecuted instantiation: entropymv.c:calc_mi_size Unexecuted instantiation: mvref_common.c:calc_mi_size Unexecuted instantiation: pred_common.c:calc_mi_size Unexecuted instantiation: quant_common.c:calc_mi_size Unexecuted instantiation: reconinter.c:calc_mi_size Unexecuted instantiation: reconintra.c:calc_mi_size Unexecuted instantiation: resize.c:calc_mi_size Unexecuted instantiation: restoration.c:calc_mi_size Unexecuted instantiation: scan.c:calc_mi_size Unexecuted instantiation: thread_common.c:calc_mi_size Unexecuted instantiation: tile_common.c:calc_mi_size Unexecuted instantiation: txb_common.c:calc_mi_size Unexecuted instantiation: warped_motion.c:calc_mi_size Unexecuted instantiation: aq_complexity.c:calc_mi_size Unexecuted instantiation: aq_cyclicrefresh.c:calc_mi_size Unexecuted instantiation: aq_variance.c:calc_mi_size Unexecuted instantiation: cnn.c:calc_mi_size Unexecuted instantiation: compound_type.c:calc_mi_size Unexecuted instantiation: encode_strategy.c:calc_mi_size Unexecuted instantiation: global_motion.c:calc_mi_size Unexecuted instantiation: gop_structure.c:calc_mi_size Unexecuted instantiation: interp_search.c:calc_mi_size Unexecuted instantiation: motion_search_facade.c:calc_mi_size Unexecuted instantiation: wedge_utils.c:calc_mi_size Unexecuted instantiation: convolve.c:calc_mi_size |
1336 | | |
1337 | | static inline void set_plane_n4(MACROBLOCKD *const xd, int bw, int bh, |
1338 | 10.3M | const int num_planes) { |
1339 | 10.3M | int i; |
1340 | 40.9M | for (i = 0; i < num_planes; i++) { |
1341 | 30.5M | xd->plane[i].width = (bw * MI_SIZE) >> xd->plane[i].subsampling_x; |
1342 | 30.5M | xd->plane[i].height = (bh * MI_SIZE) >> xd->plane[i].subsampling_y; |
1343 | | |
1344 | 30.5M | xd->plane[i].width = AOMMAX(xd->plane[i].width, 4); |
1345 | 30.5M | xd->plane[i].height = AOMMAX(xd->plane[i].height, 4); |
1346 | 30.5M | } |
1347 | 10.3M | } Unexecuted instantiation: av1_dx_iface.c:set_plane_n4 decodeframe.c:set_plane_n4 Line | Count | Source | 1338 | 10.3M | const int num_planes) { | 1339 | 10.3M | int i; | 1340 | 40.9M | for (i = 0; i < num_planes; i++) { | 1341 | 30.5M | xd->plane[i].width = (bw * MI_SIZE) >> xd->plane[i].subsampling_x; | 1342 | 30.5M | xd->plane[i].height = (bh * MI_SIZE) >> xd->plane[i].subsampling_y; | 1343 | | | 1344 | 30.5M | xd->plane[i].width = AOMMAX(xd->plane[i].width, 4); | 1345 | 30.5M | xd->plane[i].height = AOMMAX(xd->plane[i].height, 4); | 1346 | 30.5M | } | 1347 | 10.3M | } |
Unexecuted instantiation: decodemv.c:set_plane_n4 Unexecuted instantiation: decoder.c:set_plane_n4 Unexecuted instantiation: decodetxb.c:set_plane_n4 Unexecuted instantiation: detokenize.c:set_plane_n4 Unexecuted instantiation: obu.c:set_plane_n4 Unexecuted instantiation: av1_cx_iface.c:set_plane_n4 Unexecuted instantiation: allintra_vis.c:set_plane_n4 Unexecuted instantiation: av1_quantize.c:set_plane_n4 Unexecuted instantiation: bitstream.c:set_plane_n4 Unexecuted instantiation: context_tree.c:set_plane_n4 Unexecuted instantiation: encodeframe.c:set_plane_n4 Unexecuted instantiation: encodeframe_utils.c:set_plane_n4 Unexecuted instantiation: encodemb.c:set_plane_n4 Unexecuted instantiation: encodemv.c:set_plane_n4 Unexecuted instantiation: encoder.c:set_plane_n4 Unexecuted instantiation: encoder_utils.c:set_plane_n4 Unexecuted instantiation: encodetxb.c:set_plane_n4 Unexecuted instantiation: ethread.c:set_plane_n4 Unexecuted instantiation: firstpass.c:set_plane_n4 Unexecuted instantiation: global_motion_facade.c:set_plane_n4 Unexecuted instantiation: hash_motion.c:set_plane_n4 Unexecuted instantiation: level.c:set_plane_n4 Unexecuted instantiation: lookahead.c:set_plane_n4 Unexecuted instantiation: mcomp.c:set_plane_n4 Unexecuted instantiation: mv_prec.c:set_plane_n4 Unexecuted instantiation: palette.c:set_plane_n4 Unexecuted instantiation: partition_search.c:set_plane_n4 Unexecuted instantiation: partition_strategy.c:set_plane_n4 Unexecuted instantiation: pass2_strategy.c:set_plane_n4 Unexecuted instantiation: pickcdef.c:set_plane_n4 Unexecuted instantiation: picklpf.c:set_plane_n4 Unexecuted instantiation: pickrst.c:set_plane_n4 Unexecuted instantiation: ratectrl.c:set_plane_n4 Unexecuted instantiation: rd.c:set_plane_n4 Unexecuted instantiation: rdopt.c:set_plane_n4 Unexecuted instantiation: nonrd_pickmode.c:set_plane_n4 Unexecuted instantiation: nonrd_opt.c:set_plane_n4 Unexecuted instantiation: reconinter_enc.c:set_plane_n4 Unexecuted instantiation: segmentation.c:set_plane_n4 Unexecuted instantiation: speed_features.c:set_plane_n4 Unexecuted instantiation: superres_scale.c:set_plane_n4 Unexecuted instantiation: svc_layercontext.c:set_plane_n4 Unexecuted instantiation: temporal_filter.c:set_plane_n4 Unexecuted instantiation: tokenize.c:set_plane_n4 Unexecuted instantiation: tpl_model.c:set_plane_n4 Unexecuted instantiation: tx_search.c:set_plane_n4 Unexecuted instantiation: txb_rdopt.c:set_plane_n4 Unexecuted instantiation: intra_mode_search.c:set_plane_n4 Unexecuted instantiation: var_based_part.c:set_plane_n4 Unexecuted instantiation: av1_noise_estimate.c:set_plane_n4 Unexecuted instantiation: variance.c:set_plane_n4 Unexecuted instantiation: pyramid.c:set_plane_n4 Unexecuted instantiation: alloccommon.c:set_plane_n4 Unexecuted instantiation: av1_loopfilter.c:set_plane_n4 Unexecuted instantiation: blockd.c:set_plane_n4 Unexecuted instantiation: cdef.c:set_plane_n4 Unexecuted instantiation: cdef_block.c:set_plane_n4 Unexecuted instantiation: cfl.c:set_plane_n4 Unexecuted instantiation: debugmodes.c:set_plane_n4 Unexecuted instantiation: entropy.c:set_plane_n4 Unexecuted instantiation: entropymode.c:set_plane_n4 Unexecuted instantiation: entropymv.c:set_plane_n4 Unexecuted instantiation: mvref_common.c:set_plane_n4 Unexecuted instantiation: pred_common.c:set_plane_n4 Unexecuted instantiation: quant_common.c:set_plane_n4 Unexecuted instantiation: reconinter.c:set_plane_n4 Unexecuted instantiation: reconintra.c:set_plane_n4 Unexecuted instantiation: resize.c:set_plane_n4 Unexecuted instantiation: restoration.c:set_plane_n4 Unexecuted instantiation: scan.c:set_plane_n4 Unexecuted instantiation: thread_common.c:set_plane_n4 Unexecuted instantiation: tile_common.c:set_plane_n4 Unexecuted instantiation: txb_common.c:set_plane_n4 Unexecuted instantiation: warped_motion.c:set_plane_n4 Unexecuted instantiation: aq_complexity.c:set_plane_n4 Unexecuted instantiation: aq_cyclicrefresh.c:set_plane_n4 Unexecuted instantiation: aq_variance.c:set_plane_n4 Unexecuted instantiation: cnn.c:set_plane_n4 Unexecuted instantiation: compound_type.c:set_plane_n4 Unexecuted instantiation: encode_strategy.c:set_plane_n4 Unexecuted instantiation: global_motion.c:set_plane_n4 Unexecuted instantiation: gop_structure.c:set_plane_n4 Unexecuted instantiation: interp_search.c:set_plane_n4 Unexecuted instantiation: motion_search_facade.c:set_plane_n4 Unexecuted instantiation: wedge_utils.c:set_plane_n4 Unexecuted instantiation: convolve.c:set_plane_n4 |
1348 | | |
1349 | | static inline void set_mi_row_col(MACROBLOCKD *xd, const TileInfo *const tile, |
1350 | | int mi_row, int bh, int mi_col, int bw, |
1351 | 10.3M | int mi_rows, int mi_cols) { |
1352 | 10.3M | xd->mb_to_top_edge = -GET_MV_SUBPEL(mi_row * MI_SIZE); |
1353 | 10.3M | xd->mb_to_bottom_edge = GET_MV_SUBPEL((mi_rows - bh - mi_row) * MI_SIZE); |
1354 | 10.3M | xd->mb_to_left_edge = -GET_MV_SUBPEL((mi_col * MI_SIZE)); |
1355 | 10.3M | xd->mb_to_right_edge = GET_MV_SUBPEL((mi_cols - bw - mi_col) * MI_SIZE); |
1356 | | |
1357 | 10.3M | xd->mi_row = mi_row; |
1358 | 10.3M | xd->mi_col = mi_col; |
1359 | | |
1360 | | // Are edges available for intra prediction? |
1361 | 10.3M | xd->up_available = (mi_row > tile->mi_row_start); |
1362 | | |
1363 | 10.3M | const int ss_x = xd->plane[1].subsampling_x; |
1364 | 10.3M | const int ss_y = xd->plane[1].subsampling_y; |
1365 | | |
1366 | 10.3M | xd->left_available = (mi_col > tile->mi_col_start); |
1367 | 10.3M | xd->chroma_up_available = xd->up_available; |
1368 | 10.3M | xd->chroma_left_available = xd->left_available; |
1369 | 10.3M | if (ss_x && bw < mi_size_wide[BLOCK_8X8]) |
1370 | 540k | xd->chroma_left_available = (mi_col - 1) > tile->mi_col_start; |
1371 | 10.3M | if (ss_y && bh < mi_size_high[BLOCK_8X8]) |
1372 | 618k | xd->chroma_up_available = (mi_row - 1) > tile->mi_row_start; |
1373 | 10.3M | if (xd->up_available) { |
1374 | 10.0M | xd->above_mbmi = xd->mi[-xd->mi_stride]; |
1375 | 10.0M | } else { |
1376 | 380k | xd->above_mbmi = NULL; |
1377 | 380k | } |
1378 | | |
1379 | 10.3M | if (xd->left_available) { |
1380 | 9.63M | xd->left_mbmi = xd->mi[-1]; |
1381 | 9.63M | } else { |
1382 | 758k | xd->left_mbmi = NULL; |
1383 | 758k | } |
1384 | | |
1385 | 10.3M | const int chroma_ref = ((mi_row & 0x01) || !(bh & 0x01) || !ss_y) && |
1386 | 10.3M | ((mi_col & 0x01) || !(bw & 0x01) || !ss_x); |
1387 | 10.3M | xd->is_chroma_ref = chroma_ref; |
1388 | 10.3M | if (chroma_ref) { |
1389 | | // To help calculate the "above" and "left" chroma blocks, note that the |
1390 | | // current block may cover multiple luma blocks (e.g., if partitioned into |
1391 | | // 4x4 luma blocks). |
1392 | | // First, find the top-left-most luma block covered by this chroma block |
1393 | 9.88M | MB_MODE_INFO **base_mi = |
1394 | 9.88M | &xd->mi[-(mi_row & ss_y) * xd->mi_stride - (mi_col & ss_x)]; |
1395 | | |
1396 | | // Then, we consider the luma region covered by the left or above 4x4 chroma |
1397 | | // prediction. We want to point to the chroma reference block in that |
1398 | | // region, which is the bottom-right-most mi unit. |
1399 | | // This leads to the following offsets: |
1400 | 9.88M | MB_MODE_INFO *chroma_above_mi = |
1401 | 9.88M | xd->chroma_up_available ? base_mi[-xd->mi_stride + ss_x] : NULL; |
1402 | 9.88M | xd->chroma_above_mbmi = chroma_above_mi; |
1403 | | |
1404 | 9.88M | MB_MODE_INFO *chroma_left_mi = |
1405 | 9.88M | xd->chroma_left_available ? base_mi[ss_y * xd->mi_stride - 1] : NULL; |
1406 | 9.88M | xd->chroma_left_mbmi = chroma_left_mi; |
1407 | 9.88M | } |
1408 | | |
1409 | 10.3M | xd->height = bh; |
1410 | 10.3M | xd->width = bw; |
1411 | | |
1412 | 10.3M | xd->is_last_vertical_rect = 0; |
1413 | 10.3M | if (xd->width < xd->height) { |
1414 | 2.76M | if (!((mi_col + xd->width) & (xd->height - 1))) { |
1415 | 978k | xd->is_last_vertical_rect = 1; |
1416 | 978k | } |
1417 | 2.76M | } |
1418 | | |
1419 | 10.3M | xd->is_first_horizontal_rect = 0; |
1420 | 10.3M | if (xd->width > xd->height) |
1421 | 3.08M | if (!(mi_row & (xd->width - 1))) xd->is_first_horizontal_rect = 1; |
1422 | 10.3M | } Unexecuted instantiation: av1_dx_iface.c:set_mi_row_col decodeframe.c:set_mi_row_col Line | Count | Source | 1351 | 10.3M | int mi_rows, int mi_cols) { | 1352 | 10.3M | xd->mb_to_top_edge = -GET_MV_SUBPEL(mi_row * MI_SIZE); | 1353 | 10.3M | xd->mb_to_bottom_edge = GET_MV_SUBPEL((mi_rows - bh - mi_row) * MI_SIZE); | 1354 | 10.3M | xd->mb_to_left_edge = -GET_MV_SUBPEL((mi_col * MI_SIZE)); | 1355 | 10.3M | xd->mb_to_right_edge = GET_MV_SUBPEL((mi_cols - bw - mi_col) * MI_SIZE); | 1356 | | | 1357 | 10.3M | xd->mi_row = mi_row; | 1358 | 10.3M | xd->mi_col = mi_col; | 1359 | | | 1360 | | // Are edges available for intra prediction? | 1361 | 10.3M | xd->up_available = (mi_row > tile->mi_row_start); | 1362 | | | 1363 | 10.3M | const int ss_x = xd->plane[1].subsampling_x; | 1364 | 10.3M | const int ss_y = xd->plane[1].subsampling_y; | 1365 | | | 1366 | 10.3M | xd->left_available = (mi_col > tile->mi_col_start); | 1367 | 10.3M | xd->chroma_up_available = xd->up_available; | 1368 | 10.3M | xd->chroma_left_available = xd->left_available; | 1369 | 10.3M | if (ss_x && bw < mi_size_wide[BLOCK_8X8]) | 1370 | 540k | xd->chroma_left_available = (mi_col - 1) > tile->mi_col_start; | 1371 | 10.3M | if (ss_y && bh < mi_size_high[BLOCK_8X8]) | 1372 | 618k | xd->chroma_up_available = (mi_row - 1) > tile->mi_row_start; | 1373 | 10.3M | if (xd->up_available) { | 1374 | 10.0M | xd->above_mbmi = xd->mi[-xd->mi_stride]; | 1375 | 10.0M | } else { | 1376 | 380k | xd->above_mbmi = NULL; | 1377 | 380k | } | 1378 | | | 1379 | 10.3M | if (xd->left_available) { | 1380 | 9.63M | xd->left_mbmi = xd->mi[-1]; | 1381 | 9.63M | } else { | 1382 | 758k | xd->left_mbmi = NULL; | 1383 | 758k | } | 1384 | | | 1385 | 10.3M | const int chroma_ref = ((mi_row & 0x01) || !(bh & 0x01) || !ss_y) && | 1386 | 10.3M | ((mi_col & 0x01) || !(bw & 0x01) || !ss_x); | 1387 | 10.3M | xd->is_chroma_ref = chroma_ref; | 1388 | 10.3M | if (chroma_ref) { | 1389 | | // To help calculate the "above" and "left" chroma blocks, note that the | 1390 | | // current block may cover multiple luma blocks (e.g., if partitioned into | 1391 | | // 4x4 luma blocks). | 1392 | | // First, find the top-left-most luma block covered by this chroma block | 1393 | 9.88M | MB_MODE_INFO **base_mi = | 1394 | 9.88M | &xd->mi[-(mi_row & ss_y) * xd->mi_stride - (mi_col & ss_x)]; | 1395 | | | 1396 | | // Then, we consider the luma region covered by the left or above 4x4 chroma | 1397 | | // prediction. We want to point to the chroma reference block in that | 1398 | | // region, which is the bottom-right-most mi unit. | 1399 | | // This leads to the following offsets: | 1400 | 9.88M | MB_MODE_INFO *chroma_above_mi = | 1401 | 9.88M | xd->chroma_up_available ? base_mi[-xd->mi_stride + ss_x] : NULL; | 1402 | 9.88M | xd->chroma_above_mbmi = chroma_above_mi; | 1403 | | | 1404 | 9.88M | MB_MODE_INFO *chroma_left_mi = | 1405 | 9.88M | xd->chroma_left_available ? base_mi[ss_y * xd->mi_stride - 1] : NULL; | 1406 | 9.88M | xd->chroma_left_mbmi = chroma_left_mi; | 1407 | 9.88M | } | 1408 | | | 1409 | 10.3M | xd->height = bh; | 1410 | 10.3M | xd->width = bw; | 1411 | | | 1412 | 10.3M | xd->is_last_vertical_rect = 0; | 1413 | 10.3M | if (xd->width < xd->height) { | 1414 | 2.76M | if (!((mi_col + xd->width) & (xd->height - 1))) { | 1415 | 978k | xd->is_last_vertical_rect = 1; | 1416 | 978k | } | 1417 | 2.76M | } | 1418 | | | 1419 | 10.3M | xd->is_first_horizontal_rect = 0; | 1420 | 10.3M | if (xd->width > xd->height) | 1421 | 3.08M | if (!(mi_row & (xd->width - 1))) xd->is_first_horizontal_rect = 1; | 1422 | 10.3M | } |
Unexecuted instantiation: decodemv.c:set_mi_row_col Unexecuted instantiation: decoder.c:set_mi_row_col Unexecuted instantiation: decodetxb.c:set_mi_row_col Unexecuted instantiation: detokenize.c:set_mi_row_col Unexecuted instantiation: obu.c:set_mi_row_col Unexecuted instantiation: av1_cx_iface.c:set_mi_row_col Unexecuted instantiation: allintra_vis.c:set_mi_row_col Unexecuted instantiation: av1_quantize.c:set_mi_row_col Unexecuted instantiation: bitstream.c:set_mi_row_col Unexecuted instantiation: context_tree.c:set_mi_row_col Unexecuted instantiation: encodeframe.c:set_mi_row_col Unexecuted instantiation: encodeframe_utils.c:set_mi_row_col Unexecuted instantiation: encodemb.c:set_mi_row_col Unexecuted instantiation: encodemv.c:set_mi_row_col Unexecuted instantiation: encoder.c:set_mi_row_col Unexecuted instantiation: encoder_utils.c:set_mi_row_col Unexecuted instantiation: encodetxb.c:set_mi_row_col Unexecuted instantiation: ethread.c:set_mi_row_col Unexecuted instantiation: firstpass.c:set_mi_row_col Unexecuted instantiation: global_motion_facade.c:set_mi_row_col Unexecuted instantiation: hash_motion.c:set_mi_row_col Unexecuted instantiation: level.c:set_mi_row_col Unexecuted instantiation: lookahead.c:set_mi_row_col Unexecuted instantiation: mcomp.c:set_mi_row_col Unexecuted instantiation: mv_prec.c:set_mi_row_col Unexecuted instantiation: palette.c:set_mi_row_col Unexecuted instantiation: partition_search.c:set_mi_row_col Unexecuted instantiation: partition_strategy.c:set_mi_row_col Unexecuted instantiation: pass2_strategy.c:set_mi_row_col Unexecuted instantiation: pickcdef.c:set_mi_row_col Unexecuted instantiation: picklpf.c:set_mi_row_col Unexecuted instantiation: pickrst.c:set_mi_row_col Unexecuted instantiation: ratectrl.c:set_mi_row_col Unexecuted instantiation: rd.c:set_mi_row_col Unexecuted instantiation: rdopt.c:set_mi_row_col Unexecuted instantiation: nonrd_pickmode.c:set_mi_row_col Unexecuted instantiation: nonrd_opt.c:set_mi_row_col Unexecuted instantiation: reconinter_enc.c:set_mi_row_col Unexecuted instantiation: segmentation.c:set_mi_row_col Unexecuted instantiation: speed_features.c:set_mi_row_col Unexecuted instantiation: superres_scale.c:set_mi_row_col Unexecuted instantiation: svc_layercontext.c:set_mi_row_col Unexecuted instantiation: temporal_filter.c:set_mi_row_col Unexecuted instantiation: tokenize.c:set_mi_row_col Unexecuted instantiation: tpl_model.c:set_mi_row_col Unexecuted instantiation: tx_search.c:set_mi_row_col Unexecuted instantiation: txb_rdopt.c:set_mi_row_col Unexecuted instantiation: intra_mode_search.c:set_mi_row_col Unexecuted instantiation: var_based_part.c:set_mi_row_col Unexecuted instantiation: av1_noise_estimate.c:set_mi_row_col Unexecuted instantiation: variance.c:set_mi_row_col Unexecuted instantiation: pyramid.c:set_mi_row_col Unexecuted instantiation: alloccommon.c:set_mi_row_col Unexecuted instantiation: av1_loopfilter.c:set_mi_row_col Unexecuted instantiation: blockd.c:set_mi_row_col Unexecuted instantiation: cdef.c:set_mi_row_col Unexecuted instantiation: cdef_block.c:set_mi_row_col Unexecuted instantiation: cfl.c:set_mi_row_col Unexecuted instantiation: debugmodes.c:set_mi_row_col Unexecuted instantiation: entropy.c:set_mi_row_col Unexecuted instantiation: entropymode.c:set_mi_row_col Unexecuted instantiation: entropymv.c:set_mi_row_col Unexecuted instantiation: mvref_common.c:set_mi_row_col Unexecuted instantiation: pred_common.c:set_mi_row_col Unexecuted instantiation: quant_common.c:set_mi_row_col Unexecuted instantiation: reconinter.c:set_mi_row_col Unexecuted instantiation: reconintra.c:set_mi_row_col Unexecuted instantiation: resize.c:set_mi_row_col Unexecuted instantiation: restoration.c:set_mi_row_col Unexecuted instantiation: scan.c:set_mi_row_col Unexecuted instantiation: thread_common.c:set_mi_row_col Unexecuted instantiation: tile_common.c:set_mi_row_col Unexecuted instantiation: txb_common.c:set_mi_row_col Unexecuted instantiation: warped_motion.c:set_mi_row_col Unexecuted instantiation: aq_complexity.c:set_mi_row_col Unexecuted instantiation: aq_cyclicrefresh.c:set_mi_row_col Unexecuted instantiation: aq_variance.c:set_mi_row_col Unexecuted instantiation: cnn.c:set_mi_row_col Unexecuted instantiation: compound_type.c:set_mi_row_col Unexecuted instantiation: encode_strategy.c:set_mi_row_col Unexecuted instantiation: global_motion.c:set_mi_row_col Unexecuted instantiation: gop_structure.c:set_mi_row_col Unexecuted instantiation: interp_search.c:set_mi_row_col Unexecuted instantiation: motion_search_facade.c:set_mi_row_col Unexecuted instantiation: wedge_utils.c:set_mi_row_col Unexecuted instantiation: convolve.c:set_mi_row_col |
1423 | | |
1424 | | static inline aom_cdf_prob *get_y_mode_cdf(FRAME_CONTEXT *tile_ctx, |
1425 | | const MB_MODE_INFO *above_mi, |
1426 | 6.14M | const MB_MODE_INFO *left_mi) { |
1427 | 6.14M | const PREDICTION_MODE above = av1_above_block_mode(above_mi); |
1428 | 6.14M | const PREDICTION_MODE left = av1_left_block_mode(left_mi); |
1429 | 6.14M | const int above_ctx = intra_mode_context[above]; |
1430 | 6.14M | const int left_ctx = intra_mode_context[left]; |
1431 | 6.14M | return tile_ctx->kf_y_cdf[above_ctx][left_ctx]; |
1432 | 6.14M | } Unexecuted instantiation: av1_dx_iface.c:get_y_mode_cdf Unexecuted instantiation: decodeframe.c:get_y_mode_cdf decodemv.c:get_y_mode_cdf Line | Count | Source | 1426 | 6.14M | const MB_MODE_INFO *left_mi) { | 1427 | 6.14M | const PREDICTION_MODE above = av1_above_block_mode(above_mi); | 1428 | 6.14M | const PREDICTION_MODE left = av1_left_block_mode(left_mi); | 1429 | 6.14M | const int above_ctx = intra_mode_context[above]; | 1430 | 6.14M | const int left_ctx = intra_mode_context[left]; | 1431 | 6.14M | return tile_ctx->kf_y_cdf[above_ctx][left_ctx]; | 1432 | 6.14M | } |
Unexecuted instantiation: decoder.c:get_y_mode_cdf Unexecuted instantiation: decodetxb.c:get_y_mode_cdf Unexecuted instantiation: detokenize.c:get_y_mode_cdf Unexecuted instantiation: obu.c:get_y_mode_cdf Unexecuted instantiation: av1_cx_iface.c:get_y_mode_cdf Unexecuted instantiation: allintra_vis.c:get_y_mode_cdf Unexecuted instantiation: av1_quantize.c:get_y_mode_cdf Unexecuted instantiation: bitstream.c:get_y_mode_cdf Unexecuted instantiation: context_tree.c:get_y_mode_cdf Unexecuted instantiation: encodeframe.c:get_y_mode_cdf Unexecuted instantiation: encodeframe_utils.c:get_y_mode_cdf Unexecuted instantiation: encodemb.c:get_y_mode_cdf Unexecuted instantiation: encodemv.c:get_y_mode_cdf Unexecuted instantiation: encoder.c:get_y_mode_cdf Unexecuted instantiation: encoder_utils.c:get_y_mode_cdf Unexecuted instantiation: encodetxb.c:get_y_mode_cdf Unexecuted instantiation: ethread.c:get_y_mode_cdf Unexecuted instantiation: firstpass.c:get_y_mode_cdf Unexecuted instantiation: global_motion_facade.c:get_y_mode_cdf Unexecuted instantiation: hash_motion.c:get_y_mode_cdf Unexecuted instantiation: level.c:get_y_mode_cdf Unexecuted instantiation: lookahead.c:get_y_mode_cdf Unexecuted instantiation: mcomp.c:get_y_mode_cdf Unexecuted instantiation: mv_prec.c:get_y_mode_cdf Unexecuted instantiation: palette.c:get_y_mode_cdf Unexecuted instantiation: partition_search.c:get_y_mode_cdf Unexecuted instantiation: partition_strategy.c:get_y_mode_cdf Unexecuted instantiation: pass2_strategy.c:get_y_mode_cdf Unexecuted instantiation: pickcdef.c:get_y_mode_cdf Unexecuted instantiation: picklpf.c:get_y_mode_cdf Unexecuted instantiation: pickrst.c:get_y_mode_cdf Unexecuted instantiation: ratectrl.c:get_y_mode_cdf Unexecuted instantiation: rd.c:get_y_mode_cdf Unexecuted instantiation: rdopt.c:get_y_mode_cdf Unexecuted instantiation: nonrd_pickmode.c:get_y_mode_cdf Unexecuted instantiation: nonrd_opt.c:get_y_mode_cdf Unexecuted instantiation: reconinter_enc.c:get_y_mode_cdf Unexecuted instantiation: segmentation.c:get_y_mode_cdf Unexecuted instantiation: speed_features.c:get_y_mode_cdf Unexecuted instantiation: superres_scale.c:get_y_mode_cdf Unexecuted instantiation: svc_layercontext.c:get_y_mode_cdf Unexecuted instantiation: temporal_filter.c:get_y_mode_cdf Unexecuted instantiation: tokenize.c:get_y_mode_cdf Unexecuted instantiation: tpl_model.c:get_y_mode_cdf Unexecuted instantiation: tx_search.c:get_y_mode_cdf Unexecuted instantiation: txb_rdopt.c:get_y_mode_cdf Unexecuted instantiation: intra_mode_search.c:get_y_mode_cdf Unexecuted instantiation: var_based_part.c:get_y_mode_cdf Unexecuted instantiation: av1_noise_estimate.c:get_y_mode_cdf Unexecuted instantiation: variance.c:get_y_mode_cdf Unexecuted instantiation: pyramid.c:get_y_mode_cdf Unexecuted instantiation: alloccommon.c:get_y_mode_cdf Unexecuted instantiation: av1_loopfilter.c:get_y_mode_cdf Unexecuted instantiation: blockd.c:get_y_mode_cdf Unexecuted instantiation: cdef.c:get_y_mode_cdf Unexecuted instantiation: cdef_block.c:get_y_mode_cdf Unexecuted instantiation: cfl.c:get_y_mode_cdf Unexecuted instantiation: debugmodes.c:get_y_mode_cdf Unexecuted instantiation: entropy.c:get_y_mode_cdf Unexecuted instantiation: entropymode.c:get_y_mode_cdf Unexecuted instantiation: entropymv.c:get_y_mode_cdf Unexecuted instantiation: mvref_common.c:get_y_mode_cdf Unexecuted instantiation: pred_common.c:get_y_mode_cdf Unexecuted instantiation: quant_common.c:get_y_mode_cdf Unexecuted instantiation: reconinter.c:get_y_mode_cdf Unexecuted instantiation: reconintra.c:get_y_mode_cdf Unexecuted instantiation: resize.c:get_y_mode_cdf Unexecuted instantiation: restoration.c:get_y_mode_cdf Unexecuted instantiation: scan.c:get_y_mode_cdf Unexecuted instantiation: thread_common.c:get_y_mode_cdf Unexecuted instantiation: tile_common.c:get_y_mode_cdf Unexecuted instantiation: txb_common.c:get_y_mode_cdf Unexecuted instantiation: warped_motion.c:get_y_mode_cdf Unexecuted instantiation: aq_complexity.c:get_y_mode_cdf Unexecuted instantiation: aq_cyclicrefresh.c:get_y_mode_cdf Unexecuted instantiation: aq_variance.c:get_y_mode_cdf Unexecuted instantiation: cnn.c:get_y_mode_cdf Unexecuted instantiation: compound_type.c:get_y_mode_cdf Unexecuted instantiation: encode_strategy.c:get_y_mode_cdf Unexecuted instantiation: global_motion.c:get_y_mode_cdf Unexecuted instantiation: gop_structure.c:get_y_mode_cdf Unexecuted instantiation: interp_search.c:get_y_mode_cdf Unexecuted instantiation: motion_search_facade.c:get_y_mode_cdf Unexecuted instantiation: wedge_utils.c:get_y_mode_cdf Unexecuted instantiation: convolve.c:get_y_mode_cdf |
1433 | | |
1434 | | static inline void update_partition_context(MACROBLOCKD *xd, int mi_row, |
1435 | | int mi_col, BLOCK_SIZE subsize, |
1436 | 3.65M | BLOCK_SIZE bsize) { |
1437 | 3.65M | PARTITION_CONTEXT *const above_ctx = xd->above_partition_context + mi_col; |
1438 | 3.65M | PARTITION_CONTEXT *const left_ctx = |
1439 | 3.65M | xd->left_partition_context + (mi_row & MAX_MIB_MASK); |
1440 | | |
1441 | 3.65M | const int bw = mi_size_wide[bsize]; |
1442 | 3.65M | const int bh = mi_size_high[bsize]; |
1443 | 3.65M | memset(above_ctx, partition_context_lookup[subsize].above, bw); |
1444 | 3.65M | memset(left_ctx, partition_context_lookup[subsize].left, bh); |
1445 | 3.65M | } Unexecuted instantiation: av1_dx_iface.c:update_partition_context decodeframe.c:update_partition_context Line | Count | Source | 1436 | 3.65M | BLOCK_SIZE bsize) { | 1437 | 3.65M | PARTITION_CONTEXT *const above_ctx = xd->above_partition_context + mi_col; | 1438 | 3.65M | PARTITION_CONTEXT *const left_ctx = | 1439 | 3.65M | xd->left_partition_context + (mi_row & MAX_MIB_MASK); | 1440 | | | 1441 | 3.65M | const int bw = mi_size_wide[bsize]; | 1442 | 3.65M | const int bh = mi_size_high[bsize]; | 1443 | 3.65M | memset(above_ctx, partition_context_lookup[subsize].above, bw); | 1444 | 3.65M | memset(left_ctx, partition_context_lookup[subsize].left, bh); | 1445 | 3.65M | } |
Unexecuted instantiation: decodemv.c:update_partition_context Unexecuted instantiation: decoder.c:update_partition_context Unexecuted instantiation: decodetxb.c:update_partition_context Unexecuted instantiation: detokenize.c:update_partition_context Unexecuted instantiation: obu.c:update_partition_context Unexecuted instantiation: av1_cx_iface.c:update_partition_context Unexecuted instantiation: allintra_vis.c:update_partition_context Unexecuted instantiation: av1_quantize.c:update_partition_context Unexecuted instantiation: bitstream.c:update_partition_context Unexecuted instantiation: context_tree.c:update_partition_context Unexecuted instantiation: encodeframe.c:update_partition_context Unexecuted instantiation: encodeframe_utils.c:update_partition_context Unexecuted instantiation: encodemb.c:update_partition_context Unexecuted instantiation: encodemv.c:update_partition_context Unexecuted instantiation: encoder.c:update_partition_context Unexecuted instantiation: encoder_utils.c:update_partition_context Unexecuted instantiation: encodetxb.c:update_partition_context Unexecuted instantiation: ethread.c:update_partition_context Unexecuted instantiation: firstpass.c:update_partition_context Unexecuted instantiation: global_motion_facade.c:update_partition_context Unexecuted instantiation: hash_motion.c:update_partition_context Unexecuted instantiation: level.c:update_partition_context Unexecuted instantiation: lookahead.c:update_partition_context Unexecuted instantiation: mcomp.c:update_partition_context Unexecuted instantiation: mv_prec.c:update_partition_context Unexecuted instantiation: palette.c:update_partition_context Unexecuted instantiation: partition_search.c:update_partition_context Unexecuted instantiation: partition_strategy.c:update_partition_context Unexecuted instantiation: pass2_strategy.c:update_partition_context Unexecuted instantiation: pickcdef.c:update_partition_context Unexecuted instantiation: picklpf.c:update_partition_context Unexecuted instantiation: pickrst.c:update_partition_context Unexecuted instantiation: ratectrl.c:update_partition_context Unexecuted instantiation: rd.c:update_partition_context Unexecuted instantiation: rdopt.c:update_partition_context Unexecuted instantiation: nonrd_pickmode.c:update_partition_context Unexecuted instantiation: nonrd_opt.c:update_partition_context Unexecuted instantiation: reconinter_enc.c:update_partition_context Unexecuted instantiation: segmentation.c:update_partition_context Unexecuted instantiation: speed_features.c:update_partition_context Unexecuted instantiation: superres_scale.c:update_partition_context Unexecuted instantiation: svc_layercontext.c:update_partition_context Unexecuted instantiation: temporal_filter.c:update_partition_context Unexecuted instantiation: tokenize.c:update_partition_context Unexecuted instantiation: tpl_model.c:update_partition_context Unexecuted instantiation: tx_search.c:update_partition_context Unexecuted instantiation: txb_rdopt.c:update_partition_context Unexecuted instantiation: intra_mode_search.c:update_partition_context Unexecuted instantiation: var_based_part.c:update_partition_context Unexecuted instantiation: av1_noise_estimate.c:update_partition_context Unexecuted instantiation: variance.c:update_partition_context Unexecuted instantiation: pyramid.c:update_partition_context Unexecuted instantiation: alloccommon.c:update_partition_context Unexecuted instantiation: av1_loopfilter.c:update_partition_context Unexecuted instantiation: blockd.c:update_partition_context Unexecuted instantiation: cdef.c:update_partition_context Unexecuted instantiation: cdef_block.c:update_partition_context Unexecuted instantiation: cfl.c:update_partition_context Unexecuted instantiation: debugmodes.c:update_partition_context Unexecuted instantiation: entropy.c:update_partition_context Unexecuted instantiation: entropymode.c:update_partition_context Unexecuted instantiation: entropymv.c:update_partition_context Unexecuted instantiation: mvref_common.c:update_partition_context Unexecuted instantiation: pred_common.c:update_partition_context Unexecuted instantiation: quant_common.c:update_partition_context Unexecuted instantiation: reconinter.c:update_partition_context Unexecuted instantiation: reconintra.c:update_partition_context Unexecuted instantiation: resize.c:update_partition_context Unexecuted instantiation: restoration.c:update_partition_context Unexecuted instantiation: scan.c:update_partition_context Unexecuted instantiation: thread_common.c:update_partition_context Unexecuted instantiation: tile_common.c:update_partition_context Unexecuted instantiation: txb_common.c:update_partition_context Unexecuted instantiation: warped_motion.c:update_partition_context Unexecuted instantiation: aq_complexity.c:update_partition_context Unexecuted instantiation: aq_cyclicrefresh.c:update_partition_context Unexecuted instantiation: aq_variance.c:update_partition_context Unexecuted instantiation: cnn.c:update_partition_context Unexecuted instantiation: compound_type.c:update_partition_context Unexecuted instantiation: encode_strategy.c:update_partition_context Unexecuted instantiation: global_motion.c:update_partition_context Unexecuted instantiation: gop_structure.c:update_partition_context Unexecuted instantiation: interp_search.c:update_partition_context Unexecuted instantiation: motion_search_facade.c:update_partition_context Unexecuted instantiation: wedge_utils.c:update_partition_context Unexecuted instantiation: convolve.c:update_partition_context |
1446 | | |
1447 | | static inline int is_chroma_reference(int mi_row, int mi_col, BLOCK_SIZE bsize, |
1448 | 0 | int subsampling_x, int subsampling_y) { |
1449 | 0 | assert(bsize < BLOCK_SIZES_ALL); |
1450 | 0 | const int bw = mi_size_wide[bsize]; |
1451 | 0 | const int bh = mi_size_high[bsize]; |
1452 | 0 | int ref_pos = ((mi_row & 0x01) || !(bh & 0x01) || !subsampling_y) && |
1453 | 0 | ((mi_col & 0x01) || !(bw & 0x01) || !subsampling_x); |
1454 | 0 | return ref_pos; |
1455 | 0 | } Unexecuted instantiation: av1_dx_iface.c:is_chroma_reference Unexecuted instantiation: decodeframe.c:is_chroma_reference Unexecuted instantiation: decodemv.c:is_chroma_reference Unexecuted instantiation: decoder.c:is_chroma_reference Unexecuted instantiation: decodetxb.c:is_chroma_reference Unexecuted instantiation: detokenize.c:is_chroma_reference Unexecuted instantiation: obu.c:is_chroma_reference Unexecuted instantiation: av1_cx_iface.c:is_chroma_reference Unexecuted instantiation: allintra_vis.c:is_chroma_reference Unexecuted instantiation: av1_quantize.c:is_chroma_reference Unexecuted instantiation: bitstream.c:is_chroma_reference Unexecuted instantiation: context_tree.c:is_chroma_reference Unexecuted instantiation: encodeframe.c:is_chroma_reference Unexecuted instantiation: encodeframe_utils.c:is_chroma_reference Unexecuted instantiation: encodemb.c:is_chroma_reference Unexecuted instantiation: encodemv.c:is_chroma_reference Unexecuted instantiation: encoder.c:is_chroma_reference Unexecuted instantiation: encoder_utils.c:is_chroma_reference Unexecuted instantiation: encodetxb.c:is_chroma_reference Unexecuted instantiation: ethread.c:is_chroma_reference Unexecuted instantiation: firstpass.c:is_chroma_reference Unexecuted instantiation: global_motion_facade.c:is_chroma_reference Unexecuted instantiation: hash_motion.c:is_chroma_reference Unexecuted instantiation: level.c:is_chroma_reference Unexecuted instantiation: lookahead.c:is_chroma_reference Unexecuted instantiation: mcomp.c:is_chroma_reference Unexecuted instantiation: mv_prec.c:is_chroma_reference Unexecuted instantiation: palette.c:is_chroma_reference Unexecuted instantiation: partition_search.c:is_chroma_reference Unexecuted instantiation: partition_strategy.c:is_chroma_reference Unexecuted instantiation: pass2_strategy.c:is_chroma_reference Unexecuted instantiation: pickcdef.c:is_chroma_reference Unexecuted instantiation: picklpf.c:is_chroma_reference Unexecuted instantiation: pickrst.c:is_chroma_reference Unexecuted instantiation: ratectrl.c:is_chroma_reference Unexecuted instantiation: rd.c:is_chroma_reference Unexecuted instantiation: rdopt.c:is_chroma_reference Unexecuted instantiation: nonrd_pickmode.c:is_chroma_reference Unexecuted instantiation: nonrd_opt.c:is_chroma_reference Unexecuted instantiation: reconinter_enc.c:is_chroma_reference Unexecuted instantiation: segmentation.c:is_chroma_reference Unexecuted instantiation: speed_features.c:is_chroma_reference Unexecuted instantiation: superres_scale.c:is_chroma_reference Unexecuted instantiation: svc_layercontext.c:is_chroma_reference Unexecuted instantiation: temporal_filter.c:is_chroma_reference Unexecuted instantiation: tokenize.c:is_chroma_reference Unexecuted instantiation: tpl_model.c:is_chroma_reference Unexecuted instantiation: tx_search.c:is_chroma_reference Unexecuted instantiation: txb_rdopt.c:is_chroma_reference Unexecuted instantiation: intra_mode_search.c:is_chroma_reference Unexecuted instantiation: var_based_part.c:is_chroma_reference Unexecuted instantiation: av1_noise_estimate.c:is_chroma_reference Unexecuted instantiation: variance.c:is_chroma_reference Unexecuted instantiation: pyramid.c:is_chroma_reference Unexecuted instantiation: alloccommon.c:is_chroma_reference Unexecuted instantiation: av1_loopfilter.c:is_chroma_reference Unexecuted instantiation: blockd.c:is_chroma_reference Unexecuted instantiation: cdef.c:is_chroma_reference Unexecuted instantiation: cdef_block.c:is_chroma_reference Unexecuted instantiation: cfl.c:is_chroma_reference Unexecuted instantiation: debugmodes.c:is_chroma_reference Unexecuted instantiation: entropy.c:is_chroma_reference Unexecuted instantiation: entropymode.c:is_chroma_reference Unexecuted instantiation: entropymv.c:is_chroma_reference Unexecuted instantiation: mvref_common.c:is_chroma_reference Unexecuted instantiation: pred_common.c:is_chroma_reference Unexecuted instantiation: quant_common.c:is_chroma_reference Unexecuted instantiation: reconinter.c:is_chroma_reference Unexecuted instantiation: reconintra.c:is_chroma_reference Unexecuted instantiation: resize.c:is_chroma_reference Unexecuted instantiation: restoration.c:is_chroma_reference Unexecuted instantiation: scan.c:is_chroma_reference Unexecuted instantiation: thread_common.c:is_chroma_reference Unexecuted instantiation: tile_common.c:is_chroma_reference Unexecuted instantiation: txb_common.c:is_chroma_reference Unexecuted instantiation: warped_motion.c:is_chroma_reference Unexecuted instantiation: aq_complexity.c:is_chroma_reference Unexecuted instantiation: aq_cyclicrefresh.c:is_chroma_reference Unexecuted instantiation: aq_variance.c:is_chroma_reference Unexecuted instantiation: cnn.c:is_chroma_reference Unexecuted instantiation: compound_type.c:is_chroma_reference Unexecuted instantiation: encode_strategy.c:is_chroma_reference Unexecuted instantiation: global_motion.c:is_chroma_reference Unexecuted instantiation: gop_structure.c:is_chroma_reference Unexecuted instantiation: interp_search.c:is_chroma_reference Unexecuted instantiation: motion_search_facade.c:is_chroma_reference Unexecuted instantiation: wedge_utils.c:is_chroma_reference Unexecuted instantiation: convolve.c:is_chroma_reference |
1456 | | |
1457 | | static inline aom_cdf_prob cdf_element_prob(const aom_cdf_prob *cdf, |
1458 | 2.50M | size_t element) { |
1459 | 2.50M | assert(cdf != NULL); |
1460 | 18.4E | return (element > 0 ? cdf[element - 1] : CDF_PROB_TOP) - cdf[element]; |
1461 | 2.50M | } Unexecuted instantiation: av1_dx_iface.c:cdf_element_prob decodeframe.c:cdf_element_prob Line | Count | Source | 1458 | 2.50M | size_t element) { | 1459 | 2.50M | assert(cdf != NULL); | 1460 | 18.4E | return (element > 0 ? cdf[element - 1] : CDF_PROB_TOP) - cdf[element]; | 1461 | 2.50M | } |
Unexecuted instantiation: decodemv.c:cdf_element_prob Unexecuted instantiation: decoder.c:cdf_element_prob Unexecuted instantiation: decodetxb.c:cdf_element_prob Unexecuted instantiation: detokenize.c:cdf_element_prob Unexecuted instantiation: obu.c:cdf_element_prob Unexecuted instantiation: av1_cx_iface.c:cdf_element_prob Unexecuted instantiation: allintra_vis.c:cdf_element_prob Unexecuted instantiation: av1_quantize.c:cdf_element_prob Unexecuted instantiation: bitstream.c:cdf_element_prob Unexecuted instantiation: context_tree.c:cdf_element_prob Unexecuted instantiation: encodeframe.c:cdf_element_prob Unexecuted instantiation: encodeframe_utils.c:cdf_element_prob Unexecuted instantiation: encodemb.c:cdf_element_prob Unexecuted instantiation: encodemv.c:cdf_element_prob Unexecuted instantiation: encoder.c:cdf_element_prob Unexecuted instantiation: encoder_utils.c:cdf_element_prob Unexecuted instantiation: encodetxb.c:cdf_element_prob Unexecuted instantiation: ethread.c:cdf_element_prob Unexecuted instantiation: firstpass.c:cdf_element_prob Unexecuted instantiation: global_motion_facade.c:cdf_element_prob Unexecuted instantiation: hash_motion.c:cdf_element_prob Unexecuted instantiation: level.c:cdf_element_prob Unexecuted instantiation: lookahead.c:cdf_element_prob Unexecuted instantiation: mcomp.c:cdf_element_prob Unexecuted instantiation: mv_prec.c:cdf_element_prob Unexecuted instantiation: palette.c:cdf_element_prob Unexecuted instantiation: partition_search.c:cdf_element_prob Unexecuted instantiation: partition_strategy.c:cdf_element_prob Unexecuted instantiation: pass2_strategy.c:cdf_element_prob Unexecuted instantiation: pickcdef.c:cdf_element_prob Unexecuted instantiation: picklpf.c:cdf_element_prob Unexecuted instantiation: pickrst.c:cdf_element_prob Unexecuted instantiation: ratectrl.c:cdf_element_prob Unexecuted instantiation: rd.c:cdf_element_prob Unexecuted instantiation: rdopt.c:cdf_element_prob Unexecuted instantiation: nonrd_pickmode.c:cdf_element_prob Unexecuted instantiation: nonrd_opt.c:cdf_element_prob Unexecuted instantiation: reconinter_enc.c:cdf_element_prob Unexecuted instantiation: segmentation.c:cdf_element_prob Unexecuted instantiation: speed_features.c:cdf_element_prob Unexecuted instantiation: superres_scale.c:cdf_element_prob Unexecuted instantiation: svc_layercontext.c:cdf_element_prob Unexecuted instantiation: temporal_filter.c:cdf_element_prob Unexecuted instantiation: tokenize.c:cdf_element_prob Unexecuted instantiation: tpl_model.c:cdf_element_prob Unexecuted instantiation: tx_search.c:cdf_element_prob Unexecuted instantiation: txb_rdopt.c:cdf_element_prob Unexecuted instantiation: intra_mode_search.c:cdf_element_prob Unexecuted instantiation: var_based_part.c:cdf_element_prob Unexecuted instantiation: av1_noise_estimate.c:cdf_element_prob Unexecuted instantiation: variance.c:cdf_element_prob Unexecuted instantiation: pyramid.c:cdf_element_prob Unexecuted instantiation: alloccommon.c:cdf_element_prob Unexecuted instantiation: av1_loopfilter.c:cdf_element_prob Unexecuted instantiation: blockd.c:cdf_element_prob Unexecuted instantiation: cdef.c:cdf_element_prob Unexecuted instantiation: cdef_block.c:cdf_element_prob Unexecuted instantiation: cfl.c:cdf_element_prob Unexecuted instantiation: debugmodes.c:cdf_element_prob Unexecuted instantiation: entropy.c:cdf_element_prob Unexecuted instantiation: entropymode.c:cdf_element_prob Unexecuted instantiation: entropymv.c:cdf_element_prob Unexecuted instantiation: mvref_common.c:cdf_element_prob Unexecuted instantiation: pred_common.c:cdf_element_prob Unexecuted instantiation: quant_common.c:cdf_element_prob Unexecuted instantiation: reconinter.c:cdf_element_prob Unexecuted instantiation: reconintra.c:cdf_element_prob Unexecuted instantiation: resize.c:cdf_element_prob Unexecuted instantiation: restoration.c:cdf_element_prob Unexecuted instantiation: scan.c:cdf_element_prob Unexecuted instantiation: thread_common.c:cdf_element_prob Unexecuted instantiation: tile_common.c:cdf_element_prob Unexecuted instantiation: txb_common.c:cdf_element_prob Unexecuted instantiation: warped_motion.c:cdf_element_prob Unexecuted instantiation: aq_complexity.c:cdf_element_prob Unexecuted instantiation: aq_cyclicrefresh.c:cdf_element_prob Unexecuted instantiation: aq_variance.c:cdf_element_prob Unexecuted instantiation: cnn.c:cdf_element_prob Unexecuted instantiation: compound_type.c:cdf_element_prob Unexecuted instantiation: encode_strategy.c:cdf_element_prob Unexecuted instantiation: global_motion.c:cdf_element_prob Unexecuted instantiation: gop_structure.c:cdf_element_prob Unexecuted instantiation: interp_search.c:cdf_element_prob Unexecuted instantiation: motion_search_facade.c:cdf_element_prob Unexecuted instantiation: wedge_utils.c:cdf_element_prob Unexecuted instantiation: convolve.c:cdf_element_prob |
1462 | | |
1463 | | static inline void partition_gather_horz_alike(aom_cdf_prob *out, |
1464 | | const aom_cdf_prob *const in, |
1465 | 321k | BLOCK_SIZE bsize) { |
1466 | 321k | (void)bsize; |
1467 | 321k | out[0] = CDF_PROB_TOP; |
1468 | 321k | out[0] -= cdf_element_prob(in, PARTITION_HORZ); |
1469 | 321k | out[0] -= cdf_element_prob(in, PARTITION_SPLIT); |
1470 | 321k | out[0] -= cdf_element_prob(in, PARTITION_HORZ_A); |
1471 | 321k | out[0] -= cdf_element_prob(in, PARTITION_HORZ_B); |
1472 | 321k | out[0] -= cdf_element_prob(in, PARTITION_VERT_A); |
1473 | 321k | if (bsize != BLOCK_128X128) out[0] -= cdf_element_prob(in, PARTITION_HORZ_4); |
1474 | 321k | out[0] = AOM_ICDF(out[0]); |
1475 | 321k | out[1] = AOM_ICDF(CDF_PROB_TOP); |
1476 | 321k | } Unexecuted instantiation: av1_dx_iface.c:partition_gather_horz_alike decodeframe.c:partition_gather_horz_alike Line | Count | Source | 1465 | 321k | BLOCK_SIZE bsize) { | 1466 | 321k | (void)bsize; | 1467 | 321k | out[0] = CDF_PROB_TOP; | 1468 | 321k | out[0] -= cdf_element_prob(in, PARTITION_HORZ); | 1469 | 321k | out[0] -= cdf_element_prob(in, PARTITION_SPLIT); | 1470 | 321k | out[0] -= cdf_element_prob(in, PARTITION_HORZ_A); | 1471 | 321k | out[0] -= cdf_element_prob(in, PARTITION_HORZ_B); | 1472 | 321k | out[0] -= cdf_element_prob(in, PARTITION_VERT_A); | 1473 | 321k | if (bsize != BLOCK_128X128) out[0] -= cdf_element_prob(in, PARTITION_HORZ_4); | 1474 | 321k | out[0] = AOM_ICDF(out[0]); | 1475 | 321k | out[1] = AOM_ICDF(CDF_PROB_TOP); | 1476 | 321k | } |
Unexecuted instantiation: decodemv.c:partition_gather_horz_alike Unexecuted instantiation: decoder.c:partition_gather_horz_alike Unexecuted instantiation: decodetxb.c:partition_gather_horz_alike Unexecuted instantiation: detokenize.c:partition_gather_horz_alike Unexecuted instantiation: obu.c:partition_gather_horz_alike Unexecuted instantiation: av1_cx_iface.c:partition_gather_horz_alike Unexecuted instantiation: allintra_vis.c:partition_gather_horz_alike Unexecuted instantiation: av1_quantize.c:partition_gather_horz_alike Unexecuted instantiation: bitstream.c:partition_gather_horz_alike Unexecuted instantiation: context_tree.c:partition_gather_horz_alike Unexecuted instantiation: encodeframe.c:partition_gather_horz_alike Unexecuted instantiation: encodeframe_utils.c:partition_gather_horz_alike Unexecuted instantiation: encodemb.c:partition_gather_horz_alike Unexecuted instantiation: encodemv.c:partition_gather_horz_alike Unexecuted instantiation: encoder.c:partition_gather_horz_alike Unexecuted instantiation: encoder_utils.c:partition_gather_horz_alike Unexecuted instantiation: encodetxb.c:partition_gather_horz_alike Unexecuted instantiation: ethread.c:partition_gather_horz_alike Unexecuted instantiation: firstpass.c:partition_gather_horz_alike Unexecuted instantiation: global_motion_facade.c:partition_gather_horz_alike Unexecuted instantiation: hash_motion.c:partition_gather_horz_alike Unexecuted instantiation: level.c:partition_gather_horz_alike Unexecuted instantiation: lookahead.c:partition_gather_horz_alike Unexecuted instantiation: mcomp.c:partition_gather_horz_alike Unexecuted instantiation: mv_prec.c:partition_gather_horz_alike Unexecuted instantiation: palette.c:partition_gather_horz_alike Unexecuted instantiation: partition_search.c:partition_gather_horz_alike Unexecuted instantiation: partition_strategy.c:partition_gather_horz_alike Unexecuted instantiation: pass2_strategy.c:partition_gather_horz_alike Unexecuted instantiation: pickcdef.c:partition_gather_horz_alike Unexecuted instantiation: picklpf.c:partition_gather_horz_alike Unexecuted instantiation: pickrst.c:partition_gather_horz_alike Unexecuted instantiation: ratectrl.c:partition_gather_horz_alike Unexecuted instantiation: rd.c:partition_gather_horz_alike Unexecuted instantiation: rdopt.c:partition_gather_horz_alike Unexecuted instantiation: nonrd_pickmode.c:partition_gather_horz_alike Unexecuted instantiation: nonrd_opt.c:partition_gather_horz_alike Unexecuted instantiation: reconinter_enc.c:partition_gather_horz_alike Unexecuted instantiation: segmentation.c:partition_gather_horz_alike Unexecuted instantiation: speed_features.c:partition_gather_horz_alike Unexecuted instantiation: superres_scale.c:partition_gather_horz_alike Unexecuted instantiation: svc_layercontext.c:partition_gather_horz_alike Unexecuted instantiation: temporal_filter.c:partition_gather_horz_alike Unexecuted instantiation: tokenize.c:partition_gather_horz_alike Unexecuted instantiation: tpl_model.c:partition_gather_horz_alike Unexecuted instantiation: tx_search.c:partition_gather_horz_alike Unexecuted instantiation: txb_rdopt.c:partition_gather_horz_alike Unexecuted instantiation: intra_mode_search.c:partition_gather_horz_alike Unexecuted instantiation: var_based_part.c:partition_gather_horz_alike Unexecuted instantiation: av1_noise_estimate.c:partition_gather_horz_alike Unexecuted instantiation: variance.c:partition_gather_horz_alike Unexecuted instantiation: pyramid.c:partition_gather_horz_alike Unexecuted instantiation: alloccommon.c:partition_gather_horz_alike Unexecuted instantiation: av1_loopfilter.c:partition_gather_horz_alike Unexecuted instantiation: blockd.c:partition_gather_horz_alike Unexecuted instantiation: cdef.c:partition_gather_horz_alike Unexecuted instantiation: cdef_block.c:partition_gather_horz_alike Unexecuted instantiation: cfl.c:partition_gather_horz_alike Unexecuted instantiation: debugmodes.c:partition_gather_horz_alike Unexecuted instantiation: entropy.c:partition_gather_horz_alike Unexecuted instantiation: entropymode.c:partition_gather_horz_alike Unexecuted instantiation: entropymv.c:partition_gather_horz_alike Unexecuted instantiation: mvref_common.c:partition_gather_horz_alike Unexecuted instantiation: pred_common.c:partition_gather_horz_alike Unexecuted instantiation: quant_common.c:partition_gather_horz_alike Unexecuted instantiation: reconinter.c:partition_gather_horz_alike Unexecuted instantiation: reconintra.c:partition_gather_horz_alike Unexecuted instantiation: resize.c:partition_gather_horz_alike Unexecuted instantiation: restoration.c:partition_gather_horz_alike Unexecuted instantiation: scan.c:partition_gather_horz_alike Unexecuted instantiation: thread_common.c:partition_gather_horz_alike Unexecuted instantiation: tile_common.c:partition_gather_horz_alike Unexecuted instantiation: txb_common.c:partition_gather_horz_alike Unexecuted instantiation: warped_motion.c:partition_gather_horz_alike Unexecuted instantiation: aq_complexity.c:partition_gather_horz_alike Unexecuted instantiation: aq_cyclicrefresh.c:partition_gather_horz_alike Unexecuted instantiation: aq_variance.c:partition_gather_horz_alike Unexecuted instantiation: cnn.c:partition_gather_horz_alike Unexecuted instantiation: compound_type.c:partition_gather_horz_alike Unexecuted instantiation: encode_strategy.c:partition_gather_horz_alike Unexecuted instantiation: global_motion.c:partition_gather_horz_alike Unexecuted instantiation: gop_structure.c:partition_gather_horz_alike Unexecuted instantiation: interp_search.c:partition_gather_horz_alike Unexecuted instantiation: motion_search_facade.c:partition_gather_horz_alike Unexecuted instantiation: wedge_utils.c:partition_gather_horz_alike Unexecuted instantiation: convolve.c:partition_gather_horz_alike |
1477 | | |
1478 | | static inline void partition_gather_vert_alike(aom_cdf_prob *out, |
1479 | | const aom_cdf_prob *const in, |
1480 | 101k | BLOCK_SIZE bsize) { |
1481 | 101k | (void)bsize; |
1482 | 101k | out[0] = CDF_PROB_TOP; |
1483 | 101k | out[0] -= cdf_element_prob(in, PARTITION_VERT); |
1484 | 101k | out[0] -= cdf_element_prob(in, PARTITION_SPLIT); |
1485 | 101k | out[0] -= cdf_element_prob(in, PARTITION_HORZ_A); |
1486 | 101k | out[0] -= cdf_element_prob(in, PARTITION_VERT_A); |
1487 | 101k | out[0] -= cdf_element_prob(in, PARTITION_VERT_B); |
1488 | 101k | if (bsize != BLOCK_128X128) out[0] -= cdf_element_prob(in, PARTITION_VERT_4); |
1489 | 101k | out[0] = AOM_ICDF(out[0]); |
1490 | 101k | out[1] = AOM_ICDF(CDF_PROB_TOP); |
1491 | 101k | } Unexecuted instantiation: av1_dx_iface.c:partition_gather_vert_alike decodeframe.c:partition_gather_vert_alike Line | Count | Source | 1480 | 101k | BLOCK_SIZE bsize) { | 1481 | 101k | (void)bsize; | 1482 | 101k | out[0] = CDF_PROB_TOP; | 1483 | 101k | out[0] -= cdf_element_prob(in, PARTITION_VERT); | 1484 | 101k | out[0] -= cdf_element_prob(in, PARTITION_SPLIT); | 1485 | 101k | out[0] -= cdf_element_prob(in, PARTITION_HORZ_A); | 1486 | 101k | out[0] -= cdf_element_prob(in, PARTITION_VERT_A); | 1487 | 101k | out[0] -= cdf_element_prob(in, PARTITION_VERT_B); | 1488 | 101k | if (bsize != BLOCK_128X128) out[0] -= cdf_element_prob(in, PARTITION_VERT_4); | 1489 | 101k | out[0] = AOM_ICDF(out[0]); | 1490 | 101k | out[1] = AOM_ICDF(CDF_PROB_TOP); | 1491 | 101k | } |
Unexecuted instantiation: decodemv.c:partition_gather_vert_alike Unexecuted instantiation: decoder.c:partition_gather_vert_alike Unexecuted instantiation: decodetxb.c:partition_gather_vert_alike Unexecuted instantiation: detokenize.c:partition_gather_vert_alike Unexecuted instantiation: obu.c:partition_gather_vert_alike Unexecuted instantiation: av1_cx_iface.c:partition_gather_vert_alike Unexecuted instantiation: allintra_vis.c:partition_gather_vert_alike Unexecuted instantiation: av1_quantize.c:partition_gather_vert_alike Unexecuted instantiation: bitstream.c:partition_gather_vert_alike Unexecuted instantiation: context_tree.c:partition_gather_vert_alike Unexecuted instantiation: encodeframe.c:partition_gather_vert_alike Unexecuted instantiation: encodeframe_utils.c:partition_gather_vert_alike Unexecuted instantiation: encodemb.c:partition_gather_vert_alike Unexecuted instantiation: encodemv.c:partition_gather_vert_alike Unexecuted instantiation: encoder.c:partition_gather_vert_alike Unexecuted instantiation: encoder_utils.c:partition_gather_vert_alike Unexecuted instantiation: encodetxb.c:partition_gather_vert_alike Unexecuted instantiation: ethread.c:partition_gather_vert_alike Unexecuted instantiation: firstpass.c:partition_gather_vert_alike Unexecuted instantiation: global_motion_facade.c:partition_gather_vert_alike Unexecuted instantiation: hash_motion.c:partition_gather_vert_alike Unexecuted instantiation: level.c:partition_gather_vert_alike Unexecuted instantiation: lookahead.c:partition_gather_vert_alike Unexecuted instantiation: mcomp.c:partition_gather_vert_alike Unexecuted instantiation: mv_prec.c:partition_gather_vert_alike Unexecuted instantiation: palette.c:partition_gather_vert_alike Unexecuted instantiation: partition_search.c:partition_gather_vert_alike Unexecuted instantiation: partition_strategy.c:partition_gather_vert_alike Unexecuted instantiation: pass2_strategy.c:partition_gather_vert_alike Unexecuted instantiation: pickcdef.c:partition_gather_vert_alike Unexecuted instantiation: picklpf.c:partition_gather_vert_alike Unexecuted instantiation: pickrst.c:partition_gather_vert_alike Unexecuted instantiation: ratectrl.c:partition_gather_vert_alike Unexecuted instantiation: rd.c:partition_gather_vert_alike Unexecuted instantiation: rdopt.c:partition_gather_vert_alike Unexecuted instantiation: nonrd_pickmode.c:partition_gather_vert_alike Unexecuted instantiation: nonrd_opt.c:partition_gather_vert_alike Unexecuted instantiation: reconinter_enc.c:partition_gather_vert_alike Unexecuted instantiation: segmentation.c:partition_gather_vert_alike Unexecuted instantiation: speed_features.c:partition_gather_vert_alike Unexecuted instantiation: superres_scale.c:partition_gather_vert_alike Unexecuted instantiation: svc_layercontext.c:partition_gather_vert_alike Unexecuted instantiation: temporal_filter.c:partition_gather_vert_alike Unexecuted instantiation: tokenize.c:partition_gather_vert_alike Unexecuted instantiation: tpl_model.c:partition_gather_vert_alike Unexecuted instantiation: tx_search.c:partition_gather_vert_alike Unexecuted instantiation: txb_rdopt.c:partition_gather_vert_alike Unexecuted instantiation: intra_mode_search.c:partition_gather_vert_alike Unexecuted instantiation: var_based_part.c:partition_gather_vert_alike Unexecuted instantiation: av1_noise_estimate.c:partition_gather_vert_alike Unexecuted instantiation: variance.c:partition_gather_vert_alike Unexecuted instantiation: pyramid.c:partition_gather_vert_alike Unexecuted instantiation: alloccommon.c:partition_gather_vert_alike Unexecuted instantiation: av1_loopfilter.c:partition_gather_vert_alike Unexecuted instantiation: blockd.c:partition_gather_vert_alike Unexecuted instantiation: cdef.c:partition_gather_vert_alike Unexecuted instantiation: cdef_block.c:partition_gather_vert_alike Unexecuted instantiation: cfl.c:partition_gather_vert_alike Unexecuted instantiation: debugmodes.c:partition_gather_vert_alike Unexecuted instantiation: entropy.c:partition_gather_vert_alike Unexecuted instantiation: entropymode.c:partition_gather_vert_alike Unexecuted instantiation: entropymv.c:partition_gather_vert_alike Unexecuted instantiation: mvref_common.c:partition_gather_vert_alike Unexecuted instantiation: pred_common.c:partition_gather_vert_alike Unexecuted instantiation: quant_common.c:partition_gather_vert_alike Unexecuted instantiation: reconinter.c:partition_gather_vert_alike Unexecuted instantiation: reconintra.c:partition_gather_vert_alike Unexecuted instantiation: resize.c:partition_gather_vert_alike Unexecuted instantiation: restoration.c:partition_gather_vert_alike Unexecuted instantiation: scan.c:partition_gather_vert_alike Unexecuted instantiation: thread_common.c:partition_gather_vert_alike Unexecuted instantiation: tile_common.c:partition_gather_vert_alike Unexecuted instantiation: txb_common.c:partition_gather_vert_alike Unexecuted instantiation: warped_motion.c:partition_gather_vert_alike Unexecuted instantiation: aq_complexity.c:partition_gather_vert_alike Unexecuted instantiation: aq_cyclicrefresh.c:partition_gather_vert_alike Unexecuted instantiation: aq_variance.c:partition_gather_vert_alike Unexecuted instantiation: cnn.c:partition_gather_vert_alike Unexecuted instantiation: compound_type.c:partition_gather_vert_alike Unexecuted instantiation: encode_strategy.c:partition_gather_vert_alike Unexecuted instantiation: global_motion.c:partition_gather_vert_alike Unexecuted instantiation: gop_structure.c:partition_gather_vert_alike Unexecuted instantiation: interp_search.c:partition_gather_vert_alike Unexecuted instantiation: motion_search_facade.c:partition_gather_vert_alike Unexecuted instantiation: wedge_utils.c:partition_gather_vert_alike Unexecuted instantiation: convolve.c:partition_gather_vert_alike |
1492 | | |
1493 | | static inline void update_ext_partition_context(MACROBLOCKD *xd, int mi_row, |
1494 | | int mi_col, BLOCK_SIZE subsize, |
1495 | | BLOCK_SIZE bsize, |
1496 | 5.22M | PARTITION_TYPE partition) { |
1497 | 5.22M | if (bsize >= BLOCK_8X8) { |
1498 | 4.56M | const int hbs = mi_size_wide[bsize] / 2; |
1499 | 4.56M | BLOCK_SIZE bsize2 = get_partition_subsize(bsize, PARTITION_SPLIT); |
1500 | 4.56M | switch (partition) { |
1501 | 1.36M | case PARTITION_SPLIT: |
1502 | 1.36M | if (bsize != BLOCK_8X8) break; |
1503 | 164k | AOM_FALLTHROUGH_INTENDED; |
1504 | 1.66M | case PARTITION_NONE: |
1505 | 2.20M | case PARTITION_HORZ: |
1506 | 2.70M | case PARTITION_VERT: |
1507 | 2.87M | case PARTITION_HORZ_4: |
1508 | 3.07M | case PARTITION_VERT_4: |
1509 | 3.07M | update_partition_context(xd, mi_row, mi_col, subsize, bsize); |
1510 | 3.07M | break; |
1511 | 81.6k | case PARTITION_HORZ_A: |
1512 | 81.6k | update_partition_context(xd, mi_row, mi_col, bsize2, subsize); |
1513 | 81.6k | update_partition_context(xd, mi_row + hbs, mi_col, subsize, subsize); |
1514 | 81.6k | break; |
1515 | 77.5k | case PARTITION_HORZ_B: |
1516 | 77.5k | update_partition_context(xd, mi_row, mi_col, subsize, subsize); |
1517 | 77.5k | update_partition_context(xd, mi_row + hbs, mi_col, bsize2, subsize); |
1518 | 77.5k | break; |
1519 | 60.6k | case PARTITION_VERT_A: |
1520 | 60.6k | update_partition_context(xd, mi_row, mi_col, bsize2, subsize); |
1521 | 60.6k | update_partition_context(xd, mi_row, mi_col + hbs, subsize, subsize); |
1522 | 60.6k | break; |
1523 | 65.9k | case PARTITION_VERT_B: |
1524 | 65.9k | update_partition_context(xd, mi_row, mi_col, subsize, subsize); |
1525 | 65.9k | update_partition_context(xd, mi_row, mi_col + hbs, bsize2, subsize); |
1526 | 65.9k | break; |
1527 | 0 | default: assert(0 && "Invalid partition type"); |
1528 | 4.56M | } |
1529 | 4.56M | } |
1530 | 5.22M | } Unexecuted instantiation: av1_dx_iface.c:update_ext_partition_context decodeframe.c:update_ext_partition_context Line | Count | Source | 1496 | 5.22M | PARTITION_TYPE partition) { | 1497 | 5.22M | if (bsize >= BLOCK_8X8) { | 1498 | 4.56M | const int hbs = mi_size_wide[bsize] / 2; | 1499 | 4.56M | BLOCK_SIZE bsize2 = get_partition_subsize(bsize, PARTITION_SPLIT); | 1500 | 4.56M | switch (partition) { | 1501 | 1.36M | case PARTITION_SPLIT: | 1502 | 1.36M | if (bsize != BLOCK_8X8) break; | 1503 | 164k | AOM_FALLTHROUGH_INTENDED; | 1504 | 1.66M | case PARTITION_NONE: | 1505 | 2.20M | case PARTITION_HORZ: | 1506 | 2.70M | case PARTITION_VERT: | 1507 | 2.87M | case PARTITION_HORZ_4: | 1508 | 3.07M | case PARTITION_VERT_4: | 1509 | 3.07M | update_partition_context(xd, mi_row, mi_col, subsize, bsize); | 1510 | 3.07M | break; | 1511 | 81.6k | case PARTITION_HORZ_A: | 1512 | 81.6k | update_partition_context(xd, mi_row, mi_col, bsize2, subsize); | 1513 | 81.6k | update_partition_context(xd, mi_row + hbs, mi_col, subsize, subsize); | 1514 | 81.6k | break; | 1515 | 77.5k | case PARTITION_HORZ_B: | 1516 | 77.5k | update_partition_context(xd, mi_row, mi_col, subsize, subsize); | 1517 | 77.5k | update_partition_context(xd, mi_row + hbs, mi_col, bsize2, subsize); | 1518 | 77.5k | break; | 1519 | 60.6k | case PARTITION_VERT_A: | 1520 | 60.6k | update_partition_context(xd, mi_row, mi_col, bsize2, subsize); | 1521 | 60.6k | update_partition_context(xd, mi_row, mi_col + hbs, subsize, subsize); | 1522 | 60.6k | break; | 1523 | 65.9k | case PARTITION_VERT_B: | 1524 | 65.9k | update_partition_context(xd, mi_row, mi_col, subsize, subsize); | 1525 | 65.9k | update_partition_context(xd, mi_row, mi_col + hbs, bsize2, subsize); | 1526 | 65.9k | break; | 1527 | 0 | default: assert(0 && "Invalid partition type"); | 1528 | 4.56M | } | 1529 | 4.56M | } | 1530 | 5.22M | } |
Unexecuted instantiation: decodemv.c:update_ext_partition_context Unexecuted instantiation: decoder.c:update_ext_partition_context Unexecuted instantiation: decodetxb.c:update_ext_partition_context Unexecuted instantiation: detokenize.c:update_ext_partition_context Unexecuted instantiation: obu.c:update_ext_partition_context Unexecuted instantiation: av1_cx_iface.c:update_ext_partition_context Unexecuted instantiation: allintra_vis.c:update_ext_partition_context Unexecuted instantiation: av1_quantize.c:update_ext_partition_context Unexecuted instantiation: bitstream.c:update_ext_partition_context Unexecuted instantiation: context_tree.c:update_ext_partition_context Unexecuted instantiation: encodeframe.c:update_ext_partition_context Unexecuted instantiation: encodeframe_utils.c:update_ext_partition_context Unexecuted instantiation: encodemb.c:update_ext_partition_context Unexecuted instantiation: encodemv.c:update_ext_partition_context Unexecuted instantiation: encoder.c:update_ext_partition_context Unexecuted instantiation: encoder_utils.c:update_ext_partition_context Unexecuted instantiation: encodetxb.c:update_ext_partition_context Unexecuted instantiation: ethread.c:update_ext_partition_context Unexecuted instantiation: firstpass.c:update_ext_partition_context Unexecuted instantiation: global_motion_facade.c:update_ext_partition_context Unexecuted instantiation: hash_motion.c:update_ext_partition_context Unexecuted instantiation: level.c:update_ext_partition_context Unexecuted instantiation: lookahead.c:update_ext_partition_context Unexecuted instantiation: mcomp.c:update_ext_partition_context Unexecuted instantiation: mv_prec.c:update_ext_partition_context Unexecuted instantiation: palette.c:update_ext_partition_context Unexecuted instantiation: partition_search.c:update_ext_partition_context Unexecuted instantiation: partition_strategy.c:update_ext_partition_context Unexecuted instantiation: pass2_strategy.c:update_ext_partition_context Unexecuted instantiation: pickcdef.c:update_ext_partition_context Unexecuted instantiation: picklpf.c:update_ext_partition_context Unexecuted instantiation: pickrst.c:update_ext_partition_context Unexecuted instantiation: ratectrl.c:update_ext_partition_context Unexecuted instantiation: rd.c:update_ext_partition_context Unexecuted instantiation: rdopt.c:update_ext_partition_context Unexecuted instantiation: nonrd_pickmode.c:update_ext_partition_context Unexecuted instantiation: nonrd_opt.c:update_ext_partition_context Unexecuted instantiation: reconinter_enc.c:update_ext_partition_context Unexecuted instantiation: segmentation.c:update_ext_partition_context Unexecuted instantiation: speed_features.c:update_ext_partition_context Unexecuted instantiation: superres_scale.c:update_ext_partition_context Unexecuted instantiation: svc_layercontext.c:update_ext_partition_context Unexecuted instantiation: temporal_filter.c:update_ext_partition_context Unexecuted instantiation: tokenize.c:update_ext_partition_context Unexecuted instantiation: tpl_model.c:update_ext_partition_context Unexecuted instantiation: tx_search.c:update_ext_partition_context Unexecuted instantiation: txb_rdopt.c:update_ext_partition_context Unexecuted instantiation: intra_mode_search.c:update_ext_partition_context Unexecuted instantiation: var_based_part.c:update_ext_partition_context Unexecuted instantiation: av1_noise_estimate.c:update_ext_partition_context Unexecuted instantiation: variance.c:update_ext_partition_context Unexecuted instantiation: pyramid.c:update_ext_partition_context Unexecuted instantiation: alloccommon.c:update_ext_partition_context Unexecuted instantiation: av1_loopfilter.c:update_ext_partition_context Unexecuted instantiation: blockd.c:update_ext_partition_context Unexecuted instantiation: cdef.c:update_ext_partition_context Unexecuted instantiation: cdef_block.c:update_ext_partition_context Unexecuted instantiation: cfl.c:update_ext_partition_context Unexecuted instantiation: debugmodes.c:update_ext_partition_context Unexecuted instantiation: entropy.c:update_ext_partition_context Unexecuted instantiation: entropymode.c:update_ext_partition_context Unexecuted instantiation: entropymv.c:update_ext_partition_context Unexecuted instantiation: mvref_common.c:update_ext_partition_context Unexecuted instantiation: pred_common.c:update_ext_partition_context Unexecuted instantiation: quant_common.c:update_ext_partition_context Unexecuted instantiation: reconinter.c:update_ext_partition_context Unexecuted instantiation: reconintra.c:update_ext_partition_context Unexecuted instantiation: resize.c:update_ext_partition_context Unexecuted instantiation: restoration.c:update_ext_partition_context Unexecuted instantiation: scan.c:update_ext_partition_context Unexecuted instantiation: thread_common.c:update_ext_partition_context Unexecuted instantiation: tile_common.c:update_ext_partition_context Unexecuted instantiation: txb_common.c:update_ext_partition_context Unexecuted instantiation: warped_motion.c:update_ext_partition_context Unexecuted instantiation: aq_complexity.c:update_ext_partition_context Unexecuted instantiation: aq_cyclicrefresh.c:update_ext_partition_context Unexecuted instantiation: aq_variance.c:update_ext_partition_context Unexecuted instantiation: cnn.c:update_ext_partition_context Unexecuted instantiation: compound_type.c:update_ext_partition_context Unexecuted instantiation: encode_strategy.c:update_ext_partition_context Unexecuted instantiation: global_motion.c:update_ext_partition_context Unexecuted instantiation: gop_structure.c:update_ext_partition_context Unexecuted instantiation: interp_search.c:update_ext_partition_context Unexecuted instantiation: motion_search_facade.c:update_ext_partition_context Unexecuted instantiation: wedge_utils.c:update_ext_partition_context Unexecuted instantiation: convolve.c:update_ext_partition_context |
1531 | | |
1532 | | static inline int partition_plane_context(const MACROBLOCKD *xd, int mi_row, |
1533 | 4.56M | int mi_col, BLOCK_SIZE bsize) { |
1534 | 4.56M | const PARTITION_CONTEXT *above_ctx = xd->above_partition_context + mi_col; |
1535 | 4.56M | const PARTITION_CONTEXT *left_ctx = |
1536 | 4.56M | xd->left_partition_context + (mi_row & MAX_MIB_MASK); |
1537 | | // Minimum partition point is 8x8. Offset the bsl accordingly. |
1538 | 4.56M | const int bsl = mi_size_wide_log2[bsize] - mi_size_wide_log2[BLOCK_8X8]; |
1539 | 4.56M | int above = (*above_ctx >> bsl) & 1, left = (*left_ctx >> bsl) & 1; |
1540 | | |
1541 | 4.56M | assert(mi_size_wide_log2[bsize] == mi_size_high_log2[bsize]); |
1542 | 4.56M | assert(bsl >= 0); |
1543 | | |
1544 | 4.56M | return (left * 2 + above) + bsl * PARTITION_PLOFFSET; |
1545 | 4.56M | } Unexecuted instantiation: av1_dx_iface.c:partition_plane_context decodeframe.c:partition_plane_context Line | Count | Source | 1533 | 4.56M | int mi_col, BLOCK_SIZE bsize) { | 1534 | 4.56M | const PARTITION_CONTEXT *above_ctx = xd->above_partition_context + mi_col; | 1535 | 4.56M | const PARTITION_CONTEXT *left_ctx = | 1536 | 4.56M | xd->left_partition_context + (mi_row & MAX_MIB_MASK); | 1537 | | // Minimum partition point is 8x8. Offset the bsl accordingly. | 1538 | 4.56M | const int bsl = mi_size_wide_log2[bsize] - mi_size_wide_log2[BLOCK_8X8]; | 1539 | 4.56M | int above = (*above_ctx >> bsl) & 1, left = (*left_ctx >> bsl) & 1; | 1540 | | | 1541 | 4.56M | assert(mi_size_wide_log2[bsize] == mi_size_high_log2[bsize]); | 1542 | 4.56M | assert(bsl >= 0); | 1543 | | | 1544 | 4.56M | return (left * 2 + above) + bsl * PARTITION_PLOFFSET; | 1545 | 4.56M | } |
Unexecuted instantiation: decodemv.c:partition_plane_context Unexecuted instantiation: decoder.c:partition_plane_context Unexecuted instantiation: decodetxb.c:partition_plane_context Unexecuted instantiation: detokenize.c:partition_plane_context Unexecuted instantiation: obu.c:partition_plane_context Unexecuted instantiation: av1_cx_iface.c:partition_plane_context Unexecuted instantiation: allintra_vis.c:partition_plane_context Unexecuted instantiation: av1_quantize.c:partition_plane_context Unexecuted instantiation: bitstream.c:partition_plane_context Unexecuted instantiation: context_tree.c:partition_plane_context Unexecuted instantiation: encodeframe.c:partition_plane_context Unexecuted instantiation: encodeframe_utils.c:partition_plane_context Unexecuted instantiation: encodemb.c:partition_plane_context Unexecuted instantiation: encodemv.c:partition_plane_context Unexecuted instantiation: encoder.c:partition_plane_context Unexecuted instantiation: encoder_utils.c:partition_plane_context Unexecuted instantiation: encodetxb.c:partition_plane_context Unexecuted instantiation: ethread.c:partition_plane_context Unexecuted instantiation: firstpass.c:partition_plane_context Unexecuted instantiation: global_motion_facade.c:partition_plane_context Unexecuted instantiation: hash_motion.c:partition_plane_context Unexecuted instantiation: level.c:partition_plane_context Unexecuted instantiation: lookahead.c:partition_plane_context Unexecuted instantiation: mcomp.c:partition_plane_context Unexecuted instantiation: mv_prec.c:partition_plane_context Unexecuted instantiation: palette.c:partition_plane_context Unexecuted instantiation: partition_search.c:partition_plane_context Unexecuted instantiation: partition_strategy.c:partition_plane_context Unexecuted instantiation: pass2_strategy.c:partition_plane_context Unexecuted instantiation: pickcdef.c:partition_plane_context Unexecuted instantiation: picklpf.c:partition_plane_context Unexecuted instantiation: pickrst.c:partition_plane_context Unexecuted instantiation: ratectrl.c:partition_plane_context Unexecuted instantiation: rd.c:partition_plane_context Unexecuted instantiation: rdopt.c:partition_plane_context Unexecuted instantiation: nonrd_pickmode.c:partition_plane_context Unexecuted instantiation: nonrd_opt.c:partition_plane_context Unexecuted instantiation: reconinter_enc.c:partition_plane_context Unexecuted instantiation: segmentation.c:partition_plane_context Unexecuted instantiation: speed_features.c:partition_plane_context Unexecuted instantiation: superres_scale.c:partition_plane_context Unexecuted instantiation: svc_layercontext.c:partition_plane_context Unexecuted instantiation: temporal_filter.c:partition_plane_context Unexecuted instantiation: tokenize.c:partition_plane_context Unexecuted instantiation: tpl_model.c:partition_plane_context Unexecuted instantiation: tx_search.c:partition_plane_context Unexecuted instantiation: txb_rdopt.c:partition_plane_context Unexecuted instantiation: intra_mode_search.c:partition_plane_context Unexecuted instantiation: var_based_part.c:partition_plane_context Unexecuted instantiation: av1_noise_estimate.c:partition_plane_context Unexecuted instantiation: variance.c:partition_plane_context Unexecuted instantiation: pyramid.c:partition_plane_context Unexecuted instantiation: alloccommon.c:partition_plane_context Unexecuted instantiation: av1_loopfilter.c:partition_plane_context Unexecuted instantiation: blockd.c:partition_plane_context Unexecuted instantiation: cdef.c:partition_plane_context Unexecuted instantiation: cdef_block.c:partition_plane_context Unexecuted instantiation: cfl.c:partition_plane_context Unexecuted instantiation: debugmodes.c:partition_plane_context Unexecuted instantiation: entropy.c:partition_plane_context Unexecuted instantiation: entropymode.c:partition_plane_context Unexecuted instantiation: entropymv.c:partition_plane_context Unexecuted instantiation: mvref_common.c:partition_plane_context Unexecuted instantiation: pred_common.c:partition_plane_context Unexecuted instantiation: quant_common.c:partition_plane_context Unexecuted instantiation: reconinter.c:partition_plane_context Unexecuted instantiation: reconintra.c:partition_plane_context Unexecuted instantiation: resize.c:partition_plane_context Unexecuted instantiation: restoration.c:partition_plane_context Unexecuted instantiation: scan.c:partition_plane_context Unexecuted instantiation: thread_common.c:partition_plane_context Unexecuted instantiation: tile_common.c:partition_plane_context Unexecuted instantiation: txb_common.c:partition_plane_context Unexecuted instantiation: warped_motion.c:partition_plane_context Unexecuted instantiation: aq_complexity.c:partition_plane_context Unexecuted instantiation: aq_cyclicrefresh.c:partition_plane_context Unexecuted instantiation: aq_variance.c:partition_plane_context Unexecuted instantiation: cnn.c:partition_plane_context Unexecuted instantiation: compound_type.c:partition_plane_context Unexecuted instantiation: encode_strategy.c:partition_plane_context Unexecuted instantiation: global_motion.c:partition_plane_context Unexecuted instantiation: gop_structure.c:partition_plane_context Unexecuted instantiation: interp_search.c:partition_plane_context Unexecuted instantiation: motion_search_facade.c:partition_plane_context Unexecuted instantiation: wedge_utils.c:partition_plane_context Unexecuted instantiation: convolve.c:partition_plane_context |
1546 | | |
1547 | | // Return the number of elements in the partition CDF when |
1548 | | // partitioning the (square) block with luma block size of bsize. |
1549 | 4.07M | static inline int partition_cdf_length(BLOCK_SIZE bsize) { |
1550 | 4.07M | if (bsize <= BLOCK_8X8) |
1551 | 1.36M | return PARTITION_TYPES; |
1552 | 2.70M | else if (bsize == BLOCK_128X128) |
1553 | 58.8k | return EXT_PARTITION_TYPES - 2; |
1554 | 2.64M | else |
1555 | 2.64M | return EXT_PARTITION_TYPES; |
1556 | 4.07M | } Unexecuted instantiation: av1_dx_iface.c:partition_cdf_length decodeframe.c:partition_cdf_length Line | Count | Source | 1549 | 4.07M | static inline int partition_cdf_length(BLOCK_SIZE bsize) { | 1550 | 4.07M | if (bsize <= BLOCK_8X8) | 1551 | 1.36M | return PARTITION_TYPES; | 1552 | 2.70M | else if (bsize == BLOCK_128X128) | 1553 | 58.8k | return EXT_PARTITION_TYPES - 2; | 1554 | 2.64M | else | 1555 | 2.64M | return EXT_PARTITION_TYPES; | 1556 | 4.07M | } |
Unexecuted instantiation: decodemv.c:partition_cdf_length Unexecuted instantiation: decoder.c:partition_cdf_length Unexecuted instantiation: decodetxb.c:partition_cdf_length Unexecuted instantiation: detokenize.c:partition_cdf_length Unexecuted instantiation: obu.c:partition_cdf_length Unexecuted instantiation: av1_cx_iface.c:partition_cdf_length Unexecuted instantiation: allintra_vis.c:partition_cdf_length Unexecuted instantiation: av1_quantize.c:partition_cdf_length Unexecuted instantiation: bitstream.c:partition_cdf_length Unexecuted instantiation: context_tree.c:partition_cdf_length Unexecuted instantiation: encodeframe.c:partition_cdf_length Unexecuted instantiation: encodeframe_utils.c:partition_cdf_length Unexecuted instantiation: encodemb.c:partition_cdf_length Unexecuted instantiation: encodemv.c:partition_cdf_length Unexecuted instantiation: encoder.c:partition_cdf_length Unexecuted instantiation: encoder_utils.c:partition_cdf_length Unexecuted instantiation: encodetxb.c:partition_cdf_length Unexecuted instantiation: ethread.c:partition_cdf_length Unexecuted instantiation: firstpass.c:partition_cdf_length Unexecuted instantiation: global_motion_facade.c:partition_cdf_length Unexecuted instantiation: hash_motion.c:partition_cdf_length Unexecuted instantiation: level.c:partition_cdf_length Unexecuted instantiation: lookahead.c:partition_cdf_length Unexecuted instantiation: mcomp.c:partition_cdf_length Unexecuted instantiation: mv_prec.c:partition_cdf_length Unexecuted instantiation: palette.c:partition_cdf_length Unexecuted instantiation: partition_search.c:partition_cdf_length Unexecuted instantiation: partition_strategy.c:partition_cdf_length Unexecuted instantiation: pass2_strategy.c:partition_cdf_length Unexecuted instantiation: pickcdef.c:partition_cdf_length Unexecuted instantiation: picklpf.c:partition_cdf_length Unexecuted instantiation: pickrst.c:partition_cdf_length Unexecuted instantiation: ratectrl.c:partition_cdf_length Unexecuted instantiation: rd.c:partition_cdf_length Unexecuted instantiation: rdopt.c:partition_cdf_length Unexecuted instantiation: nonrd_pickmode.c:partition_cdf_length Unexecuted instantiation: nonrd_opt.c:partition_cdf_length Unexecuted instantiation: reconinter_enc.c:partition_cdf_length Unexecuted instantiation: segmentation.c:partition_cdf_length Unexecuted instantiation: speed_features.c:partition_cdf_length Unexecuted instantiation: superres_scale.c:partition_cdf_length Unexecuted instantiation: svc_layercontext.c:partition_cdf_length Unexecuted instantiation: temporal_filter.c:partition_cdf_length Unexecuted instantiation: tokenize.c:partition_cdf_length Unexecuted instantiation: tpl_model.c:partition_cdf_length Unexecuted instantiation: tx_search.c:partition_cdf_length Unexecuted instantiation: txb_rdopt.c:partition_cdf_length Unexecuted instantiation: intra_mode_search.c:partition_cdf_length Unexecuted instantiation: var_based_part.c:partition_cdf_length Unexecuted instantiation: av1_noise_estimate.c:partition_cdf_length Unexecuted instantiation: variance.c:partition_cdf_length Unexecuted instantiation: pyramid.c:partition_cdf_length Unexecuted instantiation: alloccommon.c:partition_cdf_length Unexecuted instantiation: av1_loopfilter.c:partition_cdf_length Unexecuted instantiation: blockd.c:partition_cdf_length Unexecuted instantiation: cdef.c:partition_cdf_length Unexecuted instantiation: cdef_block.c:partition_cdf_length Unexecuted instantiation: cfl.c:partition_cdf_length Unexecuted instantiation: debugmodes.c:partition_cdf_length Unexecuted instantiation: entropy.c:partition_cdf_length Unexecuted instantiation: entropymode.c:partition_cdf_length Unexecuted instantiation: entropymv.c:partition_cdf_length Unexecuted instantiation: mvref_common.c:partition_cdf_length Unexecuted instantiation: pred_common.c:partition_cdf_length Unexecuted instantiation: quant_common.c:partition_cdf_length Unexecuted instantiation: reconinter.c:partition_cdf_length Unexecuted instantiation: reconintra.c:partition_cdf_length Unexecuted instantiation: resize.c:partition_cdf_length Unexecuted instantiation: restoration.c:partition_cdf_length Unexecuted instantiation: scan.c:partition_cdf_length Unexecuted instantiation: thread_common.c:partition_cdf_length Unexecuted instantiation: tile_common.c:partition_cdf_length Unexecuted instantiation: txb_common.c:partition_cdf_length Unexecuted instantiation: warped_motion.c:partition_cdf_length Unexecuted instantiation: aq_complexity.c:partition_cdf_length Unexecuted instantiation: aq_cyclicrefresh.c:partition_cdf_length Unexecuted instantiation: aq_variance.c:partition_cdf_length Unexecuted instantiation: cnn.c:partition_cdf_length Unexecuted instantiation: compound_type.c:partition_cdf_length Unexecuted instantiation: encode_strategy.c:partition_cdf_length Unexecuted instantiation: global_motion.c:partition_cdf_length Unexecuted instantiation: gop_structure.c:partition_cdf_length Unexecuted instantiation: interp_search.c:partition_cdf_length Unexecuted instantiation: motion_search_facade.c:partition_cdf_length Unexecuted instantiation: wedge_utils.c:partition_cdf_length Unexecuted instantiation: convolve.c:partition_cdf_length |
1557 | | |
1558 | | static inline int max_block_wide(const MACROBLOCKD *xd, BLOCK_SIZE bsize, |
1559 | 11.2M | int plane) { |
1560 | 11.2M | assert(bsize < BLOCK_SIZES_ALL); |
1561 | 11.2M | int max_blocks_wide = block_size_wide[bsize]; |
1562 | | |
1563 | 11.2M | if (xd->mb_to_right_edge < 0) { |
1564 | 919k | const struct macroblockd_plane *const pd = &xd->plane[plane]; |
1565 | 919k | max_blocks_wide += xd->mb_to_right_edge >> (3 + pd->subsampling_x); |
1566 | 919k | } |
1567 | | |
1568 | | // Scale the width in the transform block unit. |
1569 | 11.2M | return max_blocks_wide >> MI_SIZE_LOG2; |
1570 | 11.2M | } Unexecuted instantiation: av1_dx_iface.c:max_block_wide decodeframe.c:max_block_wide Line | Count | Source | 1559 | 10.5M | int plane) { | 1560 | 10.5M | assert(bsize < BLOCK_SIZES_ALL); | 1561 | 10.5M | int max_blocks_wide = block_size_wide[bsize]; | 1562 | | | 1563 | 10.5M | if (xd->mb_to_right_edge < 0) { | 1564 | 225k | const struct macroblockd_plane *const pd = &xd->plane[plane]; | 1565 | 225k | max_blocks_wide += xd->mb_to_right_edge >> (3 + pd->subsampling_x); | 1566 | 225k | } | 1567 | | | 1568 | | // Scale the width in the transform block unit. | 1569 | 10.5M | return max_blocks_wide >> MI_SIZE_LOG2; | 1570 | 10.5M | } |
Unexecuted instantiation: decodemv.c:max_block_wide Unexecuted instantiation: decoder.c:max_block_wide Unexecuted instantiation: decodetxb.c:max_block_wide Unexecuted instantiation: detokenize.c:max_block_wide Unexecuted instantiation: obu.c:max_block_wide Unexecuted instantiation: av1_cx_iface.c:max_block_wide Unexecuted instantiation: allintra_vis.c:max_block_wide Unexecuted instantiation: av1_quantize.c:max_block_wide Unexecuted instantiation: bitstream.c:max_block_wide Unexecuted instantiation: context_tree.c:max_block_wide Unexecuted instantiation: encodeframe.c:max_block_wide Unexecuted instantiation: encodeframe_utils.c:max_block_wide Unexecuted instantiation: encodemb.c:max_block_wide Unexecuted instantiation: encodemv.c:max_block_wide Unexecuted instantiation: encoder.c:max_block_wide Unexecuted instantiation: encoder_utils.c:max_block_wide Unexecuted instantiation: encodetxb.c:max_block_wide Unexecuted instantiation: ethread.c:max_block_wide Unexecuted instantiation: firstpass.c:max_block_wide Unexecuted instantiation: global_motion_facade.c:max_block_wide Unexecuted instantiation: hash_motion.c:max_block_wide Unexecuted instantiation: level.c:max_block_wide Unexecuted instantiation: lookahead.c:max_block_wide Unexecuted instantiation: mcomp.c:max_block_wide Unexecuted instantiation: mv_prec.c:max_block_wide Unexecuted instantiation: palette.c:max_block_wide Unexecuted instantiation: partition_search.c:max_block_wide Unexecuted instantiation: partition_strategy.c:max_block_wide Unexecuted instantiation: pass2_strategy.c:max_block_wide Unexecuted instantiation: pickcdef.c:max_block_wide Unexecuted instantiation: picklpf.c:max_block_wide Unexecuted instantiation: pickrst.c:max_block_wide Unexecuted instantiation: ratectrl.c:max_block_wide Unexecuted instantiation: rd.c:max_block_wide Unexecuted instantiation: rdopt.c:max_block_wide Unexecuted instantiation: nonrd_pickmode.c:max_block_wide Unexecuted instantiation: nonrd_opt.c:max_block_wide Unexecuted instantiation: reconinter_enc.c:max_block_wide Unexecuted instantiation: segmentation.c:max_block_wide Unexecuted instantiation: speed_features.c:max_block_wide Unexecuted instantiation: superres_scale.c:max_block_wide Unexecuted instantiation: svc_layercontext.c:max_block_wide Unexecuted instantiation: temporal_filter.c:max_block_wide Unexecuted instantiation: tokenize.c:max_block_wide Unexecuted instantiation: tpl_model.c:max_block_wide Unexecuted instantiation: tx_search.c:max_block_wide Unexecuted instantiation: txb_rdopt.c:max_block_wide Unexecuted instantiation: intra_mode_search.c:max_block_wide Unexecuted instantiation: var_based_part.c:max_block_wide Unexecuted instantiation: av1_noise_estimate.c:max_block_wide Unexecuted instantiation: variance.c:max_block_wide Unexecuted instantiation: pyramid.c:max_block_wide Unexecuted instantiation: alloccommon.c:max_block_wide Unexecuted instantiation: av1_loopfilter.c:max_block_wide Line | Count | Source | 1559 | 693k | int plane) { | 1560 | 693k | assert(bsize < BLOCK_SIZES_ALL); | 1561 | 693k | int max_blocks_wide = block_size_wide[bsize]; | 1562 | | | 1563 | 693k | if (xd->mb_to_right_edge < 0) { | 1564 | 693k | const struct macroblockd_plane *const pd = &xd->plane[plane]; | 1565 | 693k | max_blocks_wide += xd->mb_to_right_edge >> (3 + pd->subsampling_x); | 1566 | 693k | } | 1567 | | | 1568 | | // Scale the width in the transform block unit. | 1569 | 693k | return max_blocks_wide >> MI_SIZE_LOG2; | 1570 | 693k | } |
Unexecuted instantiation: cdef.c:max_block_wide Unexecuted instantiation: cdef_block.c:max_block_wide Line | Count | Source | 1559 | 15.6k | int plane) { | 1560 | 15.6k | assert(bsize < BLOCK_SIZES_ALL); | 1561 | 15.6k | int max_blocks_wide = block_size_wide[bsize]; | 1562 | | | 1563 | 15.6k | if (xd->mb_to_right_edge < 0) { | 1564 | 0 | const struct macroblockd_plane *const pd = &xd->plane[plane]; | 1565 | 0 | max_blocks_wide += xd->mb_to_right_edge >> (3 + pd->subsampling_x); | 1566 | 0 | } | 1567 | | | 1568 | | // Scale the width in the transform block unit. | 1569 | 15.6k | return max_blocks_wide >> MI_SIZE_LOG2; | 1570 | 15.6k | } |
Unexecuted instantiation: debugmodes.c:max_block_wide Unexecuted instantiation: entropy.c:max_block_wide Unexecuted instantiation: entropymode.c:max_block_wide Unexecuted instantiation: entropymv.c:max_block_wide Unexecuted instantiation: mvref_common.c:max_block_wide Unexecuted instantiation: pred_common.c:max_block_wide Unexecuted instantiation: quant_common.c:max_block_wide Unexecuted instantiation: reconinter.c:max_block_wide Unexecuted instantiation: reconintra.c:max_block_wide Unexecuted instantiation: resize.c:max_block_wide Unexecuted instantiation: restoration.c:max_block_wide Unexecuted instantiation: scan.c:max_block_wide Unexecuted instantiation: thread_common.c:max_block_wide Unexecuted instantiation: tile_common.c:max_block_wide Unexecuted instantiation: txb_common.c:max_block_wide Unexecuted instantiation: warped_motion.c:max_block_wide Unexecuted instantiation: aq_complexity.c:max_block_wide Unexecuted instantiation: aq_cyclicrefresh.c:max_block_wide Unexecuted instantiation: aq_variance.c:max_block_wide Unexecuted instantiation: cnn.c:max_block_wide Unexecuted instantiation: compound_type.c:max_block_wide Unexecuted instantiation: encode_strategy.c:max_block_wide Unexecuted instantiation: global_motion.c:max_block_wide Unexecuted instantiation: gop_structure.c:max_block_wide Unexecuted instantiation: interp_search.c:max_block_wide Unexecuted instantiation: motion_search_facade.c:max_block_wide Unexecuted instantiation: wedge_utils.c:max_block_wide Unexecuted instantiation: convolve.c:max_block_wide |
1571 | | |
1572 | | static inline int max_block_high(const MACROBLOCKD *xd, BLOCK_SIZE bsize, |
1573 | 10.9M | int plane) { |
1574 | 10.9M | int max_blocks_high = block_size_high[bsize]; |
1575 | | |
1576 | 10.9M | if (xd->mb_to_bottom_edge < 0) { |
1577 | 510k | const struct macroblockd_plane *const pd = &xd->plane[plane]; |
1578 | 510k | max_blocks_high += xd->mb_to_bottom_edge >> (3 + pd->subsampling_y); |
1579 | 510k | } |
1580 | | |
1581 | | // Scale the height in the transform block unit. |
1582 | 10.9M | return max_blocks_high >> MI_SIZE_LOG2; |
1583 | 10.9M | } Unexecuted instantiation: av1_dx_iface.c:max_block_high decodeframe.c:max_block_high Line | Count | Source | 1573 | 10.5M | int plane) { | 1574 | 10.5M | int max_blocks_high = block_size_high[bsize]; | 1575 | | | 1576 | 10.5M | if (xd->mb_to_bottom_edge < 0) { | 1577 | 104k | const struct macroblockd_plane *const pd = &xd->plane[plane]; | 1578 | 104k | max_blocks_high += xd->mb_to_bottom_edge >> (3 + pd->subsampling_y); | 1579 | 104k | } | 1580 | | | 1581 | | // Scale the height in the transform block unit. | 1582 | 10.5M | return max_blocks_high >> MI_SIZE_LOG2; | 1583 | 10.5M | } |
Unexecuted instantiation: decodemv.c:max_block_high Unexecuted instantiation: decoder.c:max_block_high Unexecuted instantiation: decodetxb.c:max_block_high Unexecuted instantiation: detokenize.c:max_block_high Unexecuted instantiation: obu.c:max_block_high Unexecuted instantiation: av1_cx_iface.c:max_block_high Unexecuted instantiation: allintra_vis.c:max_block_high Unexecuted instantiation: av1_quantize.c:max_block_high Unexecuted instantiation: bitstream.c:max_block_high Unexecuted instantiation: context_tree.c:max_block_high Unexecuted instantiation: encodeframe.c:max_block_high Unexecuted instantiation: encodeframe_utils.c:max_block_high Unexecuted instantiation: encodemb.c:max_block_high Unexecuted instantiation: encodemv.c:max_block_high Unexecuted instantiation: encoder.c:max_block_high Unexecuted instantiation: encoder_utils.c:max_block_high Unexecuted instantiation: encodetxb.c:max_block_high Unexecuted instantiation: ethread.c:max_block_high Unexecuted instantiation: firstpass.c:max_block_high Unexecuted instantiation: global_motion_facade.c:max_block_high Unexecuted instantiation: hash_motion.c:max_block_high Unexecuted instantiation: level.c:max_block_high Unexecuted instantiation: lookahead.c:max_block_high Unexecuted instantiation: mcomp.c:max_block_high Unexecuted instantiation: mv_prec.c:max_block_high Unexecuted instantiation: palette.c:max_block_high Unexecuted instantiation: partition_search.c:max_block_high Unexecuted instantiation: partition_strategy.c:max_block_high Unexecuted instantiation: pass2_strategy.c:max_block_high Unexecuted instantiation: pickcdef.c:max_block_high Unexecuted instantiation: picklpf.c:max_block_high Unexecuted instantiation: pickrst.c:max_block_high Unexecuted instantiation: ratectrl.c:max_block_high Unexecuted instantiation: rd.c:max_block_high Unexecuted instantiation: rdopt.c:max_block_high Unexecuted instantiation: nonrd_pickmode.c:max_block_high Unexecuted instantiation: nonrd_opt.c:max_block_high Unexecuted instantiation: reconinter_enc.c:max_block_high Unexecuted instantiation: segmentation.c:max_block_high Unexecuted instantiation: speed_features.c:max_block_high Unexecuted instantiation: superres_scale.c:max_block_high Unexecuted instantiation: svc_layercontext.c:max_block_high Unexecuted instantiation: temporal_filter.c:max_block_high Unexecuted instantiation: tokenize.c:max_block_high Unexecuted instantiation: tpl_model.c:max_block_high Unexecuted instantiation: tx_search.c:max_block_high Unexecuted instantiation: txb_rdopt.c:max_block_high Unexecuted instantiation: intra_mode_search.c:max_block_high Unexecuted instantiation: var_based_part.c:max_block_high Unexecuted instantiation: av1_noise_estimate.c:max_block_high Unexecuted instantiation: variance.c:max_block_high Unexecuted instantiation: pyramid.c:max_block_high Unexecuted instantiation: alloccommon.c:max_block_high Unexecuted instantiation: av1_loopfilter.c:max_block_high Line | Count | Source | 1573 | 405k | int plane) { | 1574 | 405k | int max_blocks_high = block_size_high[bsize]; | 1575 | | | 1576 | 405k | if (xd->mb_to_bottom_edge < 0) { | 1577 | 405k | const struct macroblockd_plane *const pd = &xd->plane[plane]; | 1578 | 405k | max_blocks_high += xd->mb_to_bottom_edge >> (3 + pd->subsampling_y); | 1579 | 405k | } | 1580 | | | 1581 | | // Scale the height in the transform block unit. | 1582 | 405k | return max_blocks_high >> MI_SIZE_LOG2; | 1583 | 405k | } |
Unexecuted instantiation: cdef.c:max_block_high Unexecuted instantiation: cdef_block.c:max_block_high Line | Count | Source | 1573 | 15.6k | int plane) { | 1574 | 15.6k | int max_blocks_high = block_size_high[bsize]; | 1575 | | | 1576 | 15.6k | if (xd->mb_to_bottom_edge < 0) { | 1577 | 0 | const struct macroblockd_plane *const pd = &xd->plane[plane]; | 1578 | 0 | max_blocks_high += xd->mb_to_bottom_edge >> (3 + pd->subsampling_y); | 1579 | 0 | } | 1580 | | | 1581 | | // Scale the height in the transform block unit. | 1582 | 15.6k | return max_blocks_high >> MI_SIZE_LOG2; | 1583 | 15.6k | } |
Unexecuted instantiation: debugmodes.c:max_block_high Unexecuted instantiation: entropy.c:max_block_high Unexecuted instantiation: entropymode.c:max_block_high Unexecuted instantiation: entropymv.c:max_block_high Unexecuted instantiation: mvref_common.c:max_block_high Unexecuted instantiation: pred_common.c:max_block_high Unexecuted instantiation: quant_common.c:max_block_high Unexecuted instantiation: reconinter.c:max_block_high Unexecuted instantiation: reconintra.c:max_block_high Unexecuted instantiation: resize.c:max_block_high Unexecuted instantiation: restoration.c:max_block_high Unexecuted instantiation: scan.c:max_block_high Unexecuted instantiation: thread_common.c:max_block_high Unexecuted instantiation: tile_common.c:max_block_high Unexecuted instantiation: txb_common.c:max_block_high Unexecuted instantiation: warped_motion.c:max_block_high Unexecuted instantiation: aq_complexity.c:max_block_high Unexecuted instantiation: aq_cyclicrefresh.c:max_block_high Unexecuted instantiation: aq_variance.c:max_block_high Unexecuted instantiation: cnn.c:max_block_high Unexecuted instantiation: compound_type.c:max_block_high Unexecuted instantiation: encode_strategy.c:max_block_high Unexecuted instantiation: global_motion.c:max_block_high Unexecuted instantiation: gop_structure.c:max_block_high Unexecuted instantiation: interp_search.c:max_block_high Unexecuted instantiation: motion_search_facade.c:max_block_high Unexecuted instantiation: wedge_utils.c:max_block_high Unexecuted instantiation: convolve.c:max_block_high |
1584 | | |
1585 | | static inline void av1_zero_above_context(AV1_COMMON *const cm, |
1586 | | const MACROBLOCKD *xd, |
1587 | | int mi_col_start, int mi_col_end, |
1588 | 57.1k | const int tile_row) { |
1589 | 57.1k | const SequenceHeader *const seq_params = cm->seq_params; |
1590 | 57.1k | const int num_planes = av1_num_planes(cm); |
1591 | 57.1k | const int width = mi_col_end - mi_col_start; |
1592 | 57.1k | const int aligned_width = |
1593 | 57.1k | ALIGN_POWER_OF_TWO(width, seq_params->mib_size_log2); |
1594 | 57.1k | const int offset_y = mi_col_start; |
1595 | 57.1k | const int width_y = aligned_width; |
1596 | 57.1k | const int offset_uv = offset_y >> seq_params->subsampling_x; |
1597 | 57.1k | const int width_uv = width_y >> seq_params->subsampling_x; |
1598 | 57.1k | CommonContexts *const above_contexts = &cm->above_contexts; |
1599 | | |
1600 | 57.1k | av1_zero_array(above_contexts->entropy[0][tile_row] + offset_y, width_y); |
1601 | 57.1k | if (num_planes > 1) { |
1602 | 39.7k | if (above_contexts->entropy[1][tile_row] && |
1603 | 39.7k | above_contexts->entropy[2][tile_row]) { |
1604 | 39.7k | av1_zero_array(above_contexts->entropy[1][tile_row] + offset_uv, |
1605 | 39.7k | width_uv); |
1606 | 39.7k | av1_zero_array(above_contexts->entropy[2][tile_row] + offset_uv, |
1607 | 39.7k | width_uv); |
1608 | 39.7k | } else { |
1609 | 0 | aom_internal_error(xd->error_info, AOM_CODEC_CORRUPT_FRAME, |
1610 | 0 | "Invalid value of planes"); |
1611 | 0 | } |
1612 | 39.7k | } |
1613 | | |
1614 | 57.1k | av1_zero_array(above_contexts->partition[tile_row] + mi_col_start, |
1615 | 57.1k | aligned_width); |
1616 | | |
1617 | 57.1k | memset(above_contexts->txfm[tile_row] + mi_col_start, |
1618 | 57.1k | tx_size_wide[TX_SIZES_LARGEST], aligned_width * sizeof(TXFM_CONTEXT)); |
1619 | 57.1k | } Unexecuted instantiation: av1_dx_iface.c:av1_zero_above_context decodeframe.c:av1_zero_above_context Line | Count | Source | 1588 | 57.1k | const int tile_row) { | 1589 | 57.1k | const SequenceHeader *const seq_params = cm->seq_params; | 1590 | 57.1k | const int num_planes = av1_num_planes(cm); | 1591 | 57.1k | const int width = mi_col_end - mi_col_start; | 1592 | 57.1k | const int aligned_width = | 1593 | 57.1k | ALIGN_POWER_OF_TWO(width, seq_params->mib_size_log2); | 1594 | 57.1k | const int offset_y = mi_col_start; | 1595 | 57.1k | const int width_y = aligned_width; | 1596 | 57.1k | const int offset_uv = offset_y >> seq_params->subsampling_x; | 1597 | 57.1k | const int width_uv = width_y >> seq_params->subsampling_x; | 1598 | 57.1k | CommonContexts *const above_contexts = &cm->above_contexts; | 1599 | | | 1600 | 57.1k | av1_zero_array(above_contexts->entropy[0][tile_row] + offset_y, width_y); | 1601 | 57.1k | if (num_planes > 1) { | 1602 | 39.7k | if (above_contexts->entropy[1][tile_row] && | 1603 | 39.7k | above_contexts->entropy[2][tile_row]) { | 1604 | 39.7k | av1_zero_array(above_contexts->entropy[1][tile_row] + offset_uv, | 1605 | 39.7k | width_uv); | 1606 | 39.7k | av1_zero_array(above_contexts->entropy[2][tile_row] + offset_uv, | 1607 | 39.7k | width_uv); | 1608 | 39.7k | } else { | 1609 | 0 | aom_internal_error(xd->error_info, AOM_CODEC_CORRUPT_FRAME, | 1610 | 0 | "Invalid value of planes"); | 1611 | 0 | } | 1612 | 39.7k | } | 1613 | | | 1614 | 57.1k | av1_zero_array(above_contexts->partition[tile_row] + mi_col_start, | 1615 | 57.1k | aligned_width); | 1616 | | | 1617 | 57.1k | memset(above_contexts->txfm[tile_row] + mi_col_start, | 1618 | 57.1k | tx_size_wide[TX_SIZES_LARGEST], aligned_width * sizeof(TXFM_CONTEXT)); | 1619 | 57.1k | } |
Unexecuted instantiation: decodemv.c:av1_zero_above_context Unexecuted instantiation: decoder.c:av1_zero_above_context Unexecuted instantiation: decodetxb.c:av1_zero_above_context Unexecuted instantiation: detokenize.c:av1_zero_above_context Unexecuted instantiation: obu.c:av1_zero_above_context Unexecuted instantiation: av1_cx_iface.c:av1_zero_above_context Unexecuted instantiation: allintra_vis.c:av1_zero_above_context Unexecuted instantiation: av1_quantize.c:av1_zero_above_context Unexecuted instantiation: bitstream.c:av1_zero_above_context Unexecuted instantiation: context_tree.c:av1_zero_above_context Unexecuted instantiation: encodeframe.c:av1_zero_above_context Unexecuted instantiation: encodeframe_utils.c:av1_zero_above_context Unexecuted instantiation: encodemb.c:av1_zero_above_context Unexecuted instantiation: encodemv.c:av1_zero_above_context Unexecuted instantiation: encoder.c:av1_zero_above_context Unexecuted instantiation: encoder_utils.c:av1_zero_above_context Unexecuted instantiation: encodetxb.c:av1_zero_above_context Unexecuted instantiation: ethread.c:av1_zero_above_context Unexecuted instantiation: firstpass.c:av1_zero_above_context Unexecuted instantiation: global_motion_facade.c:av1_zero_above_context Unexecuted instantiation: hash_motion.c:av1_zero_above_context Unexecuted instantiation: level.c:av1_zero_above_context Unexecuted instantiation: lookahead.c:av1_zero_above_context Unexecuted instantiation: mcomp.c:av1_zero_above_context Unexecuted instantiation: mv_prec.c:av1_zero_above_context Unexecuted instantiation: palette.c:av1_zero_above_context Unexecuted instantiation: partition_search.c:av1_zero_above_context Unexecuted instantiation: partition_strategy.c:av1_zero_above_context Unexecuted instantiation: pass2_strategy.c:av1_zero_above_context Unexecuted instantiation: pickcdef.c:av1_zero_above_context Unexecuted instantiation: picklpf.c:av1_zero_above_context Unexecuted instantiation: pickrst.c:av1_zero_above_context Unexecuted instantiation: ratectrl.c:av1_zero_above_context Unexecuted instantiation: rd.c:av1_zero_above_context Unexecuted instantiation: rdopt.c:av1_zero_above_context Unexecuted instantiation: nonrd_pickmode.c:av1_zero_above_context Unexecuted instantiation: nonrd_opt.c:av1_zero_above_context Unexecuted instantiation: reconinter_enc.c:av1_zero_above_context Unexecuted instantiation: segmentation.c:av1_zero_above_context Unexecuted instantiation: speed_features.c:av1_zero_above_context Unexecuted instantiation: superres_scale.c:av1_zero_above_context Unexecuted instantiation: svc_layercontext.c:av1_zero_above_context Unexecuted instantiation: temporal_filter.c:av1_zero_above_context Unexecuted instantiation: tokenize.c:av1_zero_above_context Unexecuted instantiation: tpl_model.c:av1_zero_above_context Unexecuted instantiation: tx_search.c:av1_zero_above_context Unexecuted instantiation: txb_rdopt.c:av1_zero_above_context Unexecuted instantiation: intra_mode_search.c:av1_zero_above_context Unexecuted instantiation: var_based_part.c:av1_zero_above_context Unexecuted instantiation: av1_noise_estimate.c:av1_zero_above_context Unexecuted instantiation: variance.c:av1_zero_above_context Unexecuted instantiation: pyramid.c:av1_zero_above_context Unexecuted instantiation: alloccommon.c:av1_zero_above_context Unexecuted instantiation: av1_loopfilter.c:av1_zero_above_context Unexecuted instantiation: blockd.c:av1_zero_above_context Unexecuted instantiation: cdef.c:av1_zero_above_context Unexecuted instantiation: cdef_block.c:av1_zero_above_context Unexecuted instantiation: cfl.c:av1_zero_above_context Unexecuted instantiation: debugmodes.c:av1_zero_above_context Unexecuted instantiation: entropy.c:av1_zero_above_context Unexecuted instantiation: entropymode.c:av1_zero_above_context Unexecuted instantiation: entropymv.c:av1_zero_above_context Unexecuted instantiation: mvref_common.c:av1_zero_above_context Unexecuted instantiation: pred_common.c:av1_zero_above_context Unexecuted instantiation: quant_common.c:av1_zero_above_context Unexecuted instantiation: reconinter.c:av1_zero_above_context Unexecuted instantiation: reconintra.c:av1_zero_above_context Unexecuted instantiation: resize.c:av1_zero_above_context Unexecuted instantiation: restoration.c:av1_zero_above_context Unexecuted instantiation: scan.c:av1_zero_above_context Unexecuted instantiation: thread_common.c:av1_zero_above_context Unexecuted instantiation: tile_common.c:av1_zero_above_context Unexecuted instantiation: txb_common.c:av1_zero_above_context Unexecuted instantiation: warped_motion.c:av1_zero_above_context Unexecuted instantiation: aq_complexity.c:av1_zero_above_context Unexecuted instantiation: aq_cyclicrefresh.c:av1_zero_above_context Unexecuted instantiation: aq_variance.c:av1_zero_above_context Unexecuted instantiation: cnn.c:av1_zero_above_context Unexecuted instantiation: compound_type.c:av1_zero_above_context Unexecuted instantiation: encode_strategy.c:av1_zero_above_context Unexecuted instantiation: global_motion.c:av1_zero_above_context Unexecuted instantiation: gop_structure.c:av1_zero_above_context Unexecuted instantiation: interp_search.c:av1_zero_above_context Unexecuted instantiation: motion_search_facade.c:av1_zero_above_context Unexecuted instantiation: wedge_utils.c:av1_zero_above_context Unexecuted instantiation: convolve.c:av1_zero_above_context |
1620 | | |
1621 | 217k | static inline void av1_zero_left_context(MACROBLOCKD *const xd) { |
1622 | 217k | av1_zero(xd->left_entropy_context); |
1623 | 217k | av1_zero(xd->left_partition_context); |
1624 | | |
1625 | 217k | memset(xd->left_txfm_context_buffer, tx_size_high[TX_SIZES_LARGEST], |
1626 | 217k | sizeof(xd->left_txfm_context_buffer)); |
1627 | 217k | } Unexecuted instantiation: av1_dx_iface.c:av1_zero_left_context decodeframe.c:av1_zero_left_context Line | Count | Source | 1621 | 217k | static inline void av1_zero_left_context(MACROBLOCKD *const xd) { | 1622 | 217k | av1_zero(xd->left_entropy_context); | 1623 | 217k | av1_zero(xd->left_partition_context); | 1624 | | | 1625 | 217k | memset(xd->left_txfm_context_buffer, tx_size_high[TX_SIZES_LARGEST], | 1626 | 217k | sizeof(xd->left_txfm_context_buffer)); | 1627 | 217k | } |
Unexecuted instantiation: decodemv.c:av1_zero_left_context Unexecuted instantiation: decoder.c:av1_zero_left_context Unexecuted instantiation: decodetxb.c:av1_zero_left_context Unexecuted instantiation: detokenize.c:av1_zero_left_context Unexecuted instantiation: obu.c:av1_zero_left_context Unexecuted instantiation: av1_cx_iface.c:av1_zero_left_context Unexecuted instantiation: allintra_vis.c:av1_zero_left_context Unexecuted instantiation: av1_quantize.c:av1_zero_left_context Unexecuted instantiation: bitstream.c:av1_zero_left_context Unexecuted instantiation: context_tree.c:av1_zero_left_context Unexecuted instantiation: encodeframe.c:av1_zero_left_context Unexecuted instantiation: encodeframe_utils.c:av1_zero_left_context Unexecuted instantiation: encodemb.c:av1_zero_left_context Unexecuted instantiation: encodemv.c:av1_zero_left_context Unexecuted instantiation: encoder.c:av1_zero_left_context Unexecuted instantiation: encoder_utils.c:av1_zero_left_context Unexecuted instantiation: encodetxb.c:av1_zero_left_context Unexecuted instantiation: ethread.c:av1_zero_left_context Unexecuted instantiation: firstpass.c:av1_zero_left_context Unexecuted instantiation: global_motion_facade.c:av1_zero_left_context Unexecuted instantiation: hash_motion.c:av1_zero_left_context Unexecuted instantiation: level.c:av1_zero_left_context Unexecuted instantiation: lookahead.c:av1_zero_left_context Unexecuted instantiation: mcomp.c:av1_zero_left_context Unexecuted instantiation: mv_prec.c:av1_zero_left_context Unexecuted instantiation: palette.c:av1_zero_left_context Unexecuted instantiation: partition_search.c:av1_zero_left_context Unexecuted instantiation: partition_strategy.c:av1_zero_left_context Unexecuted instantiation: pass2_strategy.c:av1_zero_left_context Unexecuted instantiation: pickcdef.c:av1_zero_left_context Unexecuted instantiation: picklpf.c:av1_zero_left_context Unexecuted instantiation: pickrst.c:av1_zero_left_context Unexecuted instantiation: ratectrl.c:av1_zero_left_context Unexecuted instantiation: rd.c:av1_zero_left_context Unexecuted instantiation: rdopt.c:av1_zero_left_context Unexecuted instantiation: nonrd_pickmode.c:av1_zero_left_context Unexecuted instantiation: nonrd_opt.c:av1_zero_left_context Unexecuted instantiation: reconinter_enc.c:av1_zero_left_context Unexecuted instantiation: segmentation.c:av1_zero_left_context Unexecuted instantiation: speed_features.c:av1_zero_left_context Unexecuted instantiation: superres_scale.c:av1_zero_left_context Unexecuted instantiation: svc_layercontext.c:av1_zero_left_context Unexecuted instantiation: temporal_filter.c:av1_zero_left_context Unexecuted instantiation: tokenize.c:av1_zero_left_context Unexecuted instantiation: tpl_model.c:av1_zero_left_context Unexecuted instantiation: tx_search.c:av1_zero_left_context Unexecuted instantiation: txb_rdopt.c:av1_zero_left_context Unexecuted instantiation: intra_mode_search.c:av1_zero_left_context Unexecuted instantiation: var_based_part.c:av1_zero_left_context Unexecuted instantiation: av1_noise_estimate.c:av1_zero_left_context Unexecuted instantiation: variance.c:av1_zero_left_context Unexecuted instantiation: pyramid.c:av1_zero_left_context Unexecuted instantiation: alloccommon.c:av1_zero_left_context Unexecuted instantiation: av1_loopfilter.c:av1_zero_left_context Unexecuted instantiation: blockd.c:av1_zero_left_context Unexecuted instantiation: cdef.c:av1_zero_left_context Unexecuted instantiation: cdef_block.c:av1_zero_left_context Unexecuted instantiation: cfl.c:av1_zero_left_context Unexecuted instantiation: debugmodes.c:av1_zero_left_context Unexecuted instantiation: entropy.c:av1_zero_left_context Unexecuted instantiation: entropymode.c:av1_zero_left_context Unexecuted instantiation: entropymv.c:av1_zero_left_context Unexecuted instantiation: mvref_common.c:av1_zero_left_context Unexecuted instantiation: pred_common.c:av1_zero_left_context Unexecuted instantiation: quant_common.c:av1_zero_left_context Unexecuted instantiation: reconinter.c:av1_zero_left_context Unexecuted instantiation: reconintra.c:av1_zero_left_context Unexecuted instantiation: resize.c:av1_zero_left_context Unexecuted instantiation: restoration.c:av1_zero_left_context Unexecuted instantiation: scan.c:av1_zero_left_context Unexecuted instantiation: thread_common.c:av1_zero_left_context Unexecuted instantiation: tile_common.c:av1_zero_left_context Unexecuted instantiation: txb_common.c:av1_zero_left_context Unexecuted instantiation: warped_motion.c:av1_zero_left_context Unexecuted instantiation: aq_complexity.c:av1_zero_left_context Unexecuted instantiation: aq_cyclicrefresh.c:av1_zero_left_context Unexecuted instantiation: aq_variance.c:av1_zero_left_context Unexecuted instantiation: cnn.c:av1_zero_left_context Unexecuted instantiation: compound_type.c:av1_zero_left_context Unexecuted instantiation: encode_strategy.c:av1_zero_left_context Unexecuted instantiation: global_motion.c:av1_zero_left_context Unexecuted instantiation: gop_structure.c:av1_zero_left_context Unexecuted instantiation: interp_search.c:av1_zero_left_context Unexecuted instantiation: motion_search_facade.c:av1_zero_left_context Unexecuted instantiation: wedge_utils.c:av1_zero_left_context Unexecuted instantiation: convolve.c:av1_zero_left_context |
1628 | | |
1629 | 12.7M | static inline void set_txfm_ctx(TXFM_CONTEXT *txfm_ctx, uint8_t txs, int len) { |
1630 | 12.7M | int i; |
1631 | 58.6M | for (i = 0; i < len; ++i) txfm_ctx[i] = txs; |
1632 | 12.7M | } Unexecuted instantiation: av1_dx_iface.c:set_txfm_ctx decodeframe.c:set_txfm_ctx Line | Count | Source | 1629 | 12.7M | static inline void set_txfm_ctx(TXFM_CONTEXT *txfm_ctx, uint8_t txs, int len) { | 1630 | 12.7M | int i; | 1631 | 58.6M | for (i = 0; i < len; ++i) txfm_ctx[i] = txs; | 1632 | 12.7M | } |
Unexecuted instantiation: decodemv.c:set_txfm_ctx Unexecuted instantiation: decoder.c:set_txfm_ctx Unexecuted instantiation: decodetxb.c:set_txfm_ctx Unexecuted instantiation: detokenize.c:set_txfm_ctx Unexecuted instantiation: obu.c:set_txfm_ctx Unexecuted instantiation: av1_cx_iface.c:set_txfm_ctx Unexecuted instantiation: allintra_vis.c:set_txfm_ctx Unexecuted instantiation: av1_quantize.c:set_txfm_ctx Unexecuted instantiation: bitstream.c:set_txfm_ctx Unexecuted instantiation: context_tree.c:set_txfm_ctx Unexecuted instantiation: encodeframe.c:set_txfm_ctx Unexecuted instantiation: encodeframe_utils.c:set_txfm_ctx Unexecuted instantiation: encodemb.c:set_txfm_ctx Unexecuted instantiation: encodemv.c:set_txfm_ctx Unexecuted instantiation: encoder.c:set_txfm_ctx Unexecuted instantiation: encoder_utils.c:set_txfm_ctx Unexecuted instantiation: encodetxb.c:set_txfm_ctx Unexecuted instantiation: ethread.c:set_txfm_ctx Unexecuted instantiation: firstpass.c:set_txfm_ctx Unexecuted instantiation: global_motion_facade.c:set_txfm_ctx Unexecuted instantiation: hash_motion.c:set_txfm_ctx Unexecuted instantiation: level.c:set_txfm_ctx Unexecuted instantiation: lookahead.c:set_txfm_ctx Unexecuted instantiation: mcomp.c:set_txfm_ctx Unexecuted instantiation: mv_prec.c:set_txfm_ctx Unexecuted instantiation: palette.c:set_txfm_ctx Unexecuted instantiation: partition_search.c:set_txfm_ctx Unexecuted instantiation: partition_strategy.c:set_txfm_ctx Unexecuted instantiation: pass2_strategy.c:set_txfm_ctx Unexecuted instantiation: pickcdef.c:set_txfm_ctx Unexecuted instantiation: picklpf.c:set_txfm_ctx Unexecuted instantiation: pickrst.c:set_txfm_ctx Unexecuted instantiation: ratectrl.c:set_txfm_ctx Unexecuted instantiation: rd.c:set_txfm_ctx Unexecuted instantiation: rdopt.c:set_txfm_ctx Unexecuted instantiation: nonrd_pickmode.c:set_txfm_ctx Unexecuted instantiation: nonrd_opt.c:set_txfm_ctx Unexecuted instantiation: reconinter_enc.c:set_txfm_ctx Unexecuted instantiation: segmentation.c:set_txfm_ctx Unexecuted instantiation: speed_features.c:set_txfm_ctx Unexecuted instantiation: superres_scale.c:set_txfm_ctx Unexecuted instantiation: svc_layercontext.c:set_txfm_ctx Unexecuted instantiation: temporal_filter.c:set_txfm_ctx Unexecuted instantiation: tokenize.c:set_txfm_ctx Unexecuted instantiation: tpl_model.c:set_txfm_ctx Unexecuted instantiation: tx_search.c:set_txfm_ctx Unexecuted instantiation: txb_rdopt.c:set_txfm_ctx Unexecuted instantiation: intra_mode_search.c:set_txfm_ctx Unexecuted instantiation: var_based_part.c:set_txfm_ctx Unexecuted instantiation: av1_noise_estimate.c:set_txfm_ctx Unexecuted instantiation: variance.c:set_txfm_ctx Unexecuted instantiation: pyramid.c:set_txfm_ctx Unexecuted instantiation: alloccommon.c:set_txfm_ctx Unexecuted instantiation: av1_loopfilter.c:set_txfm_ctx Unexecuted instantiation: blockd.c:set_txfm_ctx Unexecuted instantiation: cdef.c:set_txfm_ctx Unexecuted instantiation: cdef_block.c:set_txfm_ctx Unexecuted instantiation: cfl.c:set_txfm_ctx Unexecuted instantiation: debugmodes.c:set_txfm_ctx Unexecuted instantiation: entropy.c:set_txfm_ctx Unexecuted instantiation: entropymode.c:set_txfm_ctx Unexecuted instantiation: entropymv.c:set_txfm_ctx Unexecuted instantiation: mvref_common.c:set_txfm_ctx Unexecuted instantiation: pred_common.c:set_txfm_ctx Unexecuted instantiation: quant_common.c:set_txfm_ctx Unexecuted instantiation: reconinter.c:set_txfm_ctx Unexecuted instantiation: reconintra.c:set_txfm_ctx Unexecuted instantiation: resize.c:set_txfm_ctx Unexecuted instantiation: restoration.c:set_txfm_ctx Unexecuted instantiation: scan.c:set_txfm_ctx Unexecuted instantiation: thread_common.c:set_txfm_ctx Unexecuted instantiation: tile_common.c:set_txfm_ctx Unexecuted instantiation: txb_common.c:set_txfm_ctx Unexecuted instantiation: warped_motion.c:set_txfm_ctx Unexecuted instantiation: aq_complexity.c:set_txfm_ctx Unexecuted instantiation: aq_cyclicrefresh.c:set_txfm_ctx Unexecuted instantiation: aq_variance.c:set_txfm_ctx Unexecuted instantiation: cnn.c:set_txfm_ctx Unexecuted instantiation: compound_type.c:set_txfm_ctx Unexecuted instantiation: encode_strategy.c:set_txfm_ctx Unexecuted instantiation: global_motion.c:set_txfm_ctx Unexecuted instantiation: gop_structure.c:set_txfm_ctx Unexecuted instantiation: interp_search.c:set_txfm_ctx Unexecuted instantiation: motion_search_facade.c:set_txfm_ctx Unexecuted instantiation: wedge_utils.c:set_txfm_ctx Unexecuted instantiation: convolve.c:set_txfm_ctx |
1633 | | |
1634 | | static inline void set_txfm_ctxs(TX_SIZE tx_size, int n4_w, int n4_h, int skip, |
1635 | 6.37M | const MACROBLOCKD *xd) { |
1636 | 6.37M | uint8_t bw = tx_size_wide[tx_size]; |
1637 | 6.37M | uint8_t bh = tx_size_high[tx_size]; |
1638 | | |
1639 | 6.37M | if (skip) { |
1640 | 172k | bw = n4_w * MI_SIZE; |
1641 | 172k | bh = n4_h * MI_SIZE; |
1642 | 172k | } |
1643 | | |
1644 | 6.37M | set_txfm_ctx(xd->above_txfm_context, bw, n4_w); |
1645 | 6.37M | set_txfm_ctx(xd->left_txfm_context, bh, n4_h); |
1646 | 6.37M | } Unexecuted instantiation: av1_dx_iface.c:set_txfm_ctxs decodeframe.c:set_txfm_ctxs Line | Count | Source | 1635 | 6.37M | const MACROBLOCKD *xd) { | 1636 | 6.37M | uint8_t bw = tx_size_wide[tx_size]; | 1637 | 6.37M | uint8_t bh = tx_size_high[tx_size]; | 1638 | | | 1639 | 6.37M | if (skip) { | 1640 | 172k | bw = n4_w * MI_SIZE; | 1641 | 172k | bh = n4_h * MI_SIZE; | 1642 | 172k | } | 1643 | | | 1644 | 6.37M | set_txfm_ctx(xd->above_txfm_context, bw, n4_w); | 1645 | 6.37M | set_txfm_ctx(xd->left_txfm_context, bh, n4_h); | 1646 | 6.37M | } |
Unexecuted instantiation: decodemv.c:set_txfm_ctxs Unexecuted instantiation: decoder.c:set_txfm_ctxs Unexecuted instantiation: decodetxb.c:set_txfm_ctxs Unexecuted instantiation: detokenize.c:set_txfm_ctxs Unexecuted instantiation: obu.c:set_txfm_ctxs Unexecuted instantiation: av1_cx_iface.c:set_txfm_ctxs Unexecuted instantiation: allintra_vis.c:set_txfm_ctxs Unexecuted instantiation: av1_quantize.c:set_txfm_ctxs Unexecuted instantiation: bitstream.c:set_txfm_ctxs Unexecuted instantiation: context_tree.c:set_txfm_ctxs Unexecuted instantiation: encodeframe.c:set_txfm_ctxs Unexecuted instantiation: encodeframe_utils.c:set_txfm_ctxs Unexecuted instantiation: encodemb.c:set_txfm_ctxs Unexecuted instantiation: encodemv.c:set_txfm_ctxs Unexecuted instantiation: encoder.c:set_txfm_ctxs Unexecuted instantiation: encoder_utils.c:set_txfm_ctxs Unexecuted instantiation: encodetxb.c:set_txfm_ctxs Unexecuted instantiation: ethread.c:set_txfm_ctxs Unexecuted instantiation: firstpass.c:set_txfm_ctxs Unexecuted instantiation: global_motion_facade.c:set_txfm_ctxs Unexecuted instantiation: hash_motion.c:set_txfm_ctxs Unexecuted instantiation: level.c:set_txfm_ctxs Unexecuted instantiation: lookahead.c:set_txfm_ctxs Unexecuted instantiation: mcomp.c:set_txfm_ctxs Unexecuted instantiation: mv_prec.c:set_txfm_ctxs Unexecuted instantiation: palette.c:set_txfm_ctxs Unexecuted instantiation: partition_search.c:set_txfm_ctxs Unexecuted instantiation: partition_strategy.c:set_txfm_ctxs Unexecuted instantiation: pass2_strategy.c:set_txfm_ctxs Unexecuted instantiation: pickcdef.c:set_txfm_ctxs Unexecuted instantiation: picklpf.c:set_txfm_ctxs Unexecuted instantiation: pickrst.c:set_txfm_ctxs Unexecuted instantiation: ratectrl.c:set_txfm_ctxs Unexecuted instantiation: rd.c:set_txfm_ctxs Unexecuted instantiation: rdopt.c:set_txfm_ctxs Unexecuted instantiation: nonrd_pickmode.c:set_txfm_ctxs Unexecuted instantiation: nonrd_opt.c:set_txfm_ctxs Unexecuted instantiation: reconinter_enc.c:set_txfm_ctxs Unexecuted instantiation: segmentation.c:set_txfm_ctxs Unexecuted instantiation: speed_features.c:set_txfm_ctxs Unexecuted instantiation: superres_scale.c:set_txfm_ctxs Unexecuted instantiation: svc_layercontext.c:set_txfm_ctxs Unexecuted instantiation: temporal_filter.c:set_txfm_ctxs Unexecuted instantiation: tokenize.c:set_txfm_ctxs Unexecuted instantiation: tpl_model.c:set_txfm_ctxs Unexecuted instantiation: tx_search.c:set_txfm_ctxs Unexecuted instantiation: txb_rdopt.c:set_txfm_ctxs Unexecuted instantiation: intra_mode_search.c:set_txfm_ctxs Unexecuted instantiation: var_based_part.c:set_txfm_ctxs Unexecuted instantiation: av1_noise_estimate.c:set_txfm_ctxs Unexecuted instantiation: variance.c:set_txfm_ctxs Unexecuted instantiation: pyramid.c:set_txfm_ctxs Unexecuted instantiation: alloccommon.c:set_txfm_ctxs Unexecuted instantiation: av1_loopfilter.c:set_txfm_ctxs Unexecuted instantiation: blockd.c:set_txfm_ctxs Unexecuted instantiation: cdef.c:set_txfm_ctxs Unexecuted instantiation: cdef_block.c:set_txfm_ctxs Unexecuted instantiation: cfl.c:set_txfm_ctxs Unexecuted instantiation: debugmodes.c:set_txfm_ctxs Unexecuted instantiation: entropy.c:set_txfm_ctxs Unexecuted instantiation: entropymode.c:set_txfm_ctxs Unexecuted instantiation: entropymv.c:set_txfm_ctxs Unexecuted instantiation: mvref_common.c:set_txfm_ctxs Unexecuted instantiation: pred_common.c:set_txfm_ctxs Unexecuted instantiation: quant_common.c:set_txfm_ctxs Unexecuted instantiation: reconinter.c:set_txfm_ctxs Unexecuted instantiation: reconintra.c:set_txfm_ctxs Unexecuted instantiation: resize.c:set_txfm_ctxs Unexecuted instantiation: restoration.c:set_txfm_ctxs Unexecuted instantiation: scan.c:set_txfm_ctxs Unexecuted instantiation: thread_common.c:set_txfm_ctxs Unexecuted instantiation: tile_common.c:set_txfm_ctxs Unexecuted instantiation: txb_common.c:set_txfm_ctxs Unexecuted instantiation: warped_motion.c:set_txfm_ctxs Unexecuted instantiation: aq_complexity.c:set_txfm_ctxs Unexecuted instantiation: aq_cyclicrefresh.c:set_txfm_ctxs Unexecuted instantiation: aq_variance.c:set_txfm_ctxs Unexecuted instantiation: cnn.c:set_txfm_ctxs Unexecuted instantiation: compound_type.c:set_txfm_ctxs Unexecuted instantiation: encode_strategy.c:set_txfm_ctxs Unexecuted instantiation: global_motion.c:set_txfm_ctxs Unexecuted instantiation: gop_structure.c:set_txfm_ctxs Unexecuted instantiation: interp_search.c:set_txfm_ctxs Unexecuted instantiation: motion_search_facade.c:set_txfm_ctxs Unexecuted instantiation: wedge_utils.c:set_txfm_ctxs Unexecuted instantiation: convolve.c:set_txfm_ctxs |
1647 | | |
1648 | | static inline int get_mi_grid_idx(const CommonModeInfoParams *const mi_params, |
1649 | 6.60M | int mi_row, int mi_col) { |
1650 | 6.60M | return mi_row * mi_params->mi_stride + mi_col; |
1651 | 6.60M | } Unexecuted instantiation: av1_dx_iface.c:get_mi_grid_idx decodeframe.c:get_mi_grid_idx Line | Count | Source | 1649 | 6.39M | int mi_row, int mi_col) { | 1650 | 6.39M | return mi_row * mi_params->mi_stride + mi_col; | 1651 | 6.39M | } |
decodemv.c:get_mi_grid_idx Line | Count | Source | 1649 | 207k | int mi_row, int mi_col) { | 1650 | 207k | return mi_row * mi_params->mi_stride + mi_col; | 1651 | 207k | } |
Unexecuted instantiation: decoder.c:get_mi_grid_idx Unexecuted instantiation: decodetxb.c:get_mi_grid_idx Unexecuted instantiation: detokenize.c:get_mi_grid_idx Unexecuted instantiation: obu.c:get_mi_grid_idx Unexecuted instantiation: av1_cx_iface.c:get_mi_grid_idx Unexecuted instantiation: allintra_vis.c:get_mi_grid_idx Unexecuted instantiation: av1_quantize.c:get_mi_grid_idx Unexecuted instantiation: bitstream.c:get_mi_grid_idx Unexecuted instantiation: context_tree.c:get_mi_grid_idx Unexecuted instantiation: encodeframe.c:get_mi_grid_idx Unexecuted instantiation: encodeframe_utils.c:get_mi_grid_idx Unexecuted instantiation: encodemb.c:get_mi_grid_idx Unexecuted instantiation: encodemv.c:get_mi_grid_idx Unexecuted instantiation: encoder.c:get_mi_grid_idx Unexecuted instantiation: encoder_utils.c:get_mi_grid_idx Unexecuted instantiation: encodetxb.c:get_mi_grid_idx Unexecuted instantiation: ethread.c:get_mi_grid_idx Unexecuted instantiation: firstpass.c:get_mi_grid_idx Unexecuted instantiation: global_motion_facade.c:get_mi_grid_idx Unexecuted instantiation: hash_motion.c:get_mi_grid_idx Unexecuted instantiation: level.c:get_mi_grid_idx Unexecuted instantiation: lookahead.c:get_mi_grid_idx Unexecuted instantiation: mcomp.c:get_mi_grid_idx Unexecuted instantiation: mv_prec.c:get_mi_grid_idx Unexecuted instantiation: palette.c:get_mi_grid_idx Unexecuted instantiation: partition_search.c:get_mi_grid_idx Unexecuted instantiation: partition_strategy.c:get_mi_grid_idx Unexecuted instantiation: pass2_strategy.c:get_mi_grid_idx Unexecuted instantiation: pickcdef.c:get_mi_grid_idx Unexecuted instantiation: picklpf.c:get_mi_grid_idx Unexecuted instantiation: pickrst.c:get_mi_grid_idx Unexecuted instantiation: ratectrl.c:get_mi_grid_idx Unexecuted instantiation: rd.c:get_mi_grid_idx Unexecuted instantiation: rdopt.c:get_mi_grid_idx Unexecuted instantiation: nonrd_pickmode.c:get_mi_grid_idx Unexecuted instantiation: nonrd_opt.c:get_mi_grid_idx Unexecuted instantiation: reconinter_enc.c:get_mi_grid_idx Unexecuted instantiation: segmentation.c:get_mi_grid_idx Unexecuted instantiation: speed_features.c:get_mi_grid_idx Unexecuted instantiation: superres_scale.c:get_mi_grid_idx Unexecuted instantiation: svc_layercontext.c:get_mi_grid_idx Unexecuted instantiation: temporal_filter.c:get_mi_grid_idx Unexecuted instantiation: tokenize.c:get_mi_grid_idx Unexecuted instantiation: tpl_model.c:get_mi_grid_idx Unexecuted instantiation: tx_search.c:get_mi_grid_idx Unexecuted instantiation: txb_rdopt.c:get_mi_grid_idx Unexecuted instantiation: intra_mode_search.c:get_mi_grid_idx Unexecuted instantiation: var_based_part.c:get_mi_grid_idx Unexecuted instantiation: av1_noise_estimate.c:get_mi_grid_idx Unexecuted instantiation: variance.c:get_mi_grid_idx Unexecuted instantiation: pyramid.c:get_mi_grid_idx Unexecuted instantiation: alloccommon.c:get_mi_grid_idx Unexecuted instantiation: av1_loopfilter.c:get_mi_grid_idx Unexecuted instantiation: blockd.c:get_mi_grid_idx Unexecuted instantiation: cdef.c:get_mi_grid_idx Unexecuted instantiation: cdef_block.c:get_mi_grid_idx Unexecuted instantiation: cfl.c:get_mi_grid_idx Unexecuted instantiation: debugmodes.c:get_mi_grid_idx Unexecuted instantiation: entropy.c:get_mi_grid_idx Unexecuted instantiation: entropymode.c:get_mi_grid_idx Unexecuted instantiation: entropymv.c:get_mi_grid_idx Unexecuted instantiation: mvref_common.c:get_mi_grid_idx Unexecuted instantiation: pred_common.c:get_mi_grid_idx Unexecuted instantiation: quant_common.c:get_mi_grid_idx Unexecuted instantiation: reconinter.c:get_mi_grid_idx Unexecuted instantiation: reconintra.c:get_mi_grid_idx Unexecuted instantiation: resize.c:get_mi_grid_idx Unexecuted instantiation: restoration.c:get_mi_grid_idx Unexecuted instantiation: scan.c:get_mi_grid_idx Unexecuted instantiation: thread_common.c:get_mi_grid_idx Unexecuted instantiation: tile_common.c:get_mi_grid_idx Unexecuted instantiation: txb_common.c:get_mi_grid_idx Unexecuted instantiation: warped_motion.c:get_mi_grid_idx Unexecuted instantiation: aq_complexity.c:get_mi_grid_idx Unexecuted instantiation: aq_cyclicrefresh.c:get_mi_grid_idx Unexecuted instantiation: aq_variance.c:get_mi_grid_idx Unexecuted instantiation: cnn.c:get_mi_grid_idx Unexecuted instantiation: compound_type.c:get_mi_grid_idx Unexecuted instantiation: encode_strategy.c:get_mi_grid_idx Unexecuted instantiation: global_motion.c:get_mi_grid_idx Unexecuted instantiation: gop_structure.c:get_mi_grid_idx Unexecuted instantiation: interp_search.c:get_mi_grid_idx Unexecuted instantiation: motion_search_facade.c:get_mi_grid_idx Unexecuted instantiation: wedge_utils.c:get_mi_grid_idx Unexecuted instantiation: convolve.c:get_mi_grid_idx |
1652 | | |
1653 | | static inline int get_alloc_mi_idx(const CommonModeInfoParams *const mi_params, |
1654 | 6.39M | int mi_row, int mi_col) { |
1655 | 6.39M | const int mi_alloc_size_1d = mi_size_wide[mi_params->mi_alloc_bsize]; |
1656 | 6.39M | const int mi_alloc_row = mi_row / mi_alloc_size_1d; |
1657 | 6.39M | const int mi_alloc_col = mi_col / mi_alloc_size_1d; |
1658 | | |
1659 | 6.39M | return mi_alloc_row * mi_params->mi_alloc_stride + mi_alloc_col; |
1660 | 6.39M | } Unexecuted instantiation: av1_dx_iface.c:get_alloc_mi_idx decodeframe.c:get_alloc_mi_idx Line | Count | Source | 1654 | 6.39M | int mi_row, int mi_col) { | 1655 | 6.39M | const int mi_alloc_size_1d = mi_size_wide[mi_params->mi_alloc_bsize]; | 1656 | 6.39M | const int mi_alloc_row = mi_row / mi_alloc_size_1d; | 1657 | 6.39M | const int mi_alloc_col = mi_col / mi_alloc_size_1d; | 1658 | | | 1659 | 6.39M | return mi_alloc_row * mi_params->mi_alloc_stride + mi_alloc_col; | 1660 | 6.39M | } |
Unexecuted instantiation: decodemv.c:get_alloc_mi_idx Unexecuted instantiation: decoder.c:get_alloc_mi_idx Unexecuted instantiation: decodetxb.c:get_alloc_mi_idx Unexecuted instantiation: detokenize.c:get_alloc_mi_idx Unexecuted instantiation: obu.c:get_alloc_mi_idx Unexecuted instantiation: av1_cx_iface.c:get_alloc_mi_idx Unexecuted instantiation: allintra_vis.c:get_alloc_mi_idx Unexecuted instantiation: av1_quantize.c:get_alloc_mi_idx Unexecuted instantiation: bitstream.c:get_alloc_mi_idx Unexecuted instantiation: context_tree.c:get_alloc_mi_idx Unexecuted instantiation: encodeframe.c:get_alloc_mi_idx Unexecuted instantiation: encodeframe_utils.c:get_alloc_mi_idx Unexecuted instantiation: encodemb.c:get_alloc_mi_idx Unexecuted instantiation: encodemv.c:get_alloc_mi_idx Unexecuted instantiation: encoder.c:get_alloc_mi_idx Unexecuted instantiation: encoder_utils.c:get_alloc_mi_idx Unexecuted instantiation: encodetxb.c:get_alloc_mi_idx Unexecuted instantiation: ethread.c:get_alloc_mi_idx Unexecuted instantiation: firstpass.c:get_alloc_mi_idx Unexecuted instantiation: global_motion_facade.c:get_alloc_mi_idx Unexecuted instantiation: hash_motion.c:get_alloc_mi_idx Unexecuted instantiation: level.c:get_alloc_mi_idx Unexecuted instantiation: lookahead.c:get_alloc_mi_idx Unexecuted instantiation: mcomp.c:get_alloc_mi_idx Unexecuted instantiation: mv_prec.c:get_alloc_mi_idx Unexecuted instantiation: palette.c:get_alloc_mi_idx Unexecuted instantiation: partition_search.c:get_alloc_mi_idx Unexecuted instantiation: partition_strategy.c:get_alloc_mi_idx Unexecuted instantiation: pass2_strategy.c:get_alloc_mi_idx Unexecuted instantiation: pickcdef.c:get_alloc_mi_idx Unexecuted instantiation: picklpf.c:get_alloc_mi_idx Unexecuted instantiation: pickrst.c:get_alloc_mi_idx Unexecuted instantiation: ratectrl.c:get_alloc_mi_idx Unexecuted instantiation: rd.c:get_alloc_mi_idx Unexecuted instantiation: rdopt.c:get_alloc_mi_idx Unexecuted instantiation: nonrd_pickmode.c:get_alloc_mi_idx Unexecuted instantiation: nonrd_opt.c:get_alloc_mi_idx Unexecuted instantiation: reconinter_enc.c:get_alloc_mi_idx Unexecuted instantiation: segmentation.c:get_alloc_mi_idx Unexecuted instantiation: speed_features.c:get_alloc_mi_idx Unexecuted instantiation: superres_scale.c:get_alloc_mi_idx Unexecuted instantiation: svc_layercontext.c:get_alloc_mi_idx Unexecuted instantiation: temporal_filter.c:get_alloc_mi_idx Unexecuted instantiation: tokenize.c:get_alloc_mi_idx Unexecuted instantiation: tpl_model.c:get_alloc_mi_idx Unexecuted instantiation: tx_search.c:get_alloc_mi_idx Unexecuted instantiation: txb_rdopt.c:get_alloc_mi_idx Unexecuted instantiation: intra_mode_search.c:get_alloc_mi_idx Unexecuted instantiation: var_based_part.c:get_alloc_mi_idx Unexecuted instantiation: av1_noise_estimate.c:get_alloc_mi_idx Unexecuted instantiation: variance.c:get_alloc_mi_idx Unexecuted instantiation: pyramid.c:get_alloc_mi_idx Unexecuted instantiation: alloccommon.c:get_alloc_mi_idx Unexecuted instantiation: av1_loopfilter.c:get_alloc_mi_idx Unexecuted instantiation: blockd.c:get_alloc_mi_idx Unexecuted instantiation: cdef.c:get_alloc_mi_idx Unexecuted instantiation: cdef_block.c:get_alloc_mi_idx Unexecuted instantiation: cfl.c:get_alloc_mi_idx Unexecuted instantiation: debugmodes.c:get_alloc_mi_idx Unexecuted instantiation: entropy.c:get_alloc_mi_idx Unexecuted instantiation: entropymode.c:get_alloc_mi_idx Unexecuted instantiation: entropymv.c:get_alloc_mi_idx Unexecuted instantiation: mvref_common.c:get_alloc_mi_idx Unexecuted instantiation: pred_common.c:get_alloc_mi_idx Unexecuted instantiation: quant_common.c:get_alloc_mi_idx Unexecuted instantiation: reconinter.c:get_alloc_mi_idx Unexecuted instantiation: reconintra.c:get_alloc_mi_idx Unexecuted instantiation: resize.c:get_alloc_mi_idx Unexecuted instantiation: restoration.c:get_alloc_mi_idx Unexecuted instantiation: scan.c:get_alloc_mi_idx Unexecuted instantiation: thread_common.c:get_alloc_mi_idx Unexecuted instantiation: tile_common.c:get_alloc_mi_idx Unexecuted instantiation: txb_common.c:get_alloc_mi_idx Unexecuted instantiation: warped_motion.c:get_alloc_mi_idx Unexecuted instantiation: aq_complexity.c:get_alloc_mi_idx Unexecuted instantiation: aq_cyclicrefresh.c:get_alloc_mi_idx Unexecuted instantiation: aq_variance.c:get_alloc_mi_idx Unexecuted instantiation: cnn.c:get_alloc_mi_idx Unexecuted instantiation: compound_type.c:get_alloc_mi_idx Unexecuted instantiation: encode_strategy.c:get_alloc_mi_idx Unexecuted instantiation: global_motion.c:get_alloc_mi_idx Unexecuted instantiation: gop_structure.c:get_alloc_mi_idx Unexecuted instantiation: interp_search.c:get_alloc_mi_idx Unexecuted instantiation: motion_search_facade.c:get_alloc_mi_idx Unexecuted instantiation: wedge_utils.c:get_alloc_mi_idx Unexecuted instantiation: convolve.c:get_alloc_mi_idx |
1661 | | |
1662 | | // For this partition block, set pointers in mi_params->mi_grid_base and xd->mi. |
1663 | | static inline void set_mi_offsets(const CommonModeInfoParams *const mi_params, |
1664 | | MACROBLOCKD *const xd, int mi_row, |
1665 | 6.39M | int mi_col) { |
1666 | | // 'mi_grid_base' should point to appropriate memory in 'mi'. |
1667 | 6.39M | const int mi_grid_idx = get_mi_grid_idx(mi_params, mi_row, mi_col); |
1668 | 6.39M | const int mi_alloc_idx = get_alloc_mi_idx(mi_params, mi_row, mi_col); |
1669 | 6.39M | mi_params->mi_grid_base[mi_grid_idx] = &mi_params->mi_alloc[mi_alloc_idx]; |
1670 | | // 'xd->mi' should point to an offset in 'mi_grid_base'; |
1671 | 6.39M | xd->mi = mi_params->mi_grid_base + mi_grid_idx; |
1672 | | // 'xd->tx_type_map' should point to an offset in 'mi_params->tx_type_map'. |
1673 | 6.39M | xd->tx_type_map = mi_params->tx_type_map + mi_grid_idx; |
1674 | 6.39M | xd->tx_type_map_stride = mi_params->mi_stride; |
1675 | 6.39M | } Unexecuted instantiation: av1_dx_iface.c:set_mi_offsets decodeframe.c:set_mi_offsets Line | Count | Source | 1665 | 6.39M | int mi_col) { | 1666 | | // 'mi_grid_base' should point to appropriate memory in 'mi'. | 1667 | 6.39M | const int mi_grid_idx = get_mi_grid_idx(mi_params, mi_row, mi_col); | 1668 | 6.39M | const int mi_alloc_idx = get_alloc_mi_idx(mi_params, mi_row, mi_col); | 1669 | 6.39M | mi_params->mi_grid_base[mi_grid_idx] = &mi_params->mi_alloc[mi_alloc_idx]; | 1670 | | // 'xd->mi' should point to an offset in 'mi_grid_base'; | 1671 | 6.39M | xd->mi = mi_params->mi_grid_base + mi_grid_idx; | 1672 | | // 'xd->tx_type_map' should point to an offset in 'mi_params->tx_type_map'. | 1673 | 6.39M | xd->tx_type_map = mi_params->tx_type_map + mi_grid_idx; | 1674 | 6.39M | xd->tx_type_map_stride = mi_params->mi_stride; | 1675 | 6.39M | } |
Unexecuted instantiation: decodemv.c:set_mi_offsets Unexecuted instantiation: decoder.c:set_mi_offsets Unexecuted instantiation: decodetxb.c:set_mi_offsets Unexecuted instantiation: detokenize.c:set_mi_offsets Unexecuted instantiation: obu.c:set_mi_offsets Unexecuted instantiation: av1_cx_iface.c:set_mi_offsets Unexecuted instantiation: allintra_vis.c:set_mi_offsets Unexecuted instantiation: av1_quantize.c:set_mi_offsets Unexecuted instantiation: bitstream.c:set_mi_offsets Unexecuted instantiation: context_tree.c:set_mi_offsets Unexecuted instantiation: encodeframe.c:set_mi_offsets Unexecuted instantiation: encodeframe_utils.c:set_mi_offsets Unexecuted instantiation: encodemb.c:set_mi_offsets Unexecuted instantiation: encodemv.c:set_mi_offsets Unexecuted instantiation: encoder.c:set_mi_offsets Unexecuted instantiation: encoder_utils.c:set_mi_offsets Unexecuted instantiation: encodetxb.c:set_mi_offsets Unexecuted instantiation: ethread.c:set_mi_offsets Unexecuted instantiation: firstpass.c:set_mi_offsets Unexecuted instantiation: global_motion_facade.c:set_mi_offsets Unexecuted instantiation: hash_motion.c:set_mi_offsets Unexecuted instantiation: level.c:set_mi_offsets Unexecuted instantiation: lookahead.c:set_mi_offsets Unexecuted instantiation: mcomp.c:set_mi_offsets Unexecuted instantiation: mv_prec.c:set_mi_offsets Unexecuted instantiation: palette.c:set_mi_offsets Unexecuted instantiation: partition_search.c:set_mi_offsets Unexecuted instantiation: partition_strategy.c:set_mi_offsets Unexecuted instantiation: pass2_strategy.c:set_mi_offsets Unexecuted instantiation: pickcdef.c:set_mi_offsets Unexecuted instantiation: picklpf.c:set_mi_offsets Unexecuted instantiation: pickrst.c:set_mi_offsets Unexecuted instantiation: ratectrl.c:set_mi_offsets Unexecuted instantiation: rd.c:set_mi_offsets Unexecuted instantiation: rdopt.c:set_mi_offsets Unexecuted instantiation: nonrd_pickmode.c:set_mi_offsets Unexecuted instantiation: nonrd_opt.c:set_mi_offsets Unexecuted instantiation: reconinter_enc.c:set_mi_offsets Unexecuted instantiation: segmentation.c:set_mi_offsets Unexecuted instantiation: speed_features.c:set_mi_offsets Unexecuted instantiation: superres_scale.c:set_mi_offsets Unexecuted instantiation: svc_layercontext.c:set_mi_offsets Unexecuted instantiation: temporal_filter.c:set_mi_offsets Unexecuted instantiation: tokenize.c:set_mi_offsets Unexecuted instantiation: tpl_model.c:set_mi_offsets Unexecuted instantiation: tx_search.c:set_mi_offsets Unexecuted instantiation: txb_rdopt.c:set_mi_offsets Unexecuted instantiation: intra_mode_search.c:set_mi_offsets Unexecuted instantiation: var_based_part.c:set_mi_offsets Unexecuted instantiation: av1_noise_estimate.c:set_mi_offsets Unexecuted instantiation: variance.c:set_mi_offsets Unexecuted instantiation: pyramid.c:set_mi_offsets Unexecuted instantiation: alloccommon.c:set_mi_offsets Unexecuted instantiation: av1_loopfilter.c:set_mi_offsets Unexecuted instantiation: blockd.c:set_mi_offsets Unexecuted instantiation: cdef.c:set_mi_offsets Unexecuted instantiation: cdef_block.c:set_mi_offsets Unexecuted instantiation: cfl.c:set_mi_offsets Unexecuted instantiation: debugmodes.c:set_mi_offsets Unexecuted instantiation: entropy.c:set_mi_offsets Unexecuted instantiation: entropymode.c:set_mi_offsets Unexecuted instantiation: entropymv.c:set_mi_offsets Unexecuted instantiation: mvref_common.c:set_mi_offsets Unexecuted instantiation: pred_common.c:set_mi_offsets Unexecuted instantiation: quant_common.c:set_mi_offsets Unexecuted instantiation: reconinter.c:set_mi_offsets Unexecuted instantiation: reconintra.c:set_mi_offsets Unexecuted instantiation: resize.c:set_mi_offsets Unexecuted instantiation: restoration.c:set_mi_offsets Unexecuted instantiation: scan.c:set_mi_offsets Unexecuted instantiation: thread_common.c:set_mi_offsets Unexecuted instantiation: tile_common.c:set_mi_offsets Unexecuted instantiation: txb_common.c:set_mi_offsets Unexecuted instantiation: warped_motion.c:set_mi_offsets Unexecuted instantiation: aq_complexity.c:set_mi_offsets Unexecuted instantiation: aq_cyclicrefresh.c:set_mi_offsets Unexecuted instantiation: aq_variance.c:set_mi_offsets Unexecuted instantiation: cnn.c:set_mi_offsets Unexecuted instantiation: compound_type.c:set_mi_offsets Unexecuted instantiation: encode_strategy.c:set_mi_offsets Unexecuted instantiation: global_motion.c:set_mi_offsets Unexecuted instantiation: gop_structure.c:set_mi_offsets Unexecuted instantiation: interp_search.c:set_mi_offsets Unexecuted instantiation: motion_search_facade.c:set_mi_offsets Unexecuted instantiation: wedge_utils.c:set_mi_offsets Unexecuted instantiation: convolve.c:set_mi_offsets |
1676 | | |
1677 | | static inline void txfm_partition_update(TXFM_CONTEXT *above_ctx, |
1678 | | TXFM_CONTEXT *left_ctx, |
1679 | 26.3k | TX_SIZE tx_size, TX_SIZE txb_size) { |
1680 | 26.3k | BLOCK_SIZE bsize = txsize_to_bsize[txb_size]; |
1681 | 26.3k | int bh = mi_size_high[bsize]; |
1682 | 26.3k | int bw = mi_size_wide[bsize]; |
1683 | 26.3k | uint8_t txw = tx_size_wide[tx_size]; |
1684 | 26.3k | uint8_t txh = tx_size_high[tx_size]; |
1685 | 26.3k | int i; |
1686 | 94.5k | for (i = 0; i < bh; ++i) left_ctx[i] = txh; |
1687 | 96.8k | for (i = 0; i < bw; ++i) above_ctx[i] = txw; |
1688 | 26.3k | } Unexecuted instantiation: av1_dx_iface.c:txfm_partition_update decodeframe.c:txfm_partition_update Line | Count | Source | 1679 | 26.3k | TX_SIZE tx_size, TX_SIZE txb_size) { | 1680 | 26.3k | BLOCK_SIZE bsize = txsize_to_bsize[txb_size]; | 1681 | 26.3k | int bh = mi_size_high[bsize]; | 1682 | 26.3k | int bw = mi_size_wide[bsize]; | 1683 | 26.3k | uint8_t txw = tx_size_wide[tx_size]; | 1684 | 26.3k | uint8_t txh = tx_size_high[tx_size]; | 1685 | 26.3k | int i; | 1686 | 94.5k | for (i = 0; i < bh; ++i) left_ctx[i] = txh; | 1687 | 96.8k | for (i = 0; i < bw; ++i) above_ctx[i] = txw; | 1688 | 26.3k | } |
Unexecuted instantiation: decodemv.c:txfm_partition_update Unexecuted instantiation: decoder.c:txfm_partition_update Unexecuted instantiation: decodetxb.c:txfm_partition_update Unexecuted instantiation: detokenize.c:txfm_partition_update Unexecuted instantiation: obu.c:txfm_partition_update Unexecuted instantiation: av1_cx_iface.c:txfm_partition_update Unexecuted instantiation: allintra_vis.c:txfm_partition_update Unexecuted instantiation: av1_quantize.c:txfm_partition_update Unexecuted instantiation: bitstream.c:txfm_partition_update Unexecuted instantiation: context_tree.c:txfm_partition_update Unexecuted instantiation: encodeframe.c:txfm_partition_update Unexecuted instantiation: encodeframe_utils.c:txfm_partition_update Unexecuted instantiation: encodemb.c:txfm_partition_update Unexecuted instantiation: encodemv.c:txfm_partition_update Unexecuted instantiation: encoder.c:txfm_partition_update Unexecuted instantiation: encoder_utils.c:txfm_partition_update Unexecuted instantiation: encodetxb.c:txfm_partition_update Unexecuted instantiation: ethread.c:txfm_partition_update Unexecuted instantiation: firstpass.c:txfm_partition_update Unexecuted instantiation: global_motion_facade.c:txfm_partition_update Unexecuted instantiation: hash_motion.c:txfm_partition_update Unexecuted instantiation: level.c:txfm_partition_update Unexecuted instantiation: lookahead.c:txfm_partition_update Unexecuted instantiation: mcomp.c:txfm_partition_update Unexecuted instantiation: mv_prec.c:txfm_partition_update Unexecuted instantiation: palette.c:txfm_partition_update Unexecuted instantiation: partition_search.c:txfm_partition_update Unexecuted instantiation: partition_strategy.c:txfm_partition_update Unexecuted instantiation: pass2_strategy.c:txfm_partition_update Unexecuted instantiation: pickcdef.c:txfm_partition_update Unexecuted instantiation: picklpf.c:txfm_partition_update Unexecuted instantiation: pickrst.c:txfm_partition_update Unexecuted instantiation: ratectrl.c:txfm_partition_update Unexecuted instantiation: rd.c:txfm_partition_update Unexecuted instantiation: rdopt.c:txfm_partition_update Unexecuted instantiation: nonrd_pickmode.c:txfm_partition_update Unexecuted instantiation: nonrd_opt.c:txfm_partition_update Unexecuted instantiation: reconinter_enc.c:txfm_partition_update Unexecuted instantiation: segmentation.c:txfm_partition_update Unexecuted instantiation: speed_features.c:txfm_partition_update Unexecuted instantiation: superres_scale.c:txfm_partition_update Unexecuted instantiation: svc_layercontext.c:txfm_partition_update Unexecuted instantiation: temporal_filter.c:txfm_partition_update Unexecuted instantiation: tokenize.c:txfm_partition_update Unexecuted instantiation: tpl_model.c:txfm_partition_update Unexecuted instantiation: tx_search.c:txfm_partition_update Unexecuted instantiation: txb_rdopt.c:txfm_partition_update Unexecuted instantiation: intra_mode_search.c:txfm_partition_update Unexecuted instantiation: var_based_part.c:txfm_partition_update Unexecuted instantiation: av1_noise_estimate.c:txfm_partition_update Unexecuted instantiation: variance.c:txfm_partition_update Unexecuted instantiation: pyramid.c:txfm_partition_update Unexecuted instantiation: alloccommon.c:txfm_partition_update Unexecuted instantiation: av1_loopfilter.c:txfm_partition_update Unexecuted instantiation: blockd.c:txfm_partition_update Unexecuted instantiation: cdef.c:txfm_partition_update Unexecuted instantiation: cdef_block.c:txfm_partition_update Unexecuted instantiation: cfl.c:txfm_partition_update Unexecuted instantiation: debugmodes.c:txfm_partition_update Unexecuted instantiation: entropy.c:txfm_partition_update Unexecuted instantiation: entropymode.c:txfm_partition_update Unexecuted instantiation: entropymv.c:txfm_partition_update Unexecuted instantiation: mvref_common.c:txfm_partition_update Unexecuted instantiation: pred_common.c:txfm_partition_update Unexecuted instantiation: quant_common.c:txfm_partition_update Unexecuted instantiation: reconinter.c:txfm_partition_update Unexecuted instantiation: reconintra.c:txfm_partition_update Unexecuted instantiation: resize.c:txfm_partition_update Unexecuted instantiation: restoration.c:txfm_partition_update Unexecuted instantiation: scan.c:txfm_partition_update Unexecuted instantiation: thread_common.c:txfm_partition_update Unexecuted instantiation: tile_common.c:txfm_partition_update Unexecuted instantiation: txb_common.c:txfm_partition_update Unexecuted instantiation: warped_motion.c:txfm_partition_update Unexecuted instantiation: aq_complexity.c:txfm_partition_update Unexecuted instantiation: aq_cyclicrefresh.c:txfm_partition_update Unexecuted instantiation: aq_variance.c:txfm_partition_update Unexecuted instantiation: cnn.c:txfm_partition_update Unexecuted instantiation: compound_type.c:txfm_partition_update Unexecuted instantiation: encode_strategy.c:txfm_partition_update Unexecuted instantiation: global_motion.c:txfm_partition_update Unexecuted instantiation: gop_structure.c:txfm_partition_update Unexecuted instantiation: interp_search.c:txfm_partition_update Unexecuted instantiation: motion_search_facade.c:txfm_partition_update Unexecuted instantiation: wedge_utils.c:txfm_partition_update Unexecuted instantiation: convolve.c:txfm_partition_update |
1689 | | |
1690 | 31.6k | static inline TX_SIZE get_sqr_tx_size(int tx_dim) { |
1691 | 31.6k | switch (tx_dim) { |
1692 | 943 | case 128: |
1693 | 1.59k | case 64: return TX_64X64; break; |
1694 | 3.41k | case 32: return TX_32X32; break; |
1695 | 7.81k | case 16: return TX_16X16; break; |
1696 | 13.9k | case 8: return TX_8X8; break; |
1697 | 4.87k | default: return TX_4X4; |
1698 | 31.6k | } |
1699 | 31.6k | } Unexecuted instantiation: av1_dx_iface.c:get_sqr_tx_size decodeframe.c:get_sqr_tx_size Line | Count | Source | 1690 | 26.8k | static inline TX_SIZE get_sqr_tx_size(int tx_dim) { | 1691 | 26.8k | switch (tx_dim) { | 1692 | 943 | case 128: | 1693 | 1.59k | case 64: return TX_64X64; break; | 1694 | 3.41k | case 32: return TX_32X32; break; | 1695 | 7.81k | case 16: return TX_16X16; break; | 1696 | 13.9k | case 8: return TX_8X8; break; | 1697 | 0 | default: return TX_4X4; | 1698 | 26.8k | } | 1699 | 26.8k | } |
Unexecuted instantiation: decodemv.c:get_sqr_tx_size Unexecuted instantiation: decoder.c:get_sqr_tx_size Unexecuted instantiation: decodetxb.c:get_sqr_tx_size Unexecuted instantiation: detokenize.c:get_sqr_tx_size Unexecuted instantiation: obu.c:get_sqr_tx_size Unexecuted instantiation: av1_cx_iface.c:get_sqr_tx_size Unexecuted instantiation: allintra_vis.c:get_sqr_tx_size Unexecuted instantiation: av1_quantize.c:get_sqr_tx_size Unexecuted instantiation: bitstream.c:get_sqr_tx_size Unexecuted instantiation: context_tree.c:get_sqr_tx_size Unexecuted instantiation: encodeframe.c:get_sqr_tx_size Unexecuted instantiation: encodeframe_utils.c:get_sqr_tx_size Unexecuted instantiation: encodemb.c:get_sqr_tx_size Unexecuted instantiation: encodemv.c:get_sqr_tx_size Unexecuted instantiation: encoder.c:get_sqr_tx_size Unexecuted instantiation: encoder_utils.c:get_sqr_tx_size Unexecuted instantiation: encodetxb.c:get_sqr_tx_size Unexecuted instantiation: ethread.c:get_sqr_tx_size Unexecuted instantiation: firstpass.c:get_sqr_tx_size Unexecuted instantiation: global_motion_facade.c:get_sqr_tx_size Unexecuted instantiation: hash_motion.c:get_sqr_tx_size Unexecuted instantiation: level.c:get_sqr_tx_size Unexecuted instantiation: lookahead.c:get_sqr_tx_size Unexecuted instantiation: mcomp.c:get_sqr_tx_size Unexecuted instantiation: mv_prec.c:get_sqr_tx_size Unexecuted instantiation: palette.c:get_sqr_tx_size Unexecuted instantiation: partition_search.c:get_sqr_tx_size Unexecuted instantiation: partition_strategy.c:get_sqr_tx_size Unexecuted instantiation: pass2_strategy.c:get_sqr_tx_size Unexecuted instantiation: pickcdef.c:get_sqr_tx_size Unexecuted instantiation: picklpf.c:get_sqr_tx_size Unexecuted instantiation: pickrst.c:get_sqr_tx_size Unexecuted instantiation: ratectrl.c:get_sqr_tx_size Unexecuted instantiation: rd.c:get_sqr_tx_size Unexecuted instantiation: rdopt.c:get_sqr_tx_size Unexecuted instantiation: nonrd_pickmode.c:get_sqr_tx_size Unexecuted instantiation: nonrd_opt.c:get_sqr_tx_size Unexecuted instantiation: reconinter_enc.c:get_sqr_tx_size Unexecuted instantiation: segmentation.c:get_sqr_tx_size Unexecuted instantiation: speed_features.c:get_sqr_tx_size Unexecuted instantiation: superres_scale.c:get_sqr_tx_size Unexecuted instantiation: svc_layercontext.c:get_sqr_tx_size Unexecuted instantiation: temporal_filter.c:get_sqr_tx_size Unexecuted instantiation: tokenize.c:get_sqr_tx_size Unexecuted instantiation: tpl_model.c:get_sqr_tx_size Unexecuted instantiation: tx_search.c:get_sqr_tx_size Unexecuted instantiation: txb_rdopt.c:get_sqr_tx_size Unexecuted instantiation: intra_mode_search.c:get_sqr_tx_size Unexecuted instantiation: var_based_part.c:get_sqr_tx_size Unexecuted instantiation: av1_noise_estimate.c:get_sqr_tx_size Unexecuted instantiation: variance.c:get_sqr_tx_size Unexecuted instantiation: pyramid.c:get_sqr_tx_size Unexecuted instantiation: alloccommon.c:get_sqr_tx_size Unexecuted instantiation: av1_loopfilter.c:get_sqr_tx_size Unexecuted instantiation: blockd.c:get_sqr_tx_size Unexecuted instantiation: cdef.c:get_sqr_tx_size Unexecuted instantiation: cdef_block.c:get_sqr_tx_size Line | Count | Source | 1690 | 4.87k | static inline TX_SIZE get_sqr_tx_size(int tx_dim) { | 1691 | 4.87k | switch (tx_dim) { | 1692 | 0 | case 128: | 1693 | 0 | case 64: return TX_64X64; break; | 1694 | 0 | case 32: return TX_32X32; break; | 1695 | 0 | case 16: return TX_16X16; break; | 1696 | 0 | case 8: return TX_8X8; break; | 1697 | 4.87k | default: return TX_4X4; | 1698 | 4.87k | } | 1699 | 4.87k | } |
Unexecuted instantiation: debugmodes.c:get_sqr_tx_size Unexecuted instantiation: entropy.c:get_sqr_tx_size Unexecuted instantiation: entropymode.c:get_sqr_tx_size Unexecuted instantiation: entropymv.c:get_sqr_tx_size Unexecuted instantiation: mvref_common.c:get_sqr_tx_size Unexecuted instantiation: pred_common.c:get_sqr_tx_size Unexecuted instantiation: quant_common.c:get_sqr_tx_size Unexecuted instantiation: reconinter.c:get_sqr_tx_size Unexecuted instantiation: reconintra.c:get_sqr_tx_size Unexecuted instantiation: resize.c:get_sqr_tx_size Unexecuted instantiation: restoration.c:get_sqr_tx_size Unexecuted instantiation: scan.c:get_sqr_tx_size Unexecuted instantiation: thread_common.c:get_sqr_tx_size Unexecuted instantiation: tile_common.c:get_sqr_tx_size Unexecuted instantiation: txb_common.c:get_sqr_tx_size Unexecuted instantiation: warped_motion.c:get_sqr_tx_size Unexecuted instantiation: aq_complexity.c:get_sqr_tx_size Unexecuted instantiation: aq_cyclicrefresh.c:get_sqr_tx_size Unexecuted instantiation: aq_variance.c:get_sqr_tx_size Unexecuted instantiation: cnn.c:get_sqr_tx_size Unexecuted instantiation: compound_type.c:get_sqr_tx_size Unexecuted instantiation: encode_strategy.c:get_sqr_tx_size Unexecuted instantiation: global_motion.c:get_sqr_tx_size Unexecuted instantiation: gop_structure.c:get_sqr_tx_size Unexecuted instantiation: interp_search.c:get_sqr_tx_size Unexecuted instantiation: motion_search_facade.c:get_sqr_tx_size Unexecuted instantiation: wedge_utils.c:get_sqr_tx_size Unexecuted instantiation: convolve.c:get_sqr_tx_size |
1700 | | |
1701 | 15.6k | static inline TX_SIZE get_tx_size(int width, int height) { |
1702 | 15.6k | if (width == height) { |
1703 | 4.87k | return get_sqr_tx_size(width); |
1704 | 4.87k | } |
1705 | 10.7k | if (width < height) { |
1706 | 3.81k | if (width + width == height) { |
1707 | 2.81k | switch (width) { |
1708 | 2.81k | case 4: return TX_4X8; break; |
1709 | 0 | case 8: return TX_8X16; break; |
1710 | 0 | case 16: return TX_16X32; break; |
1711 | 0 | case 32: return TX_32X64; break; |
1712 | 2.81k | } |
1713 | 2.81k | } else { |
1714 | 991 | switch (width) { |
1715 | 991 | case 4: return TX_4X16; break; |
1716 | 0 | case 8: return TX_8X32; break; |
1717 | 0 | case 16: return TX_16X64; break; |
1718 | 991 | } |
1719 | 991 | } |
1720 | 6.91k | } else { |
1721 | 6.91k | if (height + height == width) { |
1722 | 2.87k | switch (height) { |
1723 | 2.87k | case 4: return TX_8X4; break; |
1724 | 0 | case 8: return TX_16X8; break; |
1725 | 0 | case 16: return TX_32X16; break; |
1726 | 0 | case 32: return TX_64X32; break; |
1727 | 2.87k | } |
1728 | 4.04k | } else { |
1729 | 4.04k | switch (height) { |
1730 | 4.04k | case 4: return TX_16X4; break; |
1731 | 0 | case 8: return TX_32X8; break; |
1732 | 0 | case 16: return TX_64X16; break; |
1733 | 4.04k | } |
1734 | 4.04k | } |
1735 | 6.91k | } |
1736 | 0 | assert(0); |
1737 | 0 | return TX_4X4; |
1738 | 10.7k | } Unexecuted instantiation: av1_dx_iface.c:get_tx_size Unexecuted instantiation: decodeframe.c:get_tx_size Unexecuted instantiation: decodemv.c:get_tx_size Unexecuted instantiation: decoder.c:get_tx_size Unexecuted instantiation: decodetxb.c:get_tx_size Unexecuted instantiation: detokenize.c:get_tx_size Unexecuted instantiation: obu.c:get_tx_size Unexecuted instantiation: av1_cx_iface.c:get_tx_size Unexecuted instantiation: allintra_vis.c:get_tx_size Unexecuted instantiation: av1_quantize.c:get_tx_size Unexecuted instantiation: bitstream.c:get_tx_size Unexecuted instantiation: context_tree.c:get_tx_size Unexecuted instantiation: encodeframe.c:get_tx_size Unexecuted instantiation: encodeframe_utils.c:get_tx_size Unexecuted instantiation: encodemb.c:get_tx_size Unexecuted instantiation: encodemv.c:get_tx_size Unexecuted instantiation: encoder.c:get_tx_size Unexecuted instantiation: encoder_utils.c:get_tx_size Unexecuted instantiation: encodetxb.c:get_tx_size Unexecuted instantiation: ethread.c:get_tx_size Unexecuted instantiation: firstpass.c:get_tx_size Unexecuted instantiation: global_motion_facade.c:get_tx_size Unexecuted instantiation: hash_motion.c:get_tx_size Unexecuted instantiation: level.c:get_tx_size Unexecuted instantiation: lookahead.c:get_tx_size Unexecuted instantiation: mcomp.c:get_tx_size Unexecuted instantiation: mv_prec.c:get_tx_size Unexecuted instantiation: palette.c:get_tx_size Unexecuted instantiation: partition_search.c:get_tx_size Unexecuted instantiation: partition_strategy.c:get_tx_size Unexecuted instantiation: pass2_strategy.c:get_tx_size Unexecuted instantiation: pickcdef.c:get_tx_size Unexecuted instantiation: picklpf.c:get_tx_size Unexecuted instantiation: pickrst.c:get_tx_size Unexecuted instantiation: ratectrl.c:get_tx_size Unexecuted instantiation: rd.c:get_tx_size Unexecuted instantiation: rdopt.c:get_tx_size Unexecuted instantiation: nonrd_pickmode.c:get_tx_size Unexecuted instantiation: nonrd_opt.c:get_tx_size Unexecuted instantiation: reconinter_enc.c:get_tx_size Unexecuted instantiation: segmentation.c:get_tx_size Unexecuted instantiation: speed_features.c:get_tx_size Unexecuted instantiation: superres_scale.c:get_tx_size Unexecuted instantiation: svc_layercontext.c:get_tx_size Unexecuted instantiation: temporal_filter.c:get_tx_size Unexecuted instantiation: tokenize.c:get_tx_size Unexecuted instantiation: tpl_model.c:get_tx_size Unexecuted instantiation: tx_search.c:get_tx_size Unexecuted instantiation: txb_rdopt.c:get_tx_size Unexecuted instantiation: intra_mode_search.c:get_tx_size Unexecuted instantiation: var_based_part.c:get_tx_size Unexecuted instantiation: av1_noise_estimate.c:get_tx_size Unexecuted instantiation: variance.c:get_tx_size Unexecuted instantiation: pyramid.c:get_tx_size Unexecuted instantiation: alloccommon.c:get_tx_size Unexecuted instantiation: av1_loopfilter.c:get_tx_size Unexecuted instantiation: blockd.c:get_tx_size Unexecuted instantiation: cdef.c:get_tx_size Unexecuted instantiation: cdef_block.c:get_tx_size Line | Count | Source | 1701 | 15.6k | static inline TX_SIZE get_tx_size(int width, int height) { | 1702 | 15.6k | if (width == height) { | 1703 | 4.87k | return get_sqr_tx_size(width); | 1704 | 4.87k | } | 1705 | 10.7k | if (width < height) { | 1706 | 3.81k | if (width + width == height) { | 1707 | 2.81k | switch (width) { | 1708 | 2.81k | case 4: return TX_4X8; break; | 1709 | 0 | case 8: return TX_8X16; break; | 1710 | 0 | case 16: return TX_16X32; break; | 1711 | 0 | case 32: return TX_32X64; break; | 1712 | 2.81k | } | 1713 | 2.81k | } else { | 1714 | 991 | switch (width) { | 1715 | 991 | case 4: return TX_4X16; break; | 1716 | 0 | case 8: return TX_8X32; break; | 1717 | 0 | case 16: return TX_16X64; break; | 1718 | 991 | } | 1719 | 991 | } | 1720 | 6.91k | } else { | 1721 | 6.91k | if (height + height == width) { | 1722 | 2.87k | switch (height) { | 1723 | 2.87k | case 4: return TX_8X4; break; | 1724 | 0 | case 8: return TX_16X8; break; | 1725 | 0 | case 16: return TX_32X16; break; | 1726 | 0 | case 32: return TX_64X32; break; | 1727 | 2.87k | } | 1728 | 4.04k | } else { | 1729 | 4.04k | switch (height) { | 1730 | 4.04k | case 4: return TX_16X4; break; | 1731 | 0 | case 8: return TX_32X8; break; | 1732 | 0 | case 16: return TX_64X16; break; | 1733 | 4.04k | } | 1734 | 4.04k | } | 1735 | 6.91k | } | 1736 | 0 | assert(0); | 1737 | 0 | return TX_4X4; | 1738 | 10.7k | } |
Unexecuted instantiation: debugmodes.c:get_tx_size Unexecuted instantiation: entropy.c:get_tx_size Unexecuted instantiation: entropymode.c:get_tx_size Unexecuted instantiation: entropymv.c:get_tx_size Unexecuted instantiation: mvref_common.c:get_tx_size Unexecuted instantiation: pred_common.c:get_tx_size Unexecuted instantiation: quant_common.c:get_tx_size Unexecuted instantiation: reconinter.c:get_tx_size Unexecuted instantiation: reconintra.c:get_tx_size Unexecuted instantiation: resize.c:get_tx_size Unexecuted instantiation: restoration.c:get_tx_size Unexecuted instantiation: scan.c:get_tx_size Unexecuted instantiation: thread_common.c:get_tx_size Unexecuted instantiation: tile_common.c:get_tx_size Unexecuted instantiation: txb_common.c:get_tx_size Unexecuted instantiation: warped_motion.c:get_tx_size Unexecuted instantiation: aq_complexity.c:get_tx_size Unexecuted instantiation: aq_cyclicrefresh.c:get_tx_size Unexecuted instantiation: aq_variance.c:get_tx_size Unexecuted instantiation: cnn.c:get_tx_size Unexecuted instantiation: compound_type.c:get_tx_size Unexecuted instantiation: encode_strategy.c:get_tx_size Unexecuted instantiation: global_motion.c:get_tx_size Unexecuted instantiation: gop_structure.c:get_tx_size Unexecuted instantiation: interp_search.c:get_tx_size Unexecuted instantiation: motion_search_facade.c:get_tx_size Unexecuted instantiation: wedge_utils.c:get_tx_size Unexecuted instantiation: convolve.c:get_tx_size |
1739 | | |
1740 | | static inline int txfm_partition_context(const TXFM_CONTEXT *const above_ctx, |
1741 | | const TXFM_CONTEXT *const left_ctx, |
1742 | 26.8k | BLOCK_SIZE bsize, TX_SIZE tx_size) { |
1743 | 26.8k | const uint8_t txw = tx_size_wide[tx_size]; |
1744 | 26.8k | const uint8_t txh = tx_size_high[tx_size]; |
1745 | 26.8k | const int above = *above_ctx < txw; |
1746 | 26.8k | const int left = *left_ctx < txh; |
1747 | 26.8k | int category = TXFM_PARTITION_CONTEXTS; |
1748 | | |
1749 | | // dummy return, not used by others. |
1750 | 26.8k | if (tx_size <= TX_4X4) return 0; |
1751 | | |
1752 | 26.8k | TX_SIZE max_tx_size = |
1753 | 26.8k | get_sqr_tx_size(AOMMAX(block_size_wide[bsize], block_size_high[bsize])); |
1754 | | |
1755 | 26.8k | if (max_tx_size >= TX_8X8) { |
1756 | 26.8k | category = |
1757 | 26.8k | (txsize_sqr_up_map[tx_size] != max_tx_size && max_tx_size > TX_8X8) + |
1758 | 26.8k | (TX_SIZES - 1 - max_tx_size) * 2; |
1759 | 26.8k | } |
1760 | 26.8k | assert(category != TXFM_PARTITION_CONTEXTS); |
1761 | 26.8k | return category * 3 + above + left; |
1762 | 26.8k | } Unexecuted instantiation: av1_dx_iface.c:txfm_partition_context decodeframe.c:txfm_partition_context Line | Count | Source | 1742 | 26.8k | BLOCK_SIZE bsize, TX_SIZE tx_size) { | 1743 | 26.8k | const uint8_t txw = tx_size_wide[tx_size]; | 1744 | 26.8k | const uint8_t txh = tx_size_high[tx_size]; | 1745 | 26.8k | const int above = *above_ctx < txw; | 1746 | 26.8k | const int left = *left_ctx < txh; | 1747 | 26.8k | int category = TXFM_PARTITION_CONTEXTS; | 1748 | | | 1749 | | // dummy return, not used by others. | 1750 | 26.8k | if (tx_size <= TX_4X4) return 0; | 1751 | | | 1752 | 26.8k | TX_SIZE max_tx_size = | 1753 | 26.8k | get_sqr_tx_size(AOMMAX(block_size_wide[bsize], block_size_high[bsize])); | 1754 | | | 1755 | 26.8k | if (max_tx_size >= TX_8X8) { | 1756 | 26.8k | category = | 1757 | 26.8k | (txsize_sqr_up_map[tx_size] != max_tx_size && max_tx_size > TX_8X8) + | 1758 | 26.8k | (TX_SIZES - 1 - max_tx_size) * 2; | 1759 | 26.8k | } | 1760 | 26.8k | assert(category != TXFM_PARTITION_CONTEXTS); | 1761 | 26.8k | return category * 3 + above + left; | 1762 | 26.8k | } |
Unexecuted instantiation: decodemv.c:txfm_partition_context Unexecuted instantiation: decoder.c:txfm_partition_context Unexecuted instantiation: decodetxb.c:txfm_partition_context Unexecuted instantiation: detokenize.c:txfm_partition_context Unexecuted instantiation: obu.c:txfm_partition_context Unexecuted instantiation: av1_cx_iface.c:txfm_partition_context Unexecuted instantiation: allintra_vis.c:txfm_partition_context Unexecuted instantiation: av1_quantize.c:txfm_partition_context Unexecuted instantiation: bitstream.c:txfm_partition_context Unexecuted instantiation: context_tree.c:txfm_partition_context Unexecuted instantiation: encodeframe.c:txfm_partition_context Unexecuted instantiation: encodeframe_utils.c:txfm_partition_context Unexecuted instantiation: encodemb.c:txfm_partition_context Unexecuted instantiation: encodemv.c:txfm_partition_context Unexecuted instantiation: encoder.c:txfm_partition_context Unexecuted instantiation: encoder_utils.c:txfm_partition_context Unexecuted instantiation: encodetxb.c:txfm_partition_context Unexecuted instantiation: ethread.c:txfm_partition_context Unexecuted instantiation: firstpass.c:txfm_partition_context Unexecuted instantiation: global_motion_facade.c:txfm_partition_context Unexecuted instantiation: hash_motion.c:txfm_partition_context Unexecuted instantiation: level.c:txfm_partition_context Unexecuted instantiation: lookahead.c:txfm_partition_context Unexecuted instantiation: mcomp.c:txfm_partition_context Unexecuted instantiation: mv_prec.c:txfm_partition_context Unexecuted instantiation: palette.c:txfm_partition_context Unexecuted instantiation: partition_search.c:txfm_partition_context Unexecuted instantiation: partition_strategy.c:txfm_partition_context Unexecuted instantiation: pass2_strategy.c:txfm_partition_context Unexecuted instantiation: pickcdef.c:txfm_partition_context Unexecuted instantiation: picklpf.c:txfm_partition_context Unexecuted instantiation: pickrst.c:txfm_partition_context Unexecuted instantiation: ratectrl.c:txfm_partition_context Unexecuted instantiation: rd.c:txfm_partition_context Unexecuted instantiation: rdopt.c:txfm_partition_context Unexecuted instantiation: nonrd_pickmode.c:txfm_partition_context Unexecuted instantiation: nonrd_opt.c:txfm_partition_context Unexecuted instantiation: reconinter_enc.c:txfm_partition_context Unexecuted instantiation: segmentation.c:txfm_partition_context Unexecuted instantiation: speed_features.c:txfm_partition_context Unexecuted instantiation: superres_scale.c:txfm_partition_context Unexecuted instantiation: svc_layercontext.c:txfm_partition_context Unexecuted instantiation: temporal_filter.c:txfm_partition_context Unexecuted instantiation: tokenize.c:txfm_partition_context Unexecuted instantiation: tpl_model.c:txfm_partition_context Unexecuted instantiation: tx_search.c:txfm_partition_context Unexecuted instantiation: txb_rdopt.c:txfm_partition_context Unexecuted instantiation: intra_mode_search.c:txfm_partition_context Unexecuted instantiation: var_based_part.c:txfm_partition_context Unexecuted instantiation: av1_noise_estimate.c:txfm_partition_context Unexecuted instantiation: variance.c:txfm_partition_context Unexecuted instantiation: pyramid.c:txfm_partition_context Unexecuted instantiation: alloccommon.c:txfm_partition_context Unexecuted instantiation: av1_loopfilter.c:txfm_partition_context Unexecuted instantiation: blockd.c:txfm_partition_context Unexecuted instantiation: cdef.c:txfm_partition_context Unexecuted instantiation: cdef_block.c:txfm_partition_context Unexecuted instantiation: cfl.c:txfm_partition_context Unexecuted instantiation: debugmodes.c:txfm_partition_context Unexecuted instantiation: entropy.c:txfm_partition_context Unexecuted instantiation: entropymode.c:txfm_partition_context Unexecuted instantiation: entropymv.c:txfm_partition_context Unexecuted instantiation: mvref_common.c:txfm_partition_context Unexecuted instantiation: pred_common.c:txfm_partition_context Unexecuted instantiation: quant_common.c:txfm_partition_context Unexecuted instantiation: reconinter.c:txfm_partition_context Unexecuted instantiation: reconintra.c:txfm_partition_context Unexecuted instantiation: resize.c:txfm_partition_context Unexecuted instantiation: restoration.c:txfm_partition_context Unexecuted instantiation: scan.c:txfm_partition_context Unexecuted instantiation: thread_common.c:txfm_partition_context Unexecuted instantiation: tile_common.c:txfm_partition_context Unexecuted instantiation: txb_common.c:txfm_partition_context Unexecuted instantiation: warped_motion.c:txfm_partition_context Unexecuted instantiation: aq_complexity.c:txfm_partition_context Unexecuted instantiation: aq_cyclicrefresh.c:txfm_partition_context Unexecuted instantiation: aq_variance.c:txfm_partition_context Unexecuted instantiation: cnn.c:txfm_partition_context Unexecuted instantiation: compound_type.c:txfm_partition_context Unexecuted instantiation: encode_strategy.c:txfm_partition_context Unexecuted instantiation: global_motion.c:txfm_partition_context Unexecuted instantiation: gop_structure.c:txfm_partition_context Unexecuted instantiation: interp_search.c:txfm_partition_context Unexecuted instantiation: motion_search_facade.c:txfm_partition_context Unexecuted instantiation: wedge_utils.c:txfm_partition_context Unexecuted instantiation: convolve.c:txfm_partition_context |
1763 | | |
1764 | | // Compute the next partition in the direction of the sb_type stored in the mi |
1765 | | // array, starting with bsize. |
1766 | | static inline PARTITION_TYPE get_partition(const AV1_COMMON *const cm, |
1767 | | int mi_row, int mi_col, |
1768 | 3.43M | BLOCK_SIZE bsize) { |
1769 | 3.43M | const CommonModeInfoParams *const mi_params = &cm->mi_params; |
1770 | 3.43M | if (mi_row >= mi_params->mi_rows || mi_col >= mi_params->mi_cols) |
1771 | 0 | return PARTITION_INVALID; |
1772 | | |
1773 | 3.43M | const int offset = mi_row * mi_params->mi_stride + mi_col; |
1774 | 3.43M | MB_MODE_INFO **mi = mi_params->mi_grid_base + offset; |
1775 | 3.43M | const BLOCK_SIZE subsize = mi[0]->bsize; |
1776 | | |
1777 | 3.43M | assert(bsize < BLOCK_SIZES_ALL); |
1778 | | |
1779 | 3.43M | if (subsize == bsize) return PARTITION_NONE; |
1780 | | |
1781 | 1.91M | const int bhigh = mi_size_high[bsize]; |
1782 | 1.91M | const int bwide = mi_size_wide[bsize]; |
1783 | 1.91M | const int sshigh = mi_size_high[subsize]; |
1784 | 1.91M | const int sswide = mi_size_wide[subsize]; |
1785 | | |
1786 | 1.91M | if (bsize > BLOCK_8X8 && mi_row + bwide / 2 < mi_params->mi_rows && |
1787 | 1.91M | mi_col + bhigh / 2 < mi_params->mi_cols) { |
1788 | | // In this case, the block might be using an extended partition |
1789 | | // type. |
1790 | 1.34M | const MB_MODE_INFO *const mbmi_right = mi[bwide / 2]; |
1791 | 1.34M | const MB_MODE_INFO *const mbmi_below = mi[bhigh / 2 * mi_params->mi_stride]; |
1792 | | |
1793 | 1.34M | if (sswide == bwide) { |
1794 | | // Smaller height but same width. Is PARTITION_HORZ_4, PARTITION_HORZ or |
1795 | | // PARTITION_HORZ_B. To distinguish the latter two, check if the lower |
1796 | | // half was split. |
1797 | 358k | if (sshigh * 4 == bhigh) return PARTITION_HORZ_4; |
1798 | 248k | assert(sshigh * 2 == bhigh); |
1799 | | |
1800 | 248k | if (mbmi_below->bsize == subsize) |
1801 | 198k | return PARTITION_HORZ; |
1802 | 50.5k | else |
1803 | 50.5k | return PARTITION_HORZ_B; |
1804 | 983k | } else if (sshigh == bhigh) { |
1805 | | // Smaller width but same height. Is PARTITION_VERT_4, PARTITION_VERT or |
1806 | | // PARTITION_VERT_B. To distinguish the latter two, check if the right |
1807 | | // half was split. |
1808 | 265k | if (sswide * 4 == bwide) return PARTITION_VERT_4; |
1809 | 179k | assert(sswide * 2 == bwide); |
1810 | | |
1811 | 179k | if (mbmi_right->bsize == subsize) |
1812 | 137k | return PARTITION_VERT; |
1813 | 42.0k | else |
1814 | 42.0k | return PARTITION_VERT_B; |
1815 | 718k | } else { |
1816 | | // Smaller width and smaller height. Might be PARTITION_SPLIT or could be |
1817 | | // PARTITION_HORZ_A or PARTITION_VERT_A. If subsize isn't halved in both |
1818 | | // dimensions, we immediately know this is a split (which will recurse to |
1819 | | // get to subsize). Otherwise look down and to the right. With |
1820 | | // PARTITION_VERT_A, the right block will have height bhigh; with |
1821 | | // PARTITION_HORZ_A, the lower block with have width bwide. Otherwise |
1822 | | // it's PARTITION_SPLIT. |
1823 | 718k | if (sswide * 2 != bwide || sshigh * 2 != bhigh) return PARTITION_SPLIT; |
1824 | | |
1825 | 344k | if (mi_size_wide[mbmi_below->bsize] == bwide) return PARTITION_HORZ_A; |
1826 | 289k | if (mi_size_high[mbmi_right->bsize] == bhigh) return PARTITION_VERT_A; |
1827 | | |
1828 | 249k | return PARTITION_SPLIT; |
1829 | 289k | } |
1830 | 1.34M | } |
1831 | 569k | const int vert_split = sswide < bwide; |
1832 | 569k | const int horz_split = sshigh < bhigh; |
1833 | 569k | const int split_idx = (vert_split << 1) | horz_split; |
1834 | 569k | assert(split_idx != 0); |
1835 | | |
1836 | 569k | static const PARTITION_TYPE base_partitions[4] = { |
1837 | 569k | PARTITION_INVALID, PARTITION_HORZ, PARTITION_VERT, PARTITION_SPLIT |
1838 | 569k | }; |
1839 | | |
1840 | 569k | return base_partitions[split_idx]; |
1841 | 1.91M | } Unexecuted instantiation: av1_dx_iface.c:get_partition decodeframe.c:get_partition Line | Count | Source | 1768 | 3.43M | BLOCK_SIZE bsize) { | 1769 | 3.43M | const CommonModeInfoParams *const mi_params = &cm->mi_params; | 1770 | 3.43M | if (mi_row >= mi_params->mi_rows || mi_col >= mi_params->mi_cols) | 1771 | 0 | return PARTITION_INVALID; | 1772 | | | 1773 | 3.43M | const int offset = mi_row * mi_params->mi_stride + mi_col; | 1774 | 3.43M | MB_MODE_INFO **mi = mi_params->mi_grid_base + offset; | 1775 | 3.43M | const BLOCK_SIZE subsize = mi[0]->bsize; | 1776 | | | 1777 | 3.43M | assert(bsize < BLOCK_SIZES_ALL); | 1778 | | | 1779 | 3.43M | if (subsize == bsize) return PARTITION_NONE; | 1780 | | | 1781 | 1.91M | const int bhigh = mi_size_high[bsize]; | 1782 | 1.91M | const int bwide = mi_size_wide[bsize]; | 1783 | 1.91M | const int sshigh = mi_size_high[subsize]; | 1784 | 1.91M | const int sswide = mi_size_wide[subsize]; | 1785 | | | 1786 | 1.91M | if (bsize > BLOCK_8X8 && mi_row + bwide / 2 < mi_params->mi_rows && | 1787 | 1.91M | mi_col + bhigh / 2 < mi_params->mi_cols) { | 1788 | | // In this case, the block might be using an extended partition | 1789 | | // type. | 1790 | 1.34M | const MB_MODE_INFO *const mbmi_right = mi[bwide / 2]; | 1791 | 1.34M | const MB_MODE_INFO *const mbmi_below = mi[bhigh / 2 * mi_params->mi_stride]; | 1792 | | | 1793 | 1.34M | if (sswide == bwide) { | 1794 | | // Smaller height but same width. Is PARTITION_HORZ_4, PARTITION_HORZ or | 1795 | | // PARTITION_HORZ_B. To distinguish the latter two, check if the lower | 1796 | | // half was split. | 1797 | 358k | if (sshigh * 4 == bhigh) return PARTITION_HORZ_4; | 1798 | 248k | assert(sshigh * 2 == bhigh); | 1799 | | | 1800 | 248k | if (mbmi_below->bsize == subsize) | 1801 | 198k | return PARTITION_HORZ; | 1802 | 50.5k | else | 1803 | 50.5k | return PARTITION_HORZ_B; | 1804 | 983k | } else if (sshigh == bhigh) { | 1805 | | // Smaller width but same height. Is PARTITION_VERT_4, PARTITION_VERT or | 1806 | | // PARTITION_VERT_B. To distinguish the latter two, check if the right | 1807 | | // half was split. | 1808 | 265k | if (sswide * 4 == bwide) return PARTITION_VERT_4; | 1809 | 179k | assert(sswide * 2 == bwide); | 1810 | | | 1811 | 179k | if (mbmi_right->bsize == subsize) | 1812 | 137k | return PARTITION_VERT; | 1813 | 42.0k | else | 1814 | 42.0k | return PARTITION_VERT_B; | 1815 | 718k | } else { | 1816 | | // Smaller width and smaller height. Might be PARTITION_SPLIT or could be | 1817 | | // PARTITION_HORZ_A or PARTITION_VERT_A. If subsize isn't halved in both | 1818 | | // dimensions, we immediately know this is a split (which will recurse to | 1819 | | // get to subsize). Otherwise look down and to the right. With | 1820 | | // PARTITION_VERT_A, the right block will have height bhigh; with | 1821 | | // PARTITION_HORZ_A, the lower block with have width bwide. Otherwise | 1822 | | // it's PARTITION_SPLIT. | 1823 | 718k | if (sswide * 2 != bwide || sshigh * 2 != bhigh) return PARTITION_SPLIT; | 1824 | | | 1825 | 344k | if (mi_size_wide[mbmi_below->bsize] == bwide) return PARTITION_HORZ_A; | 1826 | 289k | if (mi_size_high[mbmi_right->bsize] == bhigh) return PARTITION_VERT_A; | 1827 | | | 1828 | 249k | return PARTITION_SPLIT; | 1829 | 289k | } | 1830 | 1.34M | } | 1831 | 569k | const int vert_split = sswide < bwide; | 1832 | 569k | const int horz_split = sshigh < bhigh; | 1833 | 569k | const int split_idx = (vert_split << 1) | horz_split; | 1834 | 569k | assert(split_idx != 0); | 1835 | | | 1836 | 569k | static const PARTITION_TYPE base_partitions[4] = { | 1837 | 569k | PARTITION_INVALID, PARTITION_HORZ, PARTITION_VERT, PARTITION_SPLIT | 1838 | 569k | }; | 1839 | | | 1840 | 569k | return base_partitions[split_idx]; | 1841 | 1.91M | } |
Unexecuted instantiation: decodemv.c:get_partition Unexecuted instantiation: decoder.c:get_partition Unexecuted instantiation: decodetxb.c:get_partition Unexecuted instantiation: detokenize.c:get_partition Unexecuted instantiation: obu.c:get_partition Unexecuted instantiation: av1_cx_iface.c:get_partition Unexecuted instantiation: allintra_vis.c:get_partition Unexecuted instantiation: av1_quantize.c:get_partition Unexecuted instantiation: bitstream.c:get_partition Unexecuted instantiation: context_tree.c:get_partition Unexecuted instantiation: encodeframe.c:get_partition Unexecuted instantiation: encodeframe_utils.c:get_partition Unexecuted instantiation: encodemb.c:get_partition Unexecuted instantiation: encodemv.c:get_partition Unexecuted instantiation: encoder.c:get_partition Unexecuted instantiation: encoder_utils.c:get_partition Unexecuted instantiation: encodetxb.c:get_partition Unexecuted instantiation: ethread.c:get_partition Unexecuted instantiation: firstpass.c:get_partition Unexecuted instantiation: global_motion_facade.c:get_partition Unexecuted instantiation: hash_motion.c:get_partition Unexecuted instantiation: level.c:get_partition Unexecuted instantiation: lookahead.c:get_partition Unexecuted instantiation: mcomp.c:get_partition Unexecuted instantiation: mv_prec.c:get_partition Unexecuted instantiation: palette.c:get_partition Unexecuted instantiation: partition_search.c:get_partition Unexecuted instantiation: partition_strategy.c:get_partition Unexecuted instantiation: pass2_strategy.c:get_partition Unexecuted instantiation: pickcdef.c:get_partition Unexecuted instantiation: picklpf.c:get_partition Unexecuted instantiation: pickrst.c:get_partition Unexecuted instantiation: ratectrl.c:get_partition Unexecuted instantiation: rd.c:get_partition Unexecuted instantiation: rdopt.c:get_partition Unexecuted instantiation: nonrd_pickmode.c:get_partition Unexecuted instantiation: nonrd_opt.c:get_partition Unexecuted instantiation: reconinter_enc.c:get_partition Unexecuted instantiation: segmentation.c:get_partition Unexecuted instantiation: speed_features.c:get_partition Unexecuted instantiation: superres_scale.c:get_partition Unexecuted instantiation: svc_layercontext.c:get_partition Unexecuted instantiation: temporal_filter.c:get_partition Unexecuted instantiation: tokenize.c:get_partition Unexecuted instantiation: tpl_model.c:get_partition Unexecuted instantiation: tx_search.c:get_partition Unexecuted instantiation: txb_rdopt.c:get_partition Unexecuted instantiation: intra_mode_search.c:get_partition Unexecuted instantiation: var_based_part.c:get_partition Unexecuted instantiation: av1_noise_estimate.c:get_partition Unexecuted instantiation: variance.c:get_partition Unexecuted instantiation: pyramid.c:get_partition Unexecuted instantiation: alloccommon.c:get_partition Unexecuted instantiation: av1_loopfilter.c:get_partition Unexecuted instantiation: blockd.c:get_partition Unexecuted instantiation: cdef.c:get_partition Unexecuted instantiation: cdef_block.c:get_partition Unexecuted instantiation: cfl.c:get_partition Unexecuted instantiation: debugmodes.c:get_partition Unexecuted instantiation: entropy.c:get_partition Unexecuted instantiation: entropymode.c:get_partition Unexecuted instantiation: entropymv.c:get_partition Unexecuted instantiation: mvref_common.c:get_partition Unexecuted instantiation: pred_common.c:get_partition Unexecuted instantiation: quant_common.c:get_partition Unexecuted instantiation: reconinter.c:get_partition Unexecuted instantiation: reconintra.c:get_partition Unexecuted instantiation: resize.c:get_partition Unexecuted instantiation: restoration.c:get_partition Unexecuted instantiation: scan.c:get_partition Unexecuted instantiation: thread_common.c:get_partition Unexecuted instantiation: tile_common.c:get_partition Unexecuted instantiation: txb_common.c:get_partition Unexecuted instantiation: warped_motion.c:get_partition Unexecuted instantiation: aq_complexity.c:get_partition Unexecuted instantiation: aq_cyclicrefresh.c:get_partition Unexecuted instantiation: aq_variance.c:get_partition Unexecuted instantiation: cnn.c:get_partition Unexecuted instantiation: compound_type.c:get_partition Unexecuted instantiation: encode_strategy.c:get_partition Unexecuted instantiation: global_motion.c:get_partition Unexecuted instantiation: gop_structure.c:get_partition Unexecuted instantiation: interp_search.c:get_partition Unexecuted instantiation: motion_search_facade.c:get_partition Unexecuted instantiation: wedge_utils.c:get_partition Unexecuted instantiation: convolve.c:get_partition |
1842 | | |
1843 | | static inline void set_sb_size(SequenceHeader *const seq_params, |
1844 | 35.0k | BLOCK_SIZE sb_size) { |
1845 | 35.0k | seq_params->sb_size = sb_size; |
1846 | 35.0k | seq_params->mib_size = mi_size_wide[seq_params->sb_size]; |
1847 | 35.0k | seq_params->mib_size_log2 = mi_size_wide_log2[seq_params->sb_size]; |
1848 | 35.0k | } Unexecuted instantiation: av1_dx_iface.c:set_sb_size decodeframe.c:set_sb_size Line | Count | Source | 1844 | 35.0k | BLOCK_SIZE sb_size) { | 1845 | 35.0k | seq_params->sb_size = sb_size; | 1846 | 35.0k | seq_params->mib_size = mi_size_wide[seq_params->sb_size]; | 1847 | 35.0k | seq_params->mib_size_log2 = mi_size_wide_log2[seq_params->sb_size]; | 1848 | 35.0k | } |
Unexecuted instantiation: decodemv.c:set_sb_size Unexecuted instantiation: decoder.c:set_sb_size Unexecuted instantiation: decodetxb.c:set_sb_size Unexecuted instantiation: detokenize.c:set_sb_size Unexecuted instantiation: obu.c:set_sb_size Unexecuted instantiation: av1_cx_iface.c:set_sb_size Unexecuted instantiation: allintra_vis.c:set_sb_size Unexecuted instantiation: av1_quantize.c:set_sb_size Unexecuted instantiation: bitstream.c:set_sb_size Unexecuted instantiation: context_tree.c:set_sb_size Unexecuted instantiation: encodeframe.c:set_sb_size Unexecuted instantiation: encodeframe_utils.c:set_sb_size Unexecuted instantiation: encodemb.c:set_sb_size Unexecuted instantiation: encodemv.c:set_sb_size Unexecuted instantiation: encoder.c:set_sb_size Unexecuted instantiation: encoder_utils.c:set_sb_size Unexecuted instantiation: encodetxb.c:set_sb_size Unexecuted instantiation: ethread.c:set_sb_size Unexecuted instantiation: firstpass.c:set_sb_size Unexecuted instantiation: global_motion_facade.c:set_sb_size Unexecuted instantiation: hash_motion.c:set_sb_size Unexecuted instantiation: level.c:set_sb_size Unexecuted instantiation: lookahead.c:set_sb_size Unexecuted instantiation: mcomp.c:set_sb_size Unexecuted instantiation: mv_prec.c:set_sb_size Unexecuted instantiation: palette.c:set_sb_size Unexecuted instantiation: partition_search.c:set_sb_size Unexecuted instantiation: partition_strategy.c:set_sb_size Unexecuted instantiation: pass2_strategy.c:set_sb_size Unexecuted instantiation: pickcdef.c:set_sb_size Unexecuted instantiation: picklpf.c:set_sb_size Unexecuted instantiation: pickrst.c:set_sb_size Unexecuted instantiation: ratectrl.c:set_sb_size Unexecuted instantiation: rd.c:set_sb_size Unexecuted instantiation: rdopt.c:set_sb_size Unexecuted instantiation: nonrd_pickmode.c:set_sb_size Unexecuted instantiation: nonrd_opt.c:set_sb_size Unexecuted instantiation: reconinter_enc.c:set_sb_size Unexecuted instantiation: segmentation.c:set_sb_size Unexecuted instantiation: speed_features.c:set_sb_size Unexecuted instantiation: superres_scale.c:set_sb_size Unexecuted instantiation: svc_layercontext.c:set_sb_size Unexecuted instantiation: temporal_filter.c:set_sb_size Unexecuted instantiation: tokenize.c:set_sb_size Unexecuted instantiation: tpl_model.c:set_sb_size Unexecuted instantiation: tx_search.c:set_sb_size Unexecuted instantiation: txb_rdopt.c:set_sb_size Unexecuted instantiation: intra_mode_search.c:set_sb_size Unexecuted instantiation: var_based_part.c:set_sb_size Unexecuted instantiation: av1_noise_estimate.c:set_sb_size Unexecuted instantiation: variance.c:set_sb_size Unexecuted instantiation: pyramid.c:set_sb_size Unexecuted instantiation: alloccommon.c:set_sb_size Unexecuted instantiation: av1_loopfilter.c:set_sb_size Unexecuted instantiation: blockd.c:set_sb_size Unexecuted instantiation: cdef.c:set_sb_size Unexecuted instantiation: cdef_block.c:set_sb_size Unexecuted instantiation: cfl.c:set_sb_size Unexecuted instantiation: debugmodes.c:set_sb_size Unexecuted instantiation: entropy.c:set_sb_size Unexecuted instantiation: entropymode.c:set_sb_size Unexecuted instantiation: entropymv.c:set_sb_size Unexecuted instantiation: mvref_common.c:set_sb_size Unexecuted instantiation: pred_common.c:set_sb_size Unexecuted instantiation: quant_common.c:set_sb_size Unexecuted instantiation: reconinter.c:set_sb_size Unexecuted instantiation: reconintra.c:set_sb_size Unexecuted instantiation: resize.c:set_sb_size Unexecuted instantiation: restoration.c:set_sb_size Unexecuted instantiation: scan.c:set_sb_size Unexecuted instantiation: thread_common.c:set_sb_size Unexecuted instantiation: tile_common.c:set_sb_size Unexecuted instantiation: txb_common.c:set_sb_size Unexecuted instantiation: warped_motion.c:set_sb_size Unexecuted instantiation: aq_complexity.c:set_sb_size Unexecuted instantiation: aq_cyclicrefresh.c:set_sb_size Unexecuted instantiation: aq_variance.c:set_sb_size Unexecuted instantiation: cnn.c:set_sb_size Unexecuted instantiation: compound_type.c:set_sb_size Unexecuted instantiation: encode_strategy.c:set_sb_size Unexecuted instantiation: global_motion.c:set_sb_size Unexecuted instantiation: gop_structure.c:set_sb_size Unexecuted instantiation: interp_search.c:set_sb_size Unexecuted instantiation: motion_search_facade.c:set_sb_size Unexecuted instantiation: wedge_utils.c:set_sb_size Unexecuted instantiation: convolve.c:set_sb_size |
1849 | | |
1850 | | // Returns true if the frame is fully lossless at the coded resolution. |
1851 | | // Note: If super-resolution is used, such a frame will still NOT be lossless at |
1852 | | // the upscaled resolution. |
1853 | | static inline int is_coded_lossless(const AV1_COMMON *cm, |
1854 | 54.8k | const MACROBLOCKD *xd) { |
1855 | 54.8k | int coded_lossless = 1; |
1856 | 54.8k | if (cm->seg.enabled) { |
1857 | 19.2k | for (int i = 0; i < MAX_SEGMENTS; ++i) { |
1858 | 19.2k | if (!xd->lossless[i]) { |
1859 | 17.4k | coded_lossless = 0; |
1860 | 17.4k | break; |
1861 | 17.4k | } |
1862 | 19.2k | } |
1863 | 37.3k | } else { |
1864 | 37.3k | coded_lossless = xd->lossless[0]; |
1865 | 37.3k | } |
1866 | 54.8k | return coded_lossless; |
1867 | 54.8k | } Unexecuted instantiation: av1_dx_iface.c:is_coded_lossless decodeframe.c:is_coded_lossless Line | Count | Source | 1854 | 54.8k | const MACROBLOCKD *xd) { | 1855 | 54.8k | int coded_lossless = 1; | 1856 | 54.8k | if (cm->seg.enabled) { | 1857 | 19.2k | for (int i = 0; i < MAX_SEGMENTS; ++i) { | 1858 | 19.2k | if (!xd->lossless[i]) { | 1859 | 17.4k | coded_lossless = 0; | 1860 | 17.4k | break; | 1861 | 17.4k | } | 1862 | 19.2k | } | 1863 | 37.3k | } else { | 1864 | 37.3k | coded_lossless = xd->lossless[0]; | 1865 | 37.3k | } | 1866 | 54.8k | return coded_lossless; | 1867 | 54.8k | } |
Unexecuted instantiation: decodemv.c:is_coded_lossless Unexecuted instantiation: decoder.c:is_coded_lossless Unexecuted instantiation: decodetxb.c:is_coded_lossless Unexecuted instantiation: detokenize.c:is_coded_lossless Unexecuted instantiation: obu.c:is_coded_lossless Unexecuted instantiation: av1_cx_iface.c:is_coded_lossless Unexecuted instantiation: allintra_vis.c:is_coded_lossless Unexecuted instantiation: av1_quantize.c:is_coded_lossless Unexecuted instantiation: bitstream.c:is_coded_lossless Unexecuted instantiation: context_tree.c:is_coded_lossless Unexecuted instantiation: encodeframe.c:is_coded_lossless Unexecuted instantiation: encodeframe_utils.c:is_coded_lossless Unexecuted instantiation: encodemb.c:is_coded_lossless Unexecuted instantiation: encodemv.c:is_coded_lossless Unexecuted instantiation: encoder.c:is_coded_lossless Unexecuted instantiation: encoder_utils.c:is_coded_lossless Unexecuted instantiation: encodetxb.c:is_coded_lossless Unexecuted instantiation: ethread.c:is_coded_lossless Unexecuted instantiation: firstpass.c:is_coded_lossless Unexecuted instantiation: global_motion_facade.c:is_coded_lossless Unexecuted instantiation: hash_motion.c:is_coded_lossless Unexecuted instantiation: level.c:is_coded_lossless Unexecuted instantiation: lookahead.c:is_coded_lossless Unexecuted instantiation: mcomp.c:is_coded_lossless Unexecuted instantiation: mv_prec.c:is_coded_lossless Unexecuted instantiation: palette.c:is_coded_lossless Unexecuted instantiation: partition_search.c:is_coded_lossless Unexecuted instantiation: partition_strategy.c:is_coded_lossless Unexecuted instantiation: pass2_strategy.c:is_coded_lossless Unexecuted instantiation: pickcdef.c:is_coded_lossless Unexecuted instantiation: picklpf.c:is_coded_lossless Unexecuted instantiation: pickrst.c:is_coded_lossless Unexecuted instantiation: ratectrl.c:is_coded_lossless Unexecuted instantiation: rd.c:is_coded_lossless Unexecuted instantiation: rdopt.c:is_coded_lossless Unexecuted instantiation: nonrd_pickmode.c:is_coded_lossless Unexecuted instantiation: nonrd_opt.c:is_coded_lossless Unexecuted instantiation: reconinter_enc.c:is_coded_lossless Unexecuted instantiation: segmentation.c:is_coded_lossless Unexecuted instantiation: speed_features.c:is_coded_lossless Unexecuted instantiation: superres_scale.c:is_coded_lossless Unexecuted instantiation: svc_layercontext.c:is_coded_lossless Unexecuted instantiation: temporal_filter.c:is_coded_lossless Unexecuted instantiation: tokenize.c:is_coded_lossless Unexecuted instantiation: tpl_model.c:is_coded_lossless Unexecuted instantiation: tx_search.c:is_coded_lossless Unexecuted instantiation: txb_rdopt.c:is_coded_lossless Unexecuted instantiation: intra_mode_search.c:is_coded_lossless Unexecuted instantiation: var_based_part.c:is_coded_lossless Unexecuted instantiation: av1_noise_estimate.c:is_coded_lossless Unexecuted instantiation: variance.c:is_coded_lossless Unexecuted instantiation: pyramid.c:is_coded_lossless Unexecuted instantiation: alloccommon.c:is_coded_lossless Unexecuted instantiation: av1_loopfilter.c:is_coded_lossless Unexecuted instantiation: blockd.c:is_coded_lossless Unexecuted instantiation: cdef.c:is_coded_lossless Unexecuted instantiation: cdef_block.c:is_coded_lossless Unexecuted instantiation: cfl.c:is_coded_lossless Unexecuted instantiation: debugmodes.c:is_coded_lossless Unexecuted instantiation: entropy.c:is_coded_lossless Unexecuted instantiation: entropymode.c:is_coded_lossless Unexecuted instantiation: entropymv.c:is_coded_lossless Unexecuted instantiation: mvref_common.c:is_coded_lossless Unexecuted instantiation: pred_common.c:is_coded_lossless Unexecuted instantiation: quant_common.c:is_coded_lossless Unexecuted instantiation: reconinter.c:is_coded_lossless Unexecuted instantiation: reconintra.c:is_coded_lossless Unexecuted instantiation: resize.c:is_coded_lossless Unexecuted instantiation: restoration.c:is_coded_lossless Unexecuted instantiation: scan.c:is_coded_lossless Unexecuted instantiation: thread_common.c:is_coded_lossless Unexecuted instantiation: tile_common.c:is_coded_lossless Unexecuted instantiation: txb_common.c:is_coded_lossless Unexecuted instantiation: warped_motion.c:is_coded_lossless Unexecuted instantiation: aq_complexity.c:is_coded_lossless Unexecuted instantiation: aq_cyclicrefresh.c:is_coded_lossless Unexecuted instantiation: aq_variance.c:is_coded_lossless Unexecuted instantiation: cnn.c:is_coded_lossless Unexecuted instantiation: compound_type.c:is_coded_lossless Unexecuted instantiation: encode_strategy.c:is_coded_lossless Unexecuted instantiation: global_motion.c:is_coded_lossless Unexecuted instantiation: gop_structure.c:is_coded_lossless Unexecuted instantiation: interp_search.c:is_coded_lossless Unexecuted instantiation: motion_search_facade.c:is_coded_lossless Unexecuted instantiation: wedge_utils.c:is_coded_lossless Unexecuted instantiation: convolve.c:is_coded_lossless |
1868 | | |
1869 | 38.3k | static inline int is_valid_seq_level_idx(AV1_LEVEL seq_level_idx) { |
1870 | 38.3k | return seq_level_idx == SEQ_LEVEL_MAX || |
1871 | 38.3k | (seq_level_idx < SEQ_LEVELS && |
1872 | | // The following levels are currently undefined. |
1873 | 38.0k | seq_level_idx != SEQ_LEVEL_2_2 && seq_level_idx != SEQ_LEVEL_2_3 && |
1874 | 38.0k | seq_level_idx != SEQ_LEVEL_3_2 && seq_level_idx != SEQ_LEVEL_3_3 && |
1875 | 38.0k | seq_level_idx != SEQ_LEVEL_4_2 && seq_level_idx != SEQ_LEVEL_4_3 |
1876 | 38.0k | #if !CONFIG_CWG_C013 |
1877 | 38.0k | && seq_level_idx != SEQ_LEVEL_7_0 && seq_level_idx != SEQ_LEVEL_7_1 && |
1878 | 38.0k | seq_level_idx != SEQ_LEVEL_7_2 && seq_level_idx != SEQ_LEVEL_7_3 && |
1879 | 38.0k | seq_level_idx != SEQ_LEVEL_8_0 && seq_level_idx != SEQ_LEVEL_8_1 && |
1880 | 38.0k | seq_level_idx != SEQ_LEVEL_8_2 && seq_level_idx != SEQ_LEVEL_8_3 |
1881 | 38.0k | #endif |
1882 | 38.0k | ); |
1883 | 38.3k | } Unexecuted instantiation: av1_dx_iface.c:is_valid_seq_level_idx Unexecuted instantiation: decodeframe.c:is_valid_seq_level_idx Unexecuted instantiation: decodemv.c:is_valid_seq_level_idx Unexecuted instantiation: decoder.c:is_valid_seq_level_idx Unexecuted instantiation: decodetxb.c:is_valid_seq_level_idx Unexecuted instantiation: detokenize.c:is_valid_seq_level_idx obu.c:is_valid_seq_level_idx Line | Count | Source | 1869 | 38.3k | static inline int is_valid_seq_level_idx(AV1_LEVEL seq_level_idx) { | 1870 | 38.3k | return seq_level_idx == SEQ_LEVEL_MAX || | 1871 | 38.3k | (seq_level_idx < SEQ_LEVELS && | 1872 | | // The following levels are currently undefined. | 1873 | 38.0k | seq_level_idx != SEQ_LEVEL_2_2 && seq_level_idx != SEQ_LEVEL_2_3 && | 1874 | 38.0k | seq_level_idx != SEQ_LEVEL_3_2 && seq_level_idx != SEQ_LEVEL_3_3 && | 1875 | 38.0k | seq_level_idx != SEQ_LEVEL_4_2 && seq_level_idx != SEQ_LEVEL_4_3 | 1876 | 38.0k | #if !CONFIG_CWG_C013 | 1877 | 38.0k | && seq_level_idx != SEQ_LEVEL_7_0 && seq_level_idx != SEQ_LEVEL_7_1 && | 1878 | 38.0k | seq_level_idx != SEQ_LEVEL_7_2 && seq_level_idx != SEQ_LEVEL_7_3 && | 1879 | 38.0k | seq_level_idx != SEQ_LEVEL_8_0 && seq_level_idx != SEQ_LEVEL_8_1 && | 1880 | 38.0k | seq_level_idx != SEQ_LEVEL_8_2 && seq_level_idx != SEQ_LEVEL_8_3 | 1881 | 38.0k | #endif | 1882 | 38.0k | ); | 1883 | 38.3k | } |
Unexecuted instantiation: av1_cx_iface.c:is_valid_seq_level_idx Unexecuted instantiation: allintra_vis.c:is_valid_seq_level_idx Unexecuted instantiation: av1_quantize.c:is_valid_seq_level_idx Unexecuted instantiation: bitstream.c:is_valid_seq_level_idx Unexecuted instantiation: context_tree.c:is_valid_seq_level_idx Unexecuted instantiation: encodeframe.c:is_valid_seq_level_idx Unexecuted instantiation: encodeframe_utils.c:is_valid_seq_level_idx Unexecuted instantiation: encodemb.c:is_valid_seq_level_idx Unexecuted instantiation: encodemv.c:is_valid_seq_level_idx Unexecuted instantiation: encoder.c:is_valid_seq_level_idx Unexecuted instantiation: encoder_utils.c:is_valid_seq_level_idx Unexecuted instantiation: encodetxb.c:is_valid_seq_level_idx Unexecuted instantiation: ethread.c:is_valid_seq_level_idx Unexecuted instantiation: firstpass.c:is_valid_seq_level_idx Unexecuted instantiation: global_motion_facade.c:is_valid_seq_level_idx Unexecuted instantiation: hash_motion.c:is_valid_seq_level_idx Unexecuted instantiation: level.c:is_valid_seq_level_idx Unexecuted instantiation: lookahead.c:is_valid_seq_level_idx Unexecuted instantiation: mcomp.c:is_valid_seq_level_idx Unexecuted instantiation: mv_prec.c:is_valid_seq_level_idx Unexecuted instantiation: palette.c:is_valid_seq_level_idx Unexecuted instantiation: partition_search.c:is_valid_seq_level_idx Unexecuted instantiation: partition_strategy.c:is_valid_seq_level_idx Unexecuted instantiation: pass2_strategy.c:is_valid_seq_level_idx Unexecuted instantiation: pickcdef.c:is_valid_seq_level_idx Unexecuted instantiation: picklpf.c:is_valid_seq_level_idx Unexecuted instantiation: pickrst.c:is_valid_seq_level_idx Unexecuted instantiation: ratectrl.c:is_valid_seq_level_idx Unexecuted instantiation: rd.c:is_valid_seq_level_idx Unexecuted instantiation: rdopt.c:is_valid_seq_level_idx Unexecuted instantiation: nonrd_pickmode.c:is_valid_seq_level_idx Unexecuted instantiation: nonrd_opt.c:is_valid_seq_level_idx Unexecuted instantiation: reconinter_enc.c:is_valid_seq_level_idx Unexecuted instantiation: segmentation.c:is_valid_seq_level_idx Unexecuted instantiation: speed_features.c:is_valid_seq_level_idx Unexecuted instantiation: superres_scale.c:is_valid_seq_level_idx Unexecuted instantiation: svc_layercontext.c:is_valid_seq_level_idx Unexecuted instantiation: temporal_filter.c:is_valid_seq_level_idx Unexecuted instantiation: tokenize.c:is_valid_seq_level_idx Unexecuted instantiation: tpl_model.c:is_valid_seq_level_idx Unexecuted instantiation: tx_search.c:is_valid_seq_level_idx Unexecuted instantiation: txb_rdopt.c:is_valid_seq_level_idx Unexecuted instantiation: intra_mode_search.c:is_valid_seq_level_idx Unexecuted instantiation: var_based_part.c:is_valid_seq_level_idx Unexecuted instantiation: av1_noise_estimate.c:is_valid_seq_level_idx Unexecuted instantiation: variance.c:is_valid_seq_level_idx Unexecuted instantiation: pyramid.c:is_valid_seq_level_idx Unexecuted instantiation: alloccommon.c:is_valid_seq_level_idx Unexecuted instantiation: av1_loopfilter.c:is_valid_seq_level_idx Unexecuted instantiation: blockd.c:is_valid_seq_level_idx Unexecuted instantiation: cdef.c:is_valid_seq_level_idx Unexecuted instantiation: cdef_block.c:is_valid_seq_level_idx Unexecuted instantiation: cfl.c:is_valid_seq_level_idx Unexecuted instantiation: debugmodes.c:is_valid_seq_level_idx Unexecuted instantiation: entropy.c:is_valid_seq_level_idx Unexecuted instantiation: entropymode.c:is_valid_seq_level_idx Unexecuted instantiation: entropymv.c:is_valid_seq_level_idx Unexecuted instantiation: mvref_common.c:is_valid_seq_level_idx Unexecuted instantiation: pred_common.c:is_valid_seq_level_idx Unexecuted instantiation: quant_common.c:is_valid_seq_level_idx Unexecuted instantiation: reconinter.c:is_valid_seq_level_idx Unexecuted instantiation: reconintra.c:is_valid_seq_level_idx Unexecuted instantiation: resize.c:is_valid_seq_level_idx Unexecuted instantiation: restoration.c:is_valid_seq_level_idx Unexecuted instantiation: scan.c:is_valid_seq_level_idx Unexecuted instantiation: thread_common.c:is_valid_seq_level_idx Unexecuted instantiation: tile_common.c:is_valid_seq_level_idx Unexecuted instantiation: txb_common.c:is_valid_seq_level_idx Unexecuted instantiation: warped_motion.c:is_valid_seq_level_idx Unexecuted instantiation: aq_complexity.c:is_valid_seq_level_idx Unexecuted instantiation: aq_cyclicrefresh.c:is_valid_seq_level_idx Unexecuted instantiation: aq_variance.c:is_valid_seq_level_idx Unexecuted instantiation: cnn.c:is_valid_seq_level_idx Unexecuted instantiation: compound_type.c:is_valid_seq_level_idx Unexecuted instantiation: encode_strategy.c:is_valid_seq_level_idx Unexecuted instantiation: global_motion.c:is_valid_seq_level_idx Unexecuted instantiation: gop_structure.c:is_valid_seq_level_idx Unexecuted instantiation: interp_search.c:is_valid_seq_level_idx Unexecuted instantiation: motion_search_facade.c:is_valid_seq_level_idx Unexecuted instantiation: wedge_utils.c:is_valid_seq_level_idx Unexecuted instantiation: convolve.c:is_valid_seq_level_idx |
1884 | | |
1885 | | /*!\endcond */ |
1886 | | |
1887 | | #ifdef __cplusplus |
1888 | | } // extern "C" |
1889 | | #endif |
1890 | | |
1891 | | #endif // AOM_AV1_COMMON_AV1_COMMON_INT_H_ |