/src/aom/av1/encoder/encoder_utils.h
Line | Count | Source (jump to first uncovered line) |
1 | | /* |
2 | | * Copyright (c) 2020, 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_ENCODER_ENCODER_UTILS_H_ |
13 | | #define AOM_AV1_ENCODER_ENCODER_UTILS_H_ |
14 | | |
15 | | #include "config/aom_dsp_rtcd.h" |
16 | | #include "config/aom_scale_rtcd.h" |
17 | | |
18 | | #include "av1/encoder/encoder.h" |
19 | | #include "av1/encoder/encodetxb.h" |
20 | | |
21 | | #ifdef __cplusplus |
22 | | extern "C" { |
23 | | #endif |
24 | | |
25 | 0 | #define AM_SEGMENT_ID_INACTIVE 7 |
26 | 0 | #define AM_SEGMENT_ID_ACTIVE 0 |
27 | | #define DUMP_RECON_FRAMES 0 |
28 | | |
29 | | extern const int default_tx_type_probs[FRAME_UPDATE_TYPES][TX_SIZES_ALL] |
30 | | [TX_TYPES]; |
31 | | |
32 | | extern const int default_obmc_probs[FRAME_UPDATE_TYPES][BLOCK_SIZES_ALL]; |
33 | | |
34 | | extern const int default_warped_probs[FRAME_UPDATE_TYPES]; |
35 | | |
36 | | extern const int default_switchable_interp_probs[FRAME_UPDATE_TYPES] |
37 | | [SWITCHABLE_FILTER_CONTEXTS] |
38 | | [SWITCHABLE_FILTERS]; |
39 | | |
40 | | // Mark all inactive blocks as active. Other segmentation features may be set |
41 | | // so memset cannot be used, instead only inactive blocks should be reset. |
42 | 0 | static AOM_INLINE void suppress_active_map(AV1_COMP *cpi) { |
43 | 0 | unsigned char *const seg_map = cpi->enc_seg.map; |
44 | 0 | int i; |
45 | 0 | if (cpi->active_map.enabled || cpi->active_map.update) |
46 | 0 | for (i = 0; |
47 | 0 | i < cpi->common.mi_params.mi_rows * cpi->common.mi_params.mi_cols; ++i) |
48 | 0 | if (seg_map[i] == AM_SEGMENT_ID_INACTIVE) |
49 | 0 | seg_map[i] = AM_SEGMENT_ID_ACTIVE; |
50 | 0 | } Unexecuted instantiation: encoder.c:suppress_active_map Unexecuted instantiation: encoder_utils.c:suppress_active_map |
51 | | |
52 | | static AOM_INLINE void set_mb_mi(CommonModeInfoParams *mi_params, int width, |
53 | 0 | int height) { |
54 | | // Ensure that the decoded width and height are both multiples of |
55 | | // 8 luma pixels (note: this may only be a multiple of 4 chroma pixels if |
56 | | // subsampling is used). |
57 | | // This simplifies the implementation of various experiments, |
58 | | // eg. cdef, which operates on units of 8x8 luma pixels. |
59 | 0 | const int aligned_width = ALIGN_POWER_OF_TWO(width, 3); |
60 | 0 | const int aligned_height = ALIGN_POWER_OF_TWO(height, 3); |
61 | |
|
62 | 0 | mi_params->mi_cols = aligned_width >> MI_SIZE_LOG2; |
63 | 0 | mi_params->mi_rows = aligned_height >> MI_SIZE_LOG2; |
64 | 0 | mi_params->mi_stride = calc_mi_size(mi_params->mi_cols); |
65 | |
|
66 | 0 | mi_params->mb_cols = (mi_params->mi_cols + 2) >> 2; |
67 | 0 | mi_params->mb_rows = (mi_params->mi_rows + 2) >> 2; |
68 | 0 | mi_params->MBs = mi_params->mb_rows * mi_params->mb_cols; |
69 | |
|
70 | 0 | const int mi_alloc_size_1d = mi_size_wide[mi_params->mi_alloc_bsize]; |
71 | 0 | mi_params->mi_alloc_stride = |
72 | 0 | (mi_params->mi_stride + mi_alloc_size_1d - 1) / mi_alloc_size_1d; |
73 | |
|
74 | 0 | assert(mi_size_wide[mi_params->mi_alloc_bsize] == |
75 | 0 | mi_size_high[mi_params->mi_alloc_bsize]); |
76 | 0 | } Unexecuted instantiation: encoder.c:set_mb_mi Unexecuted instantiation: encoder_utils.c:set_mb_mi |
77 | | |
78 | 0 | static AOM_INLINE void enc_free_mi(CommonModeInfoParams *mi_params) { |
79 | 0 | aom_free(mi_params->mi_alloc); |
80 | 0 | mi_params->mi_alloc = NULL; |
81 | 0 | aom_free(mi_params->mi_grid_base); |
82 | 0 | mi_params->mi_grid_base = NULL; |
83 | 0 | mi_params->mi_alloc_size = 0; |
84 | 0 | aom_free(mi_params->tx_type_map); |
85 | 0 | mi_params->tx_type_map = NULL; |
86 | 0 | } Unexecuted instantiation: encoder.c:enc_free_mi Unexecuted instantiation: encoder_utils.c:enc_free_mi |
87 | | |
88 | | static AOM_INLINE void enc_set_mb_mi(CommonModeInfoParams *mi_params, int width, |
89 | | int height, int mode, |
90 | 0 | BLOCK_SIZE min_partition_size) { |
91 | 0 | const int is_4k_or_larger = AOMMIN(width, height) >= 2160; |
92 | 0 | const int is_realtime_mode = (mode == REALTIME); |
93 | 0 | mi_params->mi_alloc_bsize = |
94 | 0 | (is_4k_or_larger || is_realtime_mode) ? BLOCK_8X8 : min_partition_size; |
95 | |
|
96 | 0 | set_mb_mi(mi_params, width, height); |
97 | 0 | } Unexecuted instantiation: encoder.c:enc_set_mb_mi Unexecuted instantiation: encoder_utils.c:enc_set_mb_mi |
98 | | |
99 | | static AOM_INLINE void stat_stage_set_mb_mi(CommonModeInfoParams *mi_params, |
100 | | int width, int height, int mode, |
101 | 0 | BLOCK_SIZE min_partition_size) { |
102 | 0 | (void)mode; |
103 | 0 | (void)min_partition_size; |
104 | 0 | mi_params->mi_alloc_bsize = BLOCK_16X16; |
105 | |
|
106 | 0 | set_mb_mi(mi_params, width, height); |
107 | 0 | } Unexecuted instantiation: encoder.c:stat_stage_set_mb_mi Unexecuted instantiation: encoder_utils.c:stat_stage_set_mb_mi |
108 | | |
109 | 0 | static AOM_INLINE void enc_setup_mi(CommonModeInfoParams *mi_params) { |
110 | 0 | const int mi_grid_size = |
111 | 0 | mi_params->mi_stride * calc_mi_size(mi_params->mi_rows); |
112 | 0 | memset(mi_params->mi_alloc, 0, |
113 | 0 | mi_params->mi_alloc_size * sizeof(*mi_params->mi_alloc)); |
114 | 0 | memset(mi_params->mi_grid_base, 0, |
115 | 0 | mi_grid_size * sizeof(*mi_params->mi_grid_base)); |
116 | 0 | memset(mi_params->tx_type_map, 0, |
117 | 0 | mi_grid_size * sizeof(*mi_params->tx_type_map)); |
118 | 0 | } Unexecuted instantiation: encoder.c:enc_setup_mi Unexecuted instantiation: encoder_utils.c:enc_setup_mi |
119 | | |
120 | | static AOM_INLINE void init_buffer_indices( |
121 | 0 | ForceIntegerMVInfo *const force_intpel_info, int *const remapped_ref_idx) { |
122 | 0 | int fb_idx; |
123 | 0 | for (fb_idx = 0; fb_idx < REF_FRAMES; ++fb_idx) |
124 | 0 | remapped_ref_idx[fb_idx] = fb_idx; |
125 | 0 | force_intpel_info->rate_index = 0; |
126 | 0 | force_intpel_info->rate_size = 0; |
127 | 0 | } Unexecuted instantiation: encoder.c:init_buffer_indices Unexecuted instantiation: encoder_utils.c:init_buffer_indices |
128 | | |
129 | | #define HIGHBD_BFP(BT, SDF, SDAF, VF, SVF, SVAF, SDX4DF, JSDAF, JSVAF) \ |
130 | 0 | ppi->fn_ptr[BT].sdf = SDF; \ |
131 | 0 | ppi->fn_ptr[BT].sdaf = SDAF; \ |
132 | 0 | ppi->fn_ptr[BT].vf = VF; \ |
133 | 0 | ppi->fn_ptr[BT].svf = SVF; \ |
134 | 0 | ppi->fn_ptr[BT].svaf = SVAF; \ |
135 | 0 | ppi->fn_ptr[BT].sdx4df = SDX4DF; \ |
136 | 0 | ppi->fn_ptr[BT].jsdaf = JSDAF; \ |
137 | 0 | ppi->fn_ptr[BT].jsvaf = JSVAF; |
138 | | |
139 | | #define HIGHBD_BFP_WRAPPER(WIDTH, HEIGHT, BD) \ |
140 | 0 | HIGHBD_BFP( \ |
141 | 0 | BLOCK_##WIDTH##X##HEIGHT, aom_highbd_sad##WIDTH##x##HEIGHT##_bits##BD, \ |
142 | 0 | aom_highbd_sad##WIDTH##x##HEIGHT##_avg_bits##BD, \ |
143 | 0 | aom_highbd_##BD##_variance##WIDTH##x##HEIGHT, \ |
144 | 0 | aom_highbd_##BD##_sub_pixel_variance##WIDTH##x##HEIGHT, \ |
145 | 0 | aom_highbd_##BD##_sub_pixel_avg_variance##WIDTH##x##HEIGHT, \ |
146 | 0 | aom_highbd_sad##WIDTH##x##HEIGHT##x4d_bits##BD, \ |
147 | 0 | aom_highbd_dist_wtd_sad##WIDTH##x##HEIGHT##_avg_bits##BD, \ |
148 | 0 | aom_highbd_##BD##_dist_wtd_sub_pixel_avg_variance##WIDTH##x##HEIGHT) |
149 | | |
150 | | #define MAKE_BFP_SAD_WRAPPER(fnname) \ |
151 | | static unsigned int fnname##_bits8(const uint8_t *src_ptr, \ |
152 | | int source_stride, \ |
153 | 0 | const uint8_t *ref_ptr, int ref_stride) { \ |
154 | 0 | return fnname(src_ptr, source_stride, ref_ptr, ref_stride); \ |
155 | 0 | } \ Unexecuted instantiation: encoder.c:aom_highbd_sad64x16_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad16x64_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad32x8_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad8x32_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad16x4_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad4x16_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad32x16_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad16x32_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad64x32_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad32x64_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad32x32_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad64x64_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad16x16_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad16x8_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad8x16_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad8x8_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad8x4_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad4x8_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad4x4_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad128x128_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad128x64_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad64x128_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad128x128_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad128x64_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad64x128_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad32x16_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad16x32_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad64x32_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad32x64_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad32x32_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad64x64_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad16x16_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad16x8_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad8x16_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad8x8_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad8x4_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad4x8_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad4x4_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad4x16_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad16x4_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad8x32_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad32x8_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad16x64_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad64x16_bits8 |
156 | | static unsigned int fnname##_bits10( \ |
157 | | const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, \ |
158 | 0 | int ref_stride) { \ |
159 | 0 | return fnname(src_ptr, source_stride, ref_ptr, ref_stride) >> 2; \ |
160 | 0 | } \ Unexecuted instantiation: encoder.c:aom_highbd_sad64x16_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad16x64_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad32x8_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad8x32_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad16x4_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad4x16_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad32x16_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad16x32_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad64x32_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad32x64_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad32x32_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad64x64_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad16x16_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad16x8_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad8x16_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad8x8_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad8x4_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad4x8_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad4x4_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad128x128_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad128x64_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad64x128_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad128x128_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad128x64_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad64x128_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad32x16_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad16x32_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad64x32_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad32x64_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad32x32_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad64x64_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad16x16_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad16x8_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad8x16_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad8x8_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad8x4_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad4x8_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad4x4_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad4x16_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad16x4_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad8x32_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad32x8_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad16x64_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad64x16_bits10 |
161 | | static unsigned int fnname##_bits12( \ |
162 | | const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, \ |
163 | 0 | int ref_stride) { \ |
164 | 0 | return fnname(src_ptr, source_stride, ref_ptr, ref_stride) >> 4; \ |
165 | 0 | } Unexecuted instantiation: encoder.c:aom_highbd_sad64x16_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad16x64_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad32x8_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad8x32_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad16x4_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad4x16_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad32x16_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad16x32_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad64x32_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad32x64_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad32x32_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad64x64_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad16x16_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad16x8_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad8x16_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad8x8_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad8x4_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad4x8_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad4x4_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad128x128_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad128x64_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad64x128_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad128x128_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad128x64_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad64x128_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad32x16_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad16x32_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad64x32_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad32x64_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad32x32_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad64x64_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad16x16_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad16x8_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad8x16_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad8x8_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad8x4_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad4x8_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad4x4_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad4x16_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad16x4_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad8x32_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad32x8_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad16x64_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad64x16_bits12 |
166 | | |
167 | | #define MAKE_BFP_SADAVG_WRAPPER(fnname) \ |
168 | | static unsigned int fnname##_bits8( \ |
169 | | const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, \ |
170 | 0 | int ref_stride, const uint8_t *second_pred) { \ |
171 | 0 | return fnname(src_ptr, source_stride, ref_ptr, ref_stride, second_pred); \ |
172 | 0 | } \ Unexecuted instantiation: encoder.c:aom_highbd_sad64x16_avg_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad16x64_avg_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad32x8_avg_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad8x32_avg_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad16x4_avg_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad4x16_avg_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad32x16_avg_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad16x32_avg_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad64x32_avg_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad32x64_avg_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad32x32_avg_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad64x64_avg_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad16x16_avg_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad16x8_avg_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad8x16_avg_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad8x8_avg_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad8x4_avg_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad4x8_avg_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad4x4_avg_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad128x128_avg_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad128x64_avg_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad64x128_avg_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad128x128_avg_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad128x64_avg_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad64x128_avg_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad32x16_avg_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad16x32_avg_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad64x32_avg_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad32x64_avg_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad32x32_avg_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad64x64_avg_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad16x16_avg_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad16x8_avg_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad8x16_avg_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad8x8_avg_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad8x4_avg_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad4x8_avg_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad4x4_avg_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad4x16_avg_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad16x4_avg_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad8x32_avg_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad32x8_avg_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad16x64_avg_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad64x16_avg_bits8 |
173 | | static unsigned int fnname##_bits10( \ |
174 | | const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, \ |
175 | 0 | int ref_stride, const uint8_t *second_pred) { \ |
176 | 0 | return fnname(src_ptr, source_stride, ref_ptr, ref_stride, second_pred) >> \ |
177 | 0 | 2; \ |
178 | 0 | } \ Unexecuted instantiation: encoder.c:aom_highbd_sad64x16_avg_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad16x64_avg_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad32x8_avg_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad8x32_avg_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad16x4_avg_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad4x16_avg_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad32x16_avg_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad16x32_avg_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad64x32_avg_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad32x64_avg_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad32x32_avg_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad64x64_avg_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad16x16_avg_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad16x8_avg_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad8x16_avg_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad8x8_avg_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad8x4_avg_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad4x8_avg_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad4x4_avg_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad128x128_avg_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad128x64_avg_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad64x128_avg_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad128x128_avg_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad128x64_avg_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad64x128_avg_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad32x16_avg_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad16x32_avg_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad64x32_avg_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad32x64_avg_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad32x32_avg_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad64x64_avg_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad16x16_avg_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad16x8_avg_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad8x16_avg_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad8x8_avg_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad8x4_avg_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad4x8_avg_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad4x4_avg_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad4x16_avg_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad16x4_avg_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad8x32_avg_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad32x8_avg_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad16x64_avg_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad64x16_avg_bits10 |
179 | | static unsigned int fnname##_bits12( \ |
180 | | const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, \ |
181 | 0 | int ref_stride, const uint8_t *second_pred) { \ |
182 | 0 | return fnname(src_ptr, source_stride, ref_ptr, ref_stride, second_pred) >> \ |
183 | 0 | 4; \ |
184 | 0 | } Unexecuted instantiation: encoder.c:aom_highbd_sad64x16_avg_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad16x64_avg_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad32x8_avg_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad8x32_avg_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad16x4_avg_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad4x16_avg_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad32x16_avg_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad16x32_avg_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad64x32_avg_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad32x64_avg_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad32x32_avg_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad64x64_avg_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad16x16_avg_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad16x8_avg_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad8x16_avg_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad8x8_avg_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad8x4_avg_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad4x8_avg_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad4x4_avg_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad128x128_avg_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad128x64_avg_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad64x128_avg_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad128x128_avg_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad128x64_avg_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad64x128_avg_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad32x16_avg_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad16x32_avg_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad64x32_avg_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad32x64_avg_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad32x32_avg_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad64x64_avg_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad16x16_avg_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad16x8_avg_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad8x16_avg_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad8x8_avg_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad8x4_avg_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad4x8_avg_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad4x4_avg_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad4x16_avg_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad16x4_avg_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad8x32_avg_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad32x8_avg_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad16x64_avg_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad64x16_avg_bits12 |
185 | | |
186 | | #define MAKE_BFP_SAD4D_WRAPPER(fnname) \ |
187 | | static void fnname##_bits8(const uint8_t *src_ptr, int source_stride, \ |
188 | | const uint8_t *const ref_ptr[], int ref_stride, \ |
189 | 0 | unsigned int *sad_array) { \ |
190 | 0 | fnname(src_ptr, source_stride, ref_ptr, ref_stride, sad_array); \ |
191 | 0 | } \ Unexecuted instantiation: encoder.c:aom_highbd_sad64x16x4d_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad16x64x4d_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad32x8x4d_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad8x32x4d_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad16x4x4d_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad4x16x4d_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad32x16x4d_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad16x32x4d_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad64x32x4d_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad32x64x4d_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad32x32x4d_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad64x64x4d_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad16x16x4d_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad16x8x4d_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad8x16x4d_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad8x8x4d_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad8x4x4d_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad4x8x4d_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad4x4x4d_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad128x128x4d_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad128x64x4d_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad64x128x4d_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad128x128x4d_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad128x64x4d_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad64x128x4d_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad32x16x4d_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad16x32x4d_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad64x32x4d_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad32x64x4d_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad32x32x4d_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad64x64x4d_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad16x16x4d_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad16x8x4d_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad8x16x4d_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad8x8x4d_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad8x4x4d_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad4x8x4d_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad4x4x4d_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad4x16x4d_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad16x4x4d_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad8x32x4d_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad32x8x4d_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad16x64x4d_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad64x16x4d_bits8 |
192 | | static void fnname##_bits10(const uint8_t *src_ptr, int source_stride, \ |
193 | | const uint8_t *const ref_ptr[], int ref_stride, \ |
194 | 0 | unsigned int *sad_array) { \ |
195 | 0 | int i; \ |
196 | 0 | fnname(src_ptr, source_stride, ref_ptr, ref_stride, sad_array); \ |
197 | 0 | for (i = 0; i < 4; i++) sad_array[i] >>= 2; \ |
198 | 0 | } \ Unexecuted instantiation: encoder.c:aom_highbd_sad64x16x4d_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad16x64x4d_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad32x8x4d_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad8x32x4d_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad16x4x4d_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad4x16x4d_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad32x16x4d_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad16x32x4d_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad64x32x4d_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad32x64x4d_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad32x32x4d_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad64x64x4d_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad16x16x4d_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad16x8x4d_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad8x16x4d_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad8x8x4d_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad8x4x4d_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad4x8x4d_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad4x4x4d_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad128x128x4d_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad128x64x4d_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad64x128x4d_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad128x128x4d_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad128x64x4d_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad64x128x4d_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad32x16x4d_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad16x32x4d_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad64x32x4d_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad32x64x4d_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad32x32x4d_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad64x64x4d_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad16x16x4d_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad16x8x4d_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad8x16x4d_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad8x8x4d_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad8x4x4d_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad4x8x4d_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad4x4x4d_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad4x16x4d_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad16x4x4d_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad8x32x4d_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad32x8x4d_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad16x64x4d_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad64x16x4d_bits10 |
199 | | static void fnname##_bits12(const uint8_t *src_ptr, int source_stride, \ |
200 | | const uint8_t *const ref_ptr[], int ref_stride, \ |
201 | 0 | unsigned int *sad_array) { \ |
202 | 0 | int i; \ |
203 | 0 | fnname(src_ptr, source_stride, ref_ptr, ref_stride, sad_array); \ |
204 | 0 | for (i = 0; i < 4; i++) sad_array[i] >>= 4; \ |
205 | 0 | } Unexecuted instantiation: encoder.c:aom_highbd_sad64x16x4d_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad16x64x4d_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad32x8x4d_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad8x32x4d_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad16x4x4d_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad4x16x4d_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad32x16x4d_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad16x32x4d_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad64x32x4d_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad32x64x4d_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad32x32x4d_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad64x64x4d_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad16x16x4d_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad16x8x4d_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad8x16x4d_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad8x8x4d_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad8x4x4d_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad4x8x4d_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad4x4x4d_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad128x128x4d_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad128x64x4d_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad64x128x4d_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad128x128x4d_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad128x64x4d_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad64x128x4d_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad32x16x4d_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad16x32x4d_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad64x32x4d_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad32x64x4d_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad32x32x4d_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad64x64x4d_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad16x16x4d_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad16x8x4d_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad8x16x4d_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad8x8x4d_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad8x4x4d_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad4x8x4d_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad4x4x4d_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad4x16x4d_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad16x4x4d_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad8x32x4d_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad32x8x4d_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad16x64x4d_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad64x16x4d_bits12 |
206 | | |
207 | | #define MAKE_BFP_JSADAVG_WRAPPER(fnname) \ |
208 | | static unsigned int fnname##_bits8( \ |
209 | | const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, \ |
210 | | int ref_stride, const uint8_t *second_pred, \ |
211 | 0 | const DIST_WTD_COMP_PARAMS *jcp_param) { \ |
212 | 0 | return fnname(src_ptr, source_stride, ref_ptr, ref_stride, second_pred, \ |
213 | 0 | jcp_param); \ |
214 | 0 | } \ Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad64x16_avg_bits8 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad16x64_avg_bits8 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad32x8_avg_bits8 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad8x32_avg_bits8 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad16x4_avg_bits8 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad4x16_avg_bits8 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad32x16_avg_bits8 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad16x32_avg_bits8 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad64x32_avg_bits8 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad32x64_avg_bits8 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad32x32_avg_bits8 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad64x64_avg_bits8 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad16x16_avg_bits8 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad16x8_avg_bits8 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad8x16_avg_bits8 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad8x8_avg_bits8 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad8x4_avg_bits8 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad4x8_avg_bits8 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad4x4_avg_bits8 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad128x128_avg_bits8 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad128x64_avg_bits8 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad64x128_avg_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad128x128_avg_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad128x64_avg_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad64x128_avg_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad32x16_avg_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad16x32_avg_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad64x32_avg_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad32x64_avg_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad32x32_avg_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad64x64_avg_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad16x16_avg_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad16x8_avg_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad8x16_avg_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad8x8_avg_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad8x4_avg_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad4x8_avg_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad4x4_avg_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad4x16_avg_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad16x4_avg_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad8x32_avg_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad32x8_avg_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad16x64_avg_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad64x16_avg_bits8 |
215 | | static unsigned int fnname##_bits10( \ |
216 | | const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, \ |
217 | | int ref_stride, const uint8_t *second_pred, \ |
218 | 0 | const DIST_WTD_COMP_PARAMS *jcp_param) { \ |
219 | 0 | return fnname(src_ptr, source_stride, ref_ptr, ref_stride, second_pred, \ |
220 | 0 | jcp_param) >> \ |
221 | 0 | 2; \ |
222 | 0 | } \ Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad64x16_avg_bits10 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad16x64_avg_bits10 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad32x8_avg_bits10 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad8x32_avg_bits10 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad16x4_avg_bits10 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad4x16_avg_bits10 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad32x16_avg_bits10 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad16x32_avg_bits10 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad64x32_avg_bits10 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad32x64_avg_bits10 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad32x32_avg_bits10 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad64x64_avg_bits10 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad16x16_avg_bits10 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad16x8_avg_bits10 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad8x16_avg_bits10 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad8x8_avg_bits10 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad8x4_avg_bits10 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad4x8_avg_bits10 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad4x4_avg_bits10 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad128x128_avg_bits10 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad128x64_avg_bits10 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad64x128_avg_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad128x128_avg_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad128x64_avg_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad64x128_avg_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad32x16_avg_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad16x32_avg_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad64x32_avg_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad32x64_avg_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad32x32_avg_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad64x64_avg_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad16x16_avg_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad16x8_avg_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad8x16_avg_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad8x8_avg_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad8x4_avg_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad4x8_avg_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad4x4_avg_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad4x16_avg_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad16x4_avg_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad8x32_avg_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad32x8_avg_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad16x64_avg_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad64x16_avg_bits10 |
223 | | static unsigned int fnname##_bits12( \ |
224 | | const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, \ |
225 | | int ref_stride, const uint8_t *second_pred, \ |
226 | 0 | const DIST_WTD_COMP_PARAMS *jcp_param) { \ |
227 | 0 | return fnname(src_ptr, source_stride, ref_ptr, ref_stride, second_pred, \ |
228 | 0 | jcp_param) >> \ |
229 | 0 | 4; \ |
230 | 0 | } Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad64x16_avg_bits12 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad16x64_avg_bits12 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad32x8_avg_bits12 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad8x32_avg_bits12 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad16x4_avg_bits12 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad4x16_avg_bits12 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad32x16_avg_bits12 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad16x32_avg_bits12 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad64x32_avg_bits12 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad32x64_avg_bits12 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad32x32_avg_bits12 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad64x64_avg_bits12 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad16x16_avg_bits12 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad16x8_avg_bits12 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad8x16_avg_bits12 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad8x8_avg_bits12 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad8x4_avg_bits12 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad4x8_avg_bits12 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad4x4_avg_bits12 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad128x128_avg_bits12 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad128x64_avg_bits12 Unexecuted instantiation: encoder.c:aom_highbd_dist_wtd_sad64x128_avg_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad128x128_avg_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad128x64_avg_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad64x128_avg_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad32x16_avg_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad16x32_avg_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad64x32_avg_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad32x64_avg_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad32x32_avg_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad64x64_avg_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad16x16_avg_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad16x8_avg_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad8x16_avg_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad8x8_avg_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad8x4_avg_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad4x8_avg_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad4x4_avg_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad4x16_avg_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad16x4_avg_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad8x32_avg_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad32x8_avg_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad16x64_avg_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_dist_wtd_sad64x16_avg_bits12 |
231 | | |
232 | | #if CONFIG_AV1_HIGHBITDEPTH |
233 | | MAKE_BFP_SAD_WRAPPER(aom_highbd_sad128x128) |
234 | | MAKE_BFP_SADAVG_WRAPPER(aom_highbd_sad128x128_avg) |
235 | | MAKE_BFP_SAD4D_WRAPPER(aom_highbd_sad128x128x4d) |
236 | | MAKE_BFP_SAD_WRAPPER(aom_highbd_sad128x64) |
237 | | MAKE_BFP_SADAVG_WRAPPER(aom_highbd_sad128x64_avg) |
238 | | MAKE_BFP_SAD4D_WRAPPER(aom_highbd_sad128x64x4d) |
239 | | MAKE_BFP_SAD_WRAPPER(aom_highbd_sad64x128) |
240 | | MAKE_BFP_SADAVG_WRAPPER(aom_highbd_sad64x128_avg) |
241 | | MAKE_BFP_SAD4D_WRAPPER(aom_highbd_sad64x128x4d) |
242 | | MAKE_BFP_SAD_WRAPPER(aom_highbd_sad32x16) |
243 | | MAKE_BFP_SADAVG_WRAPPER(aom_highbd_sad32x16_avg) |
244 | | MAKE_BFP_SAD4D_WRAPPER(aom_highbd_sad32x16x4d) |
245 | | MAKE_BFP_SAD_WRAPPER(aom_highbd_sad16x32) |
246 | | MAKE_BFP_SADAVG_WRAPPER(aom_highbd_sad16x32_avg) |
247 | | MAKE_BFP_SAD4D_WRAPPER(aom_highbd_sad16x32x4d) |
248 | | MAKE_BFP_SAD_WRAPPER(aom_highbd_sad64x32) |
249 | | MAKE_BFP_SADAVG_WRAPPER(aom_highbd_sad64x32_avg) |
250 | | MAKE_BFP_SAD4D_WRAPPER(aom_highbd_sad64x32x4d) |
251 | | MAKE_BFP_SAD_WRAPPER(aom_highbd_sad32x64) |
252 | | MAKE_BFP_SADAVG_WRAPPER(aom_highbd_sad32x64_avg) |
253 | | MAKE_BFP_SAD4D_WRAPPER(aom_highbd_sad32x64x4d) |
254 | | MAKE_BFP_SAD_WRAPPER(aom_highbd_sad32x32) |
255 | | MAKE_BFP_SADAVG_WRAPPER(aom_highbd_sad32x32_avg) |
256 | | MAKE_BFP_SAD4D_WRAPPER(aom_highbd_sad32x32x4d) |
257 | | MAKE_BFP_SAD_WRAPPER(aom_highbd_sad64x64) |
258 | | MAKE_BFP_SADAVG_WRAPPER(aom_highbd_sad64x64_avg) |
259 | | MAKE_BFP_SAD4D_WRAPPER(aom_highbd_sad64x64x4d) |
260 | | MAKE_BFP_SAD_WRAPPER(aom_highbd_sad16x16) |
261 | | MAKE_BFP_SADAVG_WRAPPER(aom_highbd_sad16x16_avg) |
262 | | MAKE_BFP_SAD4D_WRAPPER(aom_highbd_sad16x16x4d) |
263 | | MAKE_BFP_SAD_WRAPPER(aom_highbd_sad16x8) |
264 | | MAKE_BFP_SADAVG_WRAPPER(aom_highbd_sad16x8_avg) |
265 | | MAKE_BFP_SAD4D_WRAPPER(aom_highbd_sad16x8x4d) |
266 | | MAKE_BFP_SAD_WRAPPER(aom_highbd_sad8x16) |
267 | | MAKE_BFP_SADAVG_WRAPPER(aom_highbd_sad8x16_avg) |
268 | | MAKE_BFP_SAD4D_WRAPPER(aom_highbd_sad8x16x4d) |
269 | | MAKE_BFP_SAD_WRAPPER(aom_highbd_sad8x8) |
270 | | MAKE_BFP_SADAVG_WRAPPER(aom_highbd_sad8x8_avg) |
271 | | MAKE_BFP_SAD4D_WRAPPER(aom_highbd_sad8x8x4d) |
272 | | MAKE_BFP_SAD_WRAPPER(aom_highbd_sad8x4) |
273 | | MAKE_BFP_SADAVG_WRAPPER(aom_highbd_sad8x4_avg) |
274 | | MAKE_BFP_SAD4D_WRAPPER(aom_highbd_sad8x4x4d) |
275 | | MAKE_BFP_SAD_WRAPPER(aom_highbd_sad4x8) |
276 | | MAKE_BFP_SADAVG_WRAPPER(aom_highbd_sad4x8_avg) |
277 | | MAKE_BFP_SAD4D_WRAPPER(aom_highbd_sad4x8x4d) |
278 | | MAKE_BFP_SAD_WRAPPER(aom_highbd_sad4x4) |
279 | | MAKE_BFP_SADAVG_WRAPPER(aom_highbd_sad4x4_avg) |
280 | | MAKE_BFP_SAD4D_WRAPPER(aom_highbd_sad4x4x4d) |
281 | | |
282 | | #if !CONFIG_REALTIME_ONLY |
283 | | MAKE_BFP_SAD_WRAPPER(aom_highbd_sad4x16) |
284 | | MAKE_BFP_SADAVG_WRAPPER(aom_highbd_sad4x16_avg) |
285 | | MAKE_BFP_SAD4D_WRAPPER(aom_highbd_sad4x16x4d) |
286 | | MAKE_BFP_SAD_WRAPPER(aom_highbd_sad16x4) |
287 | | MAKE_BFP_SADAVG_WRAPPER(aom_highbd_sad16x4_avg) |
288 | | MAKE_BFP_SAD4D_WRAPPER(aom_highbd_sad16x4x4d) |
289 | | MAKE_BFP_SAD_WRAPPER(aom_highbd_sad8x32) |
290 | | MAKE_BFP_SADAVG_WRAPPER(aom_highbd_sad8x32_avg) |
291 | | MAKE_BFP_SAD4D_WRAPPER(aom_highbd_sad8x32x4d) |
292 | | MAKE_BFP_SAD_WRAPPER(aom_highbd_sad32x8) |
293 | | MAKE_BFP_SADAVG_WRAPPER(aom_highbd_sad32x8_avg) |
294 | | MAKE_BFP_SAD4D_WRAPPER(aom_highbd_sad32x8x4d) |
295 | | MAKE_BFP_SAD_WRAPPER(aom_highbd_sad16x64) |
296 | | MAKE_BFP_SADAVG_WRAPPER(aom_highbd_sad16x64_avg) |
297 | | MAKE_BFP_SAD4D_WRAPPER(aom_highbd_sad16x64x4d) |
298 | | MAKE_BFP_SAD_WRAPPER(aom_highbd_sad64x16) |
299 | | MAKE_BFP_SADAVG_WRAPPER(aom_highbd_sad64x16_avg) |
300 | | MAKE_BFP_SAD4D_WRAPPER(aom_highbd_sad64x16x4d) |
301 | | #endif |
302 | | |
303 | | MAKE_BFP_JSADAVG_WRAPPER(aom_highbd_dist_wtd_sad128x128_avg) |
304 | | MAKE_BFP_JSADAVG_WRAPPER(aom_highbd_dist_wtd_sad128x64_avg) |
305 | | MAKE_BFP_JSADAVG_WRAPPER(aom_highbd_dist_wtd_sad64x128_avg) |
306 | | MAKE_BFP_JSADAVG_WRAPPER(aom_highbd_dist_wtd_sad32x16_avg) |
307 | | MAKE_BFP_JSADAVG_WRAPPER(aom_highbd_dist_wtd_sad16x32_avg) |
308 | | MAKE_BFP_JSADAVG_WRAPPER(aom_highbd_dist_wtd_sad64x32_avg) |
309 | | MAKE_BFP_JSADAVG_WRAPPER(aom_highbd_dist_wtd_sad32x64_avg) |
310 | | MAKE_BFP_JSADAVG_WRAPPER(aom_highbd_dist_wtd_sad32x32_avg) |
311 | | MAKE_BFP_JSADAVG_WRAPPER(aom_highbd_dist_wtd_sad64x64_avg) |
312 | | MAKE_BFP_JSADAVG_WRAPPER(aom_highbd_dist_wtd_sad16x16_avg) |
313 | | MAKE_BFP_JSADAVG_WRAPPER(aom_highbd_dist_wtd_sad16x8_avg) |
314 | | MAKE_BFP_JSADAVG_WRAPPER(aom_highbd_dist_wtd_sad8x16_avg) |
315 | | MAKE_BFP_JSADAVG_WRAPPER(aom_highbd_dist_wtd_sad8x8_avg) |
316 | | MAKE_BFP_JSADAVG_WRAPPER(aom_highbd_dist_wtd_sad8x4_avg) |
317 | | MAKE_BFP_JSADAVG_WRAPPER(aom_highbd_dist_wtd_sad4x8_avg) |
318 | | MAKE_BFP_JSADAVG_WRAPPER(aom_highbd_dist_wtd_sad4x4_avg) |
319 | | #if !CONFIG_REALTIME_ONLY |
320 | | MAKE_BFP_JSADAVG_WRAPPER(aom_highbd_dist_wtd_sad4x16_avg) |
321 | | MAKE_BFP_JSADAVG_WRAPPER(aom_highbd_dist_wtd_sad16x4_avg) |
322 | | MAKE_BFP_JSADAVG_WRAPPER(aom_highbd_dist_wtd_sad8x32_avg) |
323 | | MAKE_BFP_JSADAVG_WRAPPER(aom_highbd_dist_wtd_sad32x8_avg) |
324 | | MAKE_BFP_JSADAVG_WRAPPER(aom_highbd_dist_wtd_sad16x64_avg) |
325 | | MAKE_BFP_JSADAVG_WRAPPER(aom_highbd_dist_wtd_sad64x16_avg) |
326 | | #endif |
327 | | #endif // CONFIG_AV1_HIGHBITDEPTH |
328 | | |
329 | | #define HIGHBD_MBFP(BT, MCSDF, MCSVF) \ |
330 | 0 | ppi->fn_ptr[BT].msdf = MCSDF; \ |
331 | 0 | ppi->fn_ptr[BT].msvf = MCSVF; |
332 | | |
333 | | #define HIGHBD_MBFP_WRAPPER(WIDTH, HEIGHT, BD) \ |
334 | 0 | HIGHBD_MBFP(BLOCK_##WIDTH##X##HEIGHT, \ |
335 | 0 | aom_highbd_masked_sad##WIDTH##x##HEIGHT##_bits##BD, \ |
336 | 0 | aom_highbd_##BD##_masked_sub_pixel_variance##WIDTH##x##HEIGHT) |
337 | | |
338 | | #define MAKE_MBFP_COMPOUND_SAD_WRAPPER(fnname) \ |
339 | | static unsigned int fnname##_bits8( \ |
340 | | const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, \ |
341 | | int ref_stride, const uint8_t *second_pred_ptr, const uint8_t *m, \ |
342 | 0 | int m_stride, int invert_mask) { \ |
343 | 0 | return fnname(src_ptr, source_stride, ref_ptr, ref_stride, \ |
344 | 0 | second_pred_ptr, m, m_stride, invert_mask); \ |
345 | 0 | } \ Unexecuted instantiation: encoder.c:aom_highbd_masked_sad128x128_bits8 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad128x64_bits8 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad64x128_bits8 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad64x64_bits8 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad64x32_bits8 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad32x64_bits8 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad32x32_bits8 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad32x16_bits8 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad16x32_bits8 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad16x16_bits8 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad8x16_bits8 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad16x8_bits8 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad8x8_bits8 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad4x8_bits8 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad8x4_bits8 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad4x4_bits8 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad64x16_bits8 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad16x64_bits8 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad32x8_bits8 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad8x32_bits8 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad16x4_bits8 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad4x16_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad128x128_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad128x64_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad64x128_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad64x64_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad64x32_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad32x64_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad32x32_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad32x16_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad16x32_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad16x16_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad16x8_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad8x16_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad8x8_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad8x4_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad4x8_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad4x4_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad4x16_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad16x4_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad8x32_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad32x8_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad16x64_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad64x16_bits8 |
346 | | static unsigned int fnname##_bits10( \ |
347 | | const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, \ |
348 | | int ref_stride, const uint8_t *second_pred_ptr, const uint8_t *m, \ |
349 | 0 | int m_stride, int invert_mask) { \ |
350 | 0 | return fnname(src_ptr, source_stride, ref_ptr, ref_stride, \ |
351 | 0 | second_pred_ptr, m, m_stride, invert_mask) >> \ |
352 | 0 | 2; \ |
353 | 0 | } \ Unexecuted instantiation: encoder.c:aom_highbd_masked_sad128x128_bits10 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad128x64_bits10 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad64x128_bits10 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad64x64_bits10 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad64x32_bits10 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad32x64_bits10 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad32x32_bits10 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad32x16_bits10 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad16x32_bits10 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad16x16_bits10 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad8x16_bits10 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad16x8_bits10 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad8x8_bits10 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad4x8_bits10 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad8x4_bits10 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad4x4_bits10 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad64x16_bits10 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad16x64_bits10 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad32x8_bits10 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad8x32_bits10 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad16x4_bits10 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad4x16_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad128x128_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad128x64_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad64x128_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad64x64_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad64x32_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad32x64_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad32x32_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad32x16_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad16x32_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad16x16_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad16x8_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad8x16_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad8x8_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad8x4_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad4x8_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad4x4_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad4x16_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad16x4_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad8x32_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad32x8_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad16x64_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad64x16_bits10 |
354 | | static unsigned int fnname##_bits12( \ |
355 | | const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, \ |
356 | | int ref_stride, const uint8_t *second_pred_ptr, const uint8_t *m, \ |
357 | 0 | int m_stride, int invert_mask) { \ |
358 | 0 | return fnname(src_ptr, source_stride, ref_ptr, ref_stride, \ |
359 | 0 | second_pred_ptr, m, m_stride, invert_mask) >> \ |
360 | 0 | 4; \ |
361 | 0 | } Unexecuted instantiation: encoder.c:aom_highbd_masked_sad128x128_bits12 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad128x64_bits12 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad64x128_bits12 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad64x64_bits12 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad64x32_bits12 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad32x64_bits12 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad32x32_bits12 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad32x16_bits12 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad16x32_bits12 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad16x16_bits12 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad8x16_bits12 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad16x8_bits12 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad8x8_bits12 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad4x8_bits12 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad8x4_bits12 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad4x4_bits12 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad64x16_bits12 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad16x64_bits12 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad32x8_bits12 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad8x32_bits12 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad16x4_bits12 Unexecuted instantiation: encoder.c:aom_highbd_masked_sad4x16_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad128x128_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad128x64_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad64x128_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad64x64_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad64x32_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad32x64_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad32x32_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad32x16_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad16x32_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad16x16_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad16x8_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad8x16_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad8x8_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad8x4_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad4x8_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad4x4_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad4x16_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad16x4_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad8x32_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad32x8_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad16x64_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_masked_sad64x16_bits12 |
362 | | |
363 | | #if CONFIG_AV1_HIGHBITDEPTH |
364 | | MAKE_MBFP_COMPOUND_SAD_WRAPPER(aom_highbd_masked_sad128x128) |
365 | | MAKE_MBFP_COMPOUND_SAD_WRAPPER(aom_highbd_masked_sad128x64) |
366 | | MAKE_MBFP_COMPOUND_SAD_WRAPPER(aom_highbd_masked_sad64x128) |
367 | | MAKE_MBFP_COMPOUND_SAD_WRAPPER(aom_highbd_masked_sad64x64) |
368 | | MAKE_MBFP_COMPOUND_SAD_WRAPPER(aom_highbd_masked_sad64x32) |
369 | | MAKE_MBFP_COMPOUND_SAD_WRAPPER(aom_highbd_masked_sad32x64) |
370 | | MAKE_MBFP_COMPOUND_SAD_WRAPPER(aom_highbd_masked_sad32x32) |
371 | | MAKE_MBFP_COMPOUND_SAD_WRAPPER(aom_highbd_masked_sad32x16) |
372 | | MAKE_MBFP_COMPOUND_SAD_WRAPPER(aom_highbd_masked_sad16x32) |
373 | | MAKE_MBFP_COMPOUND_SAD_WRAPPER(aom_highbd_masked_sad16x16) |
374 | | MAKE_MBFP_COMPOUND_SAD_WRAPPER(aom_highbd_masked_sad16x8) |
375 | | MAKE_MBFP_COMPOUND_SAD_WRAPPER(aom_highbd_masked_sad8x16) |
376 | | MAKE_MBFP_COMPOUND_SAD_WRAPPER(aom_highbd_masked_sad8x8) |
377 | | MAKE_MBFP_COMPOUND_SAD_WRAPPER(aom_highbd_masked_sad8x4) |
378 | | MAKE_MBFP_COMPOUND_SAD_WRAPPER(aom_highbd_masked_sad4x8) |
379 | | MAKE_MBFP_COMPOUND_SAD_WRAPPER(aom_highbd_masked_sad4x4) |
380 | | #if !CONFIG_REALTIME_ONLY |
381 | | MAKE_MBFP_COMPOUND_SAD_WRAPPER(aom_highbd_masked_sad4x16) |
382 | | MAKE_MBFP_COMPOUND_SAD_WRAPPER(aom_highbd_masked_sad16x4) |
383 | | MAKE_MBFP_COMPOUND_SAD_WRAPPER(aom_highbd_masked_sad8x32) |
384 | | MAKE_MBFP_COMPOUND_SAD_WRAPPER(aom_highbd_masked_sad32x8) |
385 | | MAKE_MBFP_COMPOUND_SAD_WRAPPER(aom_highbd_masked_sad16x64) |
386 | | MAKE_MBFP_COMPOUND_SAD_WRAPPER(aom_highbd_masked_sad64x16) |
387 | | #endif |
388 | | #endif |
389 | | |
390 | | #define HIGHBD_SDSFP(BT, SDSF, SDSX4DF) \ |
391 | 0 | ppi->fn_ptr[BT].sdsf = SDSF; \ |
392 | 0 | ppi->fn_ptr[BT].sdsx4df = SDSX4DF; |
393 | | |
394 | | #define HIGHBD_SDSFP_WRAPPER(WIDTH, HEIGHT, BD) \ |
395 | 0 | HIGHBD_SDSFP(BLOCK_##WIDTH##X##HEIGHT, \ |
396 | 0 | aom_highbd_sad_skip_##WIDTH##x##HEIGHT##_bits##BD, \ |
397 | 0 | aom_highbd_sad_skip_##WIDTH##x##HEIGHT##x4d##_bits##BD) |
398 | | |
399 | | #define MAKE_SDSF_SKIP_SAD_WRAPPER(fnname) \ |
400 | | static unsigned int fnname##_bits8(const uint8_t *src, int src_stride, \ |
401 | 0 | const uint8_t *ref, int ref_stride) { \ |
402 | 0 | return fnname(src, src_stride, ref, ref_stride); \ |
403 | 0 | } \ Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_128x128_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_128x64_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_64x128_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_64x64_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_64x32_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_32x64_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_32x32_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_32x16_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_16x32_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_16x16_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_16x8_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_8x16_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_8x8_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_4x8_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_64x16_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_32x8_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_16x64_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_8x32_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_4x16_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_128x128_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_128x64_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_64x128_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_64x64_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_64x32_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_32x64_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_32x32_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_32x16_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_16x32_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_16x16_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_16x8_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_8x16_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_8x8_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_4x8_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_64x16_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_32x8_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_16x64_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_4x16_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_8x32_bits8 |
404 | | static unsigned int fnname##_bits10(const uint8_t *src, int src_stride, \ |
405 | 0 | const uint8_t *ref, int ref_stride) { \ |
406 | 0 | return fnname(src, src_stride, ref, ref_stride) >> 2; \ |
407 | 0 | } \ Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_128x128_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_128x64_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_64x128_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_64x64_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_64x32_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_32x64_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_32x32_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_32x16_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_16x32_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_16x16_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_16x8_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_8x16_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_8x8_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_4x8_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_64x16_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_32x8_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_16x64_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_8x32_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_4x16_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_128x128_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_128x64_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_64x128_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_64x64_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_64x32_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_32x64_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_32x32_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_32x16_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_16x32_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_16x16_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_16x8_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_8x16_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_8x8_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_4x8_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_64x16_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_32x8_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_16x64_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_4x16_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_8x32_bits10 |
408 | | static unsigned int fnname##_bits12(const uint8_t *src, int src_stride, \ |
409 | 0 | const uint8_t *ref, int ref_stride) { \ |
410 | 0 | return fnname(src, src_stride, ref, ref_stride) >> 4; \ |
411 | 0 | } Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_128x128_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_128x64_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_64x128_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_64x64_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_64x32_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_32x64_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_32x32_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_32x16_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_16x32_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_16x16_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_16x8_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_8x16_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_8x8_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_4x8_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_64x16_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_32x8_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_16x64_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_8x32_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_4x16_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_128x128_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_128x64_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_64x128_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_64x64_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_64x32_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_32x64_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_32x32_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_32x16_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_16x32_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_16x16_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_16x8_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_8x16_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_8x8_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_4x8_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_64x16_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_32x8_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_16x64_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_4x16_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_8x32_bits12 |
412 | | |
413 | | #define MAKE_SDSF_SKIP_SAD_4D_WRAPPER(fnname) \ |
414 | | static void fnname##_bits8(const uint8_t *src_ptr, int source_stride, \ |
415 | | const uint8_t *const ref_ptr[], int ref_stride, \ |
416 | 0 | unsigned int *sad_array) { \ |
417 | 0 | fnname(src_ptr, source_stride, ref_ptr, ref_stride, sad_array); \ |
418 | 0 | } \ Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_128x128x4d_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_128x64x4d_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_64x128x4d_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_64x64x4d_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_64x32x4d_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_32x64x4d_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_32x32x4d_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_32x16x4d_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_16x32x4d_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_16x16x4d_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_16x8x4d_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_8x16x4d_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_8x8x4d_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_4x8x4d_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_64x16x4d_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_32x8x4d_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_16x64x4d_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_8x32x4d_bits8 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_4x16x4d_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_128x128x4d_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_128x64x4d_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_64x128x4d_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_64x64x4d_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_64x32x4d_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_32x64x4d_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_32x32x4d_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_32x16x4d_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_16x32x4d_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_16x16x4d_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_16x8x4d_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_8x16x4d_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_8x8x4d_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_4x8x4d_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_64x16x4d_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_32x8x4d_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_16x64x4d_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_4x16x4d_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_8x32x4d_bits8 |
419 | | static void fnname##_bits10(const uint8_t *src_ptr, int source_stride, \ |
420 | | const uint8_t *const ref_ptr[], int ref_stride, \ |
421 | 0 | unsigned int *sad_array) { \ |
422 | 0 | int i; \ |
423 | 0 | fnname(src_ptr, source_stride, ref_ptr, ref_stride, sad_array); \ |
424 | 0 | for (i = 0; i < 4; i++) sad_array[i] >>= 2; \ |
425 | 0 | } \ Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_128x128x4d_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_128x64x4d_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_64x128x4d_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_64x64x4d_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_64x32x4d_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_32x64x4d_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_32x32x4d_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_32x16x4d_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_16x32x4d_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_16x16x4d_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_16x8x4d_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_8x16x4d_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_8x8x4d_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_4x8x4d_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_64x16x4d_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_32x8x4d_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_16x64x4d_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_8x32x4d_bits10 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_4x16x4d_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_128x128x4d_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_128x64x4d_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_64x128x4d_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_64x64x4d_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_64x32x4d_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_32x64x4d_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_32x32x4d_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_32x16x4d_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_16x32x4d_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_16x16x4d_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_16x8x4d_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_8x16x4d_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_8x8x4d_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_4x8x4d_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_64x16x4d_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_32x8x4d_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_16x64x4d_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_4x16x4d_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_8x32x4d_bits10 |
426 | | static void fnname##_bits12(const uint8_t *src_ptr, int source_stride, \ |
427 | | const uint8_t *const ref_ptr[], int ref_stride, \ |
428 | 0 | unsigned int *sad_array) { \ |
429 | 0 | int i; \ |
430 | 0 | fnname(src_ptr, source_stride, ref_ptr, ref_stride, sad_array); \ |
431 | 0 | for (i = 0; i < 4; i++) sad_array[i] >>= 4; \ |
432 | 0 | } Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_128x128x4d_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_128x64x4d_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_64x128x4d_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_64x64x4d_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_64x32x4d_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_32x64x4d_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_32x32x4d_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_32x16x4d_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_16x32x4d_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_16x16x4d_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_16x8x4d_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_8x16x4d_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_8x8x4d_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_4x8x4d_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_64x16x4d_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_32x8x4d_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_16x64x4d_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_8x32x4d_bits12 Unexecuted instantiation: encoder.c:aom_highbd_sad_skip_4x16x4d_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_128x128x4d_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_128x64x4d_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_64x128x4d_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_64x64x4d_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_64x32x4d_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_32x64x4d_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_32x32x4d_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_32x16x4d_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_16x32x4d_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_16x16x4d_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_16x8x4d_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_8x16x4d_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_8x8x4d_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_4x8x4d_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_64x16x4d_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_32x8x4d_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_16x64x4d_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_4x16x4d_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_sad_skip_8x32x4d_bits12 |
433 | | |
434 | | #if CONFIG_AV1_HIGHBITDEPTH |
435 | | MAKE_SDSF_SKIP_SAD_WRAPPER(aom_highbd_sad_skip_128x128) |
436 | | MAKE_SDSF_SKIP_SAD_WRAPPER(aom_highbd_sad_skip_128x64) |
437 | | MAKE_SDSF_SKIP_SAD_WRAPPER(aom_highbd_sad_skip_64x128) |
438 | | MAKE_SDSF_SKIP_SAD_WRAPPER(aom_highbd_sad_skip_64x64) |
439 | | MAKE_SDSF_SKIP_SAD_WRAPPER(aom_highbd_sad_skip_64x32) |
440 | | MAKE_SDSF_SKIP_SAD_WRAPPER(aom_highbd_sad_skip_32x64) |
441 | | MAKE_SDSF_SKIP_SAD_WRAPPER(aom_highbd_sad_skip_32x32) |
442 | | MAKE_SDSF_SKIP_SAD_WRAPPER(aom_highbd_sad_skip_32x16) |
443 | | MAKE_SDSF_SKIP_SAD_WRAPPER(aom_highbd_sad_skip_16x32) |
444 | | MAKE_SDSF_SKIP_SAD_WRAPPER(aom_highbd_sad_skip_16x16) |
445 | | MAKE_SDSF_SKIP_SAD_WRAPPER(aom_highbd_sad_skip_16x8) |
446 | | MAKE_SDSF_SKIP_SAD_WRAPPER(aom_highbd_sad_skip_8x16) |
447 | | MAKE_SDSF_SKIP_SAD_WRAPPER(aom_highbd_sad_skip_8x8) |
448 | | MAKE_SDSF_SKIP_SAD_WRAPPER(aom_highbd_sad_skip_4x8) |
449 | | |
450 | | #if !CONFIG_REALTIME_ONLY |
451 | | MAKE_SDSF_SKIP_SAD_WRAPPER(aom_highbd_sad_skip_64x16) |
452 | | MAKE_SDSF_SKIP_SAD_WRAPPER(aom_highbd_sad_skip_32x8) |
453 | | MAKE_SDSF_SKIP_SAD_WRAPPER(aom_highbd_sad_skip_16x64) |
454 | | MAKE_SDSF_SKIP_SAD_WRAPPER(aom_highbd_sad_skip_4x16) |
455 | | MAKE_SDSF_SKIP_SAD_WRAPPER(aom_highbd_sad_skip_8x32) |
456 | | #endif |
457 | | |
458 | | MAKE_SDSF_SKIP_SAD_4D_WRAPPER(aom_highbd_sad_skip_128x128x4d) |
459 | | MAKE_SDSF_SKIP_SAD_4D_WRAPPER(aom_highbd_sad_skip_128x64x4d) |
460 | | MAKE_SDSF_SKIP_SAD_4D_WRAPPER(aom_highbd_sad_skip_64x128x4d) |
461 | | MAKE_SDSF_SKIP_SAD_4D_WRAPPER(aom_highbd_sad_skip_64x64x4d) |
462 | | MAKE_SDSF_SKIP_SAD_4D_WRAPPER(aom_highbd_sad_skip_64x32x4d) |
463 | | MAKE_SDSF_SKIP_SAD_4D_WRAPPER(aom_highbd_sad_skip_32x64x4d) |
464 | | MAKE_SDSF_SKIP_SAD_4D_WRAPPER(aom_highbd_sad_skip_32x32x4d) |
465 | | MAKE_SDSF_SKIP_SAD_4D_WRAPPER(aom_highbd_sad_skip_32x16x4d) |
466 | | MAKE_SDSF_SKIP_SAD_4D_WRAPPER(aom_highbd_sad_skip_16x32x4d) |
467 | | MAKE_SDSF_SKIP_SAD_4D_WRAPPER(aom_highbd_sad_skip_16x16x4d) |
468 | | MAKE_SDSF_SKIP_SAD_4D_WRAPPER(aom_highbd_sad_skip_16x8x4d) |
469 | | MAKE_SDSF_SKIP_SAD_4D_WRAPPER(aom_highbd_sad_skip_8x16x4d) |
470 | | MAKE_SDSF_SKIP_SAD_4D_WRAPPER(aom_highbd_sad_skip_8x8x4d) |
471 | | MAKE_SDSF_SKIP_SAD_4D_WRAPPER(aom_highbd_sad_skip_4x8x4d) |
472 | | |
473 | | #if !CONFIG_REALTIME_ONLY |
474 | | MAKE_SDSF_SKIP_SAD_4D_WRAPPER(aom_highbd_sad_skip_64x16x4d) |
475 | | MAKE_SDSF_SKIP_SAD_4D_WRAPPER(aom_highbd_sad_skip_32x8x4d) |
476 | | MAKE_SDSF_SKIP_SAD_4D_WRAPPER(aom_highbd_sad_skip_16x64x4d) |
477 | | MAKE_SDSF_SKIP_SAD_4D_WRAPPER(aom_highbd_sad_skip_4x16x4d) |
478 | | MAKE_SDSF_SKIP_SAD_4D_WRAPPER(aom_highbd_sad_skip_8x32x4d) |
479 | | #endif |
480 | | #endif |
481 | | |
482 | | #if !CONFIG_REALTIME_ONLY |
483 | | |
484 | | #if CONFIG_AV1_HIGHBITDEPTH |
485 | | #define HIGHBD_OBFP_WRAPPER_8(WIDTH, HEIGHT) \ |
486 | 0 | HIGHBD_OBFP(BLOCK_##WIDTH##X##HEIGHT, \ |
487 | 0 | aom_highbd_obmc_sad##WIDTH##x##HEIGHT##_bits8, \ |
488 | 0 | aom_highbd_obmc_variance##WIDTH##x##HEIGHT, \ |
489 | 0 | aom_highbd_obmc_sub_pixel_variance##WIDTH##x##HEIGHT) |
490 | | |
491 | | #define HIGHBD_OBFP(BT, OSDF, OVF, OSVF) \ |
492 | 0 | ppi->fn_ptr[BT].osdf = OSDF; \ |
493 | 0 | ppi->fn_ptr[BT].ovf = OVF; \ |
494 | 0 | ppi->fn_ptr[BT].osvf = OSVF; |
495 | | |
496 | | #define HIGHBD_OBFP_WRAPPER(WIDTH, HEIGHT, BD) \ |
497 | 0 | HIGHBD_OBFP(BLOCK_##WIDTH##X##HEIGHT, \ |
498 | 0 | aom_highbd_obmc_sad##WIDTH##x##HEIGHT##_bits##BD, \ |
499 | 0 | aom_highbd_##BD##_obmc_variance##WIDTH##x##HEIGHT, \ |
500 | 0 | aom_highbd_##BD##_obmc_sub_pixel_variance##WIDTH##x##HEIGHT) |
501 | | |
502 | | #define MAKE_OBFP_SAD_WRAPPER(fnname) \ |
503 | | static unsigned int fnname##_bits8(const uint8_t *ref, int ref_stride, \ |
504 | | const int32_t *wsrc, \ |
505 | 0 | const int32_t *msk) { \ |
506 | 0 | return fnname(ref, ref_stride, wsrc, msk); \ |
507 | 0 | } \ Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad128x128_bits8 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad128x64_bits8 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad64x128_bits8 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad64x64_bits8 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad64x32_bits8 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad32x64_bits8 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad32x32_bits8 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad32x16_bits8 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad16x32_bits8 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad16x16_bits8 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad8x16_bits8 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad16x8_bits8 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad8x8_bits8 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad4x8_bits8 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad8x4_bits8 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad4x4_bits8 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad64x16_bits8 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad16x64_bits8 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad32x8_bits8 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad8x32_bits8 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad16x4_bits8 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad4x16_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad128x128_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad128x64_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad64x128_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad64x64_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad64x32_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad32x64_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad32x32_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad32x16_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad16x32_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad16x16_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad16x8_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad8x16_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad8x8_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad8x4_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad4x8_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad4x4_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad4x16_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad16x4_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad8x32_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad32x8_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad16x64_bits8 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad64x16_bits8 |
508 | | static unsigned int fnname##_bits10(const uint8_t *ref, int ref_stride, \ |
509 | | const int32_t *wsrc, \ |
510 | 0 | const int32_t *msk) { \ |
511 | 0 | return fnname(ref, ref_stride, wsrc, msk) >> 2; \ |
512 | 0 | } \ Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad128x128_bits10 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad128x64_bits10 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad64x128_bits10 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad64x64_bits10 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad64x32_bits10 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad32x64_bits10 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad32x32_bits10 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad32x16_bits10 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad16x32_bits10 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad16x16_bits10 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad8x16_bits10 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad16x8_bits10 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad8x8_bits10 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad4x8_bits10 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad8x4_bits10 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad4x4_bits10 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad64x16_bits10 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad16x64_bits10 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad32x8_bits10 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad8x32_bits10 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad16x4_bits10 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad4x16_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad128x128_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad128x64_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad64x128_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad64x64_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad64x32_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad32x64_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad32x32_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad32x16_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad16x32_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad16x16_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad16x8_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad8x16_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad8x8_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad8x4_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad4x8_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad4x4_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad4x16_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad16x4_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad8x32_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad32x8_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad16x64_bits10 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad64x16_bits10 |
513 | | static unsigned int fnname##_bits12(const uint8_t *ref, int ref_stride, \ |
514 | | const int32_t *wsrc, \ |
515 | 0 | const int32_t *msk) { \ |
516 | 0 | return fnname(ref, ref_stride, wsrc, msk) >> 4; \ |
517 | 0 | } Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad128x128_bits12 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad128x64_bits12 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad64x128_bits12 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad64x64_bits12 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad64x32_bits12 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad32x64_bits12 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad32x32_bits12 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad32x16_bits12 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad16x32_bits12 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad16x16_bits12 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad8x16_bits12 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad16x8_bits12 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad8x8_bits12 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad4x8_bits12 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad8x4_bits12 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad4x4_bits12 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad64x16_bits12 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad16x64_bits12 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad32x8_bits12 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad8x32_bits12 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad16x4_bits12 Unexecuted instantiation: encoder.c:aom_highbd_obmc_sad4x16_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad128x128_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad128x64_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad64x128_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad64x64_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad64x32_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad32x64_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad32x32_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad32x16_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad16x32_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad16x16_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad16x8_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad8x16_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad8x8_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad8x4_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad4x8_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad4x4_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad4x16_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad16x4_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad8x32_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad32x8_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad16x64_bits12 Unexecuted instantiation: encoder_utils.c:aom_highbd_obmc_sad64x16_bits12 |
518 | | #endif // CONFIG_AV1_HIGHBITDEPTH |
519 | | #endif // !CONFIG_REALTIME_ONLY |
520 | | |
521 | | #if CONFIG_AV1_HIGHBITDEPTH |
522 | | #if !CONFIG_REALTIME_ONLY |
523 | | MAKE_OBFP_SAD_WRAPPER(aom_highbd_obmc_sad128x128) |
524 | | MAKE_OBFP_SAD_WRAPPER(aom_highbd_obmc_sad128x64) |
525 | | MAKE_OBFP_SAD_WRAPPER(aom_highbd_obmc_sad64x128) |
526 | | MAKE_OBFP_SAD_WRAPPER(aom_highbd_obmc_sad64x64) |
527 | | MAKE_OBFP_SAD_WRAPPER(aom_highbd_obmc_sad64x32) |
528 | | MAKE_OBFP_SAD_WRAPPER(aom_highbd_obmc_sad32x64) |
529 | | MAKE_OBFP_SAD_WRAPPER(aom_highbd_obmc_sad32x32) |
530 | | MAKE_OBFP_SAD_WRAPPER(aom_highbd_obmc_sad32x16) |
531 | | MAKE_OBFP_SAD_WRAPPER(aom_highbd_obmc_sad16x32) |
532 | | MAKE_OBFP_SAD_WRAPPER(aom_highbd_obmc_sad16x16) |
533 | | MAKE_OBFP_SAD_WRAPPER(aom_highbd_obmc_sad16x8) |
534 | | MAKE_OBFP_SAD_WRAPPER(aom_highbd_obmc_sad8x16) |
535 | | MAKE_OBFP_SAD_WRAPPER(aom_highbd_obmc_sad8x8) |
536 | | MAKE_OBFP_SAD_WRAPPER(aom_highbd_obmc_sad8x4) |
537 | | MAKE_OBFP_SAD_WRAPPER(aom_highbd_obmc_sad4x8) |
538 | | MAKE_OBFP_SAD_WRAPPER(aom_highbd_obmc_sad4x4) |
539 | | MAKE_OBFP_SAD_WRAPPER(aom_highbd_obmc_sad4x16) |
540 | | MAKE_OBFP_SAD_WRAPPER(aom_highbd_obmc_sad16x4) |
541 | | MAKE_OBFP_SAD_WRAPPER(aom_highbd_obmc_sad8x32) |
542 | | MAKE_OBFP_SAD_WRAPPER(aom_highbd_obmc_sad32x8) |
543 | | MAKE_OBFP_SAD_WRAPPER(aom_highbd_obmc_sad16x64) |
544 | | MAKE_OBFP_SAD_WRAPPER(aom_highbd_obmc_sad64x16) |
545 | | #endif |
546 | | |
547 | 0 | static AOM_INLINE void highbd_set_var_fns(AV1_PRIMARY *const ppi) { |
548 | 0 | SequenceHeader *const seq_params = &ppi->seq_params; |
549 | 0 | if (seq_params->use_highbitdepth) { |
550 | 0 | switch (seq_params->bit_depth) { |
551 | 0 | case AOM_BITS_8: |
552 | 0 | #if !CONFIG_REALTIME_ONLY |
553 | 0 | HIGHBD_BFP_WRAPPER(64, 16, 8) |
554 | 0 | HIGHBD_BFP_WRAPPER(16, 64, 8) |
555 | 0 | HIGHBD_BFP_WRAPPER(32, 8, 8) |
556 | 0 | HIGHBD_BFP_WRAPPER(8, 32, 8) |
557 | 0 | HIGHBD_BFP_WRAPPER(16, 4, 8) |
558 | 0 | HIGHBD_BFP_WRAPPER(4, 16, 8) |
559 | 0 | #endif |
560 | 0 | HIGHBD_BFP_WRAPPER(32, 16, 8) |
561 | 0 | HIGHBD_BFP_WRAPPER(16, 32, 8) |
562 | 0 | HIGHBD_BFP_WRAPPER(64, 32, 8) |
563 | 0 | HIGHBD_BFP_WRAPPER(32, 64, 8) |
564 | 0 | HIGHBD_BFP_WRAPPER(32, 32, 8) |
565 | 0 | HIGHBD_BFP_WRAPPER(64, 64, 8) |
566 | 0 | HIGHBD_BFP_WRAPPER(16, 16, 8) |
567 | 0 | HIGHBD_BFP_WRAPPER(16, 8, 8) |
568 | 0 | HIGHBD_BFP_WRAPPER(8, 16, 8) |
569 | 0 | HIGHBD_BFP_WRAPPER(8, 8, 8) |
570 | 0 | HIGHBD_BFP_WRAPPER(8, 4, 8) |
571 | 0 | HIGHBD_BFP_WRAPPER(4, 8, 8) |
572 | 0 | HIGHBD_BFP_WRAPPER(4, 4, 8) |
573 | 0 | HIGHBD_BFP_WRAPPER(128, 128, 8) |
574 | 0 | HIGHBD_BFP_WRAPPER(128, 64, 8) |
575 | 0 | HIGHBD_BFP_WRAPPER(64, 128, 8) |
576 | |
|
577 | 0 | HIGHBD_MBFP_WRAPPER(128, 128, 8) |
578 | 0 | HIGHBD_MBFP_WRAPPER(128, 64, 8) |
579 | 0 | HIGHBD_MBFP_WRAPPER(64, 128, 8) |
580 | 0 | HIGHBD_MBFP_WRAPPER(64, 64, 8) |
581 | 0 | HIGHBD_MBFP_WRAPPER(64, 32, 8) |
582 | 0 | HIGHBD_MBFP_WRAPPER(32, 64, 8) |
583 | 0 | HIGHBD_MBFP_WRAPPER(32, 32, 8) |
584 | 0 | HIGHBD_MBFP_WRAPPER(32, 16, 8) |
585 | 0 | HIGHBD_MBFP_WRAPPER(16, 32, 8) |
586 | 0 | HIGHBD_MBFP_WRAPPER(16, 16, 8) |
587 | 0 | HIGHBD_MBFP_WRAPPER(8, 16, 8) |
588 | 0 | HIGHBD_MBFP_WRAPPER(16, 8, 8) |
589 | 0 | HIGHBD_MBFP_WRAPPER(8, 8, 8) |
590 | 0 | HIGHBD_MBFP_WRAPPER(4, 8, 8) |
591 | 0 | HIGHBD_MBFP_WRAPPER(8, 4, 8) |
592 | 0 | HIGHBD_MBFP_WRAPPER(4, 4, 8) |
593 | 0 | #if !CONFIG_REALTIME_ONLY |
594 | 0 | HIGHBD_MBFP_WRAPPER(64, 16, 8) |
595 | 0 | HIGHBD_MBFP_WRAPPER(16, 64, 8) |
596 | 0 | HIGHBD_MBFP_WRAPPER(32, 8, 8) |
597 | 0 | HIGHBD_MBFP_WRAPPER(8, 32, 8) |
598 | 0 | HIGHBD_MBFP_WRAPPER(16, 4, 8) |
599 | 0 | HIGHBD_MBFP_WRAPPER(4, 16, 8) |
600 | 0 | #endif |
601 | | |
602 | | // OBMC excluded from realtime only build. |
603 | 0 | #if !CONFIG_REALTIME_ONLY |
604 | 0 | HIGHBD_OBFP_WRAPPER_8(128, 128) |
605 | 0 | HIGHBD_OBFP_WRAPPER_8(128, 64) |
606 | 0 | HIGHBD_OBFP_WRAPPER_8(64, 128) |
607 | 0 | HIGHBD_OBFP_WRAPPER_8(64, 64) |
608 | 0 | HIGHBD_OBFP_WRAPPER_8(64, 32) |
609 | 0 | HIGHBD_OBFP_WRAPPER_8(32, 64) |
610 | 0 | HIGHBD_OBFP_WRAPPER_8(32, 32) |
611 | 0 | HIGHBD_OBFP_WRAPPER_8(32, 16) |
612 | 0 | HIGHBD_OBFP_WRAPPER_8(16, 32) |
613 | 0 | HIGHBD_OBFP_WRAPPER_8(16, 16) |
614 | 0 | HIGHBD_OBFP_WRAPPER_8(8, 16) |
615 | 0 | HIGHBD_OBFP_WRAPPER_8(16, 8) |
616 | 0 | HIGHBD_OBFP_WRAPPER_8(8, 8) |
617 | 0 | HIGHBD_OBFP_WRAPPER_8(4, 8) |
618 | 0 | HIGHBD_OBFP_WRAPPER_8(8, 4) |
619 | 0 | HIGHBD_OBFP_WRAPPER_8(4, 4) |
620 | 0 | HIGHBD_OBFP_WRAPPER_8(64, 16) |
621 | 0 | HIGHBD_OBFP_WRAPPER_8(16, 64) |
622 | 0 | HIGHBD_OBFP_WRAPPER_8(32, 8) |
623 | 0 | HIGHBD_OBFP_WRAPPER_8(8, 32) |
624 | 0 | HIGHBD_OBFP_WRAPPER_8(16, 4) |
625 | 0 | HIGHBD_OBFP_WRAPPER_8(4, 16) |
626 | 0 | #endif |
627 | |
|
628 | 0 | HIGHBD_SDSFP_WRAPPER(128, 128, 8); |
629 | 0 | HIGHBD_SDSFP_WRAPPER(128, 64, 8); |
630 | 0 | HIGHBD_SDSFP_WRAPPER(64, 128, 8); |
631 | 0 | HIGHBD_SDSFP_WRAPPER(64, 64, 8); |
632 | 0 | HIGHBD_SDSFP_WRAPPER(64, 32, 8); |
633 | 0 | HIGHBD_SDSFP_WRAPPER(32, 64, 8); |
634 | 0 | HIGHBD_SDSFP_WRAPPER(32, 32, 8); |
635 | 0 | HIGHBD_SDSFP_WRAPPER(32, 16, 8); |
636 | 0 | HIGHBD_SDSFP_WRAPPER(16, 32, 8); |
637 | 0 | HIGHBD_SDSFP_WRAPPER(16, 16, 8); |
638 | 0 | HIGHBD_SDSFP_WRAPPER(16, 8, 8); |
639 | 0 | HIGHBD_SDSFP_WRAPPER(8, 16, 8); |
640 | 0 | HIGHBD_SDSFP_WRAPPER(8, 8, 8); |
641 | 0 | HIGHBD_SDSFP_WRAPPER(4, 8, 8); |
642 | 0 | #if !CONFIG_REALTIME_ONLY |
643 | 0 | HIGHBD_SDSFP_WRAPPER(64, 16, 8); |
644 | 0 | HIGHBD_SDSFP_WRAPPER(32, 8, 8); |
645 | 0 | HIGHBD_SDSFP_WRAPPER(16, 64, 8); |
646 | 0 | HIGHBD_SDSFP_WRAPPER(8, 32, 8); |
647 | 0 | HIGHBD_SDSFP_WRAPPER(4, 16, 8); |
648 | 0 | #endif |
649 | 0 | break; |
650 | | |
651 | 0 | case AOM_BITS_10: |
652 | 0 | #if !CONFIG_REALTIME_ONLY |
653 | 0 | HIGHBD_BFP_WRAPPER(64, 16, 10) |
654 | 0 | HIGHBD_BFP_WRAPPER(16, 64, 10) |
655 | 0 | HIGHBD_BFP_WRAPPER(32, 8, 10) |
656 | 0 | HIGHBD_BFP_WRAPPER(8, 32, 10) |
657 | 0 | HIGHBD_BFP_WRAPPER(16, 4, 10) |
658 | 0 | HIGHBD_BFP_WRAPPER(4, 16, 10) |
659 | 0 | #endif |
660 | 0 | HIGHBD_BFP_WRAPPER(32, 16, 10) |
661 | 0 | HIGHBD_BFP_WRAPPER(16, 32, 10) |
662 | 0 | HIGHBD_BFP_WRAPPER(64, 32, 10) |
663 | 0 | HIGHBD_BFP_WRAPPER(32, 64, 10) |
664 | 0 | HIGHBD_BFP_WRAPPER(32, 32, 10) |
665 | 0 | HIGHBD_BFP_WRAPPER(64, 64, 10) |
666 | 0 | HIGHBD_BFP_WRAPPER(16, 16, 10) |
667 | 0 | HIGHBD_BFP_WRAPPER(16, 8, 10) |
668 | 0 | HIGHBD_BFP_WRAPPER(8, 16, 10) |
669 | 0 | HIGHBD_BFP_WRAPPER(8, 8, 10) |
670 | 0 | HIGHBD_BFP_WRAPPER(8, 4, 10) |
671 | 0 | HIGHBD_BFP_WRAPPER(4, 8, 10) |
672 | 0 | HIGHBD_BFP_WRAPPER(4, 4, 10) |
673 | 0 | HIGHBD_BFP_WRAPPER(128, 128, 10) |
674 | 0 | HIGHBD_BFP_WRAPPER(128, 64, 10) |
675 | 0 | HIGHBD_BFP_WRAPPER(64, 128, 10) |
676 | |
|
677 | 0 | HIGHBD_MBFP_WRAPPER(128, 128, 10) |
678 | 0 | HIGHBD_MBFP_WRAPPER(128, 64, 10) |
679 | 0 | HIGHBD_MBFP_WRAPPER(64, 128, 10) |
680 | 0 | HIGHBD_MBFP_WRAPPER(64, 64, 10) |
681 | 0 | HIGHBD_MBFP_WRAPPER(64, 32, 10) |
682 | 0 | HIGHBD_MBFP_WRAPPER(32, 64, 10) |
683 | 0 | HIGHBD_MBFP_WRAPPER(32, 32, 10) |
684 | 0 | HIGHBD_MBFP_WRAPPER(32, 16, 10) |
685 | 0 | HIGHBD_MBFP_WRAPPER(16, 32, 10) |
686 | 0 | HIGHBD_MBFP_WRAPPER(16, 16, 10) |
687 | 0 | HIGHBD_MBFP_WRAPPER(8, 16, 10) |
688 | 0 | HIGHBD_MBFP_WRAPPER(16, 8, 10) |
689 | 0 | HIGHBD_MBFP_WRAPPER(8, 8, 10) |
690 | 0 | HIGHBD_MBFP_WRAPPER(4, 8, 10) |
691 | 0 | HIGHBD_MBFP_WRAPPER(8, 4, 10) |
692 | 0 | HIGHBD_MBFP_WRAPPER(4, 4, 10) |
693 | 0 | #if !CONFIG_REALTIME_ONLY |
694 | 0 | HIGHBD_MBFP_WRAPPER(64, 16, 10) |
695 | 0 | HIGHBD_MBFP_WRAPPER(16, 64, 10) |
696 | 0 | HIGHBD_MBFP_WRAPPER(32, 8, 10) |
697 | 0 | HIGHBD_MBFP_WRAPPER(8, 32, 10) |
698 | 0 | HIGHBD_MBFP_WRAPPER(16, 4, 10) |
699 | 0 | HIGHBD_MBFP_WRAPPER(4, 16, 10) |
700 | 0 | #endif |
701 | | |
702 | | // OBMC excluded from realtime only build. |
703 | 0 | #if !CONFIG_REALTIME_ONLY |
704 | 0 | HIGHBD_OBFP_WRAPPER(128, 128, 10) |
705 | 0 | HIGHBD_OBFP_WRAPPER(128, 64, 10) |
706 | 0 | HIGHBD_OBFP_WRAPPER(64, 128, 10) |
707 | 0 | HIGHBD_OBFP_WRAPPER(64, 64, 10) |
708 | 0 | HIGHBD_OBFP_WRAPPER(64, 32, 10) |
709 | 0 | HIGHBD_OBFP_WRAPPER(32, 64, 10) |
710 | 0 | HIGHBD_OBFP_WRAPPER(32, 32, 10) |
711 | 0 | HIGHBD_OBFP_WRAPPER(32, 16, 10) |
712 | 0 | HIGHBD_OBFP_WRAPPER(16, 32, 10) |
713 | 0 | HIGHBD_OBFP_WRAPPER(16, 16, 10) |
714 | 0 | HIGHBD_OBFP_WRAPPER(8, 16, 10) |
715 | 0 | HIGHBD_OBFP_WRAPPER(16, 8, 10) |
716 | 0 | HIGHBD_OBFP_WRAPPER(8, 8, 10) |
717 | 0 | HIGHBD_OBFP_WRAPPER(4, 8, 10) |
718 | 0 | HIGHBD_OBFP_WRAPPER(8, 4, 10) |
719 | 0 | HIGHBD_OBFP_WRAPPER(4, 4, 10) |
720 | 0 | HIGHBD_OBFP_WRAPPER(64, 16, 10) |
721 | 0 | HIGHBD_OBFP_WRAPPER(16, 64, 10) |
722 | 0 | HIGHBD_OBFP_WRAPPER(32, 8, 10) |
723 | 0 | HIGHBD_OBFP_WRAPPER(8, 32, 10) |
724 | 0 | HIGHBD_OBFP_WRAPPER(16, 4, 10) |
725 | 0 | HIGHBD_OBFP_WRAPPER(4, 16, 10) |
726 | 0 | #endif |
727 | |
|
728 | 0 | HIGHBD_SDSFP_WRAPPER(128, 128, 10); |
729 | 0 | HIGHBD_SDSFP_WRAPPER(128, 64, 10); |
730 | 0 | HIGHBD_SDSFP_WRAPPER(64, 128, 10); |
731 | 0 | HIGHBD_SDSFP_WRAPPER(64, 64, 10); |
732 | 0 | HIGHBD_SDSFP_WRAPPER(64, 32, 10); |
733 | 0 | HIGHBD_SDSFP_WRAPPER(32, 64, 10); |
734 | 0 | HIGHBD_SDSFP_WRAPPER(32, 32, 10); |
735 | 0 | HIGHBD_SDSFP_WRAPPER(32, 16, 10); |
736 | 0 | HIGHBD_SDSFP_WRAPPER(16, 32, 10); |
737 | 0 | HIGHBD_SDSFP_WRAPPER(16, 16, 10); |
738 | 0 | HIGHBD_SDSFP_WRAPPER(16, 8, 10); |
739 | 0 | HIGHBD_SDSFP_WRAPPER(8, 16, 10); |
740 | 0 | HIGHBD_SDSFP_WRAPPER(8, 8, 10); |
741 | 0 | HIGHBD_SDSFP_WRAPPER(4, 8, 10); |
742 | |
|
743 | 0 | #if !CONFIG_REALTIME_ONLY |
744 | 0 | HIGHBD_SDSFP_WRAPPER(64, 16, 10); |
745 | 0 | HIGHBD_SDSFP_WRAPPER(32, 8, 10); |
746 | 0 | HIGHBD_SDSFP_WRAPPER(16, 64, 10); |
747 | 0 | HIGHBD_SDSFP_WRAPPER(8, 32, 10); |
748 | 0 | HIGHBD_SDSFP_WRAPPER(4, 16, 10); |
749 | 0 | #endif |
750 | 0 | break; |
751 | | |
752 | 0 | case AOM_BITS_12: |
753 | 0 | #if !CONFIG_REALTIME_ONLY |
754 | 0 | HIGHBD_BFP_WRAPPER(64, 16, 12) |
755 | 0 | HIGHBD_BFP_WRAPPER(16, 64, 12) |
756 | 0 | HIGHBD_BFP_WRAPPER(32, 8, 12) |
757 | 0 | HIGHBD_BFP_WRAPPER(8, 32, 12) |
758 | 0 | HIGHBD_BFP_WRAPPER(16, 4, 12) |
759 | 0 | HIGHBD_BFP_WRAPPER(4, 16, 12) |
760 | 0 | #endif |
761 | 0 | HIGHBD_BFP_WRAPPER(32, 16, 12) |
762 | 0 | HIGHBD_BFP_WRAPPER(16, 32, 12) |
763 | 0 | HIGHBD_BFP_WRAPPER(64, 32, 12) |
764 | 0 | HIGHBD_BFP_WRAPPER(32, 64, 12) |
765 | 0 | HIGHBD_BFP_WRAPPER(32, 32, 12) |
766 | 0 | HIGHBD_BFP_WRAPPER(64, 64, 12) |
767 | 0 | HIGHBD_BFP_WRAPPER(16, 16, 12) |
768 | 0 | HIGHBD_BFP_WRAPPER(16, 8, 12) |
769 | 0 | HIGHBD_BFP_WRAPPER(8, 16, 12) |
770 | 0 | HIGHBD_BFP_WRAPPER(8, 8, 12) |
771 | 0 | HIGHBD_BFP_WRAPPER(8, 4, 12) |
772 | 0 | HIGHBD_BFP_WRAPPER(4, 8, 12) |
773 | 0 | HIGHBD_BFP_WRAPPER(4, 4, 12) |
774 | 0 | HIGHBD_BFP_WRAPPER(128, 128, 12) |
775 | 0 | HIGHBD_BFP_WRAPPER(128, 64, 12) |
776 | 0 | HIGHBD_BFP_WRAPPER(64, 128, 12) |
777 | |
|
778 | 0 | HIGHBD_MBFP_WRAPPER(128, 128, 12) |
779 | 0 | HIGHBD_MBFP_WRAPPER(128, 64, 12) |
780 | 0 | HIGHBD_MBFP_WRAPPER(64, 128, 12) |
781 | 0 | HIGHBD_MBFP_WRAPPER(64, 64, 12) |
782 | 0 | HIGHBD_MBFP_WRAPPER(64, 32, 12) |
783 | 0 | HIGHBD_MBFP_WRAPPER(32, 64, 12) |
784 | 0 | HIGHBD_MBFP_WRAPPER(32, 32, 12) |
785 | 0 | HIGHBD_MBFP_WRAPPER(32, 16, 12) |
786 | 0 | HIGHBD_MBFP_WRAPPER(16, 32, 12) |
787 | 0 | HIGHBD_MBFP_WRAPPER(16, 16, 12) |
788 | 0 | HIGHBD_MBFP_WRAPPER(8, 16, 12) |
789 | 0 | HIGHBD_MBFP_WRAPPER(16, 8, 12) |
790 | 0 | HIGHBD_MBFP_WRAPPER(8, 8, 12) |
791 | 0 | HIGHBD_MBFP_WRAPPER(4, 8, 12) |
792 | 0 | HIGHBD_MBFP_WRAPPER(8, 4, 12) |
793 | 0 | HIGHBD_MBFP_WRAPPER(4, 4, 12) |
794 | 0 | #if !CONFIG_REALTIME_ONLY |
795 | 0 | HIGHBD_MBFP_WRAPPER(64, 16, 12) |
796 | 0 | HIGHBD_MBFP_WRAPPER(16, 64, 12) |
797 | 0 | HIGHBD_MBFP_WRAPPER(32, 8, 12) |
798 | 0 | HIGHBD_MBFP_WRAPPER(8, 32, 12) |
799 | 0 | HIGHBD_MBFP_WRAPPER(16, 4, 12) |
800 | 0 | HIGHBD_MBFP_WRAPPER(4, 16, 12) |
801 | 0 | #endif |
802 | | |
803 | | // OBMC excluded from realtime only build. |
804 | 0 | #if !CONFIG_REALTIME_ONLY |
805 | 0 | HIGHBD_OBFP_WRAPPER(128, 128, 12) |
806 | 0 | HIGHBD_OBFP_WRAPPER(128, 64, 12) |
807 | 0 | HIGHBD_OBFP_WRAPPER(64, 128, 12) |
808 | 0 | HIGHBD_OBFP_WRAPPER(64, 64, 12) |
809 | 0 | HIGHBD_OBFP_WRAPPER(64, 32, 12) |
810 | 0 | HIGHBD_OBFP_WRAPPER(32, 64, 12) |
811 | 0 | HIGHBD_OBFP_WRAPPER(32, 32, 12) |
812 | 0 | HIGHBD_OBFP_WRAPPER(32, 16, 12) |
813 | 0 | HIGHBD_OBFP_WRAPPER(16, 32, 12) |
814 | 0 | HIGHBD_OBFP_WRAPPER(16, 16, 12) |
815 | 0 | HIGHBD_OBFP_WRAPPER(8, 16, 12) |
816 | 0 | HIGHBD_OBFP_WRAPPER(16, 8, 12) |
817 | 0 | HIGHBD_OBFP_WRAPPER(8, 8, 12) |
818 | 0 | HIGHBD_OBFP_WRAPPER(4, 8, 12) |
819 | 0 | HIGHBD_OBFP_WRAPPER(8, 4, 12) |
820 | 0 | HIGHBD_OBFP_WRAPPER(4, 4, 12) |
821 | 0 | HIGHBD_OBFP_WRAPPER(64, 16, 12) |
822 | 0 | HIGHBD_OBFP_WRAPPER(16, 64, 12) |
823 | 0 | HIGHBD_OBFP_WRAPPER(32, 8, 12) |
824 | 0 | HIGHBD_OBFP_WRAPPER(8, 32, 12) |
825 | 0 | HIGHBD_OBFP_WRAPPER(16, 4, 12) |
826 | 0 | HIGHBD_OBFP_WRAPPER(4, 16, 12) |
827 | 0 | #endif |
828 | |
|
829 | 0 | HIGHBD_SDSFP_WRAPPER(128, 128, 12); |
830 | 0 | HIGHBD_SDSFP_WRAPPER(128, 64, 12); |
831 | 0 | HIGHBD_SDSFP_WRAPPER(64, 128, 12); |
832 | 0 | HIGHBD_SDSFP_WRAPPER(64, 64, 12); |
833 | 0 | HIGHBD_SDSFP_WRAPPER(64, 32, 12); |
834 | 0 | HIGHBD_SDSFP_WRAPPER(32, 64, 12); |
835 | 0 | HIGHBD_SDSFP_WRAPPER(32, 32, 12); |
836 | 0 | HIGHBD_SDSFP_WRAPPER(32, 16, 12); |
837 | 0 | HIGHBD_SDSFP_WRAPPER(16, 32, 12); |
838 | 0 | HIGHBD_SDSFP_WRAPPER(16, 16, 12); |
839 | 0 | HIGHBD_SDSFP_WRAPPER(16, 8, 12); |
840 | 0 | HIGHBD_SDSFP_WRAPPER(8, 16, 12); |
841 | 0 | HIGHBD_SDSFP_WRAPPER(8, 8, 12); |
842 | 0 | HIGHBD_SDSFP_WRAPPER(4, 8, 12); |
843 | |
|
844 | 0 | #if !CONFIG_REALTIME_ONLY |
845 | 0 | HIGHBD_SDSFP_WRAPPER(64, 16, 12); |
846 | 0 | HIGHBD_SDSFP_WRAPPER(32, 8, 12); |
847 | 0 | HIGHBD_SDSFP_WRAPPER(16, 64, 12); |
848 | 0 | HIGHBD_SDSFP_WRAPPER(8, 32, 12); |
849 | 0 | HIGHBD_SDSFP_WRAPPER(4, 16, 12); |
850 | 0 | #endif |
851 | 0 | break; |
852 | | |
853 | 0 | default: |
854 | 0 | assert(0 && |
855 | 0 | "cm->seq_params->bit_depth should be AOM_BITS_8, " |
856 | 0 | "AOM_BITS_10 or AOM_BITS_12"); |
857 | 0 | } |
858 | 0 | } |
859 | 0 | } Unexecuted instantiation: encoder.c:highbd_set_var_fns Unexecuted instantiation: encoder_utils.c:highbd_set_var_fns |
860 | | #endif // CONFIG_AV1_HIGHBITDEPTH |
861 | | |
862 | 0 | static AOM_INLINE void copy_frame_prob_info(AV1_COMP *cpi) { |
863 | 0 | FrameProbInfo *const frame_probs = &cpi->ppi->frame_probs; |
864 | 0 | if (cpi->sf.tx_sf.tx_type_search.prune_tx_type_using_stats) { |
865 | 0 | av1_copy(frame_probs->tx_type_probs, default_tx_type_probs); |
866 | 0 | } |
867 | 0 | if (cpi->sf.inter_sf.prune_obmc_prob_thresh > 0 && |
868 | 0 | cpi->sf.inter_sf.prune_obmc_prob_thresh < INT_MAX) { |
869 | 0 | av1_copy(frame_probs->obmc_probs, default_obmc_probs); |
870 | 0 | } |
871 | 0 | if (cpi->sf.inter_sf.prune_warped_prob_thresh > 0) { |
872 | 0 | av1_copy(frame_probs->warped_probs, default_warped_probs); |
873 | 0 | } |
874 | 0 | if (cpi->sf.interp_sf.adaptive_interp_filter_search == 2) { |
875 | 0 | av1_copy(frame_probs->switchable_interp_probs, |
876 | 0 | default_switchable_interp_probs); |
877 | 0 | } |
878 | |
|
879 | | #if CONFIG_FRAME_PARALLEL_ENCODE && CONFIG_FPMT_TEST |
880 | | if (cpi->ppi->fpmt_unit_test_cfg == PARALLEL_SIMULATION_ENCODE) { |
881 | | FrameProbInfo *const temp_frame_probs = &cpi->ppi->temp_frame_probs; |
882 | | if (cpi->sf.tx_sf.tx_type_search.prune_tx_type_using_stats) { |
883 | | av1_copy(temp_frame_probs->tx_type_probs, default_tx_type_probs); |
884 | | } |
885 | | if (cpi->sf.inter_sf.prune_obmc_prob_thresh > 0 && |
886 | | cpi->sf.inter_sf.prune_obmc_prob_thresh < INT_MAX) { |
887 | | av1_copy(temp_frame_probs->obmc_probs, default_obmc_probs); |
888 | | } |
889 | | if (cpi->sf.inter_sf.prune_warped_prob_thresh > 0) { |
890 | | av1_copy(temp_frame_probs->warped_probs, default_warped_probs); |
891 | | } |
892 | | if (cpi->sf.interp_sf.adaptive_interp_filter_search == 2) { |
893 | | av1_copy(temp_frame_probs->switchable_interp_probs, |
894 | | default_switchable_interp_probs); |
895 | | } |
896 | | |
897 | | FrameProbInfo *const temp_frame_probs_simulation = |
898 | | &cpi->ppi->temp_frame_probs_simulation; |
899 | | if (cpi->sf.tx_sf.tx_type_search.prune_tx_type_using_stats) { |
900 | | av1_copy(temp_frame_probs_simulation->tx_type_probs, |
901 | | default_tx_type_probs); |
902 | | } |
903 | | if (cpi->sf.inter_sf.prune_obmc_prob_thresh > 0 && |
904 | | cpi->sf.inter_sf.prune_obmc_prob_thresh < INT_MAX) { |
905 | | av1_copy(temp_frame_probs_simulation->obmc_probs, default_obmc_probs); |
906 | | } |
907 | | if (cpi->sf.inter_sf.prune_warped_prob_thresh > 0) { |
908 | | av1_copy(temp_frame_probs_simulation->warped_probs, default_warped_probs); |
909 | | } |
910 | | if (cpi->sf.interp_sf.adaptive_interp_filter_search == 2) { |
911 | | av1_copy(temp_frame_probs_simulation->switchable_interp_probs, |
912 | | default_switchable_interp_probs); |
913 | | } |
914 | | } |
915 | | #endif |
916 | 0 | } Unexecuted instantiation: encoder.c:copy_frame_prob_info Unexecuted instantiation: encoder_utils.c:copy_frame_prob_info |
917 | | |
918 | | static AOM_INLINE void restore_cdef_coding_context(CdefInfo *const dst, |
919 | 0 | const CdefInfo *const src) { |
920 | 0 | dst->cdef_bits = src->cdef_bits; |
921 | 0 | dst->cdef_damping = src->cdef_damping; |
922 | 0 | av1_copy(dst->cdef_strengths, src->cdef_strengths); |
923 | 0 | av1_copy(dst->cdef_uv_strengths, src->cdef_uv_strengths); |
924 | 0 | dst->nb_cdef_strengths = src->nb_cdef_strengths; |
925 | 0 | } Unexecuted instantiation: encoder.c:restore_cdef_coding_context Unexecuted instantiation: encoder_utils.c:restore_cdef_coding_context |
926 | | |
927 | | // Coding context that only needs to be restored when recode loop includes |
928 | | // filtering (deblocking, CDEF, superres post-encode upscale and/or loop |
929 | | // restoraton). |
930 | 0 | static AOM_INLINE void restore_extra_coding_context(AV1_COMP *cpi) { |
931 | 0 | CODING_CONTEXT *const cc = &cpi->coding_context; |
932 | 0 | AV1_COMMON *cm = &cpi->common; |
933 | 0 | cm->lf = cc->lf; |
934 | 0 | restore_cdef_coding_context(&cm->cdef_info, &cc->cdef_info); |
935 | 0 | cpi->rc = cc->rc; |
936 | 0 | cpi->ppi->mv_stats = cc->mv_stats; |
937 | 0 | } Unexecuted instantiation: encoder.c:restore_extra_coding_context Unexecuted instantiation: encoder_utils.c:restore_extra_coding_context |
938 | | |
939 | | static AOM_INLINE int equal_dimensions_and_border(const YV12_BUFFER_CONFIG *a, |
940 | 0 | const YV12_BUFFER_CONFIG *b) { |
941 | 0 | return a->y_height == b->y_height && a->y_width == b->y_width && |
942 | 0 | a->uv_height == b->uv_height && a->uv_width == b->uv_width && |
943 | 0 | a->y_stride == b->y_stride && a->uv_stride == b->uv_stride && |
944 | 0 | a->border == b->border && |
945 | 0 | (a->flags & YV12_FLAG_HIGHBITDEPTH) == |
946 | 0 | (b->flags & YV12_FLAG_HIGHBITDEPTH); |
947 | 0 | } Unexecuted instantiation: encoder.c:equal_dimensions_and_border Unexecuted instantiation: encoder_utils.c:equal_dimensions_and_border |
948 | | |
949 | | static AOM_INLINE int update_entropy(bool *ext_refresh_frame_context, |
950 | | bool *ext_refresh_frame_context_pending, |
951 | 0 | bool update) { |
952 | 0 | *ext_refresh_frame_context = update; |
953 | 0 | *ext_refresh_frame_context_pending = 1; |
954 | 0 | return 0; |
955 | 0 | } Unexecuted instantiation: encoder.c:update_entropy Unexecuted instantiation: encoder_utils.c:update_entropy |
956 | | |
957 | | #if !CONFIG_REALTIME_ONLY |
958 | | static AOM_INLINE int combine_prior_with_tpl_boost(double min_factor, |
959 | | double max_factor, |
960 | | int prior_boost, |
961 | | int tpl_boost, |
962 | 0 | int frames_to_key) { |
963 | 0 | double factor = sqrt((double)frames_to_key); |
964 | 0 | double range = max_factor - min_factor; |
965 | 0 | factor = AOMMIN(factor, max_factor); |
966 | 0 | factor = AOMMAX(factor, min_factor); |
967 | 0 | factor -= min_factor; |
968 | 0 | int boost = |
969 | 0 | (int)((factor * prior_boost + (range - factor) * tpl_boost) / range); |
970 | 0 | return boost; |
971 | 0 | } Unexecuted instantiation: encoder.c:combine_prior_with_tpl_boost Unexecuted instantiation: encoder_utils.c:combine_prior_with_tpl_boost |
972 | | #endif |
973 | | |
974 | 0 | static AOM_INLINE void set_size_independent_vars(AV1_COMP *cpi) { |
975 | 0 | int i; |
976 | 0 | AV1_COMMON *const cm = &cpi->common; |
977 | 0 | for (i = LAST_FRAME; i <= ALTREF_FRAME; ++i) { |
978 | 0 | cm->global_motion[i] = default_warp_params; |
979 | 0 | } |
980 | 0 | cpi->gm_info.search_done = 0; |
981 | |
|
982 | 0 | av1_set_speed_features_framesize_independent(cpi, cpi->speed); |
983 | 0 | av1_set_rd_speed_thresholds(cpi); |
984 | 0 | cm->features.interp_filter = SWITCHABLE; |
985 | 0 | cm->features.switchable_motion_mode = 1; |
986 | 0 | } Unexecuted instantiation: encoder.c:set_size_independent_vars Unexecuted instantiation: encoder_utils.c:set_size_independent_vars |
987 | | |
988 | 0 | static AOM_INLINE void release_scaled_references(AV1_COMP *cpi) { |
989 | | // TODO(isbs): only refresh the necessary frames, rather than all of them |
990 | 0 | for (int i = 0; i < INTER_REFS_PER_FRAME; ++i) { |
991 | 0 | RefCntBuffer *const buf = cpi->scaled_ref_buf[i]; |
992 | 0 | if (buf != NULL) { |
993 | 0 | --buf->ref_count; |
994 | 0 | cpi->scaled_ref_buf[i] = NULL; |
995 | 0 | } |
996 | 0 | } |
997 | 0 | } Unexecuted instantiation: encoder.c:release_scaled_references Unexecuted instantiation: encoder_utils.c:release_scaled_references |
998 | | |
999 | 0 | static AOM_INLINE void restore_all_coding_context(AV1_COMP *cpi) { |
1000 | 0 | restore_extra_coding_context(cpi); |
1001 | 0 | if (!frame_is_intra_only(&cpi->common)) release_scaled_references(cpi); |
1002 | 0 | } Unexecuted instantiation: encoder.c:restore_all_coding_context Unexecuted instantiation: encoder_utils.c:restore_all_coding_context |
1003 | | |
1004 | | // Refresh reference frame buffers according to refresh_frame_flags. |
1005 | 0 | static AOM_INLINE void refresh_reference_frames(AV1_COMP *cpi) { |
1006 | 0 | AV1_COMMON *const cm = &cpi->common; |
1007 | | // All buffers are refreshed for shown keyframes and S-frames. |
1008 | |
|
1009 | 0 | for (int ref_frame = 0; ref_frame < REF_FRAMES; ref_frame++) { |
1010 | 0 | if (((cm->current_frame.refresh_frame_flags >> ref_frame) & 1) == 1) { |
1011 | 0 | assign_frame_buffer_p(&cm->ref_frame_map[ref_frame], cm->cur_frame); |
1012 | 0 | } |
1013 | 0 | } |
1014 | 0 | } Unexecuted instantiation: encoder.c:refresh_reference_frames Unexecuted instantiation: encoder_utils.c:refresh_reference_frames |
1015 | | |
1016 | | void av1_update_film_grain_parameters_seq(struct AV1_PRIMARY *ppi, |
1017 | | const AV1EncoderConfig *oxcf); |
1018 | | void av1_update_film_grain_parameters(struct AV1_COMP *cpi, |
1019 | | const AV1EncoderConfig *oxcf); |
1020 | | |
1021 | | void av1_scale_references(AV1_COMP *cpi, const InterpFilter filter, |
1022 | | const int phase, const int use_optimized_scaler); |
1023 | | |
1024 | | void av1_setup_frame(AV1_COMP *cpi); |
1025 | | |
1026 | | BLOCK_SIZE av1_select_sb_size(const AV1EncoderConfig *const oxcf, int width, |
1027 | | int height, int number_spatial_layers); |
1028 | | |
1029 | | void av1_apply_active_map(AV1_COMP *cpi); |
1030 | | |
1031 | | #if !CONFIG_REALTIME_ONLY |
1032 | | uint16_t av1_setup_interp_filter_search_mask(AV1_COMP *cpi); |
1033 | | |
1034 | | void av1_determine_sc_tools_with_encoding(AV1_COMP *cpi, const int q_orig); |
1035 | | #endif |
1036 | | |
1037 | | void av1_set_size_dependent_vars(AV1_COMP *cpi, int *q, int *bottom_index, |
1038 | | int *top_index); |
1039 | | |
1040 | | void av1_finalize_encoded_frame(AV1_COMP *const cpi); |
1041 | | |
1042 | | int av1_is_integer_mv(const YV12_BUFFER_CONFIG *cur_picture, |
1043 | | const YV12_BUFFER_CONFIG *last_picture, |
1044 | | ForceIntegerMVInfo *const force_intpel_info); |
1045 | | |
1046 | | void av1_set_mb_ssim_rdmult_scaling(AV1_COMP *cpi); |
1047 | | |
1048 | | void av1_save_all_coding_context(AV1_COMP *cpi); |
1049 | | |
1050 | | #if DUMP_RECON_FRAMES == 1 |
1051 | | void av1_dump_filtered_recon_frames(AV1_COMP *cpi); |
1052 | | #endif |
1053 | | |
1054 | | #ifdef __cplusplus |
1055 | | } // extern "C" |
1056 | | #endif |
1057 | | |
1058 | | #endif // AOM_AV1_ENCODER_ENCODER_UTILS_H_ |