/src/aom/av1/common/av1_txfm.h
Line | Count | Source |
1 | | /* |
2 | | * Copyright (c) 2016, Alliance for Open Media. All rights reserved. |
3 | | * |
4 | | * This source code is subject to the terms of the BSD 2 Clause License and |
5 | | * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License |
6 | | * was not distributed with this source code in the LICENSE file, you can |
7 | | * obtain it at www.aomedia.org/license/software. If the Alliance for Open |
8 | | * Media Patent License 1.0 was not distributed with this source code in the |
9 | | * PATENTS file, you can obtain it at www.aomedia.org/license/patent. |
10 | | */ |
11 | | |
12 | | #ifndef AOM_AV1_COMMON_AV1_TXFM_H_ |
13 | | #define AOM_AV1_COMMON_AV1_TXFM_H_ |
14 | | |
15 | | #include <assert.h> |
16 | | #include <inttypes.h> |
17 | | #include <math.h> |
18 | | #include <stdio.h> |
19 | | |
20 | | #include "config/aom_config.h" |
21 | | |
22 | | #include "av1/common/enums.h" |
23 | | #include "av1/common/blockd.h" |
24 | | #include "aom/aom_integer.h" |
25 | | #include "aom_dsp/aom_dsp_common.h" |
26 | | |
27 | | #ifdef __cplusplus |
28 | | extern "C" { |
29 | | #endif |
30 | | |
31 | | #if !defined(DO_RANGE_CHECK_CLAMP) |
32 | | #define DO_RANGE_CHECK_CLAMP 0 |
33 | | #endif |
34 | | |
35 | | extern const int32_t av1_cospi_arr_data[4][64]; |
36 | | extern const int32_t av1_sinpi_arr_data[4][5]; |
37 | | |
38 | 0 | #define MAX_TXFM_STAGE_NUM 12 |
39 | | |
40 | | static const int cos_bit_min = 10; |
41 | | |
42 | 81.0M | #define NewSqrt2Bits ((int32_t)12) |
43 | | // 2^12 * sqrt(2) |
44 | | static const int32_t NewSqrt2 = 5793; |
45 | | // 2^12 / sqrt(2) |
46 | | static const int32_t NewInvSqrt2 = 2896; |
47 | | |
48 | 31.8M | static inline const int32_t *cospi_arr(int n) { |
49 | 31.8M | return av1_cospi_arr_data[n - cos_bit_min]; |
50 | 31.8M | } Unexecuted instantiation: av1_dx_iface.c:cospi_arr Unexecuted instantiation: decodeframe.c:cospi_arr Unexecuted instantiation: decodemv.c:cospi_arr Unexecuted instantiation: decoder.c:cospi_arr Unexecuted instantiation: decodetxb.c:cospi_arr Unexecuted instantiation: detokenize.c:cospi_arr Unexecuted instantiation: obu.c:cospi_arr Unexecuted instantiation: av1_rtcd.c:cospi_arr Unexecuted instantiation: highbd_convolve_ssse3.c:cospi_arr Unexecuted instantiation: intrapred_sse4.c:cospi_arr Unexecuted instantiation: intrapred_avx2.c:cospi_arr Unexecuted instantiation: highbd_convolve_avx2.c:cospi_arr Unexecuted instantiation: alloccommon.c:cospi_arr Unexecuted instantiation: av1_inv_txfm2d.c:cospi_arr Unexecuted instantiation: av1_loopfilter.c:cospi_arr Unexecuted instantiation: av1_txfm.c:cospi_arr Unexecuted instantiation: blockd.c:cospi_arr Unexecuted instantiation: cdef.c:cospi_arr Unexecuted instantiation: cdef_block.c:cospi_arr Unexecuted instantiation: cfl.c:cospi_arr Unexecuted instantiation: convolve.c:cospi_arr Unexecuted instantiation: entropy.c:cospi_arr Unexecuted instantiation: entropymode.c:cospi_arr Unexecuted instantiation: entropymv.c:cospi_arr Unexecuted instantiation: idct.c:cospi_arr Unexecuted instantiation: mvref_common.c:cospi_arr Unexecuted instantiation: pred_common.c:cospi_arr Unexecuted instantiation: quant_common.c:cospi_arr Unexecuted instantiation: reconinter.c:cospi_arr Unexecuted instantiation: reconintra.c:cospi_arr Unexecuted instantiation: resize.c:cospi_arr Unexecuted instantiation: restoration.c:cospi_arr Unexecuted instantiation: scale.c:cospi_arr Unexecuted instantiation: scan.c:cospi_arr Unexecuted instantiation: thread_common.c:cospi_arr Unexecuted instantiation: tile_common.c:cospi_arr Unexecuted instantiation: txb_common.c:cospi_arr Unexecuted instantiation: warped_motion.c:cospi_arr Unexecuted instantiation: cfl_sse2.c:cospi_arr Unexecuted instantiation: convolve_2d_sse2.c:cospi_arr Unexecuted instantiation: convolve_sse2.c:cospi_arr Unexecuted instantiation: jnt_convolve_sse2.c:cospi_arr Unexecuted instantiation: resize_sse2.c:cospi_arr Unexecuted instantiation: wiener_convolve_sse2.c:cospi_arr av1_inv_txfm_ssse3.c:cospi_arr Line | Count | Source | 48 | 7.10M | static inline const int32_t *cospi_arr(int n) { | 49 | 7.10M | return av1_cospi_arr_data[n - cos_bit_min]; | 50 | 7.10M | } |
Unexecuted instantiation: cfl_ssse3.c:cospi_arr Unexecuted instantiation: jnt_convolve_ssse3.c:cospi_arr Unexecuted instantiation: resize_ssse3.c:cospi_arr Unexecuted instantiation: highbd_convolve_2d_ssse3.c:cospi_arr Unexecuted instantiation: highbd_wiener_convolve_ssse3.c:cospi_arr Unexecuted instantiation: reconinter_ssse3.c:cospi_arr Unexecuted instantiation: av1_convolve_horiz_rs_sse4.c:cospi_arr Unexecuted instantiation: av1_convolve_scale_sse4.c:cospi_arr Unexecuted instantiation: av1_txfm_sse4.c:cospi_arr Unexecuted instantiation: cdef_block_sse4.c:cospi_arr Unexecuted instantiation: filterintra_sse4.c:cospi_arr highbd_inv_txfm_sse4.c:cospi_arr Line | Count | Source | 48 | 6.06M | static inline const int32_t *cospi_arr(int n) { | 49 | 6.06M | return av1_cospi_arr_data[n - cos_bit_min]; | 50 | 6.06M | } |
Unexecuted instantiation: intra_edge_sse4.c:cospi_arr Unexecuted instantiation: reconinter_sse4.c:cospi_arr Unexecuted instantiation: selfguided_sse4.c:cospi_arr Unexecuted instantiation: warp_plane_sse4.c:cospi_arr Unexecuted instantiation: highbd_convolve_2d_sse4.c:cospi_arr Unexecuted instantiation: highbd_jnt_convolve_sse4.c:cospi_arr Unexecuted instantiation: highbd_warp_plane_sse4.c:cospi_arr av1_inv_txfm_avx2.c:cospi_arr Line | Count | Source | 48 | 3.42M | static inline const int32_t *cospi_arr(int n) { | 49 | 3.42M | return av1_cospi_arr_data[n - cos_bit_min]; | 50 | 3.42M | } |
Unexecuted instantiation: cdef_block_avx2.c:cospi_arr Unexecuted instantiation: cfl_avx2.c:cospi_arr Unexecuted instantiation: convolve_2d_avx2.c:cospi_arr Unexecuted instantiation: convolve_avx2.c:cospi_arr highbd_inv_txfm_avx2.c:cospi_arr Line | Count | Source | 48 | 15.2M | static inline const int32_t *cospi_arr(int n) { | 49 | 15.2M | return av1_cospi_arr_data[n - cos_bit_min]; | 50 | 15.2M | } |
Unexecuted instantiation: jnt_convolve_avx2.c:cospi_arr Unexecuted instantiation: reconinter_avx2.c:cospi_arr Unexecuted instantiation: resize_avx2.c:cospi_arr Unexecuted instantiation: selfguided_avx2.c:cospi_arr Unexecuted instantiation: warp_plane_avx2.c:cospi_arr Unexecuted instantiation: wiener_convolve_avx2.c:cospi_arr Unexecuted instantiation: highbd_convolve_2d_avx2.c:cospi_arr Unexecuted instantiation: highbd_jnt_convolve_avx2.c:cospi_arr Unexecuted instantiation: highbd_wiener_convolve_avx2.c:cospi_arr Unexecuted instantiation: highbd_warp_affine_avx2.c:cospi_arr Unexecuted instantiation: av1_inv_txfm1d.c:cospi_arr |
51 | | |
52 | 3.48M | static inline const int32_t *sinpi_arr(int n) { |
53 | 3.48M | return av1_sinpi_arr_data[n - cos_bit_min]; |
54 | 3.48M | } Unexecuted instantiation: av1_dx_iface.c:sinpi_arr Unexecuted instantiation: decodeframe.c:sinpi_arr Unexecuted instantiation: decodemv.c:sinpi_arr Unexecuted instantiation: decoder.c:sinpi_arr Unexecuted instantiation: decodetxb.c:sinpi_arr Unexecuted instantiation: detokenize.c:sinpi_arr Unexecuted instantiation: obu.c:sinpi_arr Unexecuted instantiation: av1_rtcd.c:sinpi_arr Unexecuted instantiation: highbd_convolve_ssse3.c:sinpi_arr Unexecuted instantiation: intrapred_sse4.c:sinpi_arr Unexecuted instantiation: intrapred_avx2.c:sinpi_arr Unexecuted instantiation: highbd_convolve_avx2.c:sinpi_arr Unexecuted instantiation: alloccommon.c:sinpi_arr Unexecuted instantiation: av1_inv_txfm2d.c:sinpi_arr Unexecuted instantiation: av1_loopfilter.c:sinpi_arr Unexecuted instantiation: av1_txfm.c:sinpi_arr Unexecuted instantiation: blockd.c:sinpi_arr Unexecuted instantiation: cdef.c:sinpi_arr Unexecuted instantiation: cdef_block.c:sinpi_arr Unexecuted instantiation: cfl.c:sinpi_arr Unexecuted instantiation: convolve.c:sinpi_arr Unexecuted instantiation: entropy.c:sinpi_arr Unexecuted instantiation: entropymode.c:sinpi_arr Unexecuted instantiation: entropymv.c:sinpi_arr Unexecuted instantiation: idct.c:sinpi_arr Unexecuted instantiation: mvref_common.c:sinpi_arr Unexecuted instantiation: pred_common.c:sinpi_arr Unexecuted instantiation: quant_common.c:sinpi_arr Unexecuted instantiation: reconinter.c:sinpi_arr Unexecuted instantiation: reconintra.c:sinpi_arr Unexecuted instantiation: resize.c:sinpi_arr Unexecuted instantiation: restoration.c:sinpi_arr Unexecuted instantiation: scale.c:sinpi_arr Unexecuted instantiation: scan.c:sinpi_arr Unexecuted instantiation: thread_common.c:sinpi_arr Unexecuted instantiation: tile_common.c:sinpi_arr Unexecuted instantiation: txb_common.c:sinpi_arr Unexecuted instantiation: warped_motion.c:sinpi_arr Unexecuted instantiation: cfl_sse2.c:sinpi_arr Unexecuted instantiation: convolve_2d_sse2.c:sinpi_arr Unexecuted instantiation: convolve_sse2.c:sinpi_arr Unexecuted instantiation: jnt_convolve_sse2.c:sinpi_arr Unexecuted instantiation: resize_sse2.c:sinpi_arr Unexecuted instantiation: wiener_convolve_sse2.c:sinpi_arr av1_inv_txfm_ssse3.c:sinpi_arr Line | Count | Source | 52 | 1.02M | static inline const int32_t *sinpi_arr(int n) { | 53 | 1.02M | return av1_sinpi_arr_data[n - cos_bit_min]; | 54 | 1.02M | } |
Unexecuted instantiation: cfl_ssse3.c:sinpi_arr Unexecuted instantiation: jnt_convolve_ssse3.c:sinpi_arr Unexecuted instantiation: resize_ssse3.c:sinpi_arr Unexecuted instantiation: highbd_convolve_2d_ssse3.c:sinpi_arr Unexecuted instantiation: highbd_wiener_convolve_ssse3.c:sinpi_arr Unexecuted instantiation: reconinter_ssse3.c:sinpi_arr Unexecuted instantiation: av1_convolve_horiz_rs_sse4.c:sinpi_arr Unexecuted instantiation: av1_convolve_scale_sse4.c:sinpi_arr Unexecuted instantiation: av1_txfm_sse4.c:sinpi_arr Unexecuted instantiation: cdef_block_sse4.c:sinpi_arr Unexecuted instantiation: filterintra_sse4.c:sinpi_arr highbd_inv_txfm_sse4.c:sinpi_arr Line | Count | Source | 52 | 2.46M | static inline const int32_t *sinpi_arr(int n) { | 53 | 2.46M | return av1_sinpi_arr_data[n - cos_bit_min]; | 54 | 2.46M | } |
Unexecuted instantiation: intra_edge_sse4.c:sinpi_arr Unexecuted instantiation: reconinter_sse4.c:sinpi_arr Unexecuted instantiation: selfguided_sse4.c:sinpi_arr Unexecuted instantiation: warp_plane_sse4.c:sinpi_arr Unexecuted instantiation: highbd_convolve_2d_sse4.c:sinpi_arr Unexecuted instantiation: highbd_jnt_convolve_sse4.c:sinpi_arr Unexecuted instantiation: highbd_warp_plane_sse4.c:sinpi_arr Unexecuted instantiation: av1_inv_txfm_avx2.c:sinpi_arr Unexecuted instantiation: cdef_block_avx2.c:sinpi_arr Unexecuted instantiation: cfl_avx2.c:sinpi_arr Unexecuted instantiation: convolve_2d_avx2.c:sinpi_arr Unexecuted instantiation: convolve_avx2.c:sinpi_arr Unexecuted instantiation: highbd_inv_txfm_avx2.c:sinpi_arr Unexecuted instantiation: jnt_convolve_avx2.c:sinpi_arr Unexecuted instantiation: reconinter_avx2.c:sinpi_arr Unexecuted instantiation: resize_avx2.c:sinpi_arr Unexecuted instantiation: selfguided_avx2.c:sinpi_arr Unexecuted instantiation: warp_plane_avx2.c:sinpi_arr Unexecuted instantiation: wiener_convolve_avx2.c:sinpi_arr Unexecuted instantiation: highbd_convolve_2d_avx2.c:sinpi_arr Unexecuted instantiation: highbd_jnt_convolve_avx2.c:sinpi_arr Unexecuted instantiation: highbd_wiener_convolve_avx2.c:sinpi_arr Unexecuted instantiation: highbd_warp_affine_avx2.c:sinpi_arr Unexecuted instantiation: av1_inv_txfm1d.c:sinpi_arr |
55 | | |
56 | | // The reduced bit-width and permuted arrays are only used in the Arm Neon |
57 | | // implementations in av1_fwd_txfm2d_neon.c and highbd_fwd_txfm_neon.c for now. |
58 | | #if HAVE_NEON |
59 | | // Store cospi/sinpi costants in Q2.13 format. |
60 | | // See: https://en.wikipedia.org/wiki/Q_(number_format) |
61 | | extern const int16_t av1_cospi_arr_q13_data[4][128]; |
62 | | extern const int16_t av1_sinpi_arr_q13_data[4][4]; |
63 | | |
64 | | extern const int32_t av1_cospi_arr_s32_data[4][66]; |
65 | | |
66 | | static inline const int16_t *cospi_arr_q13(int n) { |
67 | | return av1_cospi_arr_q13_data[n - cos_bit_min]; |
68 | | } |
69 | | |
70 | | static inline const int16_t *sinpi_arr_q13(int n) { |
71 | | return av1_sinpi_arr_q13_data[n - cos_bit_min]; |
72 | | } |
73 | | |
74 | | static inline const int32_t *cospi_arr_s32(int n) { |
75 | | return av1_cospi_arr_s32_data[n - cos_bit_min]; |
76 | | } |
77 | | #endif // HAVE_NEON |
78 | | |
79 | 0 | static inline int32_t range_check_value(int32_t value, int8_t bit) { |
80 | | #if CONFIG_COEFFICIENT_RANGE_CHECKING |
81 | | const int64_t max_value = (1LL << (bit - 1)) - 1; |
82 | | const int64_t min_value = -(1LL << (bit - 1)); |
83 | | if (value < min_value || value > max_value) { |
84 | | fprintf(stderr, "coeff out of bit range, value: %d bit %d\n", value, bit); |
85 | | #if !CONFIG_AV1_ENCODER |
86 | | assert(0); |
87 | | #endif |
88 | | } |
89 | | #endif // CONFIG_COEFFICIENT_RANGE_CHECKING |
90 | 0 | #if DO_RANGE_CHECK_CLAMP |
91 | 0 | bit = AOMMIN(bit, 31); |
92 | 0 | return clamp(value, -(1 << (bit - 1)), (1 << (bit - 1)) - 1); |
93 | 0 | #endif // DO_RANGE_CHECK_CLAMP |
94 | 0 | (void)bit; |
95 | 0 | return value; |
96 | 0 | } Unexecuted instantiation: av1_dx_iface.c:range_check_value Unexecuted instantiation: decodeframe.c:range_check_value Unexecuted instantiation: decodemv.c:range_check_value Unexecuted instantiation: decoder.c:range_check_value Unexecuted instantiation: decodetxb.c:range_check_value Unexecuted instantiation: detokenize.c:range_check_value Unexecuted instantiation: obu.c:range_check_value Unexecuted instantiation: av1_rtcd.c:range_check_value Unexecuted instantiation: highbd_convolve_ssse3.c:range_check_value Unexecuted instantiation: intrapred_sse4.c:range_check_value Unexecuted instantiation: intrapred_avx2.c:range_check_value Unexecuted instantiation: highbd_convolve_avx2.c:range_check_value Unexecuted instantiation: alloccommon.c:range_check_value Unexecuted instantiation: av1_inv_txfm2d.c:range_check_value Unexecuted instantiation: av1_loopfilter.c:range_check_value Unexecuted instantiation: av1_txfm.c:range_check_value Unexecuted instantiation: blockd.c:range_check_value Unexecuted instantiation: cdef.c:range_check_value Unexecuted instantiation: cdef_block.c:range_check_value Unexecuted instantiation: cfl.c:range_check_value Unexecuted instantiation: convolve.c:range_check_value Unexecuted instantiation: entropy.c:range_check_value Unexecuted instantiation: entropymode.c:range_check_value Unexecuted instantiation: entropymv.c:range_check_value Unexecuted instantiation: idct.c:range_check_value Unexecuted instantiation: mvref_common.c:range_check_value Unexecuted instantiation: pred_common.c:range_check_value Unexecuted instantiation: quant_common.c:range_check_value Unexecuted instantiation: reconinter.c:range_check_value Unexecuted instantiation: reconintra.c:range_check_value Unexecuted instantiation: resize.c:range_check_value Unexecuted instantiation: restoration.c:range_check_value Unexecuted instantiation: scale.c:range_check_value Unexecuted instantiation: scan.c:range_check_value Unexecuted instantiation: thread_common.c:range_check_value Unexecuted instantiation: tile_common.c:range_check_value Unexecuted instantiation: txb_common.c:range_check_value Unexecuted instantiation: warped_motion.c:range_check_value Unexecuted instantiation: cfl_sse2.c:range_check_value Unexecuted instantiation: convolve_2d_sse2.c:range_check_value Unexecuted instantiation: convolve_sse2.c:range_check_value Unexecuted instantiation: jnt_convolve_sse2.c:range_check_value Unexecuted instantiation: resize_sse2.c:range_check_value Unexecuted instantiation: wiener_convolve_sse2.c:range_check_value Unexecuted instantiation: av1_inv_txfm_ssse3.c:range_check_value Unexecuted instantiation: cfl_ssse3.c:range_check_value Unexecuted instantiation: jnt_convolve_ssse3.c:range_check_value Unexecuted instantiation: resize_ssse3.c:range_check_value Unexecuted instantiation: highbd_convolve_2d_ssse3.c:range_check_value Unexecuted instantiation: highbd_wiener_convolve_ssse3.c:range_check_value Unexecuted instantiation: reconinter_ssse3.c:range_check_value Unexecuted instantiation: av1_convolve_horiz_rs_sse4.c:range_check_value Unexecuted instantiation: av1_convolve_scale_sse4.c:range_check_value Unexecuted instantiation: av1_txfm_sse4.c:range_check_value Unexecuted instantiation: cdef_block_sse4.c:range_check_value Unexecuted instantiation: filterintra_sse4.c:range_check_value Unexecuted instantiation: highbd_inv_txfm_sse4.c:range_check_value Unexecuted instantiation: intra_edge_sse4.c:range_check_value Unexecuted instantiation: reconinter_sse4.c:range_check_value Unexecuted instantiation: selfguided_sse4.c:range_check_value Unexecuted instantiation: warp_plane_sse4.c:range_check_value Unexecuted instantiation: highbd_convolve_2d_sse4.c:range_check_value Unexecuted instantiation: highbd_jnt_convolve_sse4.c:range_check_value Unexecuted instantiation: highbd_warp_plane_sse4.c:range_check_value Unexecuted instantiation: av1_inv_txfm_avx2.c:range_check_value Unexecuted instantiation: cdef_block_avx2.c:range_check_value Unexecuted instantiation: cfl_avx2.c:range_check_value Unexecuted instantiation: convolve_2d_avx2.c:range_check_value Unexecuted instantiation: convolve_avx2.c:range_check_value Unexecuted instantiation: highbd_inv_txfm_avx2.c:range_check_value Unexecuted instantiation: jnt_convolve_avx2.c:range_check_value Unexecuted instantiation: reconinter_avx2.c:range_check_value Unexecuted instantiation: resize_avx2.c:range_check_value Unexecuted instantiation: selfguided_avx2.c:range_check_value Unexecuted instantiation: warp_plane_avx2.c:range_check_value Unexecuted instantiation: wiener_convolve_avx2.c:range_check_value Unexecuted instantiation: highbd_convolve_2d_avx2.c:range_check_value Unexecuted instantiation: highbd_jnt_convolve_avx2.c:range_check_value Unexecuted instantiation: highbd_wiener_convolve_avx2.c:range_check_value Unexecuted instantiation: highbd_warp_affine_avx2.c:range_check_value Unexecuted instantiation: av1_inv_txfm1d.c:range_check_value |
97 | | |
98 | 0 | static inline int64_t range_check_value64(int64_t value, int8_t bit) { |
99 | | #if CONFIG_COEFFICIENT_RANGE_CHECKING |
100 | | const int64_t max_value = (1LL << (bit - 1)) - 1; |
101 | | const int64_t min_value = -(1LL << (bit - 1)); |
102 | | if (value < min_value || value > max_value) { |
103 | | fprintf(stderr, "coeff out of bit range, value: %" PRId64 " bit %d\n", |
104 | | value, bit); |
105 | | #if !CONFIG_AV1_ENCODER |
106 | | assert(0); |
107 | | #endif |
108 | | } |
109 | | #endif // CONFIG_COEFFICIENT_RANGE_CHECKING |
110 | 0 | #if DO_RANGE_CHECK_CLAMP |
111 | 0 | bit = AOMMIN(bit, 63); |
112 | 0 | return clamp64(value, -(1LL << (bit - 1)), (1LL << (bit - 1)) - 1); |
113 | 0 | #endif // DO_RANGE_CHECK_CLAMP |
114 | 0 | (void)bit; |
115 | 0 | return value; |
116 | 0 | } Unexecuted instantiation: av1_dx_iface.c:range_check_value64 Unexecuted instantiation: decodeframe.c:range_check_value64 Unexecuted instantiation: decodemv.c:range_check_value64 Unexecuted instantiation: decoder.c:range_check_value64 Unexecuted instantiation: decodetxb.c:range_check_value64 Unexecuted instantiation: detokenize.c:range_check_value64 Unexecuted instantiation: obu.c:range_check_value64 Unexecuted instantiation: av1_rtcd.c:range_check_value64 Unexecuted instantiation: highbd_convolve_ssse3.c:range_check_value64 Unexecuted instantiation: intrapred_sse4.c:range_check_value64 Unexecuted instantiation: intrapred_avx2.c:range_check_value64 Unexecuted instantiation: highbd_convolve_avx2.c:range_check_value64 Unexecuted instantiation: alloccommon.c:range_check_value64 Unexecuted instantiation: av1_inv_txfm2d.c:range_check_value64 Unexecuted instantiation: av1_loopfilter.c:range_check_value64 Unexecuted instantiation: av1_txfm.c:range_check_value64 Unexecuted instantiation: blockd.c:range_check_value64 Unexecuted instantiation: cdef.c:range_check_value64 Unexecuted instantiation: cdef_block.c:range_check_value64 Unexecuted instantiation: cfl.c:range_check_value64 Unexecuted instantiation: convolve.c:range_check_value64 Unexecuted instantiation: entropy.c:range_check_value64 Unexecuted instantiation: entropymode.c:range_check_value64 Unexecuted instantiation: entropymv.c:range_check_value64 Unexecuted instantiation: idct.c:range_check_value64 Unexecuted instantiation: mvref_common.c:range_check_value64 Unexecuted instantiation: pred_common.c:range_check_value64 Unexecuted instantiation: quant_common.c:range_check_value64 Unexecuted instantiation: reconinter.c:range_check_value64 Unexecuted instantiation: reconintra.c:range_check_value64 Unexecuted instantiation: resize.c:range_check_value64 Unexecuted instantiation: restoration.c:range_check_value64 Unexecuted instantiation: scale.c:range_check_value64 Unexecuted instantiation: scan.c:range_check_value64 Unexecuted instantiation: thread_common.c:range_check_value64 Unexecuted instantiation: tile_common.c:range_check_value64 Unexecuted instantiation: txb_common.c:range_check_value64 Unexecuted instantiation: warped_motion.c:range_check_value64 Unexecuted instantiation: cfl_sse2.c:range_check_value64 Unexecuted instantiation: convolve_2d_sse2.c:range_check_value64 Unexecuted instantiation: convolve_sse2.c:range_check_value64 Unexecuted instantiation: jnt_convolve_sse2.c:range_check_value64 Unexecuted instantiation: resize_sse2.c:range_check_value64 Unexecuted instantiation: wiener_convolve_sse2.c:range_check_value64 Unexecuted instantiation: av1_inv_txfm_ssse3.c:range_check_value64 Unexecuted instantiation: cfl_ssse3.c:range_check_value64 Unexecuted instantiation: jnt_convolve_ssse3.c:range_check_value64 Unexecuted instantiation: resize_ssse3.c:range_check_value64 Unexecuted instantiation: highbd_convolve_2d_ssse3.c:range_check_value64 Unexecuted instantiation: highbd_wiener_convolve_ssse3.c:range_check_value64 Unexecuted instantiation: reconinter_ssse3.c:range_check_value64 Unexecuted instantiation: av1_convolve_horiz_rs_sse4.c:range_check_value64 Unexecuted instantiation: av1_convolve_scale_sse4.c:range_check_value64 Unexecuted instantiation: av1_txfm_sse4.c:range_check_value64 Unexecuted instantiation: cdef_block_sse4.c:range_check_value64 Unexecuted instantiation: filterintra_sse4.c:range_check_value64 Unexecuted instantiation: highbd_inv_txfm_sse4.c:range_check_value64 Unexecuted instantiation: intra_edge_sse4.c:range_check_value64 Unexecuted instantiation: reconinter_sse4.c:range_check_value64 Unexecuted instantiation: selfguided_sse4.c:range_check_value64 Unexecuted instantiation: warp_plane_sse4.c:range_check_value64 Unexecuted instantiation: highbd_convolve_2d_sse4.c:range_check_value64 Unexecuted instantiation: highbd_jnt_convolve_sse4.c:range_check_value64 Unexecuted instantiation: highbd_warp_plane_sse4.c:range_check_value64 Unexecuted instantiation: av1_inv_txfm_avx2.c:range_check_value64 Unexecuted instantiation: cdef_block_avx2.c:range_check_value64 Unexecuted instantiation: cfl_avx2.c:range_check_value64 Unexecuted instantiation: convolve_2d_avx2.c:range_check_value64 Unexecuted instantiation: convolve_avx2.c:range_check_value64 Unexecuted instantiation: highbd_inv_txfm_avx2.c:range_check_value64 Unexecuted instantiation: jnt_convolve_avx2.c:range_check_value64 Unexecuted instantiation: reconinter_avx2.c:range_check_value64 Unexecuted instantiation: resize_avx2.c:range_check_value64 Unexecuted instantiation: selfguided_avx2.c:range_check_value64 Unexecuted instantiation: warp_plane_avx2.c:range_check_value64 Unexecuted instantiation: wiener_convolve_avx2.c:range_check_value64 Unexecuted instantiation: highbd_convolve_2d_avx2.c:range_check_value64 Unexecuted instantiation: highbd_jnt_convolve_avx2.c:range_check_value64 Unexecuted instantiation: highbd_wiener_convolve_avx2.c:range_check_value64 Unexecuted instantiation: highbd_warp_affine_avx2.c:range_check_value64 Unexecuted instantiation: av1_inv_txfm1d.c:range_check_value64 |
117 | | |
118 | 0 | static inline int32_t round_shift(int64_t value, int bit) { |
119 | 0 | assert(bit >= 1); |
120 | 0 | return (int32_t)((value + (1ll << (bit - 1))) >> bit); |
121 | 0 | } Unexecuted instantiation: av1_dx_iface.c:round_shift Unexecuted instantiation: decodeframe.c:round_shift Unexecuted instantiation: decodemv.c:round_shift Unexecuted instantiation: decoder.c:round_shift Unexecuted instantiation: decodetxb.c:round_shift Unexecuted instantiation: detokenize.c:round_shift Unexecuted instantiation: obu.c:round_shift Unexecuted instantiation: av1_rtcd.c:round_shift Unexecuted instantiation: highbd_convolve_ssse3.c:round_shift Unexecuted instantiation: intrapred_sse4.c:round_shift Unexecuted instantiation: intrapred_avx2.c:round_shift Unexecuted instantiation: highbd_convolve_avx2.c:round_shift Unexecuted instantiation: alloccommon.c:round_shift Unexecuted instantiation: av1_inv_txfm2d.c:round_shift Unexecuted instantiation: av1_loopfilter.c:round_shift Unexecuted instantiation: av1_txfm.c:round_shift Unexecuted instantiation: blockd.c:round_shift Unexecuted instantiation: cdef.c:round_shift Unexecuted instantiation: cdef_block.c:round_shift Unexecuted instantiation: cfl.c:round_shift Unexecuted instantiation: convolve.c:round_shift Unexecuted instantiation: entropy.c:round_shift Unexecuted instantiation: entropymode.c:round_shift Unexecuted instantiation: entropymv.c:round_shift Unexecuted instantiation: idct.c:round_shift Unexecuted instantiation: mvref_common.c:round_shift Unexecuted instantiation: pred_common.c:round_shift Unexecuted instantiation: quant_common.c:round_shift Unexecuted instantiation: reconinter.c:round_shift Unexecuted instantiation: reconintra.c:round_shift Unexecuted instantiation: resize.c:round_shift Unexecuted instantiation: restoration.c:round_shift Unexecuted instantiation: scale.c:round_shift Unexecuted instantiation: scan.c:round_shift Unexecuted instantiation: thread_common.c:round_shift Unexecuted instantiation: tile_common.c:round_shift Unexecuted instantiation: txb_common.c:round_shift Unexecuted instantiation: warped_motion.c:round_shift Unexecuted instantiation: cfl_sse2.c:round_shift Unexecuted instantiation: convolve_2d_sse2.c:round_shift Unexecuted instantiation: convolve_sse2.c:round_shift Unexecuted instantiation: jnt_convolve_sse2.c:round_shift Unexecuted instantiation: resize_sse2.c:round_shift Unexecuted instantiation: wiener_convolve_sse2.c:round_shift Unexecuted instantiation: av1_inv_txfm_ssse3.c:round_shift Unexecuted instantiation: cfl_ssse3.c:round_shift Unexecuted instantiation: jnt_convolve_ssse3.c:round_shift Unexecuted instantiation: resize_ssse3.c:round_shift Unexecuted instantiation: highbd_convolve_2d_ssse3.c:round_shift Unexecuted instantiation: highbd_wiener_convolve_ssse3.c:round_shift Unexecuted instantiation: reconinter_ssse3.c:round_shift Unexecuted instantiation: av1_convolve_horiz_rs_sse4.c:round_shift Unexecuted instantiation: av1_convolve_scale_sse4.c:round_shift Unexecuted instantiation: av1_txfm_sse4.c:round_shift Unexecuted instantiation: cdef_block_sse4.c:round_shift Unexecuted instantiation: filterintra_sse4.c:round_shift Unexecuted instantiation: highbd_inv_txfm_sse4.c:round_shift Unexecuted instantiation: intra_edge_sse4.c:round_shift Unexecuted instantiation: reconinter_sse4.c:round_shift Unexecuted instantiation: selfguided_sse4.c:round_shift Unexecuted instantiation: warp_plane_sse4.c:round_shift Unexecuted instantiation: highbd_convolve_2d_sse4.c:round_shift Unexecuted instantiation: highbd_jnt_convolve_sse4.c:round_shift Unexecuted instantiation: highbd_warp_plane_sse4.c:round_shift Unexecuted instantiation: av1_inv_txfm_avx2.c:round_shift Unexecuted instantiation: cdef_block_avx2.c:round_shift Unexecuted instantiation: cfl_avx2.c:round_shift Unexecuted instantiation: convolve_2d_avx2.c:round_shift Unexecuted instantiation: convolve_avx2.c:round_shift Unexecuted instantiation: highbd_inv_txfm_avx2.c:round_shift Unexecuted instantiation: jnt_convolve_avx2.c:round_shift Unexecuted instantiation: reconinter_avx2.c:round_shift Unexecuted instantiation: resize_avx2.c:round_shift Unexecuted instantiation: selfguided_avx2.c:round_shift Unexecuted instantiation: warp_plane_avx2.c:round_shift Unexecuted instantiation: wiener_convolve_avx2.c:round_shift Unexecuted instantiation: highbd_convolve_2d_avx2.c:round_shift Unexecuted instantiation: highbd_jnt_convolve_avx2.c:round_shift Unexecuted instantiation: highbd_wiener_convolve_avx2.c:round_shift Unexecuted instantiation: highbd_warp_affine_avx2.c:round_shift Unexecuted instantiation: av1_inv_txfm1d.c:round_shift |
122 | | |
123 | | static inline int32_t half_btf(int32_t w0, int32_t in0, int32_t w1, int32_t in1, |
124 | 0 | int bit) { |
125 | 0 | int64_t result_64 = (int64_t)(w0 * in0) + (int64_t)(w1 * in1); |
126 | 0 | int64_t intermediate = result_64 + (1LL << (bit - 1)); |
127 | | // NOTE(rachelbarker): The value 'result_64' may not necessarily fit |
128 | | // into 32 bits. However, the result of this function is nominally |
129 | | // ROUND_POWER_OF_TWO_64(result_64, bit) |
130 | | // and that is required to fit into stage_range[stage] many bits |
131 | | // (checked by range_check_buf()). |
132 | | // |
133 | | // Here we've unpacked that rounding operation, and it can be shown |
134 | | // that the value of 'intermediate' here *does* fit into 32 bits |
135 | | // for any conformant bitstream. |
136 | | // The upshot is that, if you do all this calculation using |
137 | | // wrapping 32-bit arithmetic instead of (non-wrapping) 64-bit arithmetic, |
138 | | // then you'll still get the correct result. |
139 | | // To provide a check on this logic, we assert that 'intermediate' |
140 | | // would fit into an int32 if range checking is enabled. |
141 | | #if CONFIG_COEFFICIENT_RANGE_CHECKING |
142 | | assert(intermediate >= INT32_MIN && intermediate <= INT32_MAX); |
143 | | #endif |
144 | 0 | return (int32_t)(intermediate >> bit); |
145 | 0 | } Unexecuted instantiation: av1_dx_iface.c:half_btf Unexecuted instantiation: decodeframe.c:half_btf Unexecuted instantiation: decodemv.c:half_btf Unexecuted instantiation: decoder.c:half_btf Unexecuted instantiation: decodetxb.c:half_btf Unexecuted instantiation: detokenize.c:half_btf Unexecuted instantiation: obu.c:half_btf Unexecuted instantiation: av1_rtcd.c:half_btf Unexecuted instantiation: highbd_convolve_ssse3.c:half_btf Unexecuted instantiation: intrapred_sse4.c:half_btf Unexecuted instantiation: intrapred_avx2.c:half_btf Unexecuted instantiation: highbd_convolve_avx2.c:half_btf Unexecuted instantiation: alloccommon.c:half_btf Unexecuted instantiation: av1_inv_txfm2d.c:half_btf Unexecuted instantiation: av1_loopfilter.c:half_btf Unexecuted instantiation: av1_txfm.c:half_btf Unexecuted instantiation: blockd.c:half_btf Unexecuted instantiation: cdef.c:half_btf Unexecuted instantiation: cdef_block.c:half_btf Unexecuted instantiation: cfl.c:half_btf Unexecuted instantiation: convolve.c:half_btf Unexecuted instantiation: entropy.c:half_btf Unexecuted instantiation: entropymode.c:half_btf Unexecuted instantiation: entropymv.c:half_btf Unexecuted instantiation: idct.c:half_btf Unexecuted instantiation: mvref_common.c:half_btf Unexecuted instantiation: pred_common.c:half_btf Unexecuted instantiation: quant_common.c:half_btf Unexecuted instantiation: reconinter.c:half_btf Unexecuted instantiation: reconintra.c:half_btf Unexecuted instantiation: resize.c:half_btf Unexecuted instantiation: restoration.c:half_btf Unexecuted instantiation: scale.c:half_btf Unexecuted instantiation: scan.c:half_btf Unexecuted instantiation: thread_common.c:half_btf Unexecuted instantiation: tile_common.c:half_btf Unexecuted instantiation: txb_common.c:half_btf Unexecuted instantiation: warped_motion.c:half_btf Unexecuted instantiation: cfl_sse2.c:half_btf Unexecuted instantiation: convolve_2d_sse2.c:half_btf Unexecuted instantiation: convolve_sse2.c:half_btf Unexecuted instantiation: jnt_convolve_sse2.c:half_btf Unexecuted instantiation: resize_sse2.c:half_btf Unexecuted instantiation: wiener_convolve_sse2.c:half_btf Unexecuted instantiation: av1_inv_txfm_ssse3.c:half_btf Unexecuted instantiation: cfl_ssse3.c:half_btf Unexecuted instantiation: jnt_convolve_ssse3.c:half_btf Unexecuted instantiation: resize_ssse3.c:half_btf Unexecuted instantiation: highbd_convolve_2d_ssse3.c:half_btf Unexecuted instantiation: highbd_wiener_convolve_ssse3.c:half_btf Unexecuted instantiation: reconinter_ssse3.c:half_btf Unexecuted instantiation: av1_convolve_horiz_rs_sse4.c:half_btf Unexecuted instantiation: av1_convolve_scale_sse4.c:half_btf Unexecuted instantiation: av1_txfm_sse4.c:half_btf Unexecuted instantiation: cdef_block_sse4.c:half_btf Unexecuted instantiation: filterintra_sse4.c:half_btf Unexecuted instantiation: highbd_inv_txfm_sse4.c:half_btf Unexecuted instantiation: intra_edge_sse4.c:half_btf Unexecuted instantiation: reconinter_sse4.c:half_btf Unexecuted instantiation: selfguided_sse4.c:half_btf Unexecuted instantiation: warp_plane_sse4.c:half_btf Unexecuted instantiation: highbd_convolve_2d_sse4.c:half_btf Unexecuted instantiation: highbd_jnt_convolve_sse4.c:half_btf Unexecuted instantiation: highbd_warp_plane_sse4.c:half_btf Unexecuted instantiation: av1_inv_txfm_avx2.c:half_btf Unexecuted instantiation: cdef_block_avx2.c:half_btf Unexecuted instantiation: cfl_avx2.c:half_btf Unexecuted instantiation: convolve_2d_avx2.c:half_btf Unexecuted instantiation: convolve_avx2.c:half_btf Unexecuted instantiation: highbd_inv_txfm_avx2.c:half_btf Unexecuted instantiation: jnt_convolve_avx2.c:half_btf Unexecuted instantiation: reconinter_avx2.c:half_btf Unexecuted instantiation: resize_avx2.c:half_btf Unexecuted instantiation: selfguided_avx2.c:half_btf Unexecuted instantiation: warp_plane_avx2.c:half_btf Unexecuted instantiation: wiener_convolve_avx2.c:half_btf Unexecuted instantiation: highbd_convolve_2d_avx2.c:half_btf Unexecuted instantiation: highbd_jnt_convolve_avx2.c:half_btf Unexecuted instantiation: highbd_wiener_convolve_avx2.c:half_btf Unexecuted instantiation: highbd_warp_affine_avx2.c:half_btf Unexecuted instantiation: av1_inv_txfm1d.c:half_btf |
146 | | |
147 | | static inline uint16_t highbd_clip_pixel_add(uint16_t dest, tran_high_t trans, |
148 | 11.2M | int bd) { |
149 | 11.2M | return clip_pixel_highbd(dest + (int)trans, bd); |
150 | 11.2M | } Unexecuted instantiation: av1_dx_iface.c:highbd_clip_pixel_add Unexecuted instantiation: decodeframe.c:highbd_clip_pixel_add Unexecuted instantiation: decodemv.c:highbd_clip_pixel_add Unexecuted instantiation: decoder.c:highbd_clip_pixel_add Unexecuted instantiation: decodetxb.c:highbd_clip_pixel_add Unexecuted instantiation: detokenize.c:highbd_clip_pixel_add Unexecuted instantiation: obu.c:highbd_clip_pixel_add Unexecuted instantiation: av1_rtcd.c:highbd_clip_pixel_add Unexecuted instantiation: highbd_convolve_ssse3.c:highbd_clip_pixel_add Unexecuted instantiation: intrapred_sse4.c:highbd_clip_pixel_add Unexecuted instantiation: intrapred_avx2.c:highbd_clip_pixel_add Unexecuted instantiation: highbd_convolve_avx2.c:highbd_clip_pixel_add Unexecuted instantiation: alloccommon.c:highbd_clip_pixel_add av1_inv_txfm2d.c:highbd_clip_pixel_add Line | Count | Source | 148 | 11.2M | int bd) { | 149 | 11.2M | return clip_pixel_highbd(dest + (int)trans, bd); | 150 | 11.2M | } |
Unexecuted instantiation: av1_loopfilter.c:highbd_clip_pixel_add Unexecuted instantiation: av1_txfm.c:highbd_clip_pixel_add Unexecuted instantiation: blockd.c:highbd_clip_pixel_add Unexecuted instantiation: cdef.c:highbd_clip_pixel_add Unexecuted instantiation: cdef_block.c:highbd_clip_pixel_add Unexecuted instantiation: cfl.c:highbd_clip_pixel_add Unexecuted instantiation: convolve.c:highbd_clip_pixel_add Unexecuted instantiation: entropy.c:highbd_clip_pixel_add Unexecuted instantiation: entropymode.c:highbd_clip_pixel_add Unexecuted instantiation: entropymv.c:highbd_clip_pixel_add Unexecuted instantiation: idct.c:highbd_clip_pixel_add Unexecuted instantiation: mvref_common.c:highbd_clip_pixel_add Unexecuted instantiation: pred_common.c:highbd_clip_pixel_add Unexecuted instantiation: quant_common.c:highbd_clip_pixel_add Unexecuted instantiation: reconinter.c:highbd_clip_pixel_add Unexecuted instantiation: reconintra.c:highbd_clip_pixel_add Unexecuted instantiation: resize.c:highbd_clip_pixel_add Unexecuted instantiation: restoration.c:highbd_clip_pixel_add Unexecuted instantiation: scale.c:highbd_clip_pixel_add Unexecuted instantiation: scan.c:highbd_clip_pixel_add Unexecuted instantiation: thread_common.c:highbd_clip_pixel_add Unexecuted instantiation: tile_common.c:highbd_clip_pixel_add Unexecuted instantiation: txb_common.c:highbd_clip_pixel_add Unexecuted instantiation: warped_motion.c:highbd_clip_pixel_add Unexecuted instantiation: cfl_sse2.c:highbd_clip_pixel_add Unexecuted instantiation: convolve_2d_sse2.c:highbd_clip_pixel_add Unexecuted instantiation: convolve_sse2.c:highbd_clip_pixel_add Unexecuted instantiation: jnt_convolve_sse2.c:highbd_clip_pixel_add Unexecuted instantiation: resize_sse2.c:highbd_clip_pixel_add Unexecuted instantiation: wiener_convolve_sse2.c:highbd_clip_pixel_add Unexecuted instantiation: av1_inv_txfm_ssse3.c:highbd_clip_pixel_add Unexecuted instantiation: cfl_ssse3.c:highbd_clip_pixel_add Unexecuted instantiation: jnt_convolve_ssse3.c:highbd_clip_pixel_add Unexecuted instantiation: resize_ssse3.c:highbd_clip_pixel_add Unexecuted instantiation: highbd_convolve_2d_ssse3.c:highbd_clip_pixel_add Unexecuted instantiation: highbd_wiener_convolve_ssse3.c:highbd_clip_pixel_add Unexecuted instantiation: reconinter_ssse3.c:highbd_clip_pixel_add Unexecuted instantiation: av1_convolve_horiz_rs_sse4.c:highbd_clip_pixel_add Unexecuted instantiation: av1_convolve_scale_sse4.c:highbd_clip_pixel_add Unexecuted instantiation: av1_txfm_sse4.c:highbd_clip_pixel_add Unexecuted instantiation: cdef_block_sse4.c:highbd_clip_pixel_add Unexecuted instantiation: filterintra_sse4.c:highbd_clip_pixel_add Unexecuted instantiation: highbd_inv_txfm_sse4.c:highbd_clip_pixel_add Unexecuted instantiation: intra_edge_sse4.c:highbd_clip_pixel_add Unexecuted instantiation: reconinter_sse4.c:highbd_clip_pixel_add Unexecuted instantiation: selfguided_sse4.c:highbd_clip_pixel_add Unexecuted instantiation: warp_plane_sse4.c:highbd_clip_pixel_add Unexecuted instantiation: highbd_convolve_2d_sse4.c:highbd_clip_pixel_add Unexecuted instantiation: highbd_jnt_convolve_sse4.c:highbd_clip_pixel_add Unexecuted instantiation: highbd_warp_plane_sse4.c:highbd_clip_pixel_add Unexecuted instantiation: av1_inv_txfm_avx2.c:highbd_clip_pixel_add Unexecuted instantiation: cdef_block_avx2.c:highbd_clip_pixel_add Unexecuted instantiation: cfl_avx2.c:highbd_clip_pixel_add Unexecuted instantiation: convolve_2d_avx2.c:highbd_clip_pixel_add Unexecuted instantiation: convolve_avx2.c:highbd_clip_pixel_add Unexecuted instantiation: highbd_inv_txfm_avx2.c:highbd_clip_pixel_add Unexecuted instantiation: jnt_convolve_avx2.c:highbd_clip_pixel_add Unexecuted instantiation: reconinter_avx2.c:highbd_clip_pixel_add Unexecuted instantiation: resize_avx2.c:highbd_clip_pixel_add Unexecuted instantiation: selfguided_avx2.c:highbd_clip_pixel_add Unexecuted instantiation: warp_plane_avx2.c:highbd_clip_pixel_add Unexecuted instantiation: wiener_convolve_avx2.c:highbd_clip_pixel_add Unexecuted instantiation: highbd_convolve_2d_avx2.c:highbd_clip_pixel_add Unexecuted instantiation: highbd_jnt_convolve_avx2.c:highbd_clip_pixel_add Unexecuted instantiation: highbd_wiener_convolve_avx2.c:highbd_clip_pixel_add Unexecuted instantiation: highbd_warp_affine_avx2.c:highbd_clip_pixel_add Unexecuted instantiation: av1_inv_txfm1d.c:highbd_clip_pixel_add |
151 | | |
152 | | #if HAVE_SSE4_1 || HAVE_AVX2 || HAVE_NEON |
153 | 10.2M | static inline int get_log_range_out(int bd) { |
154 | 10.2M | const int log_range_out = AOMMAX(16, bd + 6); |
155 | | // bd is limited by the bitstream to 12. This assert is to satisfy static |
156 | | // analyzers that may assume `log_range_out - 1` is greater than 31. |
157 | 10.2M | assert(log_range_out <= 18); |
158 | 10.2M | return log_range_out; |
159 | 10.2M | } Unexecuted instantiation: av1_dx_iface.c:get_log_range_out Unexecuted instantiation: decodeframe.c:get_log_range_out Unexecuted instantiation: decodemv.c:get_log_range_out Unexecuted instantiation: decoder.c:get_log_range_out Unexecuted instantiation: decodetxb.c:get_log_range_out Unexecuted instantiation: detokenize.c:get_log_range_out Unexecuted instantiation: obu.c:get_log_range_out Unexecuted instantiation: av1_rtcd.c:get_log_range_out Unexecuted instantiation: highbd_convolve_ssse3.c:get_log_range_out Unexecuted instantiation: intrapred_sse4.c:get_log_range_out Unexecuted instantiation: intrapred_avx2.c:get_log_range_out Unexecuted instantiation: highbd_convolve_avx2.c:get_log_range_out Unexecuted instantiation: alloccommon.c:get_log_range_out Unexecuted instantiation: av1_inv_txfm2d.c:get_log_range_out Unexecuted instantiation: av1_loopfilter.c:get_log_range_out Unexecuted instantiation: av1_txfm.c:get_log_range_out Unexecuted instantiation: blockd.c:get_log_range_out Unexecuted instantiation: cdef.c:get_log_range_out Unexecuted instantiation: cdef_block.c:get_log_range_out Unexecuted instantiation: cfl.c:get_log_range_out Unexecuted instantiation: convolve.c:get_log_range_out Unexecuted instantiation: entropy.c:get_log_range_out Unexecuted instantiation: entropymode.c:get_log_range_out Unexecuted instantiation: entropymv.c:get_log_range_out Unexecuted instantiation: idct.c:get_log_range_out Unexecuted instantiation: mvref_common.c:get_log_range_out Unexecuted instantiation: pred_common.c:get_log_range_out Unexecuted instantiation: quant_common.c:get_log_range_out Unexecuted instantiation: reconinter.c:get_log_range_out Unexecuted instantiation: reconintra.c:get_log_range_out Unexecuted instantiation: resize.c:get_log_range_out Unexecuted instantiation: restoration.c:get_log_range_out Unexecuted instantiation: scale.c:get_log_range_out Unexecuted instantiation: scan.c:get_log_range_out Unexecuted instantiation: thread_common.c:get_log_range_out Unexecuted instantiation: tile_common.c:get_log_range_out Unexecuted instantiation: txb_common.c:get_log_range_out Unexecuted instantiation: warped_motion.c:get_log_range_out Unexecuted instantiation: cfl_sse2.c:get_log_range_out Unexecuted instantiation: convolve_2d_sse2.c:get_log_range_out Unexecuted instantiation: convolve_sse2.c:get_log_range_out Unexecuted instantiation: jnt_convolve_sse2.c:get_log_range_out Unexecuted instantiation: resize_sse2.c:get_log_range_out Unexecuted instantiation: wiener_convolve_sse2.c:get_log_range_out Unexecuted instantiation: av1_inv_txfm_ssse3.c:get_log_range_out Unexecuted instantiation: cfl_ssse3.c:get_log_range_out Unexecuted instantiation: jnt_convolve_ssse3.c:get_log_range_out Unexecuted instantiation: resize_ssse3.c:get_log_range_out Unexecuted instantiation: highbd_convolve_2d_ssse3.c:get_log_range_out Unexecuted instantiation: highbd_wiener_convolve_ssse3.c:get_log_range_out Unexecuted instantiation: reconinter_ssse3.c:get_log_range_out Unexecuted instantiation: av1_convolve_horiz_rs_sse4.c:get_log_range_out Unexecuted instantiation: av1_convolve_scale_sse4.c:get_log_range_out Unexecuted instantiation: av1_txfm_sse4.c:get_log_range_out Unexecuted instantiation: cdef_block_sse4.c:get_log_range_out Unexecuted instantiation: filterintra_sse4.c:get_log_range_out highbd_inv_txfm_sse4.c:get_log_range_out Line | Count | Source | 153 | 5.72M | static inline int get_log_range_out(int bd) { | 154 | 5.72M | const int log_range_out = AOMMAX(16, bd + 6); | 155 | | // bd is limited by the bitstream to 12. This assert is to satisfy static | 156 | | // analyzers that may assume `log_range_out - 1` is greater than 31. | 157 | 5.72M | assert(log_range_out <= 18); | 158 | 5.72M | return log_range_out; | 159 | 5.72M | } |
Unexecuted instantiation: intra_edge_sse4.c:get_log_range_out Unexecuted instantiation: reconinter_sse4.c:get_log_range_out Unexecuted instantiation: selfguided_sse4.c:get_log_range_out Unexecuted instantiation: warp_plane_sse4.c:get_log_range_out Unexecuted instantiation: highbd_convolve_2d_sse4.c:get_log_range_out Unexecuted instantiation: highbd_jnt_convolve_sse4.c:get_log_range_out Unexecuted instantiation: highbd_warp_plane_sse4.c:get_log_range_out Unexecuted instantiation: av1_inv_txfm_avx2.c:get_log_range_out Unexecuted instantiation: cdef_block_avx2.c:get_log_range_out Unexecuted instantiation: cfl_avx2.c:get_log_range_out Unexecuted instantiation: convolve_2d_avx2.c:get_log_range_out Unexecuted instantiation: convolve_avx2.c:get_log_range_out highbd_inv_txfm_avx2.c:get_log_range_out Line | Count | Source | 153 | 4.51M | static inline int get_log_range_out(int bd) { | 154 | 4.51M | const int log_range_out = AOMMAX(16, bd + 6); | 155 | | // bd is limited by the bitstream to 12. This assert is to satisfy static | 156 | | // analyzers that may assume `log_range_out - 1` is greater than 31. | 157 | 4.51M | assert(log_range_out <= 18); | 158 | 4.51M | return log_range_out; | 159 | 4.51M | } |
Unexecuted instantiation: jnt_convolve_avx2.c:get_log_range_out Unexecuted instantiation: reconinter_avx2.c:get_log_range_out Unexecuted instantiation: resize_avx2.c:get_log_range_out Unexecuted instantiation: selfguided_avx2.c:get_log_range_out Unexecuted instantiation: warp_plane_avx2.c:get_log_range_out Unexecuted instantiation: wiener_convolve_avx2.c:get_log_range_out Unexecuted instantiation: highbd_convolve_2d_avx2.c:get_log_range_out Unexecuted instantiation: highbd_jnt_convolve_avx2.c:get_log_range_out Unexecuted instantiation: highbd_wiener_convolve_avx2.c:get_log_range_out Unexecuted instantiation: highbd_warp_affine_avx2.c:get_log_range_out Unexecuted instantiation: av1_inv_txfm1d.c:get_log_range_out |
160 | | |
161 | 20.6M | static inline int get_log_range(int bd, int do_cols) { |
162 | 20.6M | const int log_range = AOMMAX(16, bd + (do_cols ? 6 : 8)); |
163 | | // bd is limited by the bitstream to 12. This assert is to satisfy static |
164 | | // analyzers that may assume `log_range - 1` is greater than 31. |
165 | 20.6M | assert(log_range <= 20); |
166 | 20.6M | return log_range; |
167 | 20.6M | } Unexecuted instantiation: av1_dx_iface.c:get_log_range Unexecuted instantiation: decodeframe.c:get_log_range Unexecuted instantiation: decodemv.c:get_log_range Unexecuted instantiation: decoder.c:get_log_range Unexecuted instantiation: decodetxb.c:get_log_range Unexecuted instantiation: detokenize.c:get_log_range Unexecuted instantiation: obu.c:get_log_range Unexecuted instantiation: av1_rtcd.c:get_log_range Unexecuted instantiation: highbd_convolve_ssse3.c:get_log_range Unexecuted instantiation: intrapred_sse4.c:get_log_range Unexecuted instantiation: intrapred_avx2.c:get_log_range Unexecuted instantiation: highbd_convolve_avx2.c:get_log_range Unexecuted instantiation: alloccommon.c:get_log_range Unexecuted instantiation: av1_inv_txfm2d.c:get_log_range Unexecuted instantiation: av1_loopfilter.c:get_log_range Unexecuted instantiation: av1_txfm.c:get_log_range Unexecuted instantiation: blockd.c:get_log_range Unexecuted instantiation: cdef.c:get_log_range Unexecuted instantiation: cdef_block.c:get_log_range Unexecuted instantiation: cfl.c:get_log_range Unexecuted instantiation: convolve.c:get_log_range Unexecuted instantiation: entropy.c:get_log_range Unexecuted instantiation: entropymode.c:get_log_range Unexecuted instantiation: entropymv.c:get_log_range Unexecuted instantiation: idct.c:get_log_range Unexecuted instantiation: mvref_common.c:get_log_range Unexecuted instantiation: pred_common.c:get_log_range Unexecuted instantiation: quant_common.c:get_log_range Unexecuted instantiation: reconinter.c:get_log_range Unexecuted instantiation: reconintra.c:get_log_range Unexecuted instantiation: resize.c:get_log_range Unexecuted instantiation: restoration.c:get_log_range Unexecuted instantiation: scale.c:get_log_range Unexecuted instantiation: scan.c:get_log_range Unexecuted instantiation: thread_common.c:get_log_range Unexecuted instantiation: tile_common.c:get_log_range Unexecuted instantiation: txb_common.c:get_log_range Unexecuted instantiation: warped_motion.c:get_log_range Unexecuted instantiation: cfl_sse2.c:get_log_range Unexecuted instantiation: convolve_2d_sse2.c:get_log_range Unexecuted instantiation: convolve_sse2.c:get_log_range Unexecuted instantiation: jnt_convolve_sse2.c:get_log_range Unexecuted instantiation: resize_sse2.c:get_log_range Unexecuted instantiation: wiener_convolve_sse2.c:get_log_range Unexecuted instantiation: av1_inv_txfm_ssse3.c:get_log_range Unexecuted instantiation: cfl_ssse3.c:get_log_range Unexecuted instantiation: jnt_convolve_ssse3.c:get_log_range Unexecuted instantiation: resize_ssse3.c:get_log_range Unexecuted instantiation: highbd_convolve_2d_ssse3.c:get_log_range Unexecuted instantiation: highbd_wiener_convolve_ssse3.c:get_log_range Unexecuted instantiation: reconinter_ssse3.c:get_log_range Unexecuted instantiation: av1_convolve_horiz_rs_sse4.c:get_log_range Unexecuted instantiation: av1_convolve_scale_sse4.c:get_log_range Unexecuted instantiation: av1_txfm_sse4.c:get_log_range Unexecuted instantiation: cdef_block_sse4.c:get_log_range Unexecuted instantiation: filterintra_sse4.c:get_log_range highbd_inv_txfm_sse4.c:get_log_range Line | Count | Source | 161 | 6.05M | static inline int get_log_range(int bd, int do_cols) { | 162 | 6.05M | const int log_range = AOMMAX(16, bd + (do_cols ? 6 : 8)); | 163 | | // bd is limited by the bitstream to 12. This assert is to satisfy static | 164 | | // analyzers that may assume `log_range - 1` is greater than 31. | 165 | 6.05M | assert(log_range <= 20); | 166 | 6.05M | return log_range; | 167 | 6.05M | } |
Unexecuted instantiation: intra_edge_sse4.c:get_log_range Unexecuted instantiation: reconinter_sse4.c:get_log_range Unexecuted instantiation: selfguided_sse4.c:get_log_range Unexecuted instantiation: warp_plane_sse4.c:get_log_range Unexecuted instantiation: highbd_convolve_2d_sse4.c:get_log_range Unexecuted instantiation: highbd_jnt_convolve_sse4.c:get_log_range Unexecuted instantiation: highbd_warp_plane_sse4.c:get_log_range Unexecuted instantiation: av1_inv_txfm_avx2.c:get_log_range Unexecuted instantiation: cdef_block_avx2.c:get_log_range Unexecuted instantiation: cfl_avx2.c:get_log_range Unexecuted instantiation: convolve_2d_avx2.c:get_log_range Unexecuted instantiation: convolve_avx2.c:get_log_range highbd_inv_txfm_avx2.c:get_log_range Line | Count | Source | 161 | 14.6M | static inline int get_log_range(int bd, int do_cols) { | 162 | 14.6M | const int log_range = AOMMAX(16, bd + (do_cols ? 6 : 8)); | 163 | | // bd is limited by the bitstream to 12. This assert is to satisfy static | 164 | | // analyzers that may assume `log_range - 1` is greater than 31. | 165 | 14.6M | assert(log_range <= 20); | 166 | 14.6M | return log_range; | 167 | 14.6M | } |
Unexecuted instantiation: jnt_convolve_avx2.c:get_log_range Unexecuted instantiation: reconinter_avx2.c:get_log_range Unexecuted instantiation: resize_avx2.c:get_log_range Unexecuted instantiation: selfguided_avx2.c:get_log_range Unexecuted instantiation: warp_plane_avx2.c:get_log_range Unexecuted instantiation: wiener_convolve_avx2.c:get_log_range Unexecuted instantiation: highbd_convolve_2d_avx2.c:get_log_range Unexecuted instantiation: highbd_jnt_convolve_avx2.c:get_log_range Unexecuted instantiation: highbd_wiener_convolve_avx2.c:get_log_range Unexecuted instantiation: highbd_warp_affine_avx2.c:get_log_range Unexecuted instantiation: av1_inv_txfm1d.c:get_log_range |
168 | | #endif // HAVE_SSE4_1 || HAVE_AVX2 || HAVE_NEON |
169 | | |
170 | | typedef void (*TxfmFunc)(const int32_t *input, int32_t *output, int8_t cos_bit, |
171 | | const int8_t *stage_range); |
172 | | |
173 | | typedef void (*FwdTxfm2dFunc)(const int16_t *input, int32_t *output, int stride, |
174 | | TX_TYPE tx_type, int bd); |
175 | | |
176 | | enum { |
177 | | TXFM_TYPE_DCT4, |
178 | | TXFM_TYPE_DCT8, |
179 | | TXFM_TYPE_DCT16, |
180 | | TXFM_TYPE_DCT32, |
181 | | TXFM_TYPE_DCT64, |
182 | | TXFM_TYPE_ADST4, |
183 | | TXFM_TYPE_ADST8, |
184 | | TXFM_TYPE_ADST16, |
185 | | TXFM_TYPE_IDENTITY4, |
186 | | TXFM_TYPE_IDENTITY8, |
187 | | TXFM_TYPE_IDENTITY16, |
188 | | TXFM_TYPE_IDENTITY32, |
189 | | TXFM_TYPES, |
190 | | TXFM_TYPE_INVALID, |
191 | | } UENUM1BYTE(TXFM_TYPE); |
192 | | |
193 | | typedef struct TXFM_2D_FLIP_CFG { |
194 | | TX_SIZE tx_size; |
195 | | int ud_flip; // flip upside down |
196 | | int lr_flip; // flip left to right |
197 | | const int8_t *shift; |
198 | | int8_t cos_bit_col; |
199 | | int8_t cos_bit_row; |
200 | | int8_t stage_range_col[MAX_TXFM_STAGE_NUM]; |
201 | | int8_t stage_range_row[MAX_TXFM_STAGE_NUM]; |
202 | | TXFM_TYPE txfm_type_col; |
203 | | TXFM_TYPE txfm_type_row; |
204 | | int stage_num_col; |
205 | | int stage_num_row; |
206 | | } TXFM_2D_FLIP_CFG; |
207 | | |
208 | 10.9M | static inline void get_flip_cfg(TX_TYPE tx_type, int *ud_flip, int *lr_flip) { |
209 | 10.9M | switch (tx_type) { |
210 | 5.57M | case DCT_DCT: |
211 | 6.45M | case ADST_DCT: |
212 | 7.82M | case DCT_ADST: |
213 | 8.86M | case ADST_ADST: |
214 | 8.86M | *ud_flip = 0; |
215 | 8.86M | *lr_flip = 0; |
216 | 8.86M | break; |
217 | 485k | case IDTX: |
218 | 633k | case V_DCT: |
219 | 1.05M | case H_DCT: |
220 | 1.11M | case V_ADST: |
221 | 1.23M | case H_ADST: |
222 | 1.23M | *ud_flip = 0; |
223 | 1.23M | *lr_flip = 0; |
224 | 1.23M | break; |
225 | 105k | case FLIPADST_DCT: |
226 | 283k | case FLIPADST_ADST: |
227 | 333k | case V_FLIPADST: |
228 | 333k | *ud_flip = 1; |
229 | 333k | *lr_flip = 0; |
230 | 333k | break; |
231 | 234k | case DCT_FLIPADST: |
232 | 345k | case ADST_FLIPADST: |
233 | 438k | case H_FLIPADST: |
234 | 438k | *ud_flip = 0; |
235 | 438k | *lr_flip = 1; |
236 | 438k | break; |
237 | 104k | case FLIPADST_FLIPADST: |
238 | 104k | *ud_flip = 1; |
239 | 104k | *lr_flip = 1; |
240 | 104k | break; |
241 | 0 | default: |
242 | 0 | *ud_flip = 0; |
243 | 0 | *lr_flip = 0; |
244 | 0 | assert(0); |
245 | 10.9M | } |
246 | 10.9M | } Unexecuted instantiation: av1_dx_iface.c:get_flip_cfg Unexecuted instantiation: decodeframe.c:get_flip_cfg Unexecuted instantiation: decodemv.c:get_flip_cfg Unexecuted instantiation: decoder.c:get_flip_cfg Unexecuted instantiation: decodetxb.c:get_flip_cfg Unexecuted instantiation: detokenize.c:get_flip_cfg Unexecuted instantiation: obu.c:get_flip_cfg Unexecuted instantiation: av1_rtcd.c:get_flip_cfg Unexecuted instantiation: highbd_convolve_ssse3.c:get_flip_cfg Unexecuted instantiation: intrapred_sse4.c:get_flip_cfg Unexecuted instantiation: intrapred_avx2.c:get_flip_cfg Unexecuted instantiation: highbd_convolve_avx2.c:get_flip_cfg Unexecuted instantiation: alloccommon.c:get_flip_cfg Unexecuted instantiation: av1_inv_txfm2d.c:get_flip_cfg Unexecuted instantiation: av1_loopfilter.c:get_flip_cfg Unexecuted instantiation: av1_txfm.c:get_flip_cfg Unexecuted instantiation: blockd.c:get_flip_cfg Unexecuted instantiation: cdef.c:get_flip_cfg Unexecuted instantiation: cdef_block.c:get_flip_cfg Unexecuted instantiation: cfl.c:get_flip_cfg Unexecuted instantiation: convolve.c:get_flip_cfg Unexecuted instantiation: entropy.c:get_flip_cfg Unexecuted instantiation: entropymode.c:get_flip_cfg Unexecuted instantiation: entropymv.c:get_flip_cfg Unexecuted instantiation: idct.c:get_flip_cfg Unexecuted instantiation: mvref_common.c:get_flip_cfg Unexecuted instantiation: pred_common.c:get_flip_cfg Unexecuted instantiation: quant_common.c:get_flip_cfg Unexecuted instantiation: reconinter.c:get_flip_cfg Unexecuted instantiation: reconintra.c:get_flip_cfg Unexecuted instantiation: resize.c:get_flip_cfg Unexecuted instantiation: restoration.c:get_flip_cfg Unexecuted instantiation: scale.c:get_flip_cfg Unexecuted instantiation: scan.c:get_flip_cfg Unexecuted instantiation: thread_common.c:get_flip_cfg Unexecuted instantiation: tile_common.c:get_flip_cfg Unexecuted instantiation: txb_common.c:get_flip_cfg Unexecuted instantiation: warped_motion.c:get_flip_cfg Unexecuted instantiation: cfl_sse2.c:get_flip_cfg Unexecuted instantiation: convolve_2d_sse2.c:get_flip_cfg Unexecuted instantiation: convolve_sse2.c:get_flip_cfg Unexecuted instantiation: jnt_convolve_sse2.c:get_flip_cfg Unexecuted instantiation: resize_sse2.c:get_flip_cfg Unexecuted instantiation: wiener_convolve_sse2.c:get_flip_cfg av1_inv_txfm_ssse3.c:get_flip_cfg Line | Count | Source | 208 | 2.91M | static inline void get_flip_cfg(TX_TYPE tx_type, int *ud_flip, int *lr_flip) { | 209 | 2.91M | switch (tx_type) { | 210 | 1.20M | case DCT_DCT: | 211 | 1.41M | case ADST_DCT: | 212 | 1.77M | case DCT_ADST: | 213 | 2.11M | case ADST_ADST: | 214 | 2.11M | *ud_flip = 0; | 215 | 2.11M | *lr_flip = 0; | 216 | 2.11M | break; | 217 | 223k | case IDTX: | 218 | 298k | case V_DCT: | 219 | 460k | case H_DCT: | 220 | 481k | case V_ADST: | 221 | 539k | case H_ADST: | 222 | 539k | *ud_flip = 0; | 223 | 539k | *lr_flip = 0; | 224 | 539k | break; | 225 | 29.0k | case FLIPADST_DCT: | 226 | 94.5k | case FLIPADST_ADST: | 227 | 115k | case V_FLIPADST: | 228 | 115k | *ud_flip = 1; | 229 | 115k | *lr_flip = 0; | 230 | 115k | break; | 231 | 34.9k | case DCT_FLIPADST: | 232 | 80.6k | case ADST_FLIPADST: | 233 | 115k | case H_FLIPADST: | 234 | 115k | *ud_flip = 0; | 235 | 115k | *lr_flip = 1; | 236 | 115k | break; | 237 | 25.3k | case FLIPADST_FLIPADST: | 238 | 25.3k | *ud_flip = 1; | 239 | 25.3k | *lr_flip = 1; | 240 | 25.3k | break; | 241 | 0 | default: | 242 | 0 | *ud_flip = 0; | 243 | 0 | *lr_flip = 0; | 244 | | assert(0); | 245 | 2.91M | } | 246 | 2.91M | } |
Unexecuted instantiation: cfl_ssse3.c:get_flip_cfg Unexecuted instantiation: jnt_convolve_ssse3.c:get_flip_cfg Unexecuted instantiation: resize_ssse3.c:get_flip_cfg Unexecuted instantiation: highbd_convolve_2d_ssse3.c:get_flip_cfg Unexecuted instantiation: highbd_wiener_convolve_ssse3.c:get_flip_cfg Unexecuted instantiation: reconinter_ssse3.c:get_flip_cfg Unexecuted instantiation: av1_convolve_horiz_rs_sse4.c:get_flip_cfg Unexecuted instantiation: av1_convolve_scale_sse4.c:get_flip_cfg Unexecuted instantiation: av1_txfm_sse4.c:get_flip_cfg Unexecuted instantiation: cdef_block_sse4.c:get_flip_cfg Unexecuted instantiation: filterintra_sse4.c:get_flip_cfg highbd_inv_txfm_sse4.c:get_flip_cfg Line | Count | Source | 208 | 2.31M | static inline void get_flip_cfg(TX_TYPE tx_type, int *ud_flip, int *lr_flip) { | 209 | 2.31M | switch (tx_type) { | 210 | 606k | case DCT_DCT: | 211 | 817k | case ADST_DCT: | 212 | 1.07M | case DCT_ADST: | 213 | 1.30M | case ADST_ADST: | 214 | 1.30M | *ud_flip = 0; | 215 | 1.30M | *lr_flip = 0; | 216 | 1.30M | break; | 217 | 262k | case IDTX: | 218 | 330k | case V_DCT: | 219 | 571k | case H_DCT: | 220 | 614k | case V_ADST: | 221 | 678k | case H_ADST: | 222 | 678k | *ud_flip = 0; | 223 | 678k | *lr_flip = 0; | 224 | 678k | break; | 225 | 13.5k | case FLIPADST_DCT: | 226 | 69.4k | case FLIPADST_ADST: | 227 | 98.3k | case V_FLIPADST: | 228 | 98.3k | *ud_flip = 1; | 229 | 98.3k | *lr_flip = 0; | 230 | 98.3k | break; | 231 | 110k | case DCT_FLIPADST: | 232 | 129k | case ADST_FLIPADST: | 233 | 187k | case H_FLIPADST: | 234 | 187k | *ud_flip = 0; | 235 | 187k | *lr_flip = 1; | 236 | 187k | break; | 237 | 48.6k | case FLIPADST_FLIPADST: | 238 | 48.6k | *ud_flip = 1; | 239 | 48.6k | *lr_flip = 1; | 240 | 48.6k | break; | 241 | 0 | default: | 242 | 0 | *ud_flip = 0; | 243 | 0 | *lr_flip = 0; | 244 | | assert(0); | 245 | 2.31M | } | 246 | 2.31M | } |
Unexecuted instantiation: intra_edge_sse4.c:get_flip_cfg Unexecuted instantiation: reconinter_sse4.c:get_flip_cfg Unexecuted instantiation: selfguided_sse4.c:get_flip_cfg Unexecuted instantiation: warp_plane_sse4.c:get_flip_cfg Unexecuted instantiation: highbd_convolve_2d_sse4.c:get_flip_cfg Unexecuted instantiation: highbd_jnt_convolve_sse4.c:get_flip_cfg Unexecuted instantiation: highbd_warp_plane_sse4.c:get_flip_cfg av1_inv_txfm_avx2.c:get_flip_cfg Line | Count | Source | 208 | 1.78M | static inline void get_flip_cfg(TX_TYPE tx_type, int *ud_flip, int *lr_flip) { | 209 | 1.78M | switch (tx_type) { | 210 | 1.13M | case DCT_DCT: | 211 | 1.28M | case ADST_DCT: | 212 | 1.53M | case DCT_ADST: | 213 | 1.68M | case ADST_ADST: | 214 | 1.68M | *ud_flip = 0; | 215 | 1.68M | *lr_flip = 0; | 216 | 1.68M | break; | 217 | 0 | case IDTX: | 218 | 4.77k | case V_DCT: | 219 | 19.2k | case H_DCT: | 220 | 19.2k | case V_ADST: | 221 | 19.2k | case H_ADST: | 222 | 19.2k | *ud_flip = 0; | 223 | 19.2k | *lr_flip = 0; | 224 | 19.2k | break; | 225 | 21.6k | case FLIPADST_DCT: | 226 | 43.7k | case FLIPADST_ADST: | 227 | 43.7k | case V_FLIPADST: | 228 | 43.7k | *ud_flip = 1; | 229 | 43.7k | *lr_flip = 0; | 230 | 43.7k | break; | 231 | 17.6k | case DCT_FLIPADST: | 232 | 30.3k | case ADST_FLIPADST: | 233 | 30.3k | case H_FLIPADST: | 234 | 30.3k | *ud_flip = 0; | 235 | 30.3k | *lr_flip = 1; | 236 | 30.3k | break; | 237 | 6.95k | case FLIPADST_FLIPADST: | 238 | 6.95k | *ud_flip = 1; | 239 | 6.95k | *lr_flip = 1; | 240 | 6.95k | break; | 241 | 0 | default: | 242 | 0 | *ud_flip = 0; | 243 | 0 | *lr_flip = 0; | 244 | | assert(0); | 245 | 1.78M | } | 246 | 1.78M | } |
Unexecuted instantiation: cdef_block_avx2.c:get_flip_cfg Unexecuted instantiation: cfl_avx2.c:get_flip_cfg Unexecuted instantiation: convolve_2d_avx2.c:get_flip_cfg Unexecuted instantiation: convolve_avx2.c:get_flip_cfg highbd_inv_txfm_avx2.c:get_flip_cfg Line | Count | Source | 208 | 3.95M | static inline void get_flip_cfg(TX_TYPE tx_type, int *ud_flip, int *lr_flip) { | 209 | 3.95M | switch (tx_type) { | 210 | 2.63M | case DCT_DCT: | 211 | 2.94M | case ADST_DCT: | 212 | 3.44M | case DCT_ADST: | 213 | 3.75M | case ADST_ADST: | 214 | 3.75M | *ud_flip = 0; | 215 | 3.75M | *lr_flip = 0; | 216 | 3.75M | break; | 217 | 0 | case IDTX: | 218 | 0 | case V_DCT: | 219 | 0 | case H_DCT: | 220 | 0 | case V_ADST: | 221 | 0 | case H_ADST: | 222 | 0 | *ud_flip = 0; | 223 | 0 | *lr_flip = 0; | 224 | 0 | break; | 225 | 41.4k | case FLIPADST_DCT: | 226 | 76.1k | case FLIPADST_ADST: | 227 | 76.1k | case V_FLIPADST: | 228 | 76.1k | *ud_flip = 1; | 229 | 76.1k | *lr_flip = 0; | 230 | 76.1k | break; | 231 | 71.5k | case DCT_FLIPADST: | 232 | 104k | case ADST_FLIPADST: | 233 | 104k | case H_FLIPADST: | 234 | 104k | *ud_flip = 0; | 235 | 104k | *lr_flip = 1; | 236 | 104k | break; | 237 | 23.1k | case FLIPADST_FLIPADST: | 238 | 23.1k | *ud_flip = 1; | 239 | 23.1k | *lr_flip = 1; | 240 | 23.1k | break; | 241 | 0 | default: | 242 | 0 | *ud_flip = 0; | 243 | 0 | *lr_flip = 0; | 244 | | assert(0); | 245 | 3.95M | } | 246 | 3.95M | } |
Unexecuted instantiation: jnt_convolve_avx2.c:get_flip_cfg Unexecuted instantiation: reconinter_avx2.c:get_flip_cfg Unexecuted instantiation: resize_avx2.c:get_flip_cfg Unexecuted instantiation: selfguided_avx2.c:get_flip_cfg Unexecuted instantiation: warp_plane_avx2.c:get_flip_cfg Unexecuted instantiation: wiener_convolve_avx2.c:get_flip_cfg Unexecuted instantiation: highbd_convolve_2d_avx2.c:get_flip_cfg Unexecuted instantiation: highbd_jnt_convolve_avx2.c:get_flip_cfg Unexecuted instantiation: highbd_wiener_convolve_avx2.c:get_flip_cfg Unexecuted instantiation: highbd_warp_affine_avx2.c:get_flip_cfg Unexecuted instantiation: av1_inv_txfm1d.c:get_flip_cfg |
247 | | |
248 | 0 | static inline void set_flip_cfg(TX_TYPE tx_type, TXFM_2D_FLIP_CFG *cfg) { |
249 | 0 | get_flip_cfg(tx_type, &cfg->ud_flip, &cfg->lr_flip); |
250 | 0 | } Unexecuted instantiation: av1_dx_iface.c:set_flip_cfg Unexecuted instantiation: decodeframe.c:set_flip_cfg Unexecuted instantiation: decodemv.c:set_flip_cfg Unexecuted instantiation: decoder.c:set_flip_cfg Unexecuted instantiation: decodetxb.c:set_flip_cfg Unexecuted instantiation: detokenize.c:set_flip_cfg Unexecuted instantiation: obu.c:set_flip_cfg Unexecuted instantiation: av1_rtcd.c:set_flip_cfg Unexecuted instantiation: highbd_convolve_ssse3.c:set_flip_cfg Unexecuted instantiation: intrapred_sse4.c:set_flip_cfg Unexecuted instantiation: intrapred_avx2.c:set_flip_cfg Unexecuted instantiation: highbd_convolve_avx2.c:set_flip_cfg Unexecuted instantiation: alloccommon.c:set_flip_cfg Unexecuted instantiation: av1_inv_txfm2d.c:set_flip_cfg Unexecuted instantiation: av1_loopfilter.c:set_flip_cfg Unexecuted instantiation: av1_txfm.c:set_flip_cfg Unexecuted instantiation: blockd.c:set_flip_cfg Unexecuted instantiation: cdef.c:set_flip_cfg Unexecuted instantiation: cdef_block.c:set_flip_cfg Unexecuted instantiation: cfl.c:set_flip_cfg Unexecuted instantiation: convolve.c:set_flip_cfg Unexecuted instantiation: entropy.c:set_flip_cfg Unexecuted instantiation: entropymode.c:set_flip_cfg Unexecuted instantiation: entropymv.c:set_flip_cfg Unexecuted instantiation: idct.c:set_flip_cfg Unexecuted instantiation: mvref_common.c:set_flip_cfg Unexecuted instantiation: pred_common.c:set_flip_cfg Unexecuted instantiation: quant_common.c:set_flip_cfg Unexecuted instantiation: reconinter.c:set_flip_cfg Unexecuted instantiation: reconintra.c:set_flip_cfg Unexecuted instantiation: resize.c:set_flip_cfg Unexecuted instantiation: restoration.c:set_flip_cfg Unexecuted instantiation: scale.c:set_flip_cfg Unexecuted instantiation: scan.c:set_flip_cfg Unexecuted instantiation: thread_common.c:set_flip_cfg Unexecuted instantiation: tile_common.c:set_flip_cfg Unexecuted instantiation: txb_common.c:set_flip_cfg Unexecuted instantiation: warped_motion.c:set_flip_cfg Unexecuted instantiation: cfl_sse2.c:set_flip_cfg Unexecuted instantiation: convolve_2d_sse2.c:set_flip_cfg Unexecuted instantiation: convolve_sse2.c:set_flip_cfg Unexecuted instantiation: jnt_convolve_sse2.c:set_flip_cfg Unexecuted instantiation: resize_sse2.c:set_flip_cfg Unexecuted instantiation: wiener_convolve_sse2.c:set_flip_cfg Unexecuted instantiation: av1_inv_txfm_ssse3.c:set_flip_cfg Unexecuted instantiation: cfl_ssse3.c:set_flip_cfg Unexecuted instantiation: jnt_convolve_ssse3.c:set_flip_cfg Unexecuted instantiation: resize_ssse3.c:set_flip_cfg Unexecuted instantiation: highbd_convolve_2d_ssse3.c:set_flip_cfg Unexecuted instantiation: highbd_wiener_convolve_ssse3.c:set_flip_cfg Unexecuted instantiation: reconinter_ssse3.c:set_flip_cfg Unexecuted instantiation: av1_convolve_horiz_rs_sse4.c:set_flip_cfg Unexecuted instantiation: av1_convolve_scale_sse4.c:set_flip_cfg Unexecuted instantiation: av1_txfm_sse4.c:set_flip_cfg Unexecuted instantiation: cdef_block_sse4.c:set_flip_cfg Unexecuted instantiation: filterintra_sse4.c:set_flip_cfg Unexecuted instantiation: highbd_inv_txfm_sse4.c:set_flip_cfg Unexecuted instantiation: intra_edge_sse4.c:set_flip_cfg Unexecuted instantiation: reconinter_sse4.c:set_flip_cfg Unexecuted instantiation: selfguided_sse4.c:set_flip_cfg Unexecuted instantiation: warp_plane_sse4.c:set_flip_cfg Unexecuted instantiation: highbd_convolve_2d_sse4.c:set_flip_cfg Unexecuted instantiation: highbd_jnt_convolve_sse4.c:set_flip_cfg Unexecuted instantiation: highbd_warp_plane_sse4.c:set_flip_cfg Unexecuted instantiation: av1_inv_txfm_avx2.c:set_flip_cfg Unexecuted instantiation: cdef_block_avx2.c:set_flip_cfg Unexecuted instantiation: cfl_avx2.c:set_flip_cfg Unexecuted instantiation: convolve_2d_avx2.c:set_flip_cfg Unexecuted instantiation: convolve_avx2.c:set_flip_cfg Unexecuted instantiation: highbd_inv_txfm_avx2.c:set_flip_cfg Unexecuted instantiation: jnt_convolve_avx2.c:set_flip_cfg Unexecuted instantiation: reconinter_avx2.c:set_flip_cfg Unexecuted instantiation: resize_avx2.c:set_flip_cfg Unexecuted instantiation: selfguided_avx2.c:set_flip_cfg Unexecuted instantiation: warp_plane_avx2.c:set_flip_cfg Unexecuted instantiation: wiener_convolve_avx2.c:set_flip_cfg Unexecuted instantiation: highbd_convolve_2d_avx2.c:set_flip_cfg Unexecuted instantiation: highbd_jnt_convolve_avx2.c:set_flip_cfg Unexecuted instantiation: highbd_wiener_convolve_avx2.c:set_flip_cfg Unexecuted instantiation: highbd_warp_affine_avx2.c:set_flip_cfg Unexecuted instantiation: av1_inv_txfm1d.c:set_flip_cfg |
251 | | |
252 | | // Utility function that returns the log of the ratio of the col and row |
253 | | // sizes. |
254 | 6.77M | static inline int get_rect_tx_log_ratio(int col, int row) { |
255 | 6.77M | if (col == row) return 0; |
256 | 3.18M | if (col > row) { |
257 | 2.41M | if (col == row * 2) return 1; |
258 | 1.14M | if (col == row * 4) return 2; |
259 | 18.4E | assert(0 && "Unsupported transform size"); |
260 | 18.4E | } else { |
261 | 771k | if (row == col * 2) return -1; |
262 | 181k | if (row == col * 4) return -2; |
263 | 18.4E | assert(0 && "Unsupported transform size"); |
264 | 18.4E | } |
265 | 0 | return 0; // Invalid |
266 | 3.18M | } Unexecuted instantiation: av1_dx_iface.c:get_rect_tx_log_ratio Unexecuted instantiation: decodeframe.c:get_rect_tx_log_ratio Unexecuted instantiation: decodemv.c:get_rect_tx_log_ratio Unexecuted instantiation: decoder.c:get_rect_tx_log_ratio Unexecuted instantiation: decodetxb.c:get_rect_tx_log_ratio Unexecuted instantiation: detokenize.c:get_rect_tx_log_ratio Unexecuted instantiation: obu.c:get_rect_tx_log_ratio Unexecuted instantiation: av1_rtcd.c:get_rect_tx_log_ratio Unexecuted instantiation: highbd_convolve_ssse3.c:get_rect_tx_log_ratio Unexecuted instantiation: intrapred_sse4.c:get_rect_tx_log_ratio Unexecuted instantiation: intrapred_avx2.c:get_rect_tx_log_ratio Unexecuted instantiation: highbd_convolve_avx2.c:get_rect_tx_log_ratio Unexecuted instantiation: alloccommon.c:get_rect_tx_log_ratio Unexecuted instantiation: av1_inv_txfm2d.c:get_rect_tx_log_ratio Unexecuted instantiation: av1_loopfilter.c:get_rect_tx_log_ratio Unexecuted instantiation: av1_txfm.c:get_rect_tx_log_ratio Unexecuted instantiation: blockd.c:get_rect_tx_log_ratio Unexecuted instantiation: cdef.c:get_rect_tx_log_ratio Unexecuted instantiation: cdef_block.c:get_rect_tx_log_ratio Unexecuted instantiation: cfl.c:get_rect_tx_log_ratio Unexecuted instantiation: convolve.c:get_rect_tx_log_ratio Unexecuted instantiation: entropy.c:get_rect_tx_log_ratio Unexecuted instantiation: entropymode.c:get_rect_tx_log_ratio Unexecuted instantiation: entropymv.c:get_rect_tx_log_ratio Unexecuted instantiation: idct.c:get_rect_tx_log_ratio Unexecuted instantiation: mvref_common.c:get_rect_tx_log_ratio Unexecuted instantiation: pred_common.c:get_rect_tx_log_ratio Unexecuted instantiation: quant_common.c:get_rect_tx_log_ratio Unexecuted instantiation: reconinter.c:get_rect_tx_log_ratio Unexecuted instantiation: reconintra.c:get_rect_tx_log_ratio Unexecuted instantiation: resize.c:get_rect_tx_log_ratio Unexecuted instantiation: restoration.c:get_rect_tx_log_ratio Unexecuted instantiation: scale.c:get_rect_tx_log_ratio Unexecuted instantiation: scan.c:get_rect_tx_log_ratio Unexecuted instantiation: thread_common.c:get_rect_tx_log_ratio Unexecuted instantiation: tile_common.c:get_rect_tx_log_ratio Unexecuted instantiation: txb_common.c:get_rect_tx_log_ratio Unexecuted instantiation: warped_motion.c:get_rect_tx_log_ratio Unexecuted instantiation: cfl_sse2.c:get_rect_tx_log_ratio Unexecuted instantiation: convolve_2d_sse2.c:get_rect_tx_log_ratio Unexecuted instantiation: convolve_sse2.c:get_rect_tx_log_ratio Unexecuted instantiation: jnt_convolve_sse2.c:get_rect_tx_log_ratio Unexecuted instantiation: resize_sse2.c:get_rect_tx_log_ratio Unexecuted instantiation: wiener_convolve_sse2.c:get_rect_tx_log_ratio av1_inv_txfm_ssse3.c:get_rect_tx_log_ratio Line | Count | Source | 254 | 1.10M | static inline int get_rect_tx_log_ratio(int col, int row) { | 255 | 1.10M | if (col == row) return 0; | 256 | 981k | if (col > row) { | 257 | 733k | if (col == row * 2) return 1; | 258 | 321k | if (col == row * 4) return 2; | 259 | 18.4E | assert(0 && "Unsupported transform size"); | 260 | 18.4E | } else { | 261 | 248k | if (row == col * 2) return -1; | 262 | 82.3k | if (row == col * 4) return -2; | 263 | 18.4E | assert(0 && "Unsupported transform size"); | 264 | 18.4E | } | 265 | 0 | return 0; // Invalid | 266 | 981k | } |
Unexecuted instantiation: cfl_ssse3.c:get_rect_tx_log_ratio Unexecuted instantiation: jnt_convolve_ssse3.c:get_rect_tx_log_ratio Unexecuted instantiation: resize_ssse3.c:get_rect_tx_log_ratio Unexecuted instantiation: highbd_convolve_2d_ssse3.c:get_rect_tx_log_ratio Unexecuted instantiation: highbd_wiener_convolve_ssse3.c:get_rect_tx_log_ratio Unexecuted instantiation: reconinter_ssse3.c:get_rect_tx_log_ratio Unexecuted instantiation: av1_convolve_horiz_rs_sse4.c:get_rect_tx_log_ratio Unexecuted instantiation: av1_convolve_scale_sse4.c:get_rect_tx_log_ratio Unexecuted instantiation: av1_txfm_sse4.c:get_rect_tx_log_ratio Unexecuted instantiation: cdef_block_sse4.c:get_rect_tx_log_ratio Unexecuted instantiation: filterintra_sse4.c:get_rect_tx_log_ratio highbd_inv_txfm_sse4.c:get_rect_tx_log_ratio Line | Count | Source | 254 | 492k | static inline int get_rect_tx_log_ratio(int col, int row) { | 255 | 492k | if (col == row) return 0; | 256 | 182k | if (col > row) { | 257 | 120k | if (col == row * 2) return 1; | 258 | 8.10k | if (col == row * 4) return 2; | 259 | 8.10k | assert(0 && "Unsupported transform size"); | 260 | 61.8k | } else { | 261 | 61.8k | if (row == col * 2) return -1; | 262 | 6.06k | if (row == col * 4) return -2; | 263 | 18.4E | assert(0 && "Unsupported transform size"); | 264 | 18.4E | } | 265 | 0 | return 0; // Invalid | 266 | 182k | } |
Unexecuted instantiation: intra_edge_sse4.c:get_rect_tx_log_ratio Unexecuted instantiation: reconinter_sse4.c:get_rect_tx_log_ratio Unexecuted instantiation: selfguided_sse4.c:get_rect_tx_log_ratio Unexecuted instantiation: warp_plane_sse4.c:get_rect_tx_log_ratio Unexecuted instantiation: highbd_convolve_2d_sse4.c:get_rect_tx_log_ratio Unexecuted instantiation: highbd_jnt_convolve_sse4.c:get_rect_tx_log_ratio Unexecuted instantiation: highbd_warp_plane_sse4.c:get_rect_tx_log_ratio av1_inv_txfm_avx2.c:get_rect_tx_log_ratio Line | Count | Source | 254 | 1.22M | static inline int get_rect_tx_log_ratio(int col, int row) { | 255 | 1.22M | if (col == row) return 0; | 256 | 323k | if (col > row) { | 257 | 246k | if (col == row * 2) return 1; | 258 | 108k | if (col == row * 4) return 2; | 259 | 18.4E | assert(0 && "Unsupported transform size"); | 260 | 18.4E | } else { | 261 | 76.4k | if (row == col * 2) return -1; | 262 | 12.6k | if (row == col * 4) return -2; | 263 | 18.4E | assert(0 && "Unsupported transform size"); | 264 | 18.4E | } | 265 | 0 | return 0; // Invalid | 266 | 323k | } |
Unexecuted instantiation: cdef_block_avx2.c:get_rect_tx_log_ratio Unexecuted instantiation: cfl_avx2.c:get_rect_tx_log_ratio Unexecuted instantiation: convolve_2d_avx2.c:get_rect_tx_log_ratio Unexecuted instantiation: convolve_avx2.c:get_rect_tx_log_ratio highbd_inv_txfm_avx2.c:get_rect_tx_log_ratio Line | Count | Source | 254 | 3.95M | static inline int get_rect_tx_log_ratio(int col, int row) { | 255 | 3.95M | if (col == row) return 0; | 256 | 1.69M | if (col > row) { | 257 | 1.31M | if (col == row * 2) return 1; | 258 | 703k | if (col == row * 4) return 2; | 259 | 18.4E | assert(0 && "Unsupported transform size"); | 260 | 18.4E | } else { | 261 | 384k | if (row == col * 2) return -1; | 262 | 80.4k | if (row == col * 4) return -2; | 263 | 18.4E | assert(0 && "Unsupported transform size"); | 264 | 18.4E | } | 265 | 0 | return 0; // Invalid | 266 | 1.69M | } |
Unexecuted instantiation: jnt_convolve_avx2.c:get_rect_tx_log_ratio Unexecuted instantiation: reconinter_avx2.c:get_rect_tx_log_ratio Unexecuted instantiation: resize_avx2.c:get_rect_tx_log_ratio Unexecuted instantiation: selfguided_avx2.c:get_rect_tx_log_ratio Unexecuted instantiation: warp_plane_avx2.c:get_rect_tx_log_ratio Unexecuted instantiation: wiener_convolve_avx2.c:get_rect_tx_log_ratio Unexecuted instantiation: highbd_convolve_2d_avx2.c:get_rect_tx_log_ratio Unexecuted instantiation: highbd_jnt_convolve_avx2.c:get_rect_tx_log_ratio Unexecuted instantiation: highbd_wiener_convolve_avx2.c:get_rect_tx_log_ratio Unexecuted instantiation: highbd_warp_affine_avx2.c:get_rect_tx_log_ratio Unexecuted instantiation: av1_inv_txfm1d.c:get_rect_tx_log_ratio |
267 | | |
268 | | void av1_gen_fwd_stage_range(int8_t *stage_range_col, int8_t *stage_range_row, |
269 | | const TXFM_2D_FLIP_CFG *cfg, int bd); |
270 | | |
271 | | void av1_gen_inv_stage_range(int8_t *stage_range_col, int8_t *stage_range_row, |
272 | | const TXFM_2D_FLIP_CFG *cfg, TX_SIZE tx_size, |
273 | | int bd); |
274 | | |
275 | | void av1_get_fwd_txfm_cfg(TX_TYPE tx_type, TX_SIZE tx_size, |
276 | | TXFM_2D_FLIP_CFG *cfg); |
277 | | void av1_get_inv_txfm_cfg(TX_TYPE tx_type, TX_SIZE tx_size, |
278 | | TXFM_2D_FLIP_CFG *cfg); |
279 | | extern const TXFM_TYPE av1_txfm_type_ls[5][TX_TYPES_1D]; |
280 | | extern const int8_t av1_txfm_stage_num_list[TXFM_TYPES]; |
281 | 10.7M | static inline int get_txw_idx(TX_SIZE tx_size) { |
282 | 10.7M | return tx_size_wide_log2[tx_size] - tx_size_wide_log2[0]; |
283 | 10.7M | } Unexecuted instantiation: av1_dx_iface.c:get_txw_idx Unexecuted instantiation: decodeframe.c:get_txw_idx Unexecuted instantiation: decodemv.c:get_txw_idx Unexecuted instantiation: decoder.c:get_txw_idx Unexecuted instantiation: decodetxb.c:get_txw_idx Unexecuted instantiation: detokenize.c:get_txw_idx Unexecuted instantiation: obu.c:get_txw_idx Unexecuted instantiation: av1_rtcd.c:get_txw_idx Unexecuted instantiation: highbd_convolve_ssse3.c:get_txw_idx Unexecuted instantiation: intrapred_sse4.c:get_txw_idx Unexecuted instantiation: intrapred_avx2.c:get_txw_idx Unexecuted instantiation: highbd_convolve_avx2.c:get_txw_idx Unexecuted instantiation: alloccommon.c:get_txw_idx Unexecuted instantiation: av1_inv_txfm2d.c:get_txw_idx Unexecuted instantiation: av1_loopfilter.c:get_txw_idx Unexecuted instantiation: av1_txfm.c:get_txw_idx Unexecuted instantiation: blockd.c:get_txw_idx Unexecuted instantiation: cdef.c:get_txw_idx Unexecuted instantiation: cdef_block.c:get_txw_idx Unexecuted instantiation: cfl.c:get_txw_idx Unexecuted instantiation: convolve.c:get_txw_idx Unexecuted instantiation: entropy.c:get_txw_idx Unexecuted instantiation: entropymode.c:get_txw_idx Unexecuted instantiation: entropymv.c:get_txw_idx Unexecuted instantiation: idct.c:get_txw_idx Unexecuted instantiation: mvref_common.c:get_txw_idx Unexecuted instantiation: pred_common.c:get_txw_idx Unexecuted instantiation: quant_common.c:get_txw_idx Unexecuted instantiation: reconinter.c:get_txw_idx Unexecuted instantiation: reconintra.c:get_txw_idx Unexecuted instantiation: resize.c:get_txw_idx Unexecuted instantiation: restoration.c:get_txw_idx Unexecuted instantiation: scale.c:get_txw_idx Unexecuted instantiation: scan.c:get_txw_idx Unexecuted instantiation: thread_common.c:get_txw_idx Unexecuted instantiation: tile_common.c:get_txw_idx Unexecuted instantiation: txb_common.c:get_txw_idx Unexecuted instantiation: warped_motion.c:get_txw_idx Unexecuted instantiation: cfl_sse2.c:get_txw_idx Unexecuted instantiation: convolve_2d_sse2.c:get_txw_idx Unexecuted instantiation: convolve_sse2.c:get_txw_idx Unexecuted instantiation: jnt_convolve_sse2.c:get_txw_idx Unexecuted instantiation: resize_sse2.c:get_txw_idx Unexecuted instantiation: wiener_convolve_sse2.c:get_txw_idx av1_inv_txfm_ssse3.c:get_txw_idx Line | Count | Source | 281 | 3.03M | static inline int get_txw_idx(TX_SIZE tx_size) { | 282 | 3.03M | return tx_size_wide_log2[tx_size] - tx_size_wide_log2[0]; | 283 | 3.03M | } |
Unexecuted instantiation: cfl_ssse3.c:get_txw_idx Unexecuted instantiation: jnt_convolve_ssse3.c:get_txw_idx Unexecuted instantiation: resize_ssse3.c:get_txw_idx Unexecuted instantiation: highbd_convolve_2d_ssse3.c:get_txw_idx Unexecuted instantiation: highbd_wiener_convolve_ssse3.c:get_txw_idx Unexecuted instantiation: reconinter_ssse3.c:get_txw_idx Unexecuted instantiation: av1_convolve_horiz_rs_sse4.c:get_txw_idx Unexecuted instantiation: av1_convolve_scale_sse4.c:get_txw_idx Unexecuted instantiation: av1_txfm_sse4.c:get_txw_idx Unexecuted instantiation: cdef_block_sse4.c:get_txw_idx Unexecuted instantiation: filterintra_sse4.c:get_txw_idx highbd_inv_txfm_sse4.c:get_txw_idx Line | Count | Source | 281 | 2.57M | static inline int get_txw_idx(TX_SIZE tx_size) { | 282 | 2.57M | return tx_size_wide_log2[tx_size] - tx_size_wide_log2[0]; | 283 | 2.57M | } |
Unexecuted instantiation: intra_edge_sse4.c:get_txw_idx Unexecuted instantiation: reconinter_sse4.c:get_txw_idx Unexecuted instantiation: selfguided_sse4.c:get_txw_idx Unexecuted instantiation: warp_plane_sse4.c:get_txw_idx Unexecuted instantiation: highbd_convolve_2d_sse4.c:get_txw_idx Unexecuted instantiation: highbd_jnt_convolve_sse4.c:get_txw_idx Unexecuted instantiation: highbd_warp_plane_sse4.c:get_txw_idx av1_inv_txfm_avx2.c:get_txw_idx Line | Count | Source | 281 | 1.22M | static inline int get_txw_idx(TX_SIZE tx_size) { | 282 | 1.22M | return tx_size_wide_log2[tx_size] - tx_size_wide_log2[0]; | 283 | 1.22M | } |
Unexecuted instantiation: cdef_block_avx2.c:get_txw_idx Unexecuted instantiation: cfl_avx2.c:get_txw_idx Unexecuted instantiation: convolve_2d_avx2.c:get_txw_idx Unexecuted instantiation: convolve_avx2.c:get_txw_idx highbd_inv_txfm_avx2.c:get_txw_idx Line | Count | Source | 281 | 3.95M | static inline int get_txw_idx(TX_SIZE tx_size) { | 282 | 3.95M | return tx_size_wide_log2[tx_size] - tx_size_wide_log2[0]; | 283 | 3.95M | } |
Unexecuted instantiation: jnt_convolve_avx2.c:get_txw_idx Unexecuted instantiation: reconinter_avx2.c:get_txw_idx Unexecuted instantiation: resize_avx2.c:get_txw_idx Unexecuted instantiation: selfguided_avx2.c:get_txw_idx Unexecuted instantiation: warp_plane_avx2.c:get_txw_idx Unexecuted instantiation: wiener_convolve_avx2.c:get_txw_idx Unexecuted instantiation: highbd_convolve_2d_avx2.c:get_txw_idx Unexecuted instantiation: highbd_jnt_convolve_avx2.c:get_txw_idx Unexecuted instantiation: highbd_wiener_convolve_avx2.c:get_txw_idx Unexecuted instantiation: highbd_warp_affine_avx2.c:get_txw_idx Unexecuted instantiation: av1_inv_txfm1d.c:get_txw_idx |
284 | 10.7M | static inline int get_txh_idx(TX_SIZE tx_size) { |
285 | 10.7M | return tx_size_high_log2[tx_size] - tx_size_high_log2[0]; |
286 | 10.7M | } Unexecuted instantiation: av1_dx_iface.c:get_txh_idx Unexecuted instantiation: decodeframe.c:get_txh_idx Unexecuted instantiation: decodemv.c:get_txh_idx Unexecuted instantiation: decoder.c:get_txh_idx Unexecuted instantiation: decodetxb.c:get_txh_idx Unexecuted instantiation: detokenize.c:get_txh_idx Unexecuted instantiation: obu.c:get_txh_idx Unexecuted instantiation: av1_rtcd.c:get_txh_idx Unexecuted instantiation: highbd_convolve_ssse3.c:get_txh_idx Unexecuted instantiation: intrapred_sse4.c:get_txh_idx Unexecuted instantiation: intrapred_avx2.c:get_txh_idx Unexecuted instantiation: highbd_convolve_avx2.c:get_txh_idx Unexecuted instantiation: alloccommon.c:get_txh_idx Unexecuted instantiation: av1_inv_txfm2d.c:get_txh_idx Unexecuted instantiation: av1_loopfilter.c:get_txh_idx Unexecuted instantiation: av1_txfm.c:get_txh_idx Unexecuted instantiation: blockd.c:get_txh_idx Unexecuted instantiation: cdef.c:get_txh_idx Unexecuted instantiation: cdef_block.c:get_txh_idx Unexecuted instantiation: cfl.c:get_txh_idx Unexecuted instantiation: convolve.c:get_txh_idx Unexecuted instantiation: entropy.c:get_txh_idx Unexecuted instantiation: entropymode.c:get_txh_idx Unexecuted instantiation: entropymv.c:get_txh_idx Unexecuted instantiation: idct.c:get_txh_idx Unexecuted instantiation: mvref_common.c:get_txh_idx Unexecuted instantiation: pred_common.c:get_txh_idx Unexecuted instantiation: quant_common.c:get_txh_idx Unexecuted instantiation: reconinter.c:get_txh_idx Unexecuted instantiation: reconintra.c:get_txh_idx Unexecuted instantiation: resize.c:get_txh_idx Unexecuted instantiation: restoration.c:get_txh_idx Unexecuted instantiation: scale.c:get_txh_idx Unexecuted instantiation: scan.c:get_txh_idx Unexecuted instantiation: thread_common.c:get_txh_idx Unexecuted instantiation: tile_common.c:get_txh_idx Unexecuted instantiation: txb_common.c:get_txh_idx Unexecuted instantiation: warped_motion.c:get_txh_idx Unexecuted instantiation: cfl_sse2.c:get_txh_idx Unexecuted instantiation: convolve_2d_sse2.c:get_txh_idx Unexecuted instantiation: convolve_sse2.c:get_txh_idx Unexecuted instantiation: jnt_convolve_sse2.c:get_txh_idx Unexecuted instantiation: resize_sse2.c:get_txh_idx Unexecuted instantiation: wiener_convolve_sse2.c:get_txh_idx av1_inv_txfm_ssse3.c:get_txh_idx Line | Count | Source | 284 | 3.03M | static inline int get_txh_idx(TX_SIZE tx_size) { | 285 | 3.03M | return tx_size_high_log2[tx_size] - tx_size_high_log2[0]; | 286 | 3.03M | } |
Unexecuted instantiation: cfl_ssse3.c:get_txh_idx Unexecuted instantiation: jnt_convolve_ssse3.c:get_txh_idx Unexecuted instantiation: resize_ssse3.c:get_txh_idx Unexecuted instantiation: highbd_convolve_2d_ssse3.c:get_txh_idx Unexecuted instantiation: highbd_wiener_convolve_ssse3.c:get_txh_idx Unexecuted instantiation: reconinter_ssse3.c:get_txh_idx Unexecuted instantiation: av1_convolve_horiz_rs_sse4.c:get_txh_idx Unexecuted instantiation: av1_convolve_scale_sse4.c:get_txh_idx Unexecuted instantiation: av1_txfm_sse4.c:get_txh_idx Unexecuted instantiation: cdef_block_sse4.c:get_txh_idx Unexecuted instantiation: filterintra_sse4.c:get_txh_idx highbd_inv_txfm_sse4.c:get_txh_idx Line | Count | Source | 284 | 2.57M | static inline int get_txh_idx(TX_SIZE tx_size) { | 285 | 2.57M | return tx_size_high_log2[tx_size] - tx_size_high_log2[0]; | 286 | 2.57M | } |
Unexecuted instantiation: intra_edge_sse4.c:get_txh_idx Unexecuted instantiation: reconinter_sse4.c:get_txh_idx Unexecuted instantiation: selfguided_sse4.c:get_txh_idx Unexecuted instantiation: warp_plane_sse4.c:get_txh_idx Unexecuted instantiation: highbd_convolve_2d_sse4.c:get_txh_idx Unexecuted instantiation: highbd_jnt_convolve_sse4.c:get_txh_idx Unexecuted instantiation: highbd_warp_plane_sse4.c:get_txh_idx av1_inv_txfm_avx2.c:get_txh_idx Line | Count | Source | 284 | 1.22M | static inline int get_txh_idx(TX_SIZE tx_size) { | 285 | 1.22M | return tx_size_high_log2[tx_size] - tx_size_high_log2[0]; | 286 | 1.22M | } |
Unexecuted instantiation: cdef_block_avx2.c:get_txh_idx Unexecuted instantiation: cfl_avx2.c:get_txh_idx Unexecuted instantiation: convolve_2d_avx2.c:get_txh_idx Unexecuted instantiation: convolve_avx2.c:get_txh_idx highbd_inv_txfm_avx2.c:get_txh_idx Line | Count | Source | 284 | 3.95M | static inline int get_txh_idx(TX_SIZE tx_size) { | 285 | 3.95M | return tx_size_high_log2[tx_size] - tx_size_high_log2[0]; | 286 | 3.95M | } |
Unexecuted instantiation: jnt_convolve_avx2.c:get_txh_idx Unexecuted instantiation: reconinter_avx2.c:get_txh_idx Unexecuted instantiation: resize_avx2.c:get_txh_idx Unexecuted instantiation: selfguided_avx2.c:get_txh_idx Unexecuted instantiation: warp_plane_avx2.c:get_txh_idx Unexecuted instantiation: wiener_convolve_avx2.c:get_txh_idx Unexecuted instantiation: highbd_convolve_2d_avx2.c:get_txh_idx Unexecuted instantiation: highbd_jnt_convolve_avx2.c:get_txh_idx Unexecuted instantiation: highbd_wiener_convolve_avx2.c:get_txh_idx Unexecuted instantiation: highbd_warp_affine_avx2.c:get_txh_idx Unexecuted instantiation: av1_inv_txfm1d.c:get_txh_idx |
287 | | |
288 | | void av1_range_check_buf(int32_t stage, const int32_t *input, |
289 | | const int32_t *buf, int32_t size, int8_t bit); |
290 | | #define MAX_TXWH_IDX 5 |
291 | | #ifdef __cplusplus |
292 | | } |
293 | | #endif // __cplusplus |
294 | | |
295 | | #endif // AOM_AV1_COMMON_AV1_TXFM_H_ |