Coverage Report

Created: 2025-11-09 06:20

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/libavif/ext/aom/av1/common/txb_common.h
Line
Count
Source
1
/*
2
 * Copyright (c) 2017, 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_TXB_COMMON_H_
13
#define AOM_AV1_COMMON_TXB_COMMON_H_
14
15
#include "av1/common/av1_common_int.h"
16
17
extern const int16_t av1_eob_group_start[12];
18
extern const int16_t av1_eob_offset_bits[12];
19
20
extern const int8_t *av1_nz_map_ctx_offset[TX_SIZES_ALL];
21
22
typedef struct txb_ctx {
23
  int txb_skip_ctx;
24
  int dc_sign_ctx;
25
} TXB_CTX;
26
27
static const int base_level_count_to_index[13] = {
28
  0, 0, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3,
29
};
30
31
static const TX_CLASS tx_type_to_class[TX_TYPES] = {
32
  TX_CLASS_2D,     // DCT_DCT
33
  TX_CLASS_2D,     // ADST_DCT
34
  TX_CLASS_2D,     // DCT_ADST
35
  TX_CLASS_2D,     // ADST_ADST
36
  TX_CLASS_2D,     // FLIPADST_DCT
37
  TX_CLASS_2D,     // DCT_FLIPADST
38
  TX_CLASS_2D,     // FLIPADST_FLIPADST
39
  TX_CLASS_2D,     // ADST_FLIPADST
40
  TX_CLASS_2D,     // FLIPADST_ADST
41
  TX_CLASS_2D,     // IDTX
42
  TX_CLASS_VERT,   // V_DCT
43
  TX_CLASS_HORIZ,  // H_DCT
44
  TX_CLASS_VERT,   // V_ADST
45
  TX_CLASS_HORIZ,  // H_ADST
46
  TX_CLASS_VERT,   // V_FLIPADST
47
  TX_CLASS_HORIZ,  // H_FLIPADST
48
};
49
50
378M
static inline int get_txb_bhl(TX_SIZE tx_size) {
51
378M
  tx_size = av1_get_adjusted_tx_size(tx_size);
52
378M
  return tx_size_high_log2[tx_size];
53
378M
}
decodetxb.c:get_txb_bhl
Line
Count
Source
50
12.4M
static inline int get_txb_bhl(TX_SIZE tx_size) {
51
12.4M
  tx_size = av1_get_adjusted_tx_size(tx_size);
52
12.4M
  return tx_size_high_log2[tx_size];
53
12.4M
}
Unexecuted instantiation: av1_cx_iface.c:get_txb_bhl
Unexecuted instantiation: allintra_vis.c:get_txb_bhl
Unexecuted instantiation: av1_quantize.c:get_txb_bhl
Unexecuted instantiation: bitstream.c:get_txb_bhl
Unexecuted instantiation: context_tree.c:get_txb_bhl
Unexecuted instantiation: encodeframe.c:get_txb_bhl
Unexecuted instantiation: encodeframe_utils.c:get_txb_bhl
Unexecuted instantiation: encodemb.c:get_txb_bhl
Unexecuted instantiation: encodemv.c:get_txb_bhl
Unexecuted instantiation: encoder.c:get_txb_bhl
Unexecuted instantiation: encoder_utils.c:get_txb_bhl
encodetxb.c:get_txb_bhl
Line
Count
Source
50
27.0M
static inline int get_txb_bhl(TX_SIZE tx_size) {
51
27.0M
  tx_size = av1_get_adjusted_tx_size(tx_size);
52
27.0M
  return tx_size_high_log2[tx_size];
53
27.0M
}
Unexecuted instantiation: ethread.c:get_txb_bhl
Unexecuted instantiation: firstpass.c:get_txb_bhl
Unexecuted instantiation: global_motion_facade.c:get_txb_bhl
Unexecuted instantiation: level.c:get_txb_bhl
Unexecuted instantiation: lookahead.c:get_txb_bhl
Unexecuted instantiation: mcomp.c:get_txb_bhl
Unexecuted instantiation: mv_prec.c:get_txb_bhl
Unexecuted instantiation: palette.c:get_txb_bhl
Unexecuted instantiation: partition_search.c:get_txb_bhl
Unexecuted instantiation: partition_strategy.c:get_txb_bhl
Unexecuted instantiation: pass2_strategy.c:get_txb_bhl
Unexecuted instantiation: pickcdef.c:get_txb_bhl
Unexecuted instantiation: picklpf.c:get_txb_bhl
Unexecuted instantiation: pickrst.c:get_txb_bhl
Unexecuted instantiation: ratectrl.c:get_txb_bhl
Unexecuted instantiation: rd.c:get_txb_bhl
Unexecuted instantiation: rdopt.c:get_txb_bhl
Unexecuted instantiation: nonrd_pickmode.c:get_txb_bhl
Unexecuted instantiation: nonrd_opt.c:get_txb_bhl
Unexecuted instantiation: segmentation.c:get_txb_bhl
Unexecuted instantiation: speed_features.c:get_txb_bhl
Unexecuted instantiation: superres_scale.c:get_txb_bhl
Unexecuted instantiation: svc_layercontext.c:get_txb_bhl
Unexecuted instantiation: temporal_filter.c:get_txb_bhl
Unexecuted instantiation: tokenize.c:get_txb_bhl
Unexecuted instantiation: tpl_model.c:get_txb_bhl
Unexecuted instantiation: tx_search.c:get_txb_bhl
txb_rdopt.c:get_txb_bhl
Line
Count
Source
50
223M
static inline int get_txb_bhl(TX_SIZE tx_size) {
51
223M
  tx_size = av1_get_adjusted_tx_size(tx_size);
52
223M
  return tx_size_high_log2[tx_size];
53
223M
}
Unexecuted instantiation: intra_mode_search.c:get_txb_bhl
Unexecuted instantiation: var_based_part.c:get_txb_bhl
Unexecuted instantiation: av1_noise_estimate.c:get_txb_bhl
encodetxb_sse2.c:get_txb_bhl
Line
Count
Source
50
115M
static inline int get_txb_bhl(TX_SIZE tx_size) {
51
115M
  tx_size = av1_get_adjusted_tx_size(tx_size);
52
115M
  return tx_size_high_log2[tx_size];
53
115M
}
Unexecuted instantiation: entropy.c:get_txb_bhl
Unexecuted instantiation: entropymode.c:get_txb_bhl
Unexecuted instantiation: txb_common.c:get_txb_bhl
Unexecuted instantiation: aq_complexity.c:get_txb_bhl
Unexecuted instantiation: aq_cyclicrefresh.c:get_txb_bhl
Unexecuted instantiation: aq_variance.c:get_txb_bhl
Unexecuted instantiation: compound_type.c:get_txb_bhl
Unexecuted instantiation: encode_strategy.c:get_txb_bhl
Unexecuted instantiation: global_motion.c:get_txb_bhl
Unexecuted instantiation: gop_structure.c:get_txb_bhl
Unexecuted instantiation: interp_search.c:get_txb_bhl
Unexecuted instantiation: motion_search_facade.c:get_txb_bhl
Unexecuted instantiation: temporal_filter_sse2.c:get_txb_bhl
Unexecuted instantiation: highbd_temporal_filter_sse2.c:get_txb_bhl
Unexecuted instantiation: encodetxb_sse4.c:get_txb_bhl
Unexecuted instantiation: rdopt_sse4.c:get_txb_bhl
Unexecuted instantiation: pickrst_sse4.c:get_txb_bhl
Unexecuted instantiation: encodetxb_avx2.c:get_txb_bhl
Unexecuted instantiation: rdopt_avx2.c:get_txb_bhl
Unexecuted instantiation: temporal_filter_avx2.c:get_txb_bhl
Unexecuted instantiation: pickrst_avx2.c:get_txb_bhl
Unexecuted instantiation: highbd_temporal_filter_avx2.c:get_txb_bhl
54
55
379M
static inline int get_txb_wide(TX_SIZE tx_size) {
56
379M
  tx_size = av1_get_adjusted_tx_size(tx_size);
57
379M
  return tx_size_wide[tx_size];
58
379M
}
decodetxb.c:get_txb_wide
Line
Count
Source
55
12.4M
static inline int get_txb_wide(TX_SIZE tx_size) {
56
12.4M
  tx_size = av1_get_adjusted_tx_size(tx_size);
57
12.4M
  return tx_size_wide[tx_size];
58
12.4M
}
Unexecuted instantiation: av1_cx_iface.c:get_txb_wide
Unexecuted instantiation: allintra_vis.c:get_txb_wide
Unexecuted instantiation: av1_quantize.c:get_txb_wide
Unexecuted instantiation: bitstream.c:get_txb_wide
Unexecuted instantiation: context_tree.c:get_txb_wide
Unexecuted instantiation: encodeframe.c:get_txb_wide
Unexecuted instantiation: encodeframe_utils.c:get_txb_wide
Unexecuted instantiation: encodemb.c:get_txb_wide
Unexecuted instantiation: encodemv.c:get_txb_wide
Unexecuted instantiation: encoder.c:get_txb_wide
Unexecuted instantiation: encoder_utils.c:get_txb_wide
encodetxb.c:get_txb_wide
Line
Count
Source
55
27.0M
static inline int get_txb_wide(TX_SIZE tx_size) {
56
27.0M
  tx_size = av1_get_adjusted_tx_size(tx_size);
57
27.0M
  return tx_size_wide[tx_size];
58
27.0M
}
Unexecuted instantiation: ethread.c:get_txb_wide
Unexecuted instantiation: firstpass.c:get_txb_wide
Unexecuted instantiation: global_motion_facade.c:get_txb_wide
Unexecuted instantiation: level.c:get_txb_wide
Unexecuted instantiation: lookahead.c:get_txb_wide
Unexecuted instantiation: mcomp.c:get_txb_wide
Unexecuted instantiation: mv_prec.c:get_txb_wide
Unexecuted instantiation: palette.c:get_txb_wide
Unexecuted instantiation: partition_search.c:get_txb_wide
Unexecuted instantiation: partition_strategy.c:get_txb_wide
Unexecuted instantiation: pass2_strategy.c:get_txb_wide
Unexecuted instantiation: pickcdef.c:get_txb_wide
Unexecuted instantiation: picklpf.c:get_txb_wide
Unexecuted instantiation: pickrst.c:get_txb_wide
Unexecuted instantiation: ratectrl.c:get_txb_wide
Unexecuted instantiation: rd.c:get_txb_wide
Unexecuted instantiation: rdopt.c:get_txb_wide
Unexecuted instantiation: nonrd_pickmode.c:get_txb_wide
Unexecuted instantiation: nonrd_opt.c:get_txb_wide
Unexecuted instantiation: segmentation.c:get_txb_wide
Unexecuted instantiation: speed_features.c:get_txb_wide
Unexecuted instantiation: superres_scale.c:get_txb_wide
Unexecuted instantiation: svc_layercontext.c:get_txb_wide
Unexecuted instantiation: temporal_filter.c:get_txb_wide
Unexecuted instantiation: tokenize.c:get_txb_wide
Unexecuted instantiation: tpl_model.c:get_txb_wide
Unexecuted instantiation: tx_search.c:get_txb_wide
txb_rdopt.c:get_txb_wide
Line
Count
Source
55
224M
static inline int get_txb_wide(TX_SIZE tx_size) {
56
224M
  tx_size = av1_get_adjusted_tx_size(tx_size);
57
224M
  return tx_size_wide[tx_size];
58
224M
}
Unexecuted instantiation: intra_mode_search.c:get_txb_wide
Unexecuted instantiation: var_based_part.c:get_txb_wide
Unexecuted instantiation: av1_noise_estimate.c:get_txb_wide
encodetxb_sse2.c:get_txb_wide
Line
Count
Source
55
116M
static inline int get_txb_wide(TX_SIZE tx_size) {
56
116M
  tx_size = av1_get_adjusted_tx_size(tx_size);
57
116M
  return tx_size_wide[tx_size];
58
116M
}
Unexecuted instantiation: entropy.c:get_txb_wide
Unexecuted instantiation: entropymode.c:get_txb_wide
Unexecuted instantiation: txb_common.c:get_txb_wide
Unexecuted instantiation: aq_complexity.c:get_txb_wide
Unexecuted instantiation: aq_cyclicrefresh.c:get_txb_wide
Unexecuted instantiation: aq_variance.c:get_txb_wide
Unexecuted instantiation: compound_type.c:get_txb_wide
Unexecuted instantiation: encode_strategy.c:get_txb_wide
Unexecuted instantiation: global_motion.c:get_txb_wide
Unexecuted instantiation: gop_structure.c:get_txb_wide
Unexecuted instantiation: interp_search.c:get_txb_wide
Unexecuted instantiation: motion_search_facade.c:get_txb_wide
Unexecuted instantiation: temporal_filter_sse2.c:get_txb_wide
Unexecuted instantiation: highbd_temporal_filter_sse2.c:get_txb_wide
Unexecuted instantiation: encodetxb_sse4.c:get_txb_wide
Unexecuted instantiation: rdopt_sse4.c:get_txb_wide
Unexecuted instantiation: pickrst_sse4.c:get_txb_wide
Unexecuted instantiation: encodetxb_avx2.c:get_txb_wide
Unexecuted instantiation: rdopt_avx2.c:get_txb_wide
Unexecuted instantiation: temporal_filter_avx2.c:get_txb_wide
Unexecuted instantiation: pickrst_avx2.c:get_txb_wide
Unexecuted instantiation: highbd_temporal_filter_avx2.c:get_txb_wide
59
60
378M
static inline int get_txb_high(TX_SIZE tx_size) {
61
378M
  tx_size = av1_get_adjusted_tx_size(tx_size);
62
378M
  return tx_size_high[tx_size];
63
378M
}
decodetxb.c:get_txb_high
Line
Count
Source
60
12.4M
static inline int get_txb_high(TX_SIZE tx_size) {
61
12.4M
  tx_size = av1_get_adjusted_tx_size(tx_size);
62
12.4M
  return tx_size_high[tx_size];
63
12.4M
}
Unexecuted instantiation: av1_cx_iface.c:get_txb_high
Unexecuted instantiation: allintra_vis.c:get_txb_high
Unexecuted instantiation: av1_quantize.c:get_txb_high
Unexecuted instantiation: bitstream.c:get_txb_high
Unexecuted instantiation: context_tree.c:get_txb_high
Unexecuted instantiation: encodeframe.c:get_txb_high
Unexecuted instantiation: encodeframe_utils.c:get_txb_high
Unexecuted instantiation: encodemb.c:get_txb_high
Unexecuted instantiation: encodemv.c:get_txb_high
Unexecuted instantiation: encoder.c:get_txb_high
Unexecuted instantiation: encoder_utils.c:get_txb_high
encodetxb.c:get_txb_high
Line
Count
Source
60
27.0M
static inline int get_txb_high(TX_SIZE tx_size) {
61
27.0M
  tx_size = av1_get_adjusted_tx_size(tx_size);
62
27.0M
  return tx_size_high[tx_size];
63
27.0M
}
Unexecuted instantiation: ethread.c:get_txb_high
Unexecuted instantiation: firstpass.c:get_txb_high
Unexecuted instantiation: global_motion_facade.c:get_txb_high
Unexecuted instantiation: level.c:get_txb_high
Unexecuted instantiation: lookahead.c:get_txb_high
Unexecuted instantiation: mcomp.c:get_txb_high
Unexecuted instantiation: mv_prec.c:get_txb_high
Unexecuted instantiation: palette.c:get_txb_high
Unexecuted instantiation: partition_search.c:get_txb_high
Unexecuted instantiation: partition_strategy.c:get_txb_high
Unexecuted instantiation: pass2_strategy.c:get_txb_high
Unexecuted instantiation: pickcdef.c:get_txb_high
Unexecuted instantiation: picklpf.c:get_txb_high
Unexecuted instantiation: pickrst.c:get_txb_high
Unexecuted instantiation: ratectrl.c:get_txb_high
Unexecuted instantiation: rd.c:get_txb_high
Unexecuted instantiation: rdopt.c:get_txb_high
Unexecuted instantiation: nonrd_pickmode.c:get_txb_high
Unexecuted instantiation: nonrd_opt.c:get_txb_high
Unexecuted instantiation: segmentation.c:get_txb_high
Unexecuted instantiation: speed_features.c:get_txb_high
Unexecuted instantiation: superres_scale.c:get_txb_high
Unexecuted instantiation: svc_layercontext.c:get_txb_high
Unexecuted instantiation: temporal_filter.c:get_txb_high
Unexecuted instantiation: tokenize.c:get_txb_high
Unexecuted instantiation: tpl_model.c:get_txb_high
Unexecuted instantiation: tx_search.c:get_txb_high
txb_rdopt.c:get_txb_high
Line
Count
Source
60
224M
static inline int get_txb_high(TX_SIZE tx_size) {
61
224M
  tx_size = av1_get_adjusted_tx_size(tx_size);
62
224M
  return tx_size_high[tx_size];
63
224M
}
Unexecuted instantiation: intra_mode_search.c:get_txb_high
Unexecuted instantiation: var_based_part.c:get_txb_high
Unexecuted instantiation: av1_noise_estimate.c:get_txb_high
encodetxb_sse2.c:get_txb_high
Line
Count
Source
60
115M
static inline int get_txb_high(TX_SIZE tx_size) {
61
115M
  tx_size = av1_get_adjusted_tx_size(tx_size);
62
115M
  return tx_size_high[tx_size];
63
115M
}
Unexecuted instantiation: entropy.c:get_txb_high
Unexecuted instantiation: entropymode.c:get_txb_high
Unexecuted instantiation: txb_common.c:get_txb_high
Unexecuted instantiation: aq_complexity.c:get_txb_high
Unexecuted instantiation: aq_cyclicrefresh.c:get_txb_high
Unexecuted instantiation: aq_variance.c:get_txb_high
Unexecuted instantiation: compound_type.c:get_txb_high
Unexecuted instantiation: encode_strategy.c:get_txb_high
Unexecuted instantiation: global_motion.c:get_txb_high
Unexecuted instantiation: gop_structure.c:get_txb_high
Unexecuted instantiation: interp_search.c:get_txb_high
Unexecuted instantiation: motion_search_facade.c:get_txb_high
Unexecuted instantiation: temporal_filter_sse2.c:get_txb_high
Unexecuted instantiation: highbd_temporal_filter_sse2.c:get_txb_high
Unexecuted instantiation: encodetxb_sse4.c:get_txb_high
Unexecuted instantiation: rdopt_sse4.c:get_txb_high
Unexecuted instantiation: pickrst_sse4.c:get_txb_high
Unexecuted instantiation: encodetxb_avx2.c:get_txb_high
Unexecuted instantiation: rdopt_avx2.c:get_txb_high
Unexecuted instantiation: temporal_filter_avx2.c:get_txb_high
Unexecuted instantiation: pickrst_avx2.c:get_txb_high
Unexecuted instantiation: highbd_temporal_filter_avx2.c:get_txb_high
64
65
262M
static inline uint8_t *set_levels(uint8_t *const levels_buf, const int height) {
66
262M
  return levels_buf + TX_PAD_TOP * (height + TX_PAD_HOR);
67
262M
}
decodetxb.c:set_levels
Line
Count
Source
65
12.4M
static inline uint8_t *set_levels(uint8_t *const levels_buf, const int height) {
66
12.4M
  return levels_buf + TX_PAD_TOP * (height + TX_PAD_HOR);
67
12.4M
}
Unexecuted instantiation: av1_cx_iface.c:set_levels
Unexecuted instantiation: allintra_vis.c:set_levels
Unexecuted instantiation: av1_quantize.c:set_levels
Unexecuted instantiation: bitstream.c:set_levels
Unexecuted instantiation: context_tree.c:set_levels
Unexecuted instantiation: encodeframe.c:set_levels
Unexecuted instantiation: encodeframe_utils.c:set_levels
Unexecuted instantiation: encodemb.c:set_levels
Unexecuted instantiation: encodemv.c:set_levels
Unexecuted instantiation: encoder.c:set_levels
Unexecuted instantiation: encoder_utils.c:set_levels
encodetxb.c:set_levels
Line
Count
Source
65
26.4M
static inline uint8_t *set_levels(uint8_t *const levels_buf, const int height) {
66
26.4M
  return levels_buf + TX_PAD_TOP * (height + TX_PAD_HOR);
67
26.4M
}
Unexecuted instantiation: ethread.c:set_levels
Unexecuted instantiation: firstpass.c:set_levels
Unexecuted instantiation: global_motion_facade.c:set_levels
Unexecuted instantiation: level.c:set_levels
Unexecuted instantiation: lookahead.c:set_levels
Unexecuted instantiation: mcomp.c:set_levels
Unexecuted instantiation: mv_prec.c:set_levels
Unexecuted instantiation: palette.c:set_levels
Unexecuted instantiation: partition_search.c:set_levels
Unexecuted instantiation: partition_strategy.c:set_levels
Unexecuted instantiation: pass2_strategy.c:set_levels
Unexecuted instantiation: pickcdef.c:set_levels
Unexecuted instantiation: picklpf.c:set_levels
Unexecuted instantiation: pickrst.c:set_levels
Unexecuted instantiation: ratectrl.c:set_levels
Unexecuted instantiation: rd.c:set_levels
Unexecuted instantiation: rdopt.c:set_levels
Unexecuted instantiation: nonrd_pickmode.c:set_levels
Unexecuted instantiation: nonrd_opt.c:set_levels
Unexecuted instantiation: segmentation.c:set_levels
Unexecuted instantiation: speed_features.c:set_levels
Unexecuted instantiation: superres_scale.c:set_levels
Unexecuted instantiation: svc_layercontext.c:set_levels
Unexecuted instantiation: temporal_filter.c:set_levels
Unexecuted instantiation: tokenize.c:set_levels
Unexecuted instantiation: tpl_model.c:set_levels
Unexecuted instantiation: tx_search.c:set_levels
txb_rdopt.c:set_levels
Line
Count
Source
65
223M
static inline uint8_t *set_levels(uint8_t *const levels_buf, const int height) {
66
223M
  return levels_buf + TX_PAD_TOP * (height + TX_PAD_HOR);
67
223M
}
Unexecuted instantiation: intra_mode_search.c:set_levels
Unexecuted instantiation: var_based_part.c:set_levels
Unexecuted instantiation: av1_noise_estimate.c:set_levels
Unexecuted instantiation: encodetxb_sse2.c:set_levels
Unexecuted instantiation: entropy.c:set_levels
Unexecuted instantiation: entropymode.c:set_levels
Unexecuted instantiation: txb_common.c:set_levels
Unexecuted instantiation: aq_complexity.c:set_levels
Unexecuted instantiation: aq_cyclicrefresh.c:set_levels
Unexecuted instantiation: aq_variance.c:set_levels
Unexecuted instantiation: compound_type.c:set_levels
Unexecuted instantiation: encode_strategy.c:set_levels
Unexecuted instantiation: global_motion.c:set_levels
Unexecuted instantiation: gop_structure.c:set_levels
Unexecuted instantiation: interp_search.c:set_levels
Unexecuted instantiation: motion_search_facade.c:set_levels
Unexecuted instantiation: temporal_filter_sse2.c:set_levels
Unexecuted instantiation: highbd_temporal_filter_sse2.c:set_levels
Unexecuted instantiation: encodetxb_sse4.c:set_levels
Unexecuted instantiation: rdopt_sse4.c:set_levels
Unexecuted instantiation: pickrst_sse4.c:set_levels
Unexecuted instantiation: encodetxb_avx2.c:set_levels
Unexecuted instantiation: rdopt_avx2.c:set_levels
Unexecuted instantiation: temporal_filter_avx2.c:set_levels
Unexecuted instantiation: pickrst_avx2.c:set_levels
Unexecuted instantiation: highbd_temporal_filter_avx2.c:set_levels
68
69
5.46G
static inline int get_padded_idx(const int idx, const int bhl) {
70
5.46G
  return idx + ((idx >> bhl) << TX_PAD_HOR_LOG2);
71
5.46G
}
decodetxb.c:get_padded_idx
Line
Count
Source
69
847M
static inline int get_padded_idx(const int idx, const int bhl) {
70
847M
  return idx + ((idx >> bhl) << TX_PAD_HOR_LOG2);
71
847M
}
Unexecuted instantiation: av1_cx_iface.c:get_padded_idx
Unexecuted instantiation: allintra_vis.c:get_padded_idx
Unexecuted instantiation: av1_quantize.c:get_padded_idx
Unexecuted instantiation: bitstream.c:get_padded_idx
Unexecuted instantiation: context_tree.c:get_padded_idx
Unexecuted instantiation: encodeframe.c:get_padded_idx
Unexecuted instantiation: encodeframe_utils.c:get_padded_idx
Unexecuted instantiation: encodemb.c:get_padded_idx
Unexecuted instantiation: encodemv.c:get_padded_idx
Unexecuted instantiation: encoder.c:get_padded_idx
Unexecuted instantiation: encoder_utils.c:get_padded_idx
Unexecuted instantiation: encodetxb.c:get_padded_idx
Unexecuted instantiation: ethread.c:get_padded_idx
Unexecuted instantiation: firstpass.c:get_padded_idx
Unexecuted instantiation: global_motion_facade.c:get_padded_idx
Unexecuted instantiation: level.c:get_padded_idx
Unexecuted instantiation: lookahead.c:get_padded_idx
Unexecuted instantiation: mcomp.c:get_padded_idx
Unexecuted instantiation: mv_prec.c:get_padded_idx
Unexecuted instantiation: palette.c:get_padded_idx
Unexecuted instantiation: partition_search.c:get_padded_idx
Unexecuted instantiation: partition_strategy.c:get_padded_idx
Unexecuted instantiation: pass2_strategy.c:get_padded_idx
Unexecuted instantiation: pickcdef.c:get_padded_idx
Unexecuted instantiation: picklpf.c:get_padded_idx
Unexecuted instantiation: pickrst.c:get_padded_idx
Unexecuted instantiation: ratectrl.c:get_padded_idx
Unexecuted instantiation: rd.c:get_padded_idx
Unexecuted instantiation: rdopt.c:get_padded_idx
Unexecuted instantiation: nonrd_pickmode.c:get_padded_idx
Unexecuted instantiation: nonrd_opt.c:get_padded_idx
Unexecuted instantiation: segmentation.c:get_padded_idx
Unexecuted instantiation: speed_features.c:get_padded_idx
Unexecuted instantiation: superres_scale.c:get_padded_idx
Unexecuted instantiation: svc_layercontext.c:get_padded_idx
Unexecuted instantiation: temporal_filter.c:get_padded_idx
Unexecuted instantiation: tokenize.c:get_padded_idx
Unexecuted instantiation: tpl_model.c:get_padded_idx
Unexecuted instantiation: tx_search.c:get_padded_idx
txb_rdopt.c:get_padded_idx
Line
Count
Source
69
4.62G
static inline int get_padded_idx(const int idx, const int bhl) {
70
4.62G
  return idx + ((idx >> bhl) << TX_PAD_HOR_LOG2);
71
4.62G
}
Unexecuted instantiation: intra_mode_search.c:get_padded_idx
Unexecuted instantiation: var_based_part.c:get_padded_idx
Unexecuted instantiation: av1_noise_estimate.c:get_padded_idx
Unexecuted instantiation: encodetxb_sse2.c:get_padded_idx
Unexecuted instantiation: entropy.c:get_padded_idx
Unexecuted instantiation: entropymode.c:get_padded_idx
Unexecuted instantiation: txb_common.c:get_padded_idx
Unexecuted instantiation: aq_complexity.c:get_padded_idx
Unexecuted instantiation: aq_cyclicrefresh.c:get_padded_idx
Unexecuted instantiation: aq_variance.c:get_padded_idx
Unexecuted instantiation: compound_type.c:get_padded_idx
Unexecuted instantiation: encode_strategy.c:get_padded_idx
Unexecuted instantiation: global_motion.c:get_padded_idx
Unexecuted instantiation: gop_structure.c:get_padded_idx
Unexecuted instantiation: interp_search.c:get_padded_idx
Unexecuted instantiation: motion_search_facade.c:get_padded_idx
Unexecuted instantiation: temporal_filter_sse2.c:get_padded_idx
Unexecuted instantiation: highbd_temporal_filter_sse2.c:get_padded_idx
Unexecuted instantiation: encodetxb_sse4.c:get_padded_idx
Unexecuted instantiation: rdopt_sse4.c:get_padded_idx
Unexecuted instantiation: pickrst_sse4.c:get_padded_idx
Unexecuted instantiation: encodetxb_avx2.c:get_padded_idx
Unexecuted instantiation: rdopt_avx2.c:get_padded_idx
Unexecuted instantiation: temporal_filter_avx2.c:get_padded_idx
Unexecuted instantiation: pickrst_avx2.c:get_padded_idx
Unexecuted instantiation: highbd_temporal_filter_avx2.c:get_padded_idx
72
73
static inline int get_br_ctx_2d(const uint8_t *const levels,
74
                                const int c,  // raster order
75
124M
                                const int bhl) {
76
124M
  assert(c > 0);
77
124M
  const int col = c >> bhl;
78
124M
  const int row = c - (col << bhl);
79
124M
  const int stride = (1 << bhl) + TX_PAD_HOR;
80
124M
  const int pos = col * stride + row;
81
124M
  int mag = AOMMIN(levels[pos + 1], MAX_BASE_BR_RANGE) +
82
124M
            AOMMIN(levels[pos + stride], MAX_BASE_BR_RANGE) +
83
124M
            AOMMIN(levels[pos + 1 + stride], MAX_BASE_BR_RANGE);
84
124M
  mag = AOMMIN((mag + 1) >> 1, 6);
85
  //((row | col) < 2) is equivalent to ((row < 2) && (col < 2))
86
124M
  if ((row | col) < 2) return mag + 7;
87
112M
  return mag + 14;
88
124M
}
decodetxb.c:get_br_ctx_2d
Line
Count
Source
75
124M
                                const int bhl) {
76
124M
  assert(c > 0);
77
124M
  const int col = c >> bhl;
78
124M
  const int row = c - (col << bhl);
79
124M
  const int stride = (1 << bhl) + TX_PAD_HOR;
80
124M
  const int pos = col * stride + row;
81
124M
  int mag = AOMMIN(levels[pos + 1], MAX_BASE_BR_RANGE) +
82
124M
            AOMMIN(levels[pos + stride], MAX_BASE_BR_RANGE) +
83
124M
            AOMMIN(levels[pos + 1 + stride], MAX_BASE_BR_RANGE);
84
124M
  mag = AOMMIN((mag + 1) >> 1, 6);
85
  //((row | col) < 2) is equivalent to ((row < 2) && (col < 2))
86
124M
  if ((row | col) < 2) return mag + 7;
87
112M
  return mag + 14;
88
124M
}
Unexecuted instantiation: av1_cx_iface.c:get_br_ctx_2d
Unexecuted instantiation: allintra_vis.c:get_br_ctx_2d
Unexecuted instantiation: av1_quantize.c:get_br_ctx_2d
Unexecuted instantiation: bitstream.c:get_br_ctx_2d
Unexecuted instantiation: context_tree.c:get_br_ctx_2d
Unexecuted instantiation: encodeframe.c:get_br_ctx_2d
Unexecuted instantiation: encodeframe_utils.c:get_br_ctx_2d
Unexecuted instantiation: encodemb.c:get_br_ctx_2d
Unexecuted instantiation: encodemv.c:get_br_ctx_2d
Unexecuted instantiation: encoder.c:get_br_ctx_2d
Unexecuted instantiation: encoder_utils.c:get_br_ctx_2d
Unexecuted instantiation: encodetxb.c:get_br_ctx_2d
Unexecuted instantiation: ethread.c:get_br_ctx_2d
Unexecuted instantiation: firstpass.c:get_br_ctx_2d
Unexecuted instantiation: global_motion_facade.c:get_br_ctx_2d
Unexecuted instantiation: level.c:get_br_ctx_2d
Unexecuted instantiation: lookahead.c:get_br_ctx_2d
Unexecuted instantiation: mcomp.c:get_br_ctx_2d
Unexecuted instantiation: mv_prec.c:get_br_ctx_2d
Unexecuted instantiation: palette.c:get_br_ctx_2d
Unexecuted instantiation: partition_search.c:get_br_ctx_2d
Unexecuted instantiation: partition_strategy.c:get_br_ctx_2d
Unexecuted instantiation: pass2_strategy.c:get_br_ctx_2d
Unexecuted instantiation: pickcdef.c:get_br_ctx_2d
Unexecuted instantiation: picklpf.c:get_br_ctx_2d
Unexecuted instantiation: pickrst.c:get_br_ctx_2d
Unexecuted instantiation: ratectrl.c:get_br_ctx_2d
Unexecuted instantiation: rd.c:get_br_ctx_2d
Unexecuted instantiation: rdopt.c:get_br_ctx_2d
Unexecuted instantiation: nonrd_pickmode.c:get_br_ctx_2d
Unexecuted instantiation: nonrd_opt.c:get_br_ctx_2d
Unexecuted instantiation: segmentation.c:get_br_ctx_2d
Unexecuted instantiation: speed_features.c:get_br_ctx_2d
Unexecuted instantiation: superres_scale.c:get_br_ctx_2d
Unexecuted instantiation: svc_layercontext.c:get_br_ctx_2d
Unexecuted instantiation: temporal_filter.c:get_br_ctx_2d
Unexecuted instantiation: tokenize.c:get_br_ctx_2d
Unexecuted instantiation: tpl_model.c:get_br_ctx_2d
Unexecuted instantiation: tx_search.c:get_br_ctx_2d
Unexecuted instantiation: txb_rdopt.c:get_br_ctx_2d
Unexecuted instantiation: intra_mode_search.c:get_br_ctx_2d
Unexecuted instantiation: var_based_part.c:get_br_ctx_2d
Unexecuted instantiation: av1_noise_estimate.c:get_br_ctx_2d
Unexecuted instantiation: encodetxb_sse2.c:get_br_ctx_2d
Unexecuted instantiation: entropy.c:get_br_ctx_2d
Unexecuted instantiation: entropymode.c:get_br_ctx_2d
Unexecuted instantiation: txb_common.c:get_br_ctx_2d
Unexecuted instantiation: aq_complexity.c:get_br_ctx_2d
Unexecuted instantiation: aq_cyclicrefresh.c:get_br_ctx_2d
Unexecuted instantiation: aq_variance.c:get_br_ctx_2d
Unexecuted instantiation: compound_type.c:get_br_ctx_2d
Unexecuted instantiation: encode_strategy.c:get_br_ctx_2d
Unexecuted instantiation: global_motion.c:get_br_ctx_2d
Unexecuted instantiation: gop_structure.c:get_br_ctx_2d
Unexecuted instantiation: interp_search.c:get_br_ctx_2d
Unexecuted instantiation: motion_search_facade.c:get_br_ctx_2d
Unexecuted instantiation: temporal_filter_sse2.c:get_br_ctx_2d
Unexecuted instantiation: highbd_temporal_filter_sse2.c:get_br_ctx_2d
Unexecuted instantiation: encodetxb_sse4.c:get_br_ctx_2d
Unexecuted instantiation: rdopt_sse4.c:get_br_ctx_2d
Unexecuted instantiation: pickrst_sse4.c:get_br_ctx_2d
Unexecuted instantiation: encodetxb_avx2.c:get_br_ctx_2d
Unexecuted instantiation: rdopt_avx2.c:get_br_ctx_2d
Unexecuted instantiation: temporal_filter_avx2.c:get_br_ctx_2d
Unexecuted instantiation: pickrst_avx2.c:get_br_ctx_2d
Unexecuted instantiation: highbd_temporal_filter_avx2.c:get_br_ctx_2d
89
90
static AOM_FORCE_INLINE int get_br_ctx_eob(const int c,  // raster order
91
                                           const int bhl,
92
421M
                                           const TX_CLASS tx_class) {
93
421M
  const int col = c >> bhl;
94
421M
  const int row = c - (col << bhl);
95
421M
  if (c == 0) return 0;
96
418M
  if ((tx_class == TX_CLASS_2D && row < 2 && col < 2) ||
97
411M
      (tx_class == TX_CLASS_HORIZ && col == 0) ||
98
403M
      (tx_class == TX_CLASS_VERT && row == 0))
99
15.9M
    return 7;
100
402M
  return 14;
101
418M
}
decodetxb.c:get_br_ctx_eob
Line
Count
Source
92
4.76M
                                           const TX_CLASS tx_class) {
93
4.76M
  const int col = c >> bhl;
94
4.76M
  const int row = c - (col << bhl);
95
4.76M
  if (c == 0) return 0;
96
4.67M
  if ((tx_class == TX_CLASS_2D && row < 2 && col < 2) ||
97
4.65M
      (tx_class == TX_CLASS_HORIZ && col == 0) ||
98
4.61M
      (tx_class == TX_CLASS_VERT && row == 0))
99
69.3k
    return 7;
100
4.61M
  return 14;
101
4.67M
}
Unexecuted instantiation: av1_cx_iface.c:get_br_ctx_eob
Unexecuted instantiation: allintra_vis.c:get_br_ctx_eob
Unexecuted instantiation: av1_quantize.c:get_br_ctx_eob
Unexecuted instantiation: bitstream.c:get_br_ctx_eob
Unexecuted instantiation: context_tree.c:get_br_ctx_eob
Unexecuted instantiation: encodeframe.c:get_br_ctx_eob
Unexecuted instantiation: encodeframe_utils.c:get_br_ctx_eob
Unexecuted instantiation: encodemb.c:get_br_ctx_eob
Unexecuted instantiation: encodemv.c:get_br_ctx_eob
Unexecuted instantiation: encoder.c:get_br_ctx_eob
Unexecuted instantiation: encoder_utils.c:get_br_ctx_eob
Unexecuted instantiation: encodetxb.c:get_br_ctx_eob
Unexecuted instantiation: ethread.c:get_br_ctx_eob
Unexecuted instantiation: firstpass.c:get_br_ctx_eob
Unexecuted instantiation: global_motion_facade.c:get_br_ctx_eob
Unexecuted instantiation: level.c:get_br_ctx_eob
Unexecuted instantiation: lookahead.c:get_br_ctx_eob
Unexecuted instantiation: mcomp.c:get_br_ctx_eob
Unexecuted instantiation: mv_prec.c:get_br_ctx_eob
Unexecuted instantiation: palette.c:get_br_ctx_eob
Unexecuted instantiation: partition_search.c:get_br_ctx_eob
Unexecuted instantiation: partition_strategy.c:get_br_ctx_eob
Unexecuted instantiation: pass2_strategy.c:get_br_ctx_eob
Unexecuted instantiation: pickcdef.c:get_br_ctx_eob
Unexecuted instantiation: picklpf.c:get_br_ctx_eob
Unexecuted instantiation: pickrst.c:get_br_ctx_eob
Unexecuted instantiation: ratectrl.c:get_br_ctx_eob
Unexecuted instantiation: rd.c:get_br_ctx_eob
Unexecuted instantiation: rdopt.c:get_br_ctx_eob
Unexecuted instantiation: nonrd_pickmode.c:get_br_ctx_eob
Unexecuted instantiation: nonrd_opt.c:get_br_ctx_eob
Unexecuted instantiation: segmentation.c:get_br_ctx_eob
Unexecuted instantiation: speed_features.c:get_br_ctx_eob
Unexecuted instantiation: superres_scale.c:get_br_ctx_eob
Unexecuted instantiation: svc_layercontext.c:get_br_ctx_eob
Unexecuted instantiation: temporal_filter.c:get_br_ctx_eob
Unexecuted instantiation: tokenize.c:get_br_ctx_eob
Unexecuted instantiation: tpl_model.c:get_br_ctx_eob
Unexecuted instantiation: tx_search.c:get_br_ctx_eob
txb_rdopt.c:get_br_ctx_eob
Line
Count
Source
92
417M
                                           const TX_CLASS tx_class) {
93
417M
  const int col = c >> bhl;
94
417M
  const int row = c - (col << bhl);
95
417M
  if (c == 0) return 0;
96
413M
  if ((tx_class == TX_CLASS_2D && row < 2 && col < 2) ||
97
406M
      (tx_class == TX_CLASS_HORIZ && col == 0) ||
98
399M
      (tx_class == TX_CLASS_VERT && row == 0))
99
15.8M
    return 7;
100
397M
  return 14;
101
413M
}
Unexecuted instantiation: intra_mode_search.c:get_br_ctx_eob
Unexecuted instantiation: var_based_part.c:get_br_ctx_eob
Unexecuted instantiation: av1_noise_estimate.c:get_br_ctx_eob
Unexecuted instantiation: encodetxb_sse2.c:get_br_ctx_eob
Unexecuted instantiation: entropy.c:get_br_ctx_eob
Unexecuted instantiation: entropymode.c:get_br_ctx_eob
Unexecuted instantiation: txb_common.c:get_br_ctx_eob
Unexecuted instantiation: aq_complexity.c:get_br_ctx_eob
Unexecuted instantiation: aq_cyclicrefresh.c:get_br_ctx_eob
Unexecuted instantiation: aq_variance.c:get_br_ctx_eob
Unexecuted instantiation: compound_type.c:get_br_ctx_eob
Unexecuted instantiation: encode_strategy.c:get_br_ctx_eob
Unexecuted instantiation: global_motion.c:get_br_ctx_eob
Unexecuted instantiation: gop_structure.c:get_br_ctx_eob
Unexecuted instantiation: interp_search.c:get_br_ctx_eob
Unexecuted instantiation: motion_search_facade.c:get_br_ctx_eob
Unexecuted instantiation: temporal_filter_sse2.c:get_br_ctx_eob
Unexecuted instantiation: highbd_temporal_filter_sse2.c:get_br_ctx_eob
Unexecuted instantiation: encodetxb_sse4.c:get_br_ctx_eob
Unexecuted instantiation: rdopt_sse4.c:get_br_ctx_eob
Unexecuted instantiation: pickrst_sse4.c:get_br_ctx_eob
Unexecuted instantiation: encodetxb_avx2.c:get_br_ctx_eob
Unexecuted instantiation: rdopt_avx2.c:get_br_ctx_eob
Unexecuted instantiation: temporal_filter_avx2.c:get_br_ctx_eob
Unexecuted instantiation: pickrst_avx2.c:get_br_ctx_eob
Unexecuted instantiation: highbd_temporal_filter_avx2.c:get_br_ctx_eob
102
103
static AOM_FORCE_INLINE int get_br_ctx(const uint8_t *const levels,
104
                                       const int c,  // raster order
105
4.35G
                                       const int bhl, const TX_CLASS tx_class) {
106
4.35G
  const int col = c >> bhl;
107
4.35G
  const int row = c - (col << bhl);
108
4.35G
  const int stride = (1 << bhl) + TX_PAD_HOR;
109
4.35G
  const int pos = col * stride + row;
110
4.35G
  int mag = levels[pos + 1];
111
4.35G
  mag += levels[pos + stride];
112
4.35G
  switch (tx_class) {
113
4.05G
    case TX_CLASS_2D:
114
4.05G
      mag += levels[pos + stride + 1];
115
4.05G
      mag = AOMMIN((mag + 1) >> 1, 6);
116
4.05G
      if (c == 0) return mag;
117
3.81G
      if ((row < 2) && (col < 2)) return mag + 7;
118
3.49G
      break;
119
3.49G
    case TX_CLASS_HORIZ:
120
405M
      mag += levels[pos + (stride << 1)];
121
405M
      mag = AOMMIN((mag + 1) >> 1, 6);
122
405M
      if (c == 0) return mag;
123
375M
      if (col == 0) return mag + 7;
124
305M
      break;
125
305M
    case TX_CLASS_VERT:
126
28.7M
      mag += levels[pos + 2];
127
28.7M
      mag = AOMMIN((mag + 1) >> 1, 6);
128
28.7M
      if (c == 0) return mag;
129
26.6M
      if (row == 0) return mag + 7;
130
21.0M
      break;
131
21.0M
    default: break;
132
4.35G
  }
133
134
3.83G
  return mag + 14;
135
4.35G
}
decodetxb.c:get_br_ctx
Line
Count
Source
105
14.6M
                                       const int bhl, const TX_CLASS tx_class) {
106
14.6M
  const int col = c >> bhl;
107
14.6M
  const int row = c - (col << bhl);
108
14.6M
  const int stride = (1 << bhl) + TX_PAD_HOR;
109
14.6M
  const int pos = col * stride + row;
110
14.6M
  int mag = levels[pos + 1];
111
14.6M
  mag += levels[pos + stride];
112
14.6M
  switch (tx_class) {
113
5.76M
    case TX_CLASS_2D:
114
5.76M
      mag += levels[pos + stride + 1];
115
5.76M
      mag = AOMMIN((mag + 1) >> 1, 6);
116
5.76M
      if (c == 0) return mag;
117
18.4E
      if ((row < 2) && (col < 2)) return mag + 7;
118
18.4E
      break;
119
18.4E
    case TX_CLASS_HORIZ:
120
8.51M
      mag += levels[pos + (stride << 1)];
121
8.51M
      mag = AOMMIN((mag + 1) >> 1, 6);
122
8.51M
      if (c == 0) return mag;
123
8.10M
      if (col == 0) return mag + 7;
124
6.47M
      break;
125
6.47M
    case TX_CLASS_VERT:
126
381k
      mag += levels[pos + 2];
127
381k
      mag = AOMMIN((mag + 1) >> 1, 6);
128
381k
      if (c == 0) return mag;
129
356k
      if (row == 0) return mag + 7;
130
260k
      break;
131
260k
    default: break;
132
14.6M
  }
133
134
6.76M
  return mag + 14;
135
14.6M
}
Unexecuted instantiation: av1_cx_iface.c:get_br_ctx
Unexecuted instantiation: allintra_vis.c:get_br_ctx
Unexecuted instantiation: av1_quantize.c:get_br_ctx
Unexecuted instantiation: bitstream.c:get_br_ctx
Unexecuted instantiation: context_tree.c:get_br_ctx
Unexecuted instantiation: encodeframe.c:get_br_ctx
Unexecuted instantiation: encodeframe_utils.c:get_br_ctx
Unexecuted instantiation: encodemb.c:get_br_ctx
Unexecuted instantiation: encodemv.c:get_br_ctx
Unexecuted instantiation: encoder.c:get_br_ctx
Unexecuted instantiation: encoder_utils.c:get_br_ctx
encodetxb.c:get_br_ctx
Line
Count
Source
105
570M
                                       const int bhl, const TX_CLASS tx_class) {
106
570M
  const int col = c >> bhl;
107
570M
  const int row = c - (col << bhl);
108
570M
  const int stride = (1 << bhl) + TX_PAD_HOR;
109
570M
  const int pos = col * stride + row;
110
570M
  int mag = levels[pos + 1];
111
570M
  mag += levels[pos + stride];
112
570M
  switch (tx_class) {
113
535M
    case TX_CLASS_2D:
114
535M
      mag += levels[pos + stride + 1];
115
535M
      mag = AOMMIN((mag + 1) >> 1, 6);
116
535M
      if (c == 0) return mag;
117
516M
      if ((row < 2) && (col < 2)) return mag + 7;
118
475M
      break;
119
475M
    case TX_CLASS_HORIZ:
120
33.7M
      mag += levels[pos + (stride << 1)];
121
33.7M
      mag = AOMMIN((mag + 1) >> 1, 6);
122
33.7M
      if (c == 0) return mag;
123
32.2M
      if (col == 0) return mag + 7;
124
25.7M
      break;
125
25.7M
    case TX_CLASS_VERT:
126
2.17M
      mag += levels[pos + 2];
127
2.17M
      mag = AOMMIN((mag + 1) >> 1, 6);
128
2.17M
      if (c == 0) return mag;
129
2.04M
      if (row == 0) return mag + 7;
130
1.49M
      break;
131
1.49M
    default: break;
132
570M
  }
133
134
503M
  return mag + 14;
135
570M
}
Unexecuted instantiation: ethread.c:get_br_ctx
Unexecuted instantiation: firstpass.c:get_br_ctx
Unexecuted instantiation: global_motion_facade.c:get_br_ctx
Unexecuted instantiation: level.c:get_br_ctx
Unexecuted instantiation: lookahead.c:get_br_ctx
Unexecuted instantiation: mcomp.c:get_br_ctx
Unexecuted instantiation: mv_prec.c:get_br_ctx
Unexecuted instantiation: palette.c:get_br_ctx
Unexecuted instantiation: partition_search.c:get_br_ctx
Unexecuted instantiation: partition_strategy.c:get_br_ctx
Unexecuted instantiation: pass2_strategy.c:get_br_ctx
Unexecuted instantiation: pickcdef.c:get_br_ctx
Unexecuted instantiation: picklpf.c:get_br_ctx
Unexecuted instantiation: pickrst.c:get_br_ctx
Unexecuted instantiation: ratectrl.c:get_br_ctx
Unexecuted instantiation: rd.c:get_br_ctx
Unexecuted instantiation: rdopt.c:get_br_ctx
Unexecuted instantiation: nonrd_pickmode.c:get_br_ctx
Unexecuted instantiation: nonrd_opt.c:get_br_ctx
Unexecuted instantiation: segmentation.c:get_br_ctx
Unexecuted instantiation: speed_features.c:get_br_ctx
Unexecuted instantiation: superres_scale.c:get_br_ctx
Unexecuted instantiation: svc_layercontext.c:get_br_ctx
Unexecuted instantiation: temporal_filter.c:get_br_ctx
Unexecuted instantiation: tokenize.c:get_br_ctx
Unexecuted instantiation: tpl_model.c:get_br_ctx
Unexecuted instantiation: tx_search.c:get_br_ctx
txb_rdopt.c:get_br_ctx
Line
Count
Source
105
3.76G
                                       const int bhl, const TX_CLASS tx_class) {
106
3.76G
  const int col = c >> bhl;
107
3.76G
  const int row = c - (col << bhl);
108
3.76G
  const int stride = (1 << bhl) + TX_PAD_HOR;
109
3.76G
  const int pos = col * stride + row;
110
3.76G
  int mag = levels[pos + 1];
111
3.76G
  mag += levels[pos + stride];
112
3.76G
  switch (tx_class) {
113
3.51G
    case TX_CLASS_2D:
114
3.51G
      mag += levels[pos + stride + 1];
115
3.51G
      mag = AOMMIN((mag + 1) >> 1, 6);
116
3.51G
      if (c == 0) return mag;
117
3.29G
      if ((row < 2) && (col < 2)) return mag + 7;
118
3.02G
      break;
119
3.02G
    case TX_CLASS_HORIZ:
120
363M
      mag += levels[pos + (stride << 1)];
121
363M
      mag = AOMMIN((mag + 1) >> 1, 6);
122
363M
      if (c == 0) return mag;
123
335M
      if (col == 0) return mag + 7;
124
273M
      break;
125
273M
    case TX_CLASS_VERT:
126
26.1M
      mag += levels[pos + 2];
127
26.1M
      mag = AOMMIN((mag + 1) >> 1, 6);
128
26.1M
      if (c == 0) return mag;
129
24.2M
      if (row == 0) return mag + 7;
130
19.2M
      break;
131
19.2M
    default: break;
132
3.76G
  }
133
134
3.32G
  return mag + 14;
135
3.76G
}
Unexecuted instantiation: intra_mode_search.c:get_br_ctx
Unexecuted instantiation: var_based_part.c:get_br_ctx
Unexecuted instantiation: av1_noise_estimate.c:get_br_ctx
Unexecuted instantiation: encodetxb_sse2.c:get_br_ctx
Unexecuted instantiation: entropy.c:get_br_ctx
Unexecuted instantiation: entropymode.c:get_br_ctx
Unexecuted instantiation: txb_common.c:get_br_ctx
Unexecuted instantiation: aq_complexity.c:get_br_ctx
Unexecuted instantiation: aq_cyclicrefresh.c:get_br_ctx
Unexecuted instantiation: aq_variance.c:get_br_ctx
Unexecuted instantiation: compound_type.c:get_br_ctx
Unexecuted instantiation: encode_strategy.c:get_br_ctx
Unexecuted instantiation: global_motion.c:get_br_ctx
Unexecuted instantiation: gop_structure.c:get_br_ctx
Unexecuted instantiation: interp_search.c:get_br_ctx
Unexecuted instantiation: motion_search_facade.c:get_br_ctx
Unexecuted instantiation: temporal_filter_sse2.c:get_br_ctx
Unexecuted instantiation: highbd_temporal_filter_sse2.c:get_br_ctx
Unexecuted instantiation: encodetxb_sse4.c:get_br_ctx
Unexecuted instantiation: rdopt_sse4.c:get_br_ctx
Unexecuted instantiation: pickrst_sse4.c:get_br_ctx
Unexecuted instantiation: encodetxb_avx2.c:get_br_ctx
Unexecuted instantiation: rdopt_avx2.c:get_br_ctx
Unexecuted instantiation: temporal_filter_avx2.c:get_br_ctx
Unexecuted instantiation: pickrst_avx2.c:get_br_ctx
Unexecuted instantiation: highbd_temporal_filter_avx2.c:get_br_ctx
136
137
static const uint8_t clip_max3[256] = {
138
  0, 1, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
139
  3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
140
  3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
141
  3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
142
  3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
143
  3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
144
  3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
145
  3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
146
  3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
147
  3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3
148
};
149
150
static AOM_FORCE_INLINE int get_nz_mag(const uint8_t *const levels,
151
4.51G
                                       const int bhl, const TX_CLASS tx_class) {
152
4.51G
  int mag;
153
154
  // Note: AOMMIN(level, 3) is useless for decoder since level < 3.
155
4.51G
  mag = clip_max3[levels[(1 << bhl) + TX_PAD_HOR]];  // { 0, 1 }
156
4.51G
  mag += clip_max3[levels[1]];                       // { 1, 0 }
157
158
4.51G
  if (tx_class == TX_CLASS_2D) {
159
4.09G
    mag += clip_max3[levels[(1 << bhl) + TX_PAD_HOR + 1]];          // { 1, 1 }
160
4.09G
    mag += clip_max3[levels[(2 << bhl) + (2 << TX_PAD_HOR_LOG2)]];  // { 0, 2 }
161
4.09G
    mag += clip_max3[levels[2]];                                    // { 2, 0 }
162
4.09G
  } else if (tx_class == TX_CLASS_VERT) {
163
36.2M
    mag += clip_max3[levels[2]];  // { 2, 0 }
164
36.2M
    mag += clip_max3[levels[3]];  // { 3, 0 }
165
36.2M
    mag += clip_max3[levels[4]];  // { 4, 0 }
166
383M
  } else {
167
383M
    mag += clip_max3[levels[(2 << bhl) + (2 << TX_PAD_HOR_LOG2)]];  // { 0, 2 }
168
383M
    mag += clip_max3[levels[(3 << bhl) + (3 << TX_PAD_HOR_LOG2)]];  // { 0, 3 }
169
383M
    mag += clip_max3[levels[(4 << bhl) + (4 << TX_PAD_HOR_LOG2)]];  // { 0, 4 }
170
383M
  }
171
172
4.51G
  return mag;
173
4.51G
}
decodetxb.c:get_nz_mag
Line
Count
Source
151
25.2M
                                       const int bhl, const TX_CLASS tx_class) {
152
25.2M
  int mag;
153
154
  // Note: AOMMIN(level, 3) is useless for decoder since level < 3.
155
25.2M
  mag = clip_max3[levels[(1 << bhl) + TX_PAD_HOR]];  // { 0, 1 }
156
25.2M
  mag += clip_max3[levels[1]];                       // { 1, 0 }
157
158
25.2M
  if (tx_class == TX_CLASS_2D) {
159
8.21M
    mag += clip_max3[levels[(1 << bhl) + TX_PAD_HOR + 1]];          // { 1, 1 }
160
8.21M
    mag += clip_max3[levels[(2 << bhl) + (2 << TX_PAD_HOR_LOG2)]];  // { 0, 2 }
161
8.21M
    mag += clip_max3[levels[2]];                                    // { 2, 0 }
162
17.0M
  } else if (tx_class == TX_CLASS_VERT) {
163
1.86M
    mag += clip_max3[levels[2]];  // { 2, 0 }
164
1.86M
    mag += clip_max3[levels[3]];  // { 3, 0 }
165
1.86M
    mag += clip_max3[levels[4]];  // { 4, 0 }
166
15.1M
  } else {
167
15.1M
    mag += clip_max3[levels[(2 << bhl) + (2 << TX_PAD_HOR_LOG2)]];  // { 0, 2 }
168
15.1M
    mag += clip_max3[levels[(3 << bhl) + (3 << TX_PAD_HOR_LOG2)]];  // { 0, 3 }
169
15.1M
    mag += clip_max3[levels[(4 << bhl) + (4 << TX_PAD_HOR_LOG2)]];  // { 0, 4 }
170
15.1M
  }
171
172
25.2M
  return mag;
173
25.2M
}
Unexecuted instantiation: av1_cx_iface.c:get_nz_mag
Unexecuted instantiation: allintra_vis.c:get_nz_mag
Unexecuted instantiation: av1_quantize.c:get_nz_mag
Unexecuted instantiation: bitstream.c:get_nz_mag
Unexecuted instantiation: context_tree.c:get_nz_mag
Unexecuted instantiation: encodeframe.c:get_nz_mag
Unexecuted instantiation: encodeframe_utils.c:get_nz_mag
Unexecuted instantiation: encodemb.c:get_nz_mag
Unexecuted instantiation: encodemv.c:get_nz_mag
Unexecuted instantiation: encoder.c:get_nz_mag
Unexecuted instantiation: encoder_utils.c:get_nz_mag
Unexecuted instantiation: encodetxb.c:get_nz_mag
Unexecuted instantiation: ethread.c:get_nz_mag
Unexecuted instantiation: firstpass.c:get_nz_mag
Unexecuted instantiation: global_motion_facade.c:get_nz_mag
Unexecuted instantiation: level.c:get_nz_mag
Unexecuted instantiation: lookahead.c:get_nz_mag
Unexecuted instantiation: mcomp.c:get_nz_mag
Unexecuted instantiation: mv_prec.c:get_nz_mag
Unexecuted instantiation: palette.c:get_nz_mag
Unexecuted instantiation: partition_search.c:get_nz_mag
Unexecuted instantiation: partition_strategy.c:get_nz_mag
Unexecuted instantiation: pass2_strategy.c:get_nz_mag
Unexecuted instantiation: pickcdef.c:get_nz_mag
Unexecuted instantiation: picklpf.c:get_nz_mag
Unexecuted instantiation: pickrst.c:get_nz_mag
Unexecuted instantiation: ratectrl.c:get_nz_mag
Unexecuted instantiation: rd.c:get_nz_mag
Unexecuted instantiation: rdopt.c:get_nz_mag
Unexecuted instantiation: nonrd_pickmode.c:get_nz_mag
Unexecuted instantiation: nonrd_opt.c:get_nz_mag
Unexecuted instantiation: segmentation.c:get_nz_mag
Unexecuted instantiation: speed_features.c:get_nz_mag
Unexecuted instantiation: superres_scale.c:get_nz_mag
Unexecuted instantiation: svc_layercontext.c:get_nz_mag
Unexecuted instantiation: temporal_filter.c:get_nz_mag
Unexecuted instantiation: tokenize.c:get_nz_mag
Unexecuted instantiation: tpl_model.c:get_nz_mag
Unexecuted instantiation: tx_search.c:get_nz_mag
txb_rdopt.c:get_nz_mag
Line
Count
Source
151
4.48G
                                       const int bhl, const TX_CLASS tx_class) {
152
4.48G
  int mag;
153
154
  // Note: AOMMIN(level, 3) is useless for decoder since level < 3.
155
4.48G
  mag = clip_max3[levels[(1 << bhl) + TX_PAD_HOR]];  // { 0, 1 }
156
4.48G
  mag += clip_max3[levels[1]];                       // { 1, 0 }
157
158
4.48G
  if (tx_class == TX_CLASS_2D) {
159
4.08G
    mag += clip_max3[levels[(1 << bhl) + TX_PAD_HOR + 1]];          // { 1, 1 }
160
4.08G
    mag += clip_max3[levels[(2 << bhl) + (2 << TX_PAD_HOR_LOG2)]];  // { 0, 2 }
161
4.08G
    mag += clip_max3[levels[2]];                                    // { 2, 0 }
162
4.08G
  } else if (tx_class == TX_CLASS_VERT) {
163
34.3M
    mag += clip_max3[levels[2]];  // { 2, 0 }
164
34.3M
    mag += clip_max3[levels[3]];  // { 3, 0 }
165
34.3M
    mag += clip_max3[levels[4]];  // { 4, 0 }
166
368M
  } else {
167
368M
    mag += clip_max3[levels[(2 << bhl) + (2 << TX_PAD_HOR_LOG2)]];  // { 0, 2 }
168
368M
    mag += clip_max3[levels[(3 << bhl) + (3 << TX_PAD_HOR_LOG2)]];  // { 0, 3 }
169
368M
    mag += clip_max3[levels[(4 << bhl) + (4 << TX_PAD_HOR_LOG2)]];  // { 0, 4 }
170
368M
  }
171
172
4.48G
  return mag;
173
4.48G
}
Unexecuted instantiation: intra_mode_search.c:get_nz_mag
Unexecuted instantiation: var_based_part.c:get_nz_mag
Unexecuted instantiation: av1_noise_estimate.c:get_nz_mag
Unexecuted instantiation: encodetxb_sse2.c:get_nz_mag
Unexecuted instantiation: entropy.c:get_nz_mag
Unexecuted instantiation: entropymode.c:get_nz_mag
Unexecuted instantiation: txb_common.c:get_nz_mag
Unexecuted instantiation: aq_complexity.c:get_nz_mag
Unexecuted instantiation: aq_cyclicrefresh.c:get_nz_mag
Unexecuted instantiation: aq_variance.c:get_nz_mag
Unexecuted instantiation: compound_type.c:get_nz_mag
Unexecuted instantiation: encode_strategy.c:get_nz_mag
Unexecuted instantiation: global_motion.c:get_nz_mag
Unexecuted instantiation: gop_structure.c:get_nz_mag
Unexecuted instantiation: interp_search.c:get_nz_mag
Unexecuted instantiation: motion_search_facade.c:get_nz_mag
Unexecuted instantiation: temporal_filter_sse2.c:get_nz_mag
Unexecuted instantiation: highbd_temporal_filter_sse2.c:get_nz_mag
Unexecuted instantiation: encodetxb_sse4.c:get_nz_mag
Unexecuted instantiation: rdopt_sse4.c:get_nz_mag
Unexecuted instantiation: pickrst_sse4.c:get_nz_mag
Unexecuted instantiation: encodetxb_avx2.c:get_nz_mag
Unexecuted instantiation: rdopt_avx2.c:get_nz_mag
Unexecuted instantiation: temporal_filter_avx2.c:get_nz_mag
Unexecuted instantiation: pickrst_avx2.c:get_nz_mag
Unexecuted instantiation: highbd_temporal_filter_avx2.c:get_nz_mag
174
175
#define NZ_MAP_CTX_0 SIG_COEF_CONTEXTS_2D
176
#define NZ_MAP_CTX_5 (NZ_MAP_CTX_0 + 5)
177
#define NZ_MAP_CTX_10 (NZ_MAP_CTX_0 + 10)
178
179
static const int nz_map_ctx_offset_1d[32] = {
180
  NZ_MAP_CTX_0,  NZ_MAP_CTX_5,  NZ_MAP_CTX_10, NZ_MAP_CTX_10, NZ_MAP_CTX_10,
181
  NZ_MAP_CTX_10, NZ_MAP_CTX_10, NZ_MAP_CTX_10, NZ_MAP_CTX_10, NZ_MAP_CTX_10,
182
  NZ_MAP_CTX_10, NZ_MAP_CTX_10, NZ_MAP_CTX_10, NZ_MAP_CTX_10, NZ_MAP_CTX_10,
183
  NZ_MAP_CTX_10, NZ_MAP_CTX_10, NZ_MAP_CTX_10, NZ_MAP_CTX_10, NZ_MAP_CTX_10,
184
  NZ_MAP_CTX_10, NZ_MAP_CTX_10, NZ_MAP_CTX_10, NZ_MAP_CTX_10, NZ_MAP_CTX_10,
185
  NZ_MAP_CTX_10, NZ_MAP_CTX_10, NZ_MAP_CTX_10, NZ_MAP_CTX_10, NZ_MAP_CTX_10,
186
  NZ_MAP_CTX_10, NZ_MAP_CTX_10,
187
};
188
189
static AOM_FORCE_INLINE int get_nz_map_ctx_from_stats(
190
    const int stats,
191
    const int coeff_idx,  // raster order
192
4.53G
    const int bhl, const TX_SIZE tx_size, const TX_CLASS tx_class) {
193
  // tx_class == 0(TX_CLASS_2D)
194
4.53G
  if ((tx_class | coeff_idx) == 0) return 0;
195
4.41G
  int ctx = (stats + 1) >> 1;
196
4.41G
  ctx = AOMMIN(ctx, 4);
197
4.41G
  switch (tx_class) {
198
4.03G
    case TX_CLASS_2D: {
199
      // This is the algorithm to generate av1_nz_map_ctx_offset[][]
200
      //   const int width = tx_size_wide[tx_size];
201
      //   const int height = tx_size_high[tx_size];
202
      //   if (width < height) {
203
      //     if (row < 2) return 11 + ctx;
204
      //   } else if (width > height) {
205
      //     if (col < 2) return 16 + ctx;
206
      //   }
207
      //   if (row + col < 2) return ctx + 1;
208
      //   if (row + col < 4) return 5 + ctx + 1;
209
      //   return 21 + ctx;
210
4.03G
      return ctx + av1_nz_map_ctx_offset[tx_size][coeff_idx];
211
0
    }
212
567M
    case TX_CLASS_HORIZ: {
213
567M
      const int col = coeff_idx >> bhl;
214
567M
      return ctx + nz_map_ctx_offset_1d[col];
215
0
    }
216
36.2M
    case TX_CLASS_VERT: {
217
36.2M
      const int col = coeff_idx >> bhl;
218
36.2M
      const int row = coeff_idx - (col << bhl);
219
36.2M
      return ctx + nz_map_ctx_offset_1d[row];
220
0
    }
221
0
    default: break;
222
4.41G
  }
223
0
  return 0;
224
4.41G
}
decodetxb.c:get_nz_map_ctx_from_stats
Line
Count
Source
192
25.2M
    const int bhl, const TX_SIZE tx_size, const TX_CLASS tx_class) {
193
  // tx_class == 0(TX_CLASS_2D)
194
25.2M
  if ((tx_class | coeff_idx) == 0) return 0;
195
17.0M
  int ctx = (stats + 1) >> 1;
196
17.0M
  ctx = AOMMIN(ctx, 4);
197
17.0M
  switch (tx_class) {
198
0
    case TX_CLASS_2D: {
199
      // This is the algorithm to generate av1_nz_map_ctx_offset[][]
200
      //   const int width = tx_size_wide[tx_size];
201
      //   const int height = tx_size_high[tx_size];
202
      //   if (width < height) {
203
      //     if (row < 2) return 11 + ctx;
204
      //   } else if (width > height) {
205
      //     if (col < 2) return 16 + ctx;
206
      //   }
207
      //   if (row + col < 2) return ctx + 1;
208
      //   if (row + col < 4) return 5 + ctx + 1;
209
      //   return 21 + ctx;
210
0
      return ctx + av1_nz_map_ctx_offset[tx_size][coeff_idx];
211
0
    }
212
15.4M
    case TX_CLASS_HORIZ: {
213
15.4M
      const int col = coeff_idx >> bhl;
214
15.4M
      return ctx + nz_map_ctx_offset_1d[col];
215
0
    }
216
1.86M
    case TX_CLASS_VERT: {
217
1.86M
      const int col = coeff_idx >> bhl;
218
1.86M
      const int row = coeff_idx - (col << bhl);
219
1.86M
      return ctx + nz_map_ctx_offset_1d[row];
220
0
    }
221
0
    default: break;
222
17.0M
  }
223
0
  return 0;
224
17.0M
}
Unexecuted instantiation: av1_cx_iface.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: allintra_vis.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: av1_quantize.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: bitstream.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: context_tree.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: encodeframe.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: encodeframe_utils.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: encodemb.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: encodemv.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: encoder.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: encoder_utils.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: encodetxb.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: ethread.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: firstpass.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: global_motion_facade.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: level.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: lookahead.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: mcomp.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: mv_prec.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: palette.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: partition_search.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: partition_strategy.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: pass2_strategy.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: pickcdef.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: picklpf.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: pickrst.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: ratectrl.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: rd.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: rdopt.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: nonrd_pickmode.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: nonrd_opt.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: segmentation.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: speed_features.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: superres_scale.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: svc_layercontext.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: temporal_filter.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: tokenize.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: tpl_model.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: tx_search.c:get_nz_map_ctx_from_stats
txb_rdopt.c:get_nz_map_ctx_from_stats
Line
Count
Source
192
4.50G
    const int bhl, const TX_SIZE tx_size, const TX_CLASS tx_class) {
193
  // tx_class == 0(TX_CLASS_2D)
194
4.50G
  if ((tx_class | coeff_idx) == 0) return 0;
195
4.39G
  int ctx = (stats + 1) >> 1;
196
4.39G
  ctx = AOMMIN(ctx, 4);
197
4.39G
  switch (tx_class) {
198
4.03G
    case TX_CLASS_2D: {
199
      // This is the algorithm to generate av1_nz_map_ctx_offset[][]
200
      //   const int width = tx_size_wide[tx_size];
201
      //   const int height = tx_size_high[tx_size];
202
      //   if (width < height) {
203
      //     if (row < 2) return 11 + ctx;
204
      //   } else if (width > height) {
205
      //     if (col < 2) return 16 + ctx;
206
      //   }
207
      //   if (row + col < 2) return ctx + 1;
208
      //   if (row + col < 4) return 5 + ctx + 1;
209
      //   return 21 + ctx;
210
4.03G
      return ctx + av1_nz_map_ctx_offset[tx_size][coeff_idx];
211
0
    }
212
552M
    case TX_CLASS_HORIZ: {
213
552M
      const int col = coeff_idx >> bhl;
214
552M
      return ctx + nz_map_ctx_offset_1d[col];
215
0
    }
216
34.3M
    case TX_CLASS_VERT: {
217
34.3M
      const int col = coeff_idx >> bhl;
218
34.3M
      const int row = coeff_idx - (col << bhl);
219
34.3M
      return ctx + nz_map_ctx_offset_1d[row];
220
0
    }
221
0
    default: break;
222
4.39G
  }
223
0
  return 0;
224
4.39G
}
Unexecuted instantiation: intra_mode_search.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: var_based_part.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: av1_noise_estimate.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: encodetxb_sse2.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: entropy.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: entropymode.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: txb_common.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: aq_complexity.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: aq_cyclicrefresh.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: aq_variance.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: compound_type.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: encode_strategy.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: global_motion.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: gop_structure.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: interp_search.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: motion_search_facade.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: temporal_filter_sse2.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: highbd_temporal_filter_sse2.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: encodetxb_sse4.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: rdopt_sse4.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: pickrst_sse4.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: encodetxb_avx2.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: rdopt_avx2.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: temporal_filter_avx2.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: pickrst_avx2.c:get_nz_map_ctx_from_stats
Unexecuted instantiation: highbd_temporal_filter_avx2.c:get_nz_map_ctx_from_stats
225
226
typedef aom_cdf_prob (*base_cdf_arr)[CDF_SIZE(4)];
227
typedef aom_cdf_prob (*br_cdf_arr)[CDF_SIZE(BR_CDF_SIZE)];
228
229
372M
static inline int get_lower_levels_ctx_eob(int bhl, int width, int scan_idx) {
230
372M
  if (scan_idx == 0) return 0;
231
363M
  if (scan_idx <= (width << bhl) / 8) return 1;
232
342M
  if (scan_idx <= (width << bhl) / 4) return 2;
233
325M
  return 3;
234
342M
}
decodetxb.c:get_lower_levels_ctx_eob
Line
Count
Source
229
9.67M
static inline int get_lower_levels_ctx_eob(int bhl, int width, int scan_idx) {
230
9.67M
  if (scan_idx == 0) return 0;
231
8.94M
  if (scan_idx <= (width << bhl) / 8) return 1;
232
8.17M
  if (scan_idx <= (width << bhl) / 4) return 2;
233
7.80M
  return 3;
234
8.17M
}
Unexecuted instantiation: av1_cx_iface.c:get_lower_levels_ctx_eob
Unexecuted instantiation: allintra_vis.c:get_lower_levels_ctx_eob
Unexecuted instantiation: av1_quantize.c:get_lower_levels_ctx_eob
Unexecuted instantiation: bitstream.c:get_lower_levels_ctx_eob
Unexecuted instantiation: context_tree.c:get_lower_levels_ctx_eob
Unexecuted instantiation: encodeframe.c:get_lower_levels_ctx_eob
Unexecuted instantiation: encodeframe_utils.c:get_lower_levels_ctx_eob
Unexecuted instantiation: encodemb.c:get_lower_levels_ctx_eob
Unexecuted instantiation: encodemv.c:get_lower_levels_ctx_eob
Unexecuted instantiation: encoder.c:get_lower_levels_ctx_eob
Unexecuted instantiation: encoder_utils.c:get_lower_levels_ctx_eob
Unexecuted instantiation: encodetxb.c:get_lower_levels_ctx_eob
Unexecuted instantiation: ethread.c:get_lower_levels_ctx_eob
Unexecuted instantiation: firstpass.c:get_lower_levels_ctx_eob
Unexecuted instantiation: global_motion_facade.c:get_lower_levels_ctx_eob
Unexecuted instantiation: level.c:get_lower_levels_ctx_eob
Unexecuted instantiation: lookahead.c:get_lower_levels_ctx_eob
Unexecuted instantiation: mcomp.c:get_lower_levels_ctx_eob
Unexecuted instantiation: mv_prec.c:get_lower_levels_ctx_eob
Unexecuted instantiation: palette.c:get_lower_levels_ctx_eob
Unexecuted instantiation: partition_search.c:get_lower_levels_ctx_eob
Unexecuted instantiation: partition_strategy.c:get_lower_levels_ctx_eob
Unexecuted instantiation: pass2_strategy.c:get_lower_levels_ctx_eob
Unexecuted instantiation: pickcdef.c:get_lower_levels_ctx_eob
Unexecuted instantiation: picklpf.c:get_lower_levels_ctx_eob
Unexecuted instantiation: pickrst.c:get_lower_levels_ctx_eob
Unexecuted instantiation: ratectrl.c:get_lower_levels_ctx_eob
Unexecuted instantiation: rd.c:get_lower_levels_ctx_eob
Unexecuted instantiation: rdopt.c:get_lower_levels_ctx_eob
Unexecuted instantiation: nonrd_pickmode.c:get_lower_levels_ctx_eob
Unexecuted instantiation: nonrd_opt.c:get_lower_levels_ctx_eob
Unexecuted instantiation: segmentation.c:get_lower_levels_ctx_eob
Unexecuted instantiation: speed_features.c:get_lower_levels_ctx_eob
Unexecuted instantiation: superres_scale.c:get_lower_levels_ctx_eob
Unexecuted instantiation: svc_layercontext.c:get_lower_levels_ctx_eob
Unexecuted instantiation: temporal_filter.c:get_lower_levels_ctx_eob
Unexecuted instantiation: tokenize.c:get_lower_levels_ctx_eob
Unexecuted instantiation: tpl_model.c:get_lower_levels_ctx_eob
Unexecuted instantiation: tx_search.c:get_lower_levels_ctx_eob
txb_rdopt.c:get_lower_levels_ctx_eob
Line
Count
Source
229
362M
static inline int get_lower_levels_ctx_eob(int bhl, int width, int scan_idx) {
230
362M
  if (scan_idx == 0) return 0;
231
354M
  if (scan_idx <= (width << bhl) / 8) return 1;
232
333M
  if (scan_idx <= (width << bhl) / 4) return 2;
233
318M
  return 3;
234
333M
}
Unexecuted instantiation: intra_mode_search.c:get_lower_levels_ctx_eob
Unexecuted instantiation: var_based_part.c:get_lower_levels_ctx_eob
Unexecuted instantiation: av1_noise_estimate.c:get_lower_levels_ctx_eob
Unexecuted instantiation: encodetxb_sse2.c:get_lower_levels_ctx_eob
Unexecuted instantiation: entropy.c:get_lower_levels_ctx_eob
Unexecuted instantiation: entropymode.c:get_lower_levels_ctx_eob
Unexecuted instantiation: txb_common.c:get_lower_levels_ctx_eob
Unexecuted instantiation: aq_complexity.c:get_lower_levels_ctx_eob
Unexecuted instantiation: aq_cyclicrefresh.c:get_lower_levels_ctx_eob
Unexecuted instantiation: aq_variance.c:get_lower_levels_ctx_eob
Unexecuted instantiation: compound_type.c:get_lower_levels_ctx_eob
Unexecuted instantiation: encode_strategy.c:get_lower_levels_ctx_eob
Unexecuted instantiation: global_motion.c:get_lower_levels_ctx_eob
Unexecuted instantiation: gop_structure.c:get_lower_levels_ctx_eob
Unexecuted instantiation: interp_search.c:get_lower_levels_ctx_eob
Unexecuted instantiation: motion_search_facade.c:get_lower_levels_ctx_eob
Unexecuted instantiation: temporal_filter_sse2.c:get_lower_levels_ctx_eob
Unexecuted instantiation: highbd_temporal_filter_sse2.c:get_lower_levels_ctx_eob
Unexecuted instantiation: encodetxb_sse4.c:get_lower_levels_ctx_eob
Unexecuted instantiation: rdopt_sse4.c:get_lower_levels_ctx_eob
Unexecuted instantiation: pickrst_sse4.c:get_lower_levels_ctx_eob
Unexecuted instantiation: encodetxb_avx2.c:get_lower_levels_ctx_eob
Unexecuted instantiation: rdopt_avx2.c:get_lower_levels_ctx_eob
Unexecuted instantiation: temporal_filter_avx2.c:get_lower_levels_ctx_eob
Unexecuted instantiation: pickrst_avx2.c:get_lower_levels_ctx_eob
Unexecuted instantiation: highbd_temporal_filter_avx2.c:get_lower_levels_ctx_eob
235
236
static inline int get_lower_levels_ctx_2d(const uint8_t *levels, int coeff_idx,
237
298M
                                          int bhl, TX_SIZE tx_size) {
238
298M
  assert(coeff_idx > 0);
239
298M
  int mag;
240
  // Note: AOMMIN(level, 3) is useless for decoder since level < 3.
241
298M
  levels = levels + get_padded_idx(coeff_idx, bhl);
242
298M
  mag = AOMMIN(levels[(1 << bhl) + TX_PAD_HOR], 3);               // { 0, 1 }
243
298M
  mag += AOMMIN(levels[1], 3);                                    // { 1, 0 }
244
298M
  mag += AOMMIN(levels[(1 << bhl) + TX_PAD_HOR + 1], 3);          // { 1, 1 }
245
298M
  mag += AOMMIN(levels[(2 << bhl) + (2 << TX_PAD_HOR_LOG2)], 3);  // { 0, 2 }
246
298M
  mag += AOMMIN(levels[2], 3);                                    // { 2, 0 }
247
248
298M
  const int ctx = AOMMIN((mag + 1) >> 1, 4);
249
298M
  return ctx + av1_nz_map_ctx_offset[tx_size][coeff_idx];
250
298M
}
decodetxb.c:get_lower_levels_ctx_2d
Line
Count
Source
237
298M
                                          int bhl, TX_SIZE tx_size) {
238
298M
  assert(coeff_idx > 0);
239
298M
  int mag;
240
  // Note: AOMMIN(level, 3) is useless for decoder since level < 3.
241
298M
  levels = levels + get_padded_idx(coeff_idx, bhl);
242
298M
  mag = AOMMIN(levels[(1 << bhl) + TX_PAD_HOR], 3);               // { 0, 1 }
243
298M
  mag += AOMMIN(levels[1], 3);                                    // { 1, 0 }
244
298M
  mag += AOMMIN(levels[(1 << bhl) + TX_PAD_HOR + 1], 3);          // { 1, 1 }
245
298M
  mag += AOMMIN(levels[(2 << bhl) + (2 << TX_PAD_HOR_LOG2)], 3);  // { 0, 2 }
246
298M
  mag += AOMMIN(levels[2], 3);                                    // { 2, 0 }
247
248
298M
  const int ctx = AOMMIN((mag + 1) >> 1, 4);
249
298M
  return ctx + av1_nz_map_ctx_offset[tx_size][coeff_idx];
250
298M
}
Unexecuted instantiation: av1_cx_iface.c:get_lower_levels_ctx_2d
Unexecuted instantiation: allintra_vis.c:get_lower_levels_ctx_2d
Unexecuted instantiation: av1_quantize.c:get_lower_levels_ctx_2d
Unexecuted instantiation: bitstream.c:get_lower_levels_ctx_2d
Unexecuted instantiation: context_tree.c:get_lower_levels_ctx_2d
Unexecuted instantiation: encodeframe.c:get_lower_levels_ctx_2d
Unexecuted instantiation: encodeframe_utils.c:get_lower_levels_ctx_2d
Unexecuted instantiation: encodemb.c:get_lower_levels_ctx_2d
Unexecuted instantiation: encodemv.c:get_lower_levels_ctx_2d
Unexecuted instantiation: encoder.c:get_lower_levels_ctx_2d
Unexecuted instantiation: encoder_utils.c:get_lower_levels_ctx_2d
Unexecuted instantiation: encodetxb.c:get_lower_levels_ctx_2d
Unexecuted instantiation: ethread.c:get_lower_levels_ctx_2d
Unexecuted instantiation: firstpass.c:get_lower_levels_ctx_2d
Unexecuted instantiation: global_motion_facade.c:get_lower_levels_ctx_2d
Unexecuted instantiation: level.c:get_lower_levels_ctx_2d
Unexecuted instantiation: lookahead.c:get_lower_levels_ctx_2d
Unexecuted instantiation: mcomp.c:get_lower_levels_ctx_2d
Unexecuted instantiation: mv_prec.c:get_lower_levels_ctx_2d
Unexecuted instantiation: palette.c:get_lower_levels_ctx_2d
Unexecuted instantiation: partition_search.c:get_lower_levels_ctx_2d
Unexecuted instantiation: partition_strategy.c:get_lower_levels_ctx_2d
Unexecuted instantiation: pass2_strategy.c:get_lower_levels_ctx_2d
Unexecuted instantiation: pickcdef.c:get_lower_levels_ctx_2d
Unexecuted instantiation: picklpf.c:get_lower_levels_ctx_2d
Unexecuted instantiation: pickrst.c:get_lower_levels_ctx_2d
Unexecuted instantiation: ratectrl.c:get_lower_levels_ctx_2d
Unexecuted instantiation: rd.c:get_lower_levels_ctx_2d
Unexecuted instantiation: rdopt.c:get_lower_levels_ctx_2d
Unexecuted instantiation: nonrd_pickmode.c:get_lower_levels_ctx_2d
Unexecuted instantiation: nonrd_opt.c:get_lower_levels_ctx_2d
Unexecuted instantiation: segmentation.c:get_lower_levels_ctx_2d
Unexecuted instantiation: speed_features.c:get_lower_levels_ctx_2d
Unexecuted instantiation: superres_scale.c:get_lower_levels_ctx_2d
Unexecuted instantiation: svc_layercontext.c:get_lower_levels_ctx_2d
Unexecuted instantiation: temporal_filter.c:get_lower_levels_ctx_2d
Unexecuted instantiation: tokenize.c:get_lower_levels_ctx_2d
Unexecuted instantiation: tpl_model.c:get_lower_levels_ctx_2d
Unexecuted instantiation: tx_search.c:get_lower_levels_ctx_2d
Unexecuted instantiation: txb_rdopt.c:get_lower_levels_ctx_2d
Unexecuted instantiation: intra_mode_search.c:get_lower_levels_ctx_2d
Unexecuted instantiation: var_based_part.c:get_lower_levels_ctx_2d
Unexecuted instantiation: av1_noise_estimate.c:get_lower_levels_ctx_2d
Unexecuted instantiation: encodetxb_sse2.c:get_lower_levels_ctx_2d
Unexecuted instantiation: entropy.c:get_lower_levels_ctx_2d
Unexecuted instantiation: entropymode.c:get_lower_levels_ctx_2d
Unexecuted instantiation: txb_common.c:get_lower_levels_ctx_2d
Unexecuted instantiation: aq_complexity.c:get_lower_levels_ctx_2d
Unexecuted instantiation: aq_cyclicrefresh.c:get_lower_levels_ctx_2d
Unexecuted instantiation: aq_variance.c:get_lower_levels_ctx_2d
Unexecuted instantiation: compound_type.c:get_lower_levels_ctx_2d
Unexecuted instantiation: encode_strategy.c:get_lower_levels_ctx_2d
Unexecuted instantiation: global_motion.c:get_lower_levels_ctx_2d
Unexecuted instantiation: gop_structure.c:get_lower_levels_ctx_2d
Unexecuted instantiation: interp_search.c:get_lower_levels_ctx_2d
Unexecuted instantiation: motion_search_facade.c:get_lower_levels_ctx_2d
Unexecuted instantiation: temporal_filter_sse2.c:get_lower_levels_ctx_2d
Unexecuted instantiation: highbd_temporal_filter_sse2.c:get_lower_levels_ctx_2d
Unexecuted instantiation: encodetxb_sse4.c:get_lower_levels_ctx_2d
Unexecuted instantiation: rdopt_sse4.c:get_lower_levels_ctx_2d
Unexecuted instantiation: pickrst_sse4.c:get_lower_levels_ctx_2d
Unexecuted instantiation: encodetxb_avx2.c:get_lower_levels_ctx_2d
Unexecuted instantiation: rdopt_avx2.c:get_lower_levels_ctx_2d
Unexecuted instantiation: temporal_filter_avx2.c:get_lower_levels_ctx_2d
Unexecuted instantiation: pickrst_avx2.c:get_lower_levels_ctx_2d
Unexecuted instantiation: highbd_temporal_filter_avx2.c:get_lower_levels_ctx_2d
251
static AOM_FORCE_INLINE int get_lower_levels_ctx(const uint8_t *levels,
252
                                                 int coeff_idx, int bhl,
253
                                                 TX_SIZE tx_size,
254
4.50G
                                                 TX_CLASS tx_class) {
255
4.50G
  const int stats =
256
4.50G
      get_nz_mag(levels + get_padded_idx(coeff_idx, bhl), bhl, tx_class);
257
4.50G
  return get_nz_map_ctx_from_stats(stats, coeff_idx, bhl, tx_size, tx_class);
258
4.50G
}
decodetxb.c:get_lower_levels_ctx
Line
Count
Source
254
25.5M
                                                 TX_CLASS tx_class) {
255
25.5M
  const int stats =
256
25.5M
      get_nz_mag(levels + get_padded_idx(coeff_idx, bhl), bhl, tx_class);
257
25.5M
  return get_nz_map_ctx_from_stats(stats, coeff_idx, bhl, tx_size, tx_class);
258
25.5M
}
Unexecuted instantiation: av1_cx_iface.c:get_lower_levels_ctx
Unexecuted instantiation: allintra_vis.c:get_lower_levels_ctx
Unexecuted instantiation: av1_quantize.c:get_lower_levels_ctx
Unexecuted instantiation: bitstream.c:get_lower_levels_ctx
Unexecuted instantiation: context_tree.c:get_lower_levels_ctx
Unexecuted instantiation: encodeframe.c:get_lower_levels_ctx
Unexecuted instantiation: encodeframe_utils.c:get_lower_levels_ctx
Unexecuted instantiation: encodemb.c:get_lower_levels_ctx
Unexecuted instantiation: encodemv.c:get_lower_levels_ctx
Unexecuted instantiation: encoder.c:get_lower_levels_ctx
Unexecuted instantiation: encoder_utils.c:get_lower_levels_ctx
Unexecuted instantiation: encodetxb.c:get_lower_levels_ctx
Unexecuted instantiation: ethread.c:get_lower_levels_ctx
Unexecuted instantiation: firstpass.c:get_lower_levels_ctx
Unexecuted instantiation: global_motion_facade.c:get_lower_levels_ctx
Unexecuted instantiation: level.c:get_lower_levels_ctx
Unexecuted instantiation: lookahead.c:get_lower_levels_ctx
Unexecuted instantiation: mcomp.c:get_lower_levels_ctx
Unexecuted instantiation: mv_prec.c:get_lower_levels_ctx
Unexecuted instantiation: palette.c:get_lower_levels_ctx
Unexecuted instantiation: partition_search.c:get_lower_levels_ctx
Unexecuted instantiation: partition_strategy.c:get_lower_levels_ctx
Unexecuted instantiation: pass2_strategy.c:get_lower_levels_ctx
Unexecuted instantiation: pickcdef.c:get_lower_levels_ctx
Unexecuted instantiation: picklpf.c:get_lower_levels_ctx
Unexecuted instantiation: pickrst.c:get_lower_levels_ctx
Unexecuted instantiation: ratectrl.c:get_lower_levels_ctx
Unexecuted instantiation: rd.c:get_lower_levels_ctx
Unexecuted instantiation: rdopt.c:get_lower_levels_ctx
Unexecuted instantiation: nonrd_pickmode.c:get_lower_levels_ctx
Unexecuted instantiation: nonrd_opt.c:get_lower_levels_ctx
Unexecuted instantiation: segmentation.c:get_lower_levels_ctx
Unexecuted instantiation: speed_features.c:get_lower_levels_ctx
Unexecuted instantiation: superres_scale.c:get_lower_levels_ctx
Unexecuted instantiation: svc_layercontext.c:get_lower_levels_ctx
Unexecuted instantiation: temporal_filter.c:get_lower_levels_ctx
Unexecuted instantiation: tokenize.c:get_lower_levels_ctx
Unexecuted instantiation: tpl_model.c:get_lower_levels_ctx
Unexecuted instantiation: tx_search.c:get_lower_levels_ctx
txb_rdopt.c:get_lower_levels_ctx
Line
Count
Source
254
4.48G
                                                 TX_CLASS tx_class) {
255
4.48G
  const int stats =
256
4.48G
      get_nz_mag(levels + get_padded_idx(coeff_idx, bhl), bhl, tx_class);
257
4.48G
  return get_nz_map_ctx_from_stats(stats, coeff_idx, bhl, tx_size, tx_class);
258
4.48G
}
Unexecuted instantiation: intra_mode_search.c:get_lower_levels_ctx
Unexecuted instantiation: var_based_part.c:get_lower_levels_ctx
Unexecuted instantiation: av1_noise_estimate.c:get_lower_levels_ctx
Unexecuted instantiation: encodetxb_sse2.c:get_lower_levels_ctx
Unexecuted instantiation: entropy.c:get_lower_levels_ctx
Unexecuted instantiation: entropymode.c:get_lower_levels_ctx
Unexecuted instantiation: txb_common.c:get_lower_levels_ctx
Unexecuted instantiation: aq_complexity.c:get_lower_levels_ctx
Unexecuted instantiation: aq_cyclicrefresh.c:get_lower_levels_ctx
Unexecuted instantiation: aq_variance.c:get_lower_levels_ctx
Unexecuted instantiation: compound_type.c:get_lower_levels_ctx
Unexecuted instantiation: encode_strategy.c:get_lower_levels_ctx
Unexecuted instantiation: global_motion.c:get_lower_levels_ctx
Unexecuted instantiation: gop_structure.c:get_lower_levels_ctx
Unexecuted instantiation: interp_search.c:get_lower_levels_ctx
Unexecuted instantiation: motion_search_facade.c:get_lower_levels_ctx
Unexecuted instantiation: temporal_filter_sse2.c:get_lower_levels_ctx
Unexecuted instantiation: highbd_temporal_filter_sse2.c:get_lower_levels_ctx
Unexecuted instantiation: encodetxb_sse4.c:get_lower_levels_ctx
Unexecuted instantiation: rdopt_sse4.c:get_lower_levels_ctx
Unexecuted instantiation: pickrst_sse4.c:get_lower_levels_ctx
Unexecuted instantiation: encodetxb_avx2.c:get_lower_levels_ctx
Unexecuted instantiation: rdopt_avx2.c:get_lower_levels_ctx
Unexecuted instantiation: temporal_filter_avx2.c:get_lower_levels_ctx
Unexecuted instantiation: pickrst_avx2.c:get_lower_levels_ctx
Unexecuted instantiation: highbd_temporal_filter_avx2.c:get_lower_levels_ctx
259
260
static inline int get_lower_levels_ctx_general(int is_last, int scan_idx,
261
                                               int bhl, int width,
262
                                               const uint8_t *levels,
263
                                               int coeff_idx, TX_SIZE tx_size,
264
198M
                                               TX_CLASS tx_class) {
265
198M
  if (is_last) {
266
80.7M
    if (scan_idx == 0) return 0;
267
80.2M
    if (scan_idx <= (width << bhl) >> 3) return 1;
268
79.3M
    if (scan_idx <= (width << bhl) >> 2) return 2;
269
78.1M
    return 3;
270
79.3M
  }
271
118M
  return get_lower_levels_ctx(levels, coeff_idx, bhl, tx_size, tx_class);
272
198M
}
Unexecuted instantiation: decodetxb.c:get_lower_levels_ctx_general
Unexecuted instantiation: av1_cx_iface.c:get_lower_levels_ctx_general
Unexecuted instantiation: allintra_vis.c:get_lower_levels_ctx_general
Unexecuted instantiation: av1_quantize.c:get_lower_levels_ctx_general
Unexecuted instantiation: bitstream.c:get_lower_levels_ctx_general
Unexecuted instantiation: context_tree.c:get_lower_levels_ctx_general
Unexecuted instantiation: encodeframe.c:get_lower_levels_ctx_general
Unexecuted instantiation: encodeframe_utils.c:get_lower_levels_ctx_general
Unexecuted instantiation: encodemb.c:get_lower_levels_ctx_general
Unexecuted instantiation: encodemv.c:get_lower_levels_ctx_general
Unexecuted instantiation: encoder.c:get_lower_levels_ctx_general
Unexecuted instantiation: encoder_utils.c:get_lower_levels_ctx_general
Unexecuted instantiation: encodetxb.c:get_lower_levels_ctx_general
Unexecuted instantiation: ethread.c:get_lower_levels_ctx_general
Unexecuted instantiation: firstpass.c:get_lower_levels_ctx_general
Unexecuted instantiation: global_motion_facade.c:get_lower_levels_ctx_general
Unexecuted instantiation: level.c:get_lower_levels_ctx_general
Unexecuted instantiation: lookahead.c:get_lower_levels_ctx_general
Unexecuted instantiation: mcomp.c:get_lower_levels_ctx_general
Unexecuted instantiation: mv_prec.c:get_lower_levels_ctx_general
Unexecuted instantiation: palette.c:get_lower_levels_ctx_general
Unexecuted instantiation: partition_search.c:get_lower_levels_ctx_general
Unexecuted instantiation: partition_strategy.c:get_lower_levels_ctx_general
Unexecuted instantiation: pass2_strategy.c:get_lower_levels_ctx_general
Unexecuted instantiation: pickcdef.c:get_lower_levels_ctx_general
Unexecuted instantiation: picklpf.c:get_lower_levels_ctx_general
Unexecuted instantiation: pickrst.c:get_lower_levels_ctx_general
Unexecuted instantiation: ratectrl.c:get_lower_levels_ctx_general
Unexecuted instantiation: rd.c:get_lower_levels_ctx_general
Unexecuted instantiation: rdopt.c:get_lower_levels_ctx_general
Unexecuted instantiation: nonrd_pickmode.c:get_lower_levels_ctx_general
Unexecuted instantiation: nonrd_opt.c:get_lower_levels_ctx_general
Unexecuted instantiation: segmentation.c:get_lower_levels_ctx_general
Unexecuted instantiation: speed_features.c:get_lower_levels_ctx_general
Unexecuted instantiation: superres_scale.c:get_lower_levels_ctx_general
Unexecuted instantiation: svc_layercontext.c:get_lower_levels_ctx_general
Unexecuted instantiation: temporal_filter.c:get_lower_levels_ctx_general
Unexecuted instantiation: tokenize.c:get_lower_levels_ctx_general
Unexecuted instantiation: tpl_model.c:get_lower_levels_ctx_general
Unexecuted instantiation: tx_search.c:get_lower_levels_ctx_general
txb_rdopt.c:get_lower_levels_ctx_general
Line
Count
Source
264
198M
                                               TX_CLASS tx_class) {
265
198M
  if (is_last) {
266
80.7M
    if (scan_idx == 0) return 0;
267
80.2M
    if (scan_idx <= (width << bhl) >> 3) return 1;
268
79.3M
    if (scan_idx <= (width << bhl) >> 2) return 2;
269
78.1M
    return 3;
270
79.3M
  }
271
118M
  return get_lower_levels_ctx(levels, coeff_idx, bhl, tx_size, tx_class);
272
198M
}
Unexecuted instantiation: intra_mode_search.c:get_lower_levels_ctx_general
Unexecuted instantiation: var_based_part.c:get_lower_levels_ctx_general
Unexecuted instantiation: av1_noise_estimate.c:get_lower_levels_ctx_general
Unexecuted instantiation: encodetxb_sse2.c:get_lower_levels_ctx_general
Unexecuted instantiation: entropy.c:get_lower_levels_ctx_general
Unexecuted instantiation: entropymode.c:get_lower_levels_ctx_general
Unexecuted instantiation: txb_common.c:get_lower_levels_ctx_general
Unexecuted instantiation: aq_complexity.c:get_lower_levels_ctx_general
Unexecuted instantiation: aq_cyclicrefresh.c:get_lower_levels_ctx_general
Unexecuted instantiation: aq_variance.c:get_lower_levels_ctx_general
Unexecuted instantiation: compound_type.c:get_lower_levels_ctx_general
Unexecuted instantiation: encode_strategy.c:get_lower_levels_ctx_general
Unexecuted instantiation: global_motion.c:get_lower_levels_ctx_general
Unexecuted instantiation: gop_structure.c:get_lower_levels_ctx_general
Unexecuted instantiation: interp_search.c:get_lower_levels_ctx_general
Unexecuted instantiation: motion_search_facade.c:get_lower_levels_ctx_general
Unexecuted instantiation: temporal_filter_sse2.c:get_lower_levels_ctx_general
Unexecuted instantiation: highbd_temporal_filter_sse2.c:get_lower_levels_ctx_general
Unexecuted instantiation: encodetxb_sse4.c:get_lower_levels_ctx_general
Unexecuted instantiation: rdopt_sse4.c:get_lower_levels_ctx_general
Unexecuted instantiation: pickrst_sse4.c:get_lower_levels_ctx_general
Unexecuted instantiation: encodetxb_avx2.c:get_lower_levels_ctx_general
Unexecuted instantiation: rdopt_avx2.c:get_lower_levels_ctx_general
Unexecuted instantiation: temporal_filter_avx2.c:get_lower_levels_ctx_general
Unexecuted instantiation: pickrst_avx2.c:get_lower_levels_ctx_general
Unexecuted instantiation: highbd_temporal_filter_avx2.c:get_lower_levels_ctx_general
273
274
281M
static inline void set_dc_sign(int *cul_level, int dc_val) {
275
281M
  if (dc_val < 0)
276
132M
    *cul_level |= 1 << COEFF_CONTEXT_BITS;
277
149M
  else if (dc_val > 0)
278
132M
    *cul_level += 2 << COEFF_CONTEXT_BITS;
279
281M
}
decodetxb.c:set_dc_sign
Line
Count
Source
274
9.65M
static inline void set_dc_sign(int *cul_level, int dc_val) {
275
9.65M
  if (dc_val < 0)
276
4.29M
    *cul_level |= 1 << COEFF_CONTEXT_BITS;
277
5.35M
  else if (dc_val > 0)
278
4.39M
    *cul_level += 2 << COEFF_CONTEXT_BITS;
279
9.65M
}
Unexecuted instantiation: av1_cx_iface.c:set_dc_sign
Unexecuted instantiation: allintra_vis.c:set_dc_sign
Unexecuted instantiation: av1_quantize.c:set_dc_sign
Unexecuted instantiation: bitstream.c:set_dc_sign
Unexecuted instantiation: context_tree.c:set_dc_sign
Unexecuted instantiation: encodeframe.c:set_dc_sign
Unexecuted instantiation: encodeframe_utils.c:set_dc_sign
Unexecuted instantiation: encodemb.c:set_dc_sign
Unexecuted instantiation: encodemv.c:set_dc_sign
Unexecuted instantiation: encoder.c:set_dc_sign
Unexecuted instantiation: encoder_utils.c:set_dc_sign
encodetxb.c:set_dc_sign
Line
Count
Source
274
272M
static inline void set_dc_sign(int *cul_level, int dc_val) {
275
272M
  if (dc_val < 0)
276
128M
    *cul_level |= 1 << COEFF_CONTEXT_BITS;
277
143M
  else if (dc_val > 0)
278
127M
    *cul_level += 2 << COEFF_CONTEXT_BITS;
279
272M
}
Unexecuted instantiation: ethread.c:set_dc_sign
Unexecuted instantiation: firstpass.c:set_dc_sign
Unexecuted instantiation: global_motion_facade.c:set_dc_sign
Unexecuted instantiation: level.c:set_dc_sign
Unexecuted instantiation: lookahead.c:set_dc_sign
Unexecuted instantiation: mcomp.c:set_dc_sign
Unexecuted instantiation: mv_prec.c:set_dc_sign
Unexecuted instantiation: palette.c:set_dc_sign
Unexecuted instantiation: partition_search.c:set_dc_sign
Unexecuted instantiation: partition_strategy.c:set_dc_sign
Unexecuted instantiation: pass2_strategy.c:set_dc_sign
Unexecuted instantiation: pickcdef.c:set_dc_sign
Unexecuted instantiation: picklpf.c:set_dc_sign
Unexecuted instantiation: pickrst.c:set_dc_sign
Unexecuted instantiation: ratectrl.c:set_dc_sign
Unexecuted instantiation: rd.c:set_dc_sign
Unexecuted instantiation: rdopt.c:set_dc_sign
Unexecuted instantiation: nonrd_pickmode.c:set_dc_sign
Unexecuted instantiation: nonrd_opt.c:set_dc_sign
Unexecuted instantiation: segmentation.c:set_dc_sign
Unexecuted instantiation: speed_features.c:set_dc_sign
Unexecuted instantiation: superres_scale.c:set_dc_sign
Unexecuted instantiation: svc_layercontext.c:set_dc_sign
Unexecuted instantiation: temporal_filter.c:set_dc_sign
Unexecuted instantiation: tokenize.c:set_dc_sign
Unexecuted instantiation: tpl_model.c:set_dc_sign
Unexecuted instantiation: tx_search.c:set_dc_sign
Unexecuted instantiation: txb_rdopt.c:set_dc_sign
Unexecuted instantiation: intra_mode_search.c:set_dc_sign
Unexecuted instantiation: var_based_part.c:set_dc_sign
Unexecuted instantiation: av1_noise_estimate.c:set_dc_sign
Unexecuted instantiation: encodetxb_sse2.c:set_dc_sign
Unexecuted instantiation: entropy.c:set_dc_sign
Unexecuted instantiation: entropymode.c:set_dc_sign
Unexecuted instantiation: txb_common.c:set_dc_sign
Unexecuted instantiation: aq_complexity.c:set_dc_sign
Unexecuted instantiation: aq_cyclicrefresh.c:set_dc_sign
Unexecuted instantiation: aq_variance.c:set_dc_sign
Unexecuted instantiation: compound_type.c:set_dc_sign
Unexecuted instantiation: encode_strategy.c:set_dc_sign
Unexecuted instantiation: global_motion.c:set_dc_sign
Unexecuted instantiation: gop_structure.c:set_dc_sign
Unexecuted instantiation: interp_search.c:set_dc_sign
Unexecuted instantiation: motion_search_facade.c:set_dc_sign
Unexecuted instantiation: temporal_filter_sse2.c:set_dc_sign
Unexecuted instantiation: highbd_temporal_filter_sse2.c:set_dc_sign
Unexecuted instantiation: encodetxb_sse4.c:set_dc_sign
Unexecuted instantiation: rdopt_sse4.c:set_dc_sign
Unexecuted instantiation: pickrst_sse4.c:set_dc_sign
Unexecuted instantiation: encodetxb_avx2.c:set_dc_sign
Unexecuted instantiation: rdopt_avx2.c:set_dc_sign
Unexecuted instantiation: temporal_filter_avx2.c:set_dc_sign
Unexecuted instantiation: pickrst_avx2.c:set_dc_sign
Unexecuted instantiation: highbd_temporal_filter_avx2.c:set_dc_sign
280
281
static void get_txb_ctx_general(const BLOCK_SIZE plane_bsize,
282
                                const TX_SIZE tx_size, const int plane,
283
                                const ENTROPY_CONTEXT *const a,
284
                                const ENTROPY_CONTEXT *const l,
285
23.2M
                                TXB_CTX *const txb_ctx) {
286
181M
#define MAX_TX_SIZE_UNIT 16
287
23.2M
  static const int8_t signs[3] = { 0, -1, 1 };
288
23.2M
  static const int8_t dc_sign_contexts[4 * MAX_TX_SIZE_UNIT + 1] = {
289
23.2M
    1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
290
23.2M
    1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
291
23.2M
    2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2
292
23.2M
  };
293
23.2M
  const int txb_w_unit = tx_size_wide_unit[tx_size];
294
23.2M
  const int txb_h_unit = tx_size_high_unit[tx_size];
295
23.2M
  int dc_sign = 0;
296
23.2M
  int k = 0;
297
298
48.2M
  do {
299
48.2M
    const unsigned int sign = ((uint8_t)a[k]) >> COEFF_CONTEXT_BITS;
300
48.2M
    assert(sign <= 2);
301
48.2M
    dc_sign += signs[sign];
302
48.2M
  } while (++k < txb_w_unit);
303
304
23.2M
  k = 0;
305
59.7M
  do {
306
59.7M
    const unsigned int sign = ((uint8_t)l[k]) >> COEFF_CONTEXT_BITS;
307
59.7M
    assert(sign <= 2);
308
59.7M
    dc_sign += signs[sign];
309
59.7M
  } while (++k < txb_h_unit);
310
311
23.2M
  txb_ctx->dc_sign_ctx = dc_sign_contexts[dc_sign + 2 * MAX_TX_SIZE_UNIT];
312
313
23.2M
  if (plane == 0) {
314
6.74M
    if (plane_bsize == txsize_to_bsize[tx_size]) {
315
6.68M
      txb_ctx->txb_skip_ctx = 0;
316
6.68M
    } else {
317
      // This is the algorithm to generate table skip_contexts[top][left].
318
      //    const int max = AOMMIN(top | left, 4);
319
      //    const int min = AOMMIN(AOMMIN(top, left), 4);
320
      //    if (!max)
321
      //      txb_skip_ctx = 1;
322
      //    else if (!min)
323
      //      txb_skip_ctx = 2 + (max > 3);
324
      //    else if (max <= 3)
325
      //      txb_skip_ctx = 4;
326
      //    else if (min <= 3)
327
      //      txb_skip_ctx = 5;
328
      //    else
329
      //      txb_skip_ctx = 6;
330
60.8k
      static const uint8_t skip_contexts[5][5] = { { 1, 2, 2, 2, 3 },
331
60.8k
                                                   { 2, 4, 4, 4, 5 },
332
60.8k
                                                   { 2, 4, 4, 4, 5 },
333
60.8k
                                                   { 2, 4, 4, 4, 5 },
334
60.8k
                                                   { 3, 5, 5, 5, 6 } };
335
      // For top and left, we only care about which of the following three
336
      // categories they belong to: { 0 }, { 1, 2, 3 }, or { 4, 5, ... }. The
337
      // spec calculates top and left with the Max() function. We can calculate
338
      // an approximate max with bitwise OR because the real max and the
339
      // approximate max belong to the same category.
340
60.8k
      int top = 0;
341
60.8k
      int left = 0;
342
343
60.8k
      k = 0;
344
316k
      do {
345
316k
        top |= a[k];
346
316k
      } while (++k < txb_w_unit);
347
60.8k
      top &= COEFF_CONTEXT_MASK;
348
60.8k
      top = AOMMIN(top, 4);
349
350
60.8k
      k = 0;
351
302k
      do {
352
302k
        left |= l[k];
353
302k
      } while (++k < txb_h_unit);
354
60.8k
      left &= COEFF_CONTEXT_MASK;
355
60.8k
      left = AOMMIN(left, 4);
356
357
60.8k
      txb_ctx->txb_skip_ctx = skip_contexts[top][left];
358
60.8k
    }
359
16.5M
  } else {
360
16.5M
    const int ctx_base = get_entropy_context(tx_size, a, l);
361
16.5M
    const int ctx_offset = (num_pels_log2_lookup[plane_bsize] >
362
16.5M
                            num_pels_log2_lookup[txsize_to_bsize[tx_size]])
363
16.5M
                               ? 10
364
16.5M
                               : 7;
365
16.5M
    txb_ctx->txb_skip_ctx = ctx_base + ctx_offset;
366
16.5M
  }
367
23.2M
}
decodetxb.c:get_txb_ctx_general
Line
Count
Source
285
2.55M
                                TXB_CTX *const txb_ctx) {
286
2.55M
#define MAX_TX_SIZE_UNIT 16
287
2.55M
  static const int8_t signs[3] = { 0, -1, 1 };
288
2.55M
  static const int8_t dc_sign_contexts[4 * MAX_TX_SIZE_UNIT + 1] = {
289
2.55M
    1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
290
2.55M
    1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
291
2.55M
    2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2
292
2.55M
  };
293
2.55M
  const int txb_w_unit = tx_size_wide_unit[tx_size];
294
2.55M
  const int txb_h_unit = tx_size_high_unit[tx_size];
295
2.55M
  int dc_sign = 0;
296
2.55M
  int k = 0;
297
298
7.83M
  do {
299
7.83M
    const unsigned int sign = ((uint8_t)a[k]) >> COEFF_CONTEXT_BITS;
300
7.83M
    assert(sign <= 2);
301
7.83M
    dc_sign += signs[sign];
302
7.83M
  } while (++k < txb_w_unit);
303
304
2.55M
  k = 0;
305
7.43M
  do {
306
7.43M
    const unsigned int sign = ((uint8_t)l[k]) >> COEFF_CONTEXT_BITS;
307
7.43M
    assert(sign <= 2);
308
7.43M
    dc_sign += signs[sign];
309
7.43M
  } while (++k < txb_h_unit);
310
311
2.55M
  txb_ctx->dc_sign_ctx = dc_sign_contexts[dc_sign + 2 * MAX_TX_SIZE_UNIT];
312
313
2.55M
  if (plane == 0) {
314
740k
    if (plane_bsize == txsize_to_bsize[tx_size]) {
315
680k
      txb_ctx->txb_skip_ctx = 0;
316
680k
    } else {
317
      // This is the algorithm to generate table skip_contexts[top][left].
318
      //    const int max = AOMMIN(top | left, 4);
319
      //    const int min = AOMMIN(AOMMIN(top, left), 4);
320
      //    if (!max)
321
      //      txb_skip_ctx = 1;
322
      //    else if (!min)
323
      //      txb_skip_ctx = 2 + (max > 3);
324
      //    else if (max <= 3)
325
      //      txb_skip_ctx = 4;
326
      //    else if (min <= 3)
327
      //      txb_skip_ctx = 5;
328
      //    else
329
      //      txb_skip_ctx = 6;
330
60.7k
      static const uint8_t skip_contexts[5][5] = { { 1, 2, 2, 2, 3 },
331
60.7k
                                                   { 2, 4, 4, 4, 5 },
332
60.7k
                                                   { 2, 4, 4, 4, 5 },
333
60.7k
                                                   { 2, 4, 4, 4, 5 },
334
60.7k
                                                   { 3, 5, 5, 5, 6 } };
335
      // For top and left, we only care about which of the following three
336
      // categories they belong to: { 0 }, { 1, 2, 3 }, or { 4, 5, ... }. The
337
      // spec calculates top and left with the Max() function. We can calculate
338
      // an approximate max with bitwise OR because the real max and the
339
      // approximate max belong to the same category.
340
60.7k
      int top = 0;
341
60.7k
      int left = 0;
342
343
60.7k
      k = 0;
344
316k
      do {
345
316k
        top |= a[k];
346
316k
      } while (++k < txb_w_unit);
347
60.7k
      top &= COEFF_CONTEXT_MASK;
348
60.7k
      top = AOMMIN(top, 4);
349
350
60.7k
      k = 0;
351
302k
      do {
352
302k
        left |= l[k];
353
302k
      } while (++k < txb_h_unit);
354
60.7k
      left &= COEFF_CONTEXT_MASK;
355
60.7k
      left = AOMMIN(left, 4);
356
357
60.7k
      txb_ctx->txb_skip_ctx = skip_contexts[top][left];
358
60.7k
    }
359
1.81M
  } else {
360
1.81M
    const int ctx_base = get_entropy_context(tx_size, a, l);
361
1.81M
    const int ctx_offset = (num_pels_log2_lookup[plane_bsize] >
362
1.81M
                            num_pels_log2_lookup[txsize_to_bsize[tx_size]])
363
1.81M
                               ? 10
364
1.81M
                               : 7;
365
1.81M
    txb_ctx->txb_skip_ctx = ctx_base + ctx_offset;
366
1.81M
  }
367
2.55M
}
Unexecuted instantiation: av1_cx_iface.c:get_txb_ctx_general
Unexecuted instantiation: allintra_vis.c:get_txb_ctx_general
Unexecuted instantiation: av1_quantize.c:get_txb_ctx_general
Unexecuted instantiation: bitstream.c:get_txb_ctx_general
Unexecuted instantiation: context_tree.c:get_txb_ctx_general
Unexecuted instantiation: encodeframe.c:get_txb_ctx_general
Unexecuted instantiation: encodeframe_utils.c:get_txb_ctx_general
encodemb.c:get_txb_ctx_general
Line
Count
Source
285
3.73M
                                TXB_CTX *const txb_ctx) {
286
3.73M
#define MAX_TX_SIZE_UNIT 16
287
3.73M
  static const int8_t signs[3] = { 0, -1, 1 };
288
3.73M
  static const int8_t dc_sign_contexts[4 * MAX_TX_SIZE_UNIT + 1] = {
289
3.73M
    1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
290
3.73M
    1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
291
3.73M
    2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2
292
3.73M
  };
293
3.73M
  const int txb_w_unit = tx_size_wide_unit[tx_size];
294
3.73M
  const int txb_h_unit = tx_size_high_unit[tx_size];
295
3.73M
  int dc_sign = 0;
296
3.73M
  int k = 0;
297
298
6.10M
  do {
299
6.10M
    const unsigned int sign = ((uint8_t)a[k]) >> COEFF_CONTEXT_BITS;
300
6.10M
    assert(sign <= 2);
301
6.10M
    dc_sign += signs[sign];
302
6.10M
  } while (++k < txb_w_unit);
303
304
3.73M
  k = 0;
305
8.86M
  do {
306
8.86M
    const unsigned int sign = ((uint8_t)l[k]) >> COEFF_CONTEXT_BITS;
307
8.86M
    assert(sign <= 2);
308
8.86M
    dc_sign += signs[sign];
309
8.86M
  } while (++k < txb_h_unit);
310
311
3.73M
  txb_ctx->dc_sign_ctx = dc_sign_contexts[dc_sign + 2 * MAX_TX_SIZE_UNIT];
312
313
3.73M
  if (plane == 0) {
314
729k
    if (plane_bsize == txsize_to_bsize[tx_size]) {
315
729k
      txb_ctx->txb_skip_ctx = 0;
316
18.4E
    } else {
317
      // This is the algorithm to generate table skip_contexts[top][left].
318
      //    const int max = AOMMIN(top | left, 4);
319
      //    const int min = AOMMIN(AOMMIN(top, left), 4);
320
      //    if (!max)
321
      //      txb_skip_ctx = 1;
322
      //    else if (!min)
323
      //      txb_skip_ctx = 2 + (max > 3);
324
      //    else if (max <= 3)
325
      //      txb_skip_ctx = 4;
326
      //    else if (min <= 3)
327
      //      txb_skip_ctx = 5;
328
      //    else
329
      //      txb_skip_ctx = 6;
330
18.4E
      static const uint8_t skip_contexts[5][5] = { { 1, 2, 2, 2, 3 },
331
18.4E
                                                   { 2, 4, 4, 4, 5 },
332
18.4E
                                                   { 2, 4, 4, 4, 5 },
333
18.4E
                                                   { 2, 4, 4, 4, 5 },
334
18.4E
                                                   { 3, 5, 5, 5, 6 } };
335
      // For top and left, we only care about which of the following three
336
      // categories they belong to: { 0 }, { 1, 2, 3 }, or { 4, 5, ... }. The
337
      // spec calculates top and left with the Max() function. We can calculate
338
      // an approximate max with bitwise OR because the real max and the
339
      // approximate max belong to the same category.
340
18.4E
      int top = 0;
341
18.4E
      int left = 0;
342
343
18.4E
      k = 0;
344
18.4E
      do {
345
18.4E
        top |= a[k];
346
18.4E
      } while (++k < txb_w_unit);
347
18.4E
      top &= COEFF_CONTEXT_MASK;
348
18.4E
      top = AOMMIN(top, 4);
349
350
18.4E
      k = 0;
351
18.4E
      do {
352
18.4E
        left |= l[k];
353
18.4E
      } while (++k < txb_h_unit);
354
18.4E
      left &= COEFF_CONTEXT_MASK;
355
18.4E
      left = AOMMIN(left, 4);
356
357
18.4E
      txb_ctx->txb_skip_ctx = skip_contexts[top][left];
358
18.4E
    }
359
3.00M
  } else {
360
3.00M
    const int ctx_base = get_entropy_context(tx_size, a, l);
361
3.00M
    const int ctx_offset = (num_pels_log2_lookup[plane_bsize] >
362
3.00M
                            num_pels_log2_lookup[txsize_to_bsize[tx_size]])
363
3.00M
                               ? 10
364
3.00M
                               : 7;
365
3.00M
    txb_ctx->txb_skip_ctx = ctx_base + ctx_offset;
366
3.00M
  }
367
3.73M
}
Unexecuted instantiation: encodemv.c:get_txb_ctx_general
Unexecuted instantiation: encoder.c:get_txb_ctx_general
Unexecuted instantiation: encoder_utils.c:get_txb_ctx_general
encodetxb.c:get_txb_ctx_general
Line
Count
Source
285
1.31M
                                TXB_CTX *const txb_ctx) {
286
1.31M
#define MAX_TX_SIZE_UNIT 16
287
1.31M
  static const int8_t signs[3] = { 0, -1, 1 };
288
1.31M
  static const int8_t dc_sign_contexts[4 * MAX_TX_SIZE_UNIT + 1] = {
289
1.31M
    1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
290
1.31M
    1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
291
1.31M
    2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2
292
1.31M
  };
293
1.31M
  const int txb_w_unit = tx_size_wide_unit[tx_size];
294
1.31M
  const int txb_h_unit = tx_size_high_unit[tx_size];
295
1.31M
  int dc_sign = 0;
296
1.31M
  int k = 0;
297
298
2.04M
  do {
299
2.04M
    const unsigned int sign = ((uint8_t)a[k]) >> COEFF_CONTEXT_BITS;
300
2.04M
    assert(sign <= 2);
301
2.04M
    dc_sign += signs[sign];
302
2.04M
  } while (++k < txb_w_unit);
303
304
1.31M
  k = 0;
305
3.28M
  do {
306
3.28M
    const unsigned int sign = ((uint8_t)l[k]) >> COEFF_CONTEXT_BITS;
307
3.28M
    assert(sign <= 2);
308
3.28M
    dc_sign += signs[sign];
309
3.28M
  } while (++k < txb_h_unit);
310
311
1.31M
  txb_ctx->dc_sign_ctx = dc_sign_contexts[dc_sign + 2 * MAX_TX_SIZE_UNIT];
312
313
1.31M
  if (plane == 0) {
314
144k
    if (plane_bsize == txsize_to_bsize[tx_size]) {
315
144k
      txb_ctx->txb_skip_ctx = 0;
316
144k
    } else {
317
      // This is the algorithm to generate table skip_contexts[top][left].
318
      //    const int max = AOMMIN(top | left, 4);
319
      //    const int min = AOMMIN(AOMMIN(top, left), 4);
320
      //    if (!max)
321
      //      txb_skip_ctx = 1;
322
      //    else if (!min)
323
      //      txb_skip_ctx = 2 + (max > 3);
324
      //    else if (max <= 3)
325
      //      txb_skip_ctx = 4;
326
      //    else if (min <= 3)
327
      //      txb_skip_ctx = 5;
328
      //    else
329
      //      txb_skip_ctx = 6;
330
3
      static const uint8_t skip_contexts[5][5] = { { 1, 2, 2, 2, 3 },
331
3
                                                   { 2, 4, 4, 4, 5 },
332
3
                                                   { 2, 4, 4, 4, 5 },
333
3
                                                   { 2, 4, 4, 4, 5 },
334
3
                                                   { 3, 5, 5, 5, 6 } };
335
      // For top and left, we only care about which of the following three
336
      // categories they belong to: { 0 }, { 1, 2, 3 }, or { 4, 5, ... }. The
337
      // spec calculates top and left with the Max() function. We can calculate
338
      // an approximate max with bitwise OR because the real max and the
339
      // approximate max belong to the same category.
340
3
      int top = 0;
341
3
      int left = 0;
342
343
3
      k = 0;
344
3
      do {
345
3
        top |= a[k];
346
3
      } while (++k < txb_w_unit);
347
3
      top &= COEFF_CONTEXT_MASK;
348
3
      top = AOMMIN(top, 4);
349
350
3
      k = 0;
351
3
      do {
352
3
        left |= l[k];
353
3
      } while (++k < txb_h_unit);
354
3
      left &= COEFF_CONTEXT_MASK;
355
3
      left = AOMMIN(left, 4);
356
357
3
      txb_ctx->txb_skip_ctx = skip_contexts[top][left];
358
3
    }
359
1.16M
  } else {
360
1.16M
    const int ctx_base = get_entropy_context(tx_size, a, l);
361
1.16M
    const int ctx_offset = (num_pels_log2_lookup[plane_bsize] >
362
1.16M
                            num_pels_log2_lookup[txsize_to_bsize[tx_size]])
363
1.16M
                               ? 10
364
1.16M
                               : 7;
365
1.16M
    txb_ctx->txb_skip_ctx = ctx_base + ctx_offset;
366
1.16M
  }
367
1.31M
}
Unexecuted instantiation: ethread.c:get_txb_ctx_general
Unexecuted instantiation: firstpass.c:get_txb_ctx_general
Unexecuted instantiation: global_motion_facade.c:get_txb_ctx_general
Unexecuted instantiation: level.c:get_txb_ctx_general
Unexecuted instantiation: lookahead.c:get_txb_ctx_general
Unexecuted instantiation: mcomp.c:get_txb_ctx_general
Unexecuted instantiation: mv_prec.c:get_txb_ctx_general
Unexecuted instantiation: palette.c:get_txb_ctx_general
Unexecuted instantiation: partition_search.c:get_txb_ctx_general
Unexecuted instantiation: partition_strategy.c:get_txb_ctx_general
Unexecuted instantiation: pass2_strategy.c:get_txb_ctx_general
Unexecuted instantiation: pickcdef.c:get_txb_ctx_general
Unexecuted instantiation: picklpf.c:get_txb_ctx_general
Unexecuted instantiation: pickrst.c:get_txb_ctx_general
Unexecuted instantiation: ratectrl.c:get_txb_ctx_general
Unexecuted instantiation: rd.c:get_txb_ctx_general
Unexecuted instantiation: rdopt.c:get_txb_ctx_general
Unexecuted instantiation: nonrd_pickmode.c:get_txb_ctx_general
Unexecuted instantiation: nonrd_opt.c:get_txb_ctx_general
Unexecuted instantiation: segmentation.c:get_txb_ctx_general
Unexecuted instantiation: speed_features.c:get_txb_ctx_general
Unexecuted instantiation: superres_scale.c:get_txb_ctx_general
Unexecuted instantiation: svc_layercontext.c:get_txb_ctx_general
Unexecuted instantiation: temporal_filter.c:get_txb_ctx_general
Unexecuted instantiation: tokenize.c:get_txb_ctx_general
Unexecuted instantiation: tpl_model.c:get_txb_ctx_general
tx_search.c:get_txb_ctx_general
Line
Count
Source
285
15.6M
                                TXB_CTX *const txb_ctx) {
286
15.6M
#define MAX_TX_SIZE_UNIT 16
287
15.6M
  static const int8_t signs[3] = { 0, -1, 1 };
288
15.6M
  static const int8_t dc_sign_contexts[4 * MAX_TX_SIZE_UNIT + 1] = {
289
15.6M
    1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
290
15.6M
    1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
291
15.6M
    2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2
292
15.6M
  };
293
15.6M
  const int txb_w_unit = tx_size_wide_unit[tx_size];
294
15.6M
  const int txb_h_unit = tx_size_high_unit[tx_size];
295
15.6M
  int dc_sign = 0;
296
15.6M
  int k = 0;
297
298
32.3M
  do {
299
32.3M
    const unsigned int sign = ((uint8_t)a[k]) >> COEFF_CONTEXT_BITS;
300
32.3M
    assert(sign <= 2);
301
32.3M
    dc_sign += signs[sign];
302
32.3M
  } while (++k < txb_w_unit);
303
304
15.6M
  k = 0;
305
40.1M
  do {
306
40.1M
    const unsigned int sign = ((uint8_t)l[k]) >> COEFF_CONTEXT_BITS;
307
40.1M
    assert(sign <= 2);
308
40.1M
    dc_sign += signs[sign];
309
40.1M
  } while (++k < txb_h_unit);
310
311
15.6M
  txb_ctx->dc_sign_ctx = dc_sign_contexts[dc_sign + 2 * MAX_TX_SIZE_UNIT];
312
313
15.6M
  if (plane == 0) {
314
5.12M
    if (plane_bsize == txsize_to_bsize[tx_size]) {
315
5.12M
      txb_ctx->txb_skip_ctx = 0;
316
5.12M
    } else {
317
      // This is the algorithm to generate table skip_contexts[top][left].
318
      //    const int max = AOMMIN(top | left, 4);
319
      //    const int min = AOMMIN(AOMMIN(top, left), 4);
320
      //    if (!max)
321
      //      txb_skip_ctx = 1;
322
      //    else if (!min)
323
      //      txb_skip_ctx = 2 + (max > 3);
324
      //    else if (max <= 3)
325
      //      txb_skip_ctx = 4;
326
      //    else if (min <= 3)
327
      //      txb_skip_ctx = 5;
328
      //    else
329
      //      txb_skip_ctx = 6;
330
145
      static const uint8_t skip_contexts[5][5] = { { 1, 2, 2, 2, 3 },
331
145
                                                   { 2, 4, 4, 4, 5 },
332
145
                                                   { 2, 4, 4, 4, 5 },
333
145
                                                   { 2, 4, 4, 4, 5 },
334
145
                                                   { 3, 5, 5, 5, 6 } };
335
      // For top and left, we only care about which of the following three
336
      // categories they belong to: { 0 }, { 1, 2, 3 }, or { 4, 5, ... }. The
337
      // spec calculates top and left with the Max() function. We can calculate
338
      // an approximate max with bitwise OR because the real max and the
339
      // approximate max belong to the same category.
340
145
      int top = 0;
341
145
      int left = 0;
342
343
145
      k = 0;
344
145
      do {
345
145
        top |= a[k];
346
145
      } while (++k < txb_w_unit);
347
145
      top &= COEFF_CONTEXT_MASK;
348
145
      top = AOMMIN(top, 4);
349
350
145
      k = 0;
351
145
      do {
352
145
        left |= l[k];
353
145
      } while (++k < txb_h_unit);
354
145
      left &= COEFF_CONTEXT_MASK;
355
145
      left = AOMMIN(left, 4);
356
357
145
      txb_ctx->txb_skip_ctx = skip_contexts[top][left];
358
145
    }
359
10.5M
  } else {
360
10.5M
    const int ctx_base = get_entropy_context(tx_size, a, l);
361
10.5M
    const int ctx_offset = (num_pels_log2_lookup[plane_bsize] >
362
10.5M
                            num_pels_log2_lookup[txsize_to_bsize[tx_size]])
363
10.5M
                               ? 10
364
10.5M
                               : 7;
365
10.5M
    txb_ctx->txb_skip_ctx = ctx_base + ctx_offset;
366
10.5M
  }
367
15.6M
}
Unexecuted instantiation: txb_rdopt.c:get_txb_ctx_general
Unexecuted instantiation: intra_mode_search.c:get_txb_ctx_general
Unexecuted instantiation: var_based_part.c:get_txb_ctx_general
Unexecuted instantiation: av1_noise_estimate.c:get_txb_ctx_general
Unexecuted instantiation: encodetxb_sse2.c:get_txb_ctx_general
Unexecuted instantiation: entropy.c:get_txb_ctx_general
Unexecuted instantiation: entropymode.c:get_txb_ctx_general
Unexecuted instantiation: txb_common.c:get_txb_ctx_general
Unexecuted instantiation: aq_complexity.c:get_txb_ctx_general
Unexecuted instantiation: aq_cyclicrefresh.c:get_txb_ctx_general
Unexecuted instantiation: aq_variance.c:get_txb_ctx_general
Unexecuted instantiation: compound_type.c:get_txb_ctx_general
Unexecuted instantiation: encode_strategy.c:get_txb_ctx_general
Unexecuted instantiation: global_motion.c:get_txb_ctx_general
Unexecuted instantiation: gop_structure.c:get_txb_ctx_general
Unexecuted instantiation: interp_search.c:get_txb_ctx_general
Unexecuted instantiation: motion_search_facade.c:get_txb_ctx_general
Unexecuted instantiation: temporal_filter_sse2.c:get_txb_ctx_general
Unexecuted instantiation: highbd_temporal_filter_sse2.c:get_txb_ctx_general
Unexecuted instantiation: encodetxb_sse4.c:get_txb_ctx_general
Unexecuted instantiation: rdopt_sse4.c:get_txb_ctx_general
Unexecuted instantiation: pickrst_sse4.c:get_txb_ctx_general
Unexecuted instantiation: encodetxb_avx2.c:get_txb_ctx_general
Unexecuted instantiation: rdopt_avx2.c:get_txb_ctx_general
Unexecuted instantiation: temporal_filter_avx2.c:get_txb_ctx_general
Unexecuted instantiation: pickrst_avx2.c:get_txb_ctx_general
Unexecuted instantiation: highbd_temporal_filter_avx2.c:get_txb_ctx_general
368
369
#define SPECIALIZE_GET_TXB_CTX(w, h)                                          \
370
  static void get_txb_ctx_##w##x##h(                                          \
371
      const BLOCK_SIZE plane_bsize, const int plane,                          \
372
      const ENTROPY_CONTEXT *const a, const ENTROPY_CONTEXT *const l,         \
373
158M
      TXB_CTX *const txb_ctx) {                                               \
374
158M
    static const int8_t signs[3] = { 0, -1, 1 };                              \
375
158M
    static const int8_t dc_sign_contexts[4 * MAX_TX_SIZE_UNIT + 1] = {        \
376
158M
      1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,       \
377
158M
      1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,       \
378
158M
      2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2           \
379
158M
    };                                                                        \
380
158M
    const TX_SIZE tx_size = TX_##w##X##h;                                     \
381
158M
    const int txb_w_unit = tx_size_wide_unit[tx_size];                        \
382
158M
    const int txb_h_unit = tx_size_high_unit[tx_size];                        \
383
158M
    int dc_sign = 0;                                                          \
384
158M
    int k = 0;                                                                \
385
158M
                                                                              \
386
248M
    do {                                                                      \
387
248M
      const unsigned int sign = ((uint8_t)a[k]) >> COEFF_CONTEXT_BITS;        \
388
248M
      assert(sign <= 2);                                                      \
389
248M
      dc_sign += signs[sign];                                                 \
390
248M
    } while (++k < txb_w_unit);                                               \
391
158M
                                                                              \
392
158M
    k = 0;                                                                    \
393
248M
    do {                                                                      \
394
248M
      const unsigned int sign = ((uint8_t)l[k]) >> COEFF_CONTEXT_BITS;        \
395
248M
      assert(sign <= 2);                                                      \
396
248M
      dc_sign += signs[sign];                                                 \
397
248M
    } while (++k < txb_h_unit);                                               \
398
158M
                                                                              \
399
158M
    txb_ctx->dc_sign_ctx = dc_sign_contexts[dc_sign + 2 * MAX_TX_SIZE_UNIT];  \
400
158M
                                                                              \
401
158M
    if (plane == 0) {                                                         \
402
112M
      if (plane_bsize == txsize_to_bsize[tx_size]) {                          \
403
68.7M
        txb_ctx->txb_skip_ctx = 0;                                            \
404
68.7M
      } else {                                                                \
405
44.1M
        static const uint8_t skip_contexts[5][5] = { { 1, 2, 2, 2, 3 },       \
406
44.1M
                                                     { 2, 4, 4, 4, 5 },       \
407
44.1M
                                                     { 2, 4, 4, 4, 5 },       \
408
44.1M
                                                     { 2, 4, 4, 4, 5 },       \
409
44.1M
                                                     { 3, 5, 5, 5, 6 } };     \
410
44.1M
        int top = 0;                                                          \
411
44.1M
        int left = 0;                                                         \
412
44.1M
                                                                              \
413
44.1M
        k = 0;                                                                \
414
53.1M
        do {                                                                  \
415
53.1M
          top |= a[k];                                                        \
416
53.1M
        } while (++k < txb_w_unit);                                           \
417
44.1M
        top &= COEFF_CONTEXT_MASK;                                            \
418
44.1M
        top = AOMMIN(top, 4);                                                 \
419
44.1M
                                                                              \
420
44.1M
        k = 0;                                                                \
421
53.1M
        do {                                                                  \
422
53.1M
          left |= l[k];                                                       \
423
53.1M
        } while (++k < txb_h_unit);                                           \
424
44.1M
        left &= COEFF_CONTEXT_MASK;                                           \
425
44.1M
        left = AOMMIN(left, 4);                                               \
426
44.1M
                                                                              \
427
44.1M
        txb_ctx->txb_skip_ctx = skip_contexts[top][left];                     \
428
44.1M
      }                                                                       \
429
112M
    } else {                                                                  \
430
45.6M
      const int ctx_base = get_entropy_context(tx_size, a, l);                \
431
45.6M
      const int ctx_offset = (num_pels_log2_lookup[plane_bsize] >             \
432
45.6M
                              num_pels_log2_lookup[txsize_to_bsize[tx_size]]) \
433
45.6M
                                 ? 10                                         \
434
45.6M
                                 : 7;                                         \
435
45.6M
      txb_ctx->txb_skip_ctx = ctx_base + ctx_offset;                          \
436
45.6M
    }                                                                         \
437
158M
  }
Unexecuted instantiation: av1_cx_iface.c:get_txb_ctx_4x4
Unexecuted instantiation: av1_cx_iface.c:get_txb_ctx_8x8
Unexecuted instantiation: av1_cx_iface.c:get_txb_ctx_16x16
Unexecuted instantiation: av1_cx_iface.c:get_txb_ctx_32x32
Unexecuted instantiation: allintra_vis.c:get_txb_ctx_4x4
Unexecuted instantiation: allintra_vis.c:get_txb_ctx_8x8
Unexecuted instantiation: allintra_vis.c:get_txb_ctx_16x16
Unexecuted instantiation: allintra_vis.c:get_txb_ctx_32x32
Unexecuted instantiation: av1_quantize.c:get_txb_ctx_4x4
Unexecuted instantiation: av1_quantize.c:get_txb_ctx_8x8
Unexecuted instantiation: av1_quantize.c:get_txb_ctx_16x16
Unexecuted instantiation: av1_quantize.c:get_txb_ctx_32x32
Unexecuted instantiation: bitstream.c:get_txb_ctx_4x4
Unexecuted instantiation: bitstream.c:get_txb_ctx_8x8
Unexecuted instantiation: bitstream.c:get_txb_ctx_16x16
Unexecuted instantiation: bitstream.c:get_txb_ctx_32x32
Unexecuted instantiation: context_tree.c:get_txb_ctx_4x4
Unexecuted instantiation: context_tree.c:get_txb_ctx_8x8
Unexecuted instantiation: context_tree.c:get_txb_ctx_16x16
Unexecuted instantiation: context_tree.c:get_txb_ctx_32x32
Unexecuted instantiation: encodeframe.c:get_txb_ctx_4x4
Unexecuted instantiation: encodeframe.c:get_txb_ctx_8x8
Unexecuted instantiation: encodeframe.c:get_txb_ctx_16x16
Unexecuted instantiation: encodeframe.c:get_txb_ctx_32x32
Unexecuted instantiation: encodeframe_utils.c:get_txb_ctx_4x4
Unexecuted instantiation: encodeframe_utils.c:get_txb_ctx_8x8
Unexecuted instantiation: encodeframe_utils.c:get_txb_ctx_16x16
Unexecuted instantiation: encodeframe_utils.c:get_txb_ctx_32x32
Unexecuted instantiation: encodemv.c:get_txb_ctx_4x4
Unexecuted instantiation: encodemv.c:get_txb_ctx_8x8
Unexecuted instantiation: encodemv.c:get_txb_ctx_16x16
Unexecuted instantiation: encodemv.c:get_txb_ctx_32x32
Unexecuted instantiation: encoder.c:get_txb_ctx_4x4
Unexecuted instantiation: encoder.c:get_txb_ctx_8x8
Unexecuted instantiation: encoder.c:get_txb_ctx_16x16
Unexecuted instantiation: encoder.c:get_txb_ctx_32x32
Unexecuted instantiation: encoder_utils.c:get_txb_ctx_4x4
Unexecuted instantiation: encoder_utils.c:get_txb_ctx_8x8
Unexecuted instantiation: encoder_utils.c:get_txb_ctx_16x16
Unexecuted instantiation: encoder_utils.c:get_txb_ctx_32x32
Unexecuted instantiation: ethread.c:get_txb_ctx_4x4
Unexecuted instantiation: ethread.c:get_txb_ctx_8x8
Unexecuted instantiation: ethread.c:get_txb_ctx_16x16
Unexecuted instantiation: ethread.c:get_txb_ctx_32x32
Unexecuted instantiation: firstpass.c:get_txb_ctx_4x4
Unexecuted instantiation: firstpass.c:get_txb_ctx_8x8
Unexecuted instantiation: firstpass.c:get_txb_ctx_16x16
Unexecuted instantiation: firstpass.c:get_txb_ctx_32x32
Unexecuted instantiation: global_motion_facade.c:get_txb_ctx_4x4
Unexecuted instantiation: global_motion_facade.c:get_txb_ctx_8x8
Unexecuted instantiation: global_motion_facade.c:get_txb_ctx_16x16
Unexecuted instantiation: global_motion_facade.c:get_txb_ctx_32x32
Unexecuted instantiation: level.c:get_txb_ctx_4x4
Unexecuted instantiation: level.c:get_txb_ctx_8x8
Unexecuted instantiation: level.c:get_txb_ctx_16x16
Unexecuted instantiation: level.c:get_txb_ctx_32x32
Unexecuted instantiation: lookahead.c:get_txb_ctx_4x4
Unexecuted instantiation: lookahead.c:get_txb_ctx_8x8
Unexecuted instantiation: lookahead.c:get_txb_ctx_16x16
Unexecuted instantiation: lookahead.c:get_txb_ctx_32x32
Unexecuted instantiation: mcomp.c:get_txb_ctx_4x4
Unexecuted instantiation: mcomp.c:get_txb_ctx_8x8
Unexecuted instantiation: mcomp.c:get_txb_ctx_16x16
Unexecuted instantiation: mcomp.c:get_txb_ctx_32x32
Unexecuted instantiation: mv_prec.c:get_txb_ctx_4x4
Unexecuted instantiation: mv_prec.c:get_txb_ctx_8x8
Unexecuted instantiation: mv_prec.c:get_txb_ctx_16x16
Unexecuted instantiation: mv_prec.c:get_txb_ctx_32x32
Unexecuted instantiation: palette.c:get_txb_ctx_4x4
Unexecuted instantiation: palette.c:get_txb_ctx_8x8
Unexecuted instantiation: palette.c:get_txb_ctx_16x16
Unexecuted instantiation: palette.c:get_txb_ctx_32x32
Unexecuted instantiation: partition_search.c:get_txb_ctx_4x4
Unexecuted instantiation: partition_search.c:get_txb_ctx_8x8
Unexecuted instantiation: partition_search.c:get_txb_ctx_16x16
Unexecuted instantiation: partition_search.c:get_txb_ctx_32x32
Unexecuted instantiation: partition_strategy.c:get_txb_ctx_4x4
Unexecuted instantiation: partition_strategy.c:get_txb_ctx_8x8
Unexecuted instantiation: partition_strategy.c:get_txb_ctx_16x16
Unexecuted instantiation: partition_strategy.c:get_txb_ctx_32x32
Unexecuted instantiation: pass2_strategy.c:get_txb_ctx_4x4
Unexecuted instantiation: pass2_strategy.c:get_txb_ctx_8x8
Unexecuted instantiation: pass2_strategy.c:get_txb_ctx_16x16
Unexecuted instantiation: pass2_strategy.c:get_txb_ctx_32x32
Unexecuted instantiation: pickcdef.c:get_txb_ctx_4x4
Unexecuted instantiation: pickcdef.c:get_txb_ctx_8x8
Unexecuted instantiation: pickcdef.c:get_txb_ctx_16x16
Unexecuted instantiation: pickcdef.c:get_txb_ctx_32x32
Unexecuted instantiation: picklpf.c:get_txb_ctx_4x4
Unexecuted instantiation: picklpf.c:get_txb_ctx_8x8
Unexecuted instantiation: picklpf.c:get_txb_ctx_16x16
Unexecuted instantiation: picklpf.c:get_txb_ctx_32x32
Unexecuted instantiation: pickrst.c:get_txb_ctx_4x4
Unexecuted instantiation: pickrst.c:get_txb_ctx_8x8
Unexecuted instantiation: pickrst.c:get_txb_ctx_16x16
Unexecuted instantiation: pickrst.c:get_txb_ctx_32x32
Unexecuted instantiation: ratectrl.c:get_txb_ctx_4x4
Unexecuted instantiation: ratectrl.c:get_txb_ctx_8x8
Unexecuted instantiation: ratectrl.c:get_txb_ctx_16x16
Unexecuted instantiation: ratectrl.c:get_txb_ctx_32x32
Unexecuted instantiation: rd.c:get_txb_ctx_4x4
Unexecuted instantiation: rd.c:get_txb_ctx_8x8
Unexecuted instantiation: rd.c:get_txb_ctx_16x16
Unexecuted instantiation: rd.c:get_txb_ctx_32x32
Unexecuted instantiation: rdopt.c:get_txb_ctx_4x4
Unexecuted instantiation: rdopt.c:get_txb_ctx_8x8
Unexecuted instantiation: rdopt.c:get_txb_ctx_16x16
Unexecuted instantiation: rdopt.c:get_txb_ctx_32x32
Unexecuted instantiation: nonrd_pickmode.c:get_txb_ctx_4x4
Unexecuted instantiation: nonrd_pickmode.c:get_txb_ctx_8x8
Unexecuted instantiation: nonrd_pickmode.c:get_txb_ctx_16x16
Unexecuted instantiation: nonrd_pickmode.c:get_txb_ctx_32x32
Unexecuted instantiation: nonrd_opt.c:get_txb_ctx_4x4
Unexecuted instantiation: nonrd_opt.c:get_txb_ctx_8x8
Unexecuted instantiation: nonrd_opt.c:get_txb_ctx_16x16
Unexecuted instantiation: nonrd_opt.c:get_txb_ctx_32x32
Unexecuted instantiation: segmentation.c:get_txb_ctx_4x4
Unexecuted instantiation: segmentation.c:get_txb_ctx_8x8
Unexecuted instantiation: segmentation.c:get_txb_ctx_16x16
Unexecuted instantiation: segmentation.c:get_txb_ctx_32x32
Unexecuted instantiation: speed_features.c:get_txb_ctx_4x4
Unexecuted instantiation: speed_features.c:get_txb_ctx_8x8
Unexecuted instantiation: speed_features.c:get_txb_ctx_16x16
Unexecuted instantiation: speed_features.c:get_txb_ctx_32x32
Unexecuted instantiation: superres_scale.c:get_txb_ctx_4x4
Unexecuted instantiation: superres_scale.c:get_txb_ctx_8x8
Unexecuted instantiation: superres_scale.c:get_txb_ctx_16x16
Unexecuted instantiation: superres_scale.c:get_txb_ctx_32x32
Unexecuted instantiation: svc_layercontext.c:get_txb_ctx_4x4
Unexecuted instantiation: svc_layercontext.c:get_txb_ctx_8x8
Unexecuted instantiation: svc_layercontext.c:get_txb_ctx_16x16
Unexecuted instantiation: svc_layercontext.c:get_txb_ctx_32x32
Unexecuted instantiation: temporal_filter.c:get_txb_ctx_4x4
Unexecuted instantiation: temporal_filter.c:get_txb_ctx_8x8
Unexecuted instantiation: temporal_filter.c:get_txb_ctx_16x16
Unexecuted instantiation: temporal_filter.c:get_txb_ctx_32x32
Unexecuted instantiation: tokenize.c:get_txb_ctx_4x4
Unexecuted instantiation: tokenize.c:get_txb_ctx_8x8
Unexecuted instantiation: tokenize.c:get_txb_ctx_16x16
Unexecuted instantiation: tokenize.c:get_txb_ctx_32x32
Unexecuted instantiation: tpl_model.c:get_txb_ctx_4x4
Unexecuted instantiation: tpl_model.c:get_txb_ctx_8x8
Unexecuted instantiation: tpl_model.c:get_txb_ctx_16x16
Unexecuted instantiation: tpl_model.c:get_txb_ctx_32x32
Unexecuted instantiation: txb_rdopt.c:get_txb_ctx_4x4
Unexecuted instantiation: txb_rdopt.c:get_txb_ctx_8x8
Unexecuted instantiation: txb_rdopt.c:get_txb_ctx_16x16
Unexecuted instantiation: txb_rdopt.c:get_txb_ctx_32x32
Unexecuted instantiation: intra_mode_search.c:get_txb_ctx_4x4
Unexecuted instantiation: intra_mode_search.c:get_txb_ctx_8x8
Unexecuted instantiation: intra_mode_search.c:get_txb_ctx_16x16
Unexecuted instantiation: intra_mode_search.c:get_txb_ctx_32x32
Unexecuted instantiation: var_based_part.c:get_txb_ctx_4x4
Unexecuted instantiation: var_based_part.c:get_txb_ctx_8x8
Unexecuted instantiation: var_based_part.c:get_txb_ctx_16x16
Unexecuted instantiation: var_based_part.c:get_txb_ctx_32x32
Unexecuted instantiation: av1_noise_estimate.c:get_txb_ctx_4x4
Unexecuted instantiation: av1_noise_estimate.c:get_txb_ctx_8x8
Unexecuted instantiation: av1_noise_estimate.c:get_txb_ctx_16x16
Unexecuted instantiation: av1_noise_estimate.c:get_txb_ctx_32x32
Unexecuted instantiation: encodetxb_sse2.c:get_txb_ctx_4x4
Unexecuted instantiation: encodetxb_sse2.c:get_txb_ctx_8x8
Unexecuted instantiation: encodetxb_sse2.c:get_txb_ctx_16x16
Unexecuted instantiation: encodetxb_sse2.c:get_txb_ctx_32x32
Unexecuted instantiation: entropy.c:get_txb_ctx_4x4
Unexecuted instantiation: entropy.c:get_txb_ctx_8x8
Unexecuted instantiation: entropy.c:get_txb_ctx_16x16
Unexecuted instantiation: entropy.c:get_txb_ctx_32x32
Unexecuted instantiation: entropymode.c:get_txb_ctx_4x4
Unexecuted instantiation: entropymode.c:get_txb_ctx_8x8
Unexecuted instantiation: entropymode.c:get_txb_ctx_16x16
Unexecuted instantiation: entropymode.c:get_txb_ctx_32x32
Unexecuted instantiation: txb_common.c:get_txb_ctx_4x4
Unexecuted instantiation: txb_common.c:get_txb_ctx_8x8
Unexecuted instantiation: txb_common.c:get_txb_ctx_16x16
Unexecuted instantiation: txb_common.c:get_txb_ctx_32x32
Unexecuted instantiation: aq_complexity.c:get_txb_ctx_4x4
Unexecuted instantiation: aq_complexity.c:get_txb_ctx_8x8
Unexecuted instantiation: aq_complexity.c:get_txb_ctx_16x16
Unexecuted instantiation: aq_complexity.c:get_txb_ctx_32x32
Unexecuted instantiation: aq_cyclicrefresh.c:get_txb_ctx_4x4
Unexecuted instantiation: aq_cyclicrefresh.c:get_txb_ctx_8x8
Unexecuted instantiation: aq_cyclicrefresh.c:get_txb_ctx_16x16
Unexecuted instantiation: aq_cyclicrefresh.c:get_txb_ctx_32x32
Unexecuted instantiation: aq_variance.c:get_txb_ctx_4x4
Unexecuted instantiation: aq_variance.c:get_txb_ctx_8x8
Unexecuted instantiation: aq_variance.c:get_txb_ctx_16x16
Unexecuted instantiation: aq_variance.c:get_txb_ctx_32x32
Unexecuted instantiation: compound_type.c:get_txb_ctx_4x4
Unexecuted instantiation: compound_type.c:get_txb_ctx_8x8
Unexecuted instantiation: compound_type.c:get_txb_ctx_16x16
Unexecuted instantiation: compound_type.c:get_txb_ctx_32x32
Unexecuted instantiation: encode_strategy.c:get_txb_ctx_4x4
Unexecuted instantiation: encode_strategy.c:get_txb_ctx_8x8
Unexecuted instantiation: encode_strategy.c:get_txb_ctx_16x16
Unexecuted instantiation: encode_strategy.c:get_txb_ctx_32x32
Unexecuted instantiation: global_motion.c:get_txb_ctx_4x4
Unexecuted instantiation: global_motion.c:get_txb_ctx_8x8
Unexecuted instantiation: global_motion.c:get_txb_ctx_16x16
Unexecuted instantiation: global_motion.c:get_txb_ctx_32x32
Unexecuted instantiation: gop_structure.c:get_txb_ctx_4x4
Unexecuted instantiation: gop_structure.c:get_txb_ctx_8x8
Unexecuted instantiation: gop_structure.c:get_txb_ctx_16x16
Unexecuted instantiation: gop_structure.c:get_txb_ctx_32x32
Unexecuted instantiation: interp_search.c:get_txb_ctx_4x4
Unexecuted instantiation: interp_search.c:get_txb_ctx_8x8
Unexecuted instantiation: interp_search.c:get_txb_ctx_16x16
Unexecuted instantiation: interp_search.c:get_txb_ctx_32x32
Unexecuted instantiation: motion_search_facade.c:get_txb_ctx_4x4
Unexecuted instantiation: motion_search_facade.c:get_txb_ctx_8x8
Unexecuted instantiation: motion_search_facade.c:get_txb_ctx_16x16
Unexecuted instantiation: motion_search_facade.c:get_txb_ctx_32x32
Unexecuted instantiation: temporal_filter_sse2.c:get_txb_ctx_4x4
Unexecuted instantiation: temporal_filter_sse2.c:get_txb_ctx_8x8
Unexecuted instantiation: temporal_filter_sse2.c:get_txb_ctx_16x16
Unexecuted instantiation: temporal_filter_sse2.c:get_txb_ctx_32x32
Unexecuted instantiation: highbd_temporal_filter_sse2.c:get_txb_ctx_4x4
Unexecuted instantiation: highbd_temporal_filter_sse2.c:get_txb_ctx_8x8
Unexecuted instantiation: highbd_temporal_filter_sse2.c:get_txb_ctx_16x16
Unexecuted instantiation: highbd_temporal_filter_sse2.c:get_txb_ctx_32x32
Unexecuted instantiation: encodetxb_sse4.c:get_txb_ctx_4x4
Unexecuted instantiation: encodetxb_sse4.c:get_txb_ctx_8x8
Unexecuted instantiation: encodetxb_sse4.c:get_txb_ctx_16x16
Unexecuted instantiation: encodetxb_sse4.c:get_txb_ctx_32x32
Unexecuted instantiation: rdopt_sse4.c:get_txb_ctx_4x4
Unexecuted instantiation: rdopt_sse4.c:get_txb_ctx_8x8
Unexecuted instantiation: rdopt_sse4.c:get_txb_ctx_16x16
Unexecuted instantiation: rdopt_sse4.c:get_txb_ctx_32x32
Unexecuted instantiation: pickrst_sse4.c:get_txb_ctx_4x4
Unexecuted instantiation: pickrst_sse4.c:get_txb_ctx_8x8
Unexecuted instantiation: pickrst_sse4.c:get_txb_ctx_16x16
Unexecuted instantiation: pickrst_sse4.c:get_txb_ctx_32x32
Unexecuted instantiation: encodetxb_avx2.c:get_txb_ctx_4x4
Unexecuted instantiation: encodetxb_avx2.c:get_txb_ctx_8x8
Unexecuted instantiation: encodetxb_avx2.c:get_txb_ctx_16x16
Unexecuted instantiation: encodetxb_avx2.c:get_txb_ctx_32x32
Unexecuted instantiation: rdopt_avx2.c:get_txb_ctx_4x4
Unexecuted instantiation: rdopt_avx2.c:get_txb_ctx_8x8
Unexecuted instantiation: rdopt_avx2.c:get_txb_ctx_16x16
Unexecuted instantiation: rdopt_avx2.c:get_txb_ctx_32x32
Unexecuted instantiation: temporal_filter_avx2.c:get_txb_ctx_4x4
Unexecuted instantiation: temporal_filter_avx2.c:get_txb_ctx_8x8
Unexecuted instantiation: temporal_filter_avx2.c:get_txb_ctx_16x16
Unexecuted instantiation: temporal_filter_avx2.c:get_txb_ctx_32x32
Unexecuted instantiation: pickrst_avx2.c:get_txb_ctx_4x4
Unexecuted instantiation: pickrst_avx2.c:get_txb_ctx_8x8
Unexecuted instantiation: pickrst_avx2.c:get_txb_ctx_16x16
Unexecuted instantiation: pickrst_avx2.c:get_txb_ctx_32x32
Unexecuted instantiation: highbd_temporal_filter_avx2.c:get_txb_ctx_4x4
Unexecuted instantiation: highbd_temporal_filter_avx2.c:get_txb_ctx_8x8
Unexecuted instantiation: highbd_temporal_filter_avx2.c:get_txb_ctx_16x16
Unexecuted instantiation: highbd_temporal_filter_avx2.c:get_txb_ctx_32x32
438
439
89.7M
SPECIALIZE_GET_TXB_CTX(4, 4)
decodetxb.c:get_txb_ctx_4x4
Line
Count
Source
439
SPECIALIZE_GET_TXB_CTX(4, 4)
encodemb.c:get_txb_ctx_4x4
Line
Count
Source
439
SPECIALIZE_GET_TXB_CTX(4, 4)
encodetxb.c:get_txb_ctx_4x4
Line
Count
Source
439
SPECIALIZE_GET_TXB_CTX(4, 4)
tx_search.c:get_txb_ctx_4x4
Line
Count
Source
439
SPECIALIZE_GET_TXB_CTX(4, 4)
440
61.7M
SPECIALIZE_GET_TXB_CTX(8, 8)
decodetxb.c:get_txb_ctx_8x8
Line
Count
Source
440
SPECIALIZE_GET_TXB_CTX(8, 8)
encodemb.c:get_txb_ctx_8x8
Line
Count
Source
440
SPECIALIZE_GET_TXB_CTX(8, 8)
encodetxb.c:get_txb_ctx_8x8
Line
Count
Source
440
SPECIALIZE_GET_TXB_CTX(8, 8)
tx_search.c:get_txb_ctx_8x8
Line
Count
Source
440
SPECIALIZE_GET_TXB_CTX(8, 8)
441
5.29M
SPECIALIZE_GET_TXB_CTX(16, 16)
decodetxb.c:get_txb_ctx_16x16
Line
Count
Source
441
SPECIALIZE_GET_TXB_CTX(16, 16)
encodemb.c:get_txb_ctx_16x16
Line
Count
Source
441
SPECIALIZE_GET_TXB_CTX(16, 16)
encodetxb.c:get_txb_ctx_16x16
Line
Count
Source
441
SPECIALIZE_GET_TXB_CTX(16, 16)
tx_search.c:get_txb_ctx_16x16
Line
Count
Source
441
SPECIALIZE_GET_TXB_CTX(16, 16)
442
1.77M
SPECIALIZE_GET_TXB_CTX(32, 32)
decodetxb.c:get_txb_ctx_32x32
Line
Count
Source
442
SPECIALIZE_GET_TXB_CTX(32, 32)
encodemb.c:get_txb_ctx_32x32
Line
Count
Source
442
SPECIALIZE_GET_TXB_CTX(32, 32)
encodetxb.c:get_txb_ctx_32x32
Line
Count
Source
442
SPECIALIZE_GET_TXB_CTX(32, 32)
tx_search.c:get_txb_ctx_32x32
Line
Count
Source
442
SPECIALIZE_GET_TXB_CTX(32, 32)
443
444
// Wrapper for get_txb_ctx that calls the specialized version of get_txb_ctc_*
445
// so that the compiler can compile away the while loops.
446
static inline void get_txb_ctx(const BLOCK_SIZE plane_bsize,
447
                               const TX_SIZE tx_size, const int plane,
448
                               const ENTROPY_CONTEXT *const a,
449
                               const ENTROPY_CONTEXT *const l,
450
181M
                               TXB_CTX *const txb_ctx) {
451
181M
  switch (tx_size) {
452
89.7M
    case TX_4X4: get_txb_ctx_4x4(plane_bsize, plane, a, l, txb_ctx); break;
453
61.7M
    case TX_8X8: get_txb_ctx_8x8(plane_bsize, plane, a, l, txb_ctx); break;
454
5.29M
    case TX_16X16: get_txb_ctx_16x16(plane_bsize, plane, a, l, txb_ctx); break;
455
1.77M
    case TX_32X32: get_txb_ctx_32x32(plane_bsize, plane, a, l, txb_ctx); break;
456
23.2M
    default:
457
23.2M
      get_txb_ctx_general(plane_bsize, tx_size, plane, a, l, txb_ctx);
458
23.2M
      break;
459
181M
  }
460
181M
}
decodetxb.c:get_txb_ctx
Line
Count
Source
450
12.4M
                               TXB_CTX *const txb_ctx) {
451
12.4M
  switch (tx_size) {
452
5.63M
    case TX_4X4: get_txb_ctx_4x4(plane_bsize, plane, a, l, txb_ctx); break;
453
3.22M
    case TX_8X8: get_txb_ctx_8x8(plane_bsize, plane, a, l, txb_ctx); break;
454
621k
    case TX_16X16: get_txb_ctx_16x16(plane_bsize, plane, a, l, txb_ctx); break;
455
382k
    case TX_32X32: get_txb_ctx_32x32(plane_bsize, plane, a, l, txb_ctx); break;
456
2.55M
    default:
457
2.55M
      get_txb_ctx_general(plane_bsize, tx_size, plane, a, l, txb_ctx);
458
2.55M
      break;
459
12.4M
  }
460
12.4M
}
Unexecuted instantiation: av1_cx_iface.c:get_txb_ctx
Unexecuted instantiation: allintra_vis.c:get_txb_ctx
Unexecuted instantiation: av1_quantize.c:get_txb_ctx
Unexecuted instantiation: bitstream.c:get_txb_ctx
Unexecuted instantiation: context_tree.c:get_txb_ctx
Unexecuted instantiation: encodeframe.c:get_txb_ctx
Unexecuted instantiation: encodeframe_utils.c:get_txb_ctx
encodemb.c:get_txb_ctx
Line
Count
Source
450
34.2M
                               TXB_CTX *const txb_ctx) {
451
34.2M
  switch (tx_size) {
452
17.4M
    case TX_4X4: get_txb_ctx_4x4(plane_bsize, plane, a, l, txb_ctx); break;
453
11.9M
    case TX_8X8: get_txb_ctx_8x8(plane_bsize, plane, a, l, txb_ctx); break;
454
1.01M
    case TX_16X16: get_txb_ctx_16x16(plane_bsize, plane, a, l, txb_ctx); break;
455
263k
    case TX_32X32: get_txb_ctx_32x32(plane_bsize, plane, a, l, txb_ctx); break;
456
3.73M
    default:
457
3.73M
      get_txb_ctx_general(plane_bsize, tx_size, plane, a, l, txb_ctx);
458
3.73M
      break;
459
34.2M
  }
460
34.2M
}
Unexecuted instantiation: encodemv.c:get_txb_ctx
Unexecuted instantiation: encoder.c:get_txb_ctx
Unexecuted instantiation: encoder_utils.c:get_txb_ctx
encodetxb.c:get_txb_ctx
Line
Count
Source
450
14.6M
                               TXB_CTX *const txb_ctx) {
451
14.6M
  switch (tx_size) {
452
7.94M
    case TX_4X4: get_txb_ctx_4x4(plane_bsize, plane, a, l, txb_ctx); break;
453
4.72M
    case TX_8X8: get_txb_ctx_8x8(plane_bsize, plane, a, l, txb_ctx); break;
454
560k
    case TX_16X16: get_txb_ctx_16x16(plane_bsize, plane, a, l, txb_ctx); break;
455
131k
    case TX_32X32: get_txb_ctx_32x32(plane_bsize, plane, a, l, txb_ctx); break;
456
1.31M
    default:
457
1.31M
      get_txb_ctx_general(plane_bsize, tx_size, plane, a, l, txb_ctx);
458
1.31M
      break;
459
14.6M
  }
460
14.6M
}
Unexecuted instantiation: ethread.c:get_txb_ctx
Unexecuted instantiation: firstpass.c:get_txb_ctx
Unexecuted instantiation: global_motion_facade.c:get_txb_ctx
Unexecuted instantiation: level.c:get_txb_ctx
Unexecuted instantiation: lookahead.c:get_txb_ctx
Unexecuted instantiation: mcomp.c:get_txb_ctx
Unexecuted instantiation: mv_prec.c:get_txb_ctx
Unexecuted instantiation: palette.c:get_txb_ctx
Unexecuted instantiation: partition_search.c:get_txb_ctx
Unexecuted instantiation: partition_strategy.c:get_txb_ctx
Unexecuted instantiation: pass2_strategy.c:get_txb_ctx
Unexecuted instantiation: pickcdef.c:get_txb_ctx
Unexecuted instantiation: picklpf.c:get_txb_ctx
Unexecuted instantiation: pickrst.c:get_txb_ctx
Unexecuted instantiation: ratectrl.c:get_txb_ctx
Unexecuted instantiation: rd.c:get_txb_ctx
Unexecuted instantiation: rdopt.c:get_txb_ctx
Unexecuted instantiation: nonrd_pickmode.c:get_txb_ctx
Unexecuted instantiation: nonrd_opt.c:get_txb_ctx
Unexecuted instantiation: segmentation.c:get_txb_ctx
Unexecuted instantiation: speed_features.c:get_txb_ctx
Unexecuted instantiation: superres_scale.c:get_txb_ctx
Unexecuted instantiation: svc_layercontext.c:get_txb_ctx
Unexecuted instantiation: temporal_filter.c:get_txb_ctx
Unexecuted instantiation: tokenize.c:get_txb_ctx
Unexecuted instantiation: tpl_model.c:get_txb_ctx
tx_search.c:get_txb_ctx
Line
Count
Source
450
120M
                               TXB_CTX *const txb_ctx) {
451
120M
  switch (tx_size) {
452
58.7M
    case TX_4X4: get_txb_ctx_4x4(plane_bsize, plane, a, l, txb_ctx); break;
453
41.9M
    case TX_8X8: get_txb_ctx_8x8(plane_bsize, plane, a, l, txb_ctx); break;
454
3.09M
    case TX_16X16: get_txb_ctx_16x16(plane_bsize, plane, a, l, txb_ctx); break;
455
993k
    case TX_32X32: get_txb_ctx_32x32(plane_bsize, plane, a, l, txb_ctx); break;
456
15.6M
    default:
457
15.6M
      get_txb_ctx_general(plane_bsize, tx_size, plane, a, l, txb_ctx);
458
15.6M
      break;
459
120M
  }
460
120M
}
Unexecuted instantiation: txb_rdopt.c:get_txb_ctx
Unexecuted instantiation: intra_mode_search.c:get_txb_ctx
Unexecuted instantiation: var_based_part.c:get_txb_ctx
Unexecuted instantiation: av1_noise_estimate.c:get_txb_ctx
Unexecuted instantiation: encodetxb_sse2.c:get_txb_ctx
Unexecuted instantiation: entropy.c:get_txb_ctx
Unexecuted instantiation: entropymode.c:get_txb_ctx
Unexecuted instantiation: txb_common.c:get_txb_ctx
Unexecuted instantiation: aq_complexity.c:get_txb_ctx
Unexecuted instantiation: aq_cyclicrefresh.c:get_txb_ctx
Unexecuted instantiation: aq_variance.c:get_txb_ctx
Unexecuted instantiation: compound_type.c:get_txb_ctx
Unexecuted instantiation: encode_strategy.c:get_txb_ctx
Unexecuted instantiation: global_motion.c:get_txb_ctx
Unexecuted instantiation: gop_structure.c:get_txb_ctx
Unexecuted instantiation: interp_search.c:get_txb_ctx
Unexecuted instantiation: motion_search_facade.c:get_txb_ctx
Unexecuted instantiation: temporal_filter_sse2.c:get_txb_ctx
Unexecuted instantiation: highbd_temporal_filter_sse2.c:get_txb_ctx
Unexecuted instantiation: encodetxb_sse4.c:get_txb_ctx
Unexecuted instantiation: rdopt_sse4.c:get_txb_ctx
Unexecuted instantiation: pickrst_sse4.c:get_txb_ctx
Unexecuted instantiation: encodetxb_avx2.c:get_txb_ctx
Unexecuted instantiation: rdopt_avx2.c:get_txb_ctx
Unexecuted instantiation: temporal_filter_avx2.c:get_txb_ctx
Unexecuted instantiation: pickrst_avx2.c:get_txb_ctx
Unexecuted instantiation: highbd_temporal_filter_avx2.c:get_txb_ctx
461
#undef MAX_TX_SIZE_UNIT
462
463
#endif  // AOM_AV1_COMMON_TXB_COMMON_H_