Coverage Report

Created: 2025-11-16 07:22

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/aom/aom_dsp/intrapred.c
Line
Count
Source
1
/*
2
 * Copyright (c) 2016, Alliance for Open Media. All rights reserved
3
 *
4
 * This source code is subject to the terms of the BSD 2 Clause License and
5
 * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
6
 * was not distributed with this source code in the LICENSE file, you can
7
 * obtain it at www.aomedia.org/license/software. If the Alliance for Open
8
 * Media Patent License 1.0 was not distributed with this source code in the
9
 * PATENTS file, you can obtain it at www.aomedia.org/license/patent.
10
 */
11
12
#include <assert.h>
13
#include <math.h>
14
15
#include "config/aom_config.h"
16
#include "config/aom_dsp_rtcd.h"
17
18
#include "aom_dsp/aom_dsp_common.h"
19
#include "aom_dsp/intrapred_common.h"
20
#include "aom_mem/aom_mem.h"
21
#include "aom_ports/bitops.h"
22
23
static INLINE void v_predictor(uint8_t *dst, ptrdiff_t stride, int bw, int bh,
24
652k
                               const uint8_t *above, const uint8_t *left) {
25
652k
  int r;
26
652k
  (void)left;
27
28
7.45M
  for (r = 0; r < bh; r++) {
29
6.80M
    memcpy(dst, above, bw);
30
6.80M
    dst += stride;
31
6.80M
  }
32
652k
}
33
34
static INLINE void h_predictor(uint8_t *dst, ptrdiff_t stride, int bw, int bh,
35
911k
                               const uint8_t *above, const uint8_t *left) {
36
911k
  int r;
37
911k
  (void)above;
38
39
10.4M
  for (r = 0; r < bh; r++) {
40
9.55M
    memset(dst, left[r], bw);
41
9.55M
    dst += stride;
42
9.55M
  }
43
911k
}
44
45
5.85G
static INLINE int abs_diff(int a, int b) { return (a > b) ? a - b : b - a; }
46
47
static INLINE uint16_t paeth_predictor_single(uint16_t left, uint16_t top,
48
1.95G
                                              uint16_t top_left) {
49
1.95G
  const int base = top + left - top_left;
50
1.95G
  const int p_left = abs_diff(base, left);
51
1.95G
  const int p_top = abs_diff(base, top);
52
1.95G
  const int p_top_left = abs_diff(base, top_left);
53
54
  // Return nearest to base of left, top and top_left.
55
1.95G
  return (p_left <= p_top && p_left <= p_top_left)
56
1.95G
             ? left
57
1.95G
             : (p_top <= p_top_left) ? top : top_left;
58
1.95G
}
59
60
static INLINE void paeth_predictor(uint8_t *dst, ptrdiff_t stride, int bw,
61
                                   int bh, const uint8_t *above,
62
3.94M
                                   const uint8_t *left) {
63
3.94M
  int r, c;
64
3.94M
  const uint8_t ytop_left = above[-1];
65
66
68.1M
  for (r = 0; r < bh; r++) {
67
1.11G
    for (c = 0; c < bw; c++)
68
1.04G
      dst[c] = (uint8_t)paeth_predictor_single(left[r], above[c], ytop_left);
69
64.2M
    dst += stride;
70
64.2M
  }
71
3.94M
}
72
73
// Some basic checks on weights for smooth predictor.
74
#define sm_weights_sanity_checks(weights_w, weights_h, weights_scale, \
75
                                 pred_scale)                          \
76
6.03M
  assert(weights_w[0] < weights_scale);                               \
77
6.03M
  assert(weights_h[0] < weights_scale);                               \
78
6.03M
  assert(weights_scale - weights_w[bw - 1] < weights_scale);          \
79
6.03M
  assert(weights_scale - weights_h[bh - 1] < weights_scale);          \
80
6.03M
  assert(pred_scale < 31)  // ensures no overflow when calculating predictor.
81
82
1.24G
#define divide_round(value, bits) (((value) + (1 << ((bits)-1))) >> (bits))
83
84
static INLINE void smooth_predictor(uint8_t *dst, ptrdiff_t stride, int bw,
85
                                    int bh, const uint8_t *above,
86
1.80M
                                    const uint8_t *left) {
87
1.80M
  const uint8_t below_pred = left[bh - 1];   // estimated by bottom-left pixel
88
1.80M
  const uint8_t right_pred = above[bw - 1];  // estimated by top-right pixel
89
1.80M
  const uint8_t *const sm_weights_w = sm_weight_arrays + bw;
90
1.80M
  const uint8_t *const sm_weights_h = sm_weight_arrays + bh;
91
  // scale = 2 * 2^sm_weight_log2_scale
92
1.80M
  const int log2_scale = 1 + sm_weight_log2_scale;
93
1.80M
  const uint16_t scale = (1 << sm_weight_log2_scale);
94
7.23M
  sm_weights_sanity_checks(sm_weights_w, sm_weights_h, scale,
95
1.80M
                           log2_scale + sizeof(*dst));
96
1.80M
  int r;
97
21.9M
  for (r = 0; r < bh; ++r) {
98
20.1M
    int c;
99
378M
    for (c = 0; c < bw; ++c) {
100
358M
      const uint8_t pixels[] = { above[c], below_pred, left[r], right_pred };
101
358M
      const uint8_t weights[] = { sm_weights_h[r], scale - sm_weights_h[r],
102
358M
                                  sm_weights_w[c], scale - sm_weights_w[c] };
103
358M
      uint32_t this_pred = 0;
104
358M
      int i;
105
358M
      assert(scale >= sm_weights_h[r] && scale >= sm_weights_w[c]);
106
1.79G
      for (i = 0; i < 4; ++i) {
107
1.43G
        this_pred += weights[i] * pixels[i];
108
1.43G
      }
109
358M
      dst[c] = divide_round(this_pred, log2_scale);
110
358M
    }
111
20.1M
    dst += stride;
112
20.1M
  }
113
1.80M
}
114
115
static INLINE void smooth_v_predictor(uint8_t *dst, ptrdiff_t stride, int bw,
116
                                      int bh, const uint8_t *above,
117
620k
                                      const uint8_t *left) {
118
620k
  const uint8_t below_pred = left[bh - 1];  // estimated by bottom-left pixel
119
620k
  const uint8_t *const sm_weights = sm_weight_arrays + bh;
120
  // scale = 2^sm_weight_log2_scale
121
620k
  const int log2_scale = sm_weight_log2_scale;
122
620k
  const uint16_t scale = (1 << sm_weight_log2_scale);
123
2.48M
  sm_weights_sanity_checks(sm_weights, sm_weights, scale,
124
620k
                           log2_scale + sizeof(*dst));
125
126
620k
  int r;
127
7.77M
  for (r = 0; r < bh; r++) {
128
7.15M
    int c;
129
137M
    for (c = 0; c < bw; ++c) {
130
130M
      const uint8_t pixels[] = { above[c], below_pred };
131
130M
      const uint8_t weights[] = { sm_weights[r], scale - sm_weights[r] };
132
130M
      uint32_t this_pred = 0;
133
130M
      assert(scale >= sm_weights[r]);
134
130M
      int i;
135
390M
      for (i = 0; i < 2; ++i) {
136
260M
        this_pred += weights[i] * pixels[i];
137
260M
      }
138
130M
      dst[c] = divide_round(this_pred, log2_scale);
139
130M
    }
140
7.15M
    dst += stride;
141
7.15M
  }
142
620k
}
143
144
static INLINE void smooth_h_predictor(uint8_t *dst, ptrdiff_t stride, int bw,
145
                                      int bh, const uint8_t *above,
146
926k
                                      const uint8_t *left) {
147
926k
  const uint8_t right_pred = above[bw - 1];  // estimated by top-right pixel
148
926k
  const uint8_t *const sm_weights = sm_weight_arrays + bw;
149
  // scale = 2^sm_weight_log2_scale
150
926k
  const int log2_scale = sm_weight_log2_scale;
151
926k
  const uint16_t scale = (1 << sm_weight_log2_scale);
152
3.70M
  sm_weights_sanity_checks(sm_weights, sm_weights, scale,
153
926k
                           log2_scale + sizeof(*dst));
154
155
926k
  int r;
156
11.6M
  for (r = 0; r < bh; r++) {
157
10.7M
    int c;
158
200M
    for (c = 0; c < bw; ++c) {
159
189M
      const uint8_t pixels[] = { left[r], right_pred };
160
189M
      const uint8_t weights[] = { sm_weights[c], scale - sm_weights[c] };
161
189M
      uint32_t this_pred = 0;
162
189M
      assert(scale >= sm_weights[c]);
163
189M
      int i;
164
568M
      for (i = 0; i < 2; ++i) {
165
378M
        this_pred += weights[i] * pixels[i];
166
378M
      }
167
189M
      dst[c] = divide_round(this_pred, log2_scale);
168
189M
    }
169
10.7M
    dst += stride;
170
10.7M
  }
171
926k
}
172
173
static INLINE void dc_128_predictor(uint8_t *dst, ptrdiff_t stride, int bw,
174
                                    int bh, const uint8_t *above,
175
27.8k
                                    const uint8_t *left) {
176
27.8k
  int r;
177
27.8k
  (void)above;
178
27.8k
  (void)left;
179
180
784k
  for (r = 0; r < bh; r++) {
181
756k
    memset(dst, 128, bw);
182
756k
    dst += stride;
183
756k
  }
184
27.8k
}
185
186
static INLINE void dc_left_predictor(uint8_t *dst, ptrdiff_t stride, int bw,
187
                                     int bh, const uint8_t *above,
188
288k
                                     const uint8_t *left) {
189
288k
  int i, r, expected_dc, sum = 0;
190
288k
  (void)above;
191
192
6.02M
  for (i = 0; i < bh; i++) sum += left[i];
193
288k
  expected_dc = (sum + (bh >> 1)) / bh;
194
195
6.02M
  for (r = 0; r < bh; r++) {
196
5.74M
    memset(dst, expected_dc, bw);
197
5.74M
    dst += stride;
198
5.74M
  }
199
288k
}
200
201
static INLINE void dc_top_predictor(uint8_t *dst, ptrdiff_t stride, int bw,
202
                                    int bh, const uint8_t *above,
203
599k
                                    const uint8_t *left) {
204
599k
  int i, r, expected_dc, sum = 0;
205
599k
  (void)left;
206
207
11.2M
  for (i = 0; i < bw; i++) sum += above[i];
208
599k
  expected_dc = (sum + (bw >> 1)) / bw;
209
210
12.4M
  for (r = 0; r < bh; r++) {
211
11.8M
    memset(dst, expected_dc, bw);
212
11.8M
    dst += stride;
213
11.8M
  }
214
599k
}
215
216
static INLINE void dc_predictor(uint8_t *dst, ptrdiff_t stride, int bw, int bh,
217
5.42M
                                const uint8_t *above, const uint8_t *left) {
218
5.42M
  int i, r, expected_dc, sum = 0;
219
5.42M
  const int count = bw + bh;
220
221
68.0M
  for (i = 0; i < bw; i++) {
222
62.5M
    sum += above[i];
223
62.5M
  }
224
68.0M
  for (i = 0; i < bh; i++) {
225
62.5M
    sum += left[i];
226
62.5M
  }
227
228
5.42M
  expected_dc = (sum + (count >> 1)) / count;
229
230
68.0M
  for (r = 0; r < bh; r++) {
231
62.5M
    memset(dst, expected_dc, bw);
232
62.5M
    dst += stride;
233
62.5M
  }
234
5.42M
}
235
236
static INLINE int divide_using_multiply_shift(int num, int shift1,
237
5.16M
                                              int multiplier, int shift2) {
238
5.16M
  const int interm = num >> shift1;
239
5.16M
  return interm * multiplier >> shift2;
240
5.16M
}
241
242
// The constants (multiplier and shifts) for a given block size are obtained
243
// as follows:
244
// - Let sum_w_h =  block width + block height.
245
// - Shift 'sum_w_h' right until we reach an odd number. Let the number of
246
// shifts for that block size be called 'shift1' (see the parameter in
247
// dc_predictor_rect() function), and let the odd number be 'd'. [d has only 2
248
// possible values: d = 3 for a 1:2 rect block and d = 5 for a 1:4 rect
249
// block].
250
// - Find multipliers for (i) dividing by 3, and (ii) dividing by 5,
251
// using the "Algorithm 1" in:
252
// http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=1467632
253
// by ensuring that m + n = 16 (in that algorithm). This ensures that our 2nd
254
// shift will be 16, regardless of the block size.
255
256
// Note: For low bitdepth, assembly code may be optimized by using smaller
257
// constants for smaller block sizes, where the range of the 'sum' is
258
// restricted to fewer bits.
259
260
1.99M
#define DC_MULTIPLIER_1X2 0x5556
261
1.08M
#define DC_MULTIPLIER_1X4 0x3334
262
263
3.08M
#define DC_SHIFT2 16
264
265
static INLINE void dc_predictor_rect(uint8_t *dst, ptrdiff_t stride, int bw,
266
                                     int bh, const uint8_t *above,
267
                                     const uint8_t *left, int shift1,
268
3.08M
                                     int multiplier) {
269
3.08M
  int sum = 0;
270
271
41.6M
  for (int i = 0; i < bw; i++) {
272
38.5M
    sum += above[i];
273
38.5M
  }
274
39.0M
  for (int i = 0; i < bh; i++) {
275
35.9M
    sum += left[i];
276
35.9M
  }
277
278
3.08M
  const int expected_dc = divide_using_multiply_shift(
279
3.08M
      sum + ((bw + bh) >> 1), shift1, multiplier, DC_SHIFT2);
280
3.08M
  assert(expected_dc < (1 << 8));
281
282
39.0M
  for (int r = 0; r < bh; r++) {
283
35.9M
    memset(dst, expected_dc, bw);
284
35.9M
    dst += stride;
285
35.9M
  }
286
3.08M
}
287
288
#undef DC_SHIFT2
289
290
void aom_dc_predictor_4x8_c(uint8_t *dst, ptrdiff_t stride,
291
410k
                            const uint8_t *above, const uint8_t *left) {
292
410k
  dc_predictor_rect(dst, stride, 4, 8, above, left, 2, DC_MULTIPLIER_1X2);
293
410k
}
294
295
void aom_dc_predictor_8x4_c(uint8_t *dst, ptrdiff_t stride,
296
505k
                            const uint8_t *above, const uint8_t *left) {
297
505k
  dc_predictor_rect(dst, stride, 8, 4, above, left, 2, DC_MULTIPLIER_1X2);
298
505k
}
299
300
void aom_dc_predictor_4x16_c(uint8_t *dst, ptrdiff_t stride,
301
331k
                             const uint8_t *above, const uint8_t *left) {
302
331k
  dc_predictor_rect(dst, stride, 4, 16, above, left, 2, DC_MULTIPLIER_1X4);
303
331k
}
304
305
void aom_dc_predictor_16x4_c(uint8_t *dst, ptrdiff_t stride,
306
390k
                             const uint8_t *above, const uint8_t *left) {
307
390k
  dc_predictor_rect(dst, stride, 16, 4, above, left, 2, DC_MULTIPLIER_1X4);
308
390k
}
309
310
void aom_dc_predictor_8x16_c(uint8_t *dst, ptrdiff_t stride,
311
338k
                             const uint8_t *above, const uint8_t *left) {
312
338k
  dc_predictor_rect(dst, stride, 8, 16, above, left, 3, DC_MULTIPLIER_1X2);
313
338k
}
314
315
void aom_dc_predictor_16x8_c(uint8_t *dst, ptrdiff_t stride,
316
454k
                             const uint8_t *above, const uint8_t *left) {
317
454k
  dc_predictor_rect(dst, stride, 16, 8, above, left, 3, DC_MULTIPLIER_1X2);
318
454k
}
319
320
void aom_dc_predictor_8x32_c(uint8_t *dst, ptrdiff_t stride,
321
153k
                             const uint8_t *above, const uint8_t *left) {
322
153k
  dc_predictor_rect(dst, stride, 8, 32, above, left, 3, DC_MULTIPLIER_1X4);
323
153k
}
324
325
void aom_dc_predictor_32x8_c(uint8_t *dst, ptrdiff_t stride,
326
190k
                             const uint8_t *above, const uint8_t *left) {
327
190k
  dc_predictor_rect(dst, stride, 32, 8, above, left, 3, DC_MULTIPLIER_1X4);
328
190k
}
329
330
void aom_dc_predictor_16x32_c(uint8_t *dst, ptrdiff_t stride,
331
140k
                              const uint8_t *above, const uint8_t *left) {
332
140k
  dc_predictor_rect(dst, stride, 16, 32, above, left, 4, DC_MULTIPLIER_1X2);
333
140k
}
334
335
void aom_dc_predictor_32x16_c(uint8_t *dst, ptrdiff_t stride,
336
138k
                              const uint8_t *above, const uint8_t *left) {
337
138k
  dc_predictor_rect(dst, stride, 32, 16, above, left, 4, DC_MULTIPLIER_1X2);
338
138k
}
339
340
void aom_dc_predictor_16x64_c(uint8_t *dst, ptrdiff_t stride,
341
13.7k
                              const uint8_t *above, const uint8_t *left) {
342
13.7k
  dc_predictor_rect(dst, stride, 16, 64, above, left, 4, DC_MULTIPLIER_1X4);
343
13.7k
}
344
345
void aom_dc_predictor_64x16_c(uint8_t *dst, ptrdiff_t stride,
346
8.12k
                              const uint8_t *above, const uint8_t *left) {
347
8.12k
  dc_predictor_rect(dst, stride, 64, 16, above, left, 4, DC_MULTIPLIER_1X4);
348
8.12k
}
349
350
void aom_dc_predictor_32x64_c(uint8_t *dst, ptrdiff_t stride,
351
6.02k
                              const uint8_t *above, const uint8_t *left) {
352
6.02k
  dc_predictor_rect(dst, stride, 32, 64, above, left, 5, DC_MULTIPLIER_1X2);
353
6.02k
}
354
355
void aom_dc_predictor_64x32_c(uint8_t *dst, ptrdiff_t stride,
356
5.24k
                              const uint8_t *above, const uint8_t *left) {
357
5.24k
  dc_predictor_rect(dst, stride, 64, 32, above, left, 5, DC_MULTIPLIER_1X2);
358
5.24k
}
359
360
#undef DC_MULTIPLIER_1X2
361
#undef DC_MULTIPLIER_1X4
362
363
static INLINE void highbd_v_predictor(uint16_t *dst, ptrdiff_t stride, int bw,
364
                                      int bh, const uint16_t *above,
365
470k
                                      const uint16_t *left, int bd) {
366
470k
  int r;
367
470k
  (void)left;
368
470k
  (void)bd;
369
5.44M
  for (r = 0; r < bh; r++) {
370
4.97M
    memcpy(dst, above, bw * sizeof(uint16_t));
371
4.97M
    dst += stride;
372
4.97M
  }
373
470k
}
374
375
static INLINE void highbd_h_predictor(uint16_t *dst, ptrdiff_t stride, int bw,
376
                                      int bh, const uint16_t *above,
377
773k
                                      const uint16_t *left, int bd) {
378
773k
  int r;
379
773k
  (void)above;
380
773k
  (void)bd;
381
8.27M
  for (r = 0; r < bh; r++) {
382
7.50M
    aom_memset16(dst, left[r], bw);
383
7.50M
    dst += stride;
384
7.50M
  }
385
773k
}
386
387
static INLINE void highbd_paeth_predictor(uint16_t *dst, ptrdiff_t stride,
388
                                          int bw, int bh, const uint16_t *above,
389
2.73M
                                          const uint16_t *left, int bd) {
390
2.73M
  int r, c;
391
2.73M
  const uint16_t ytop_left = above[-1];
392
2.73M
  (void)bd;
393
394
54.5M
  for (r = 0; r < bh; r++) {
395
957M
    for (c = 0; c < bw; c++)
396
905M
      dst[c] = paeth_predictor_single(left[r], above[c], ytop_left);
397
51.8M
    dst += stride;
398
51.8M
  }
399
2.73M
}
400
401
static INLINE void highbd_smooth_predictor(uint16_t *dst, ptrdiff_t stride,
402
                                           int bw, int bh,
403
                                           const uint16_t *above,
404
1.53M
                                           const uint16_t *left, int bd) {
405
1.53M
  (void)bd;
406
1.53M
  const uint16_t below_pred = left[bh - 1];   // estimated by bottom-left pixel
407
1.53M
  const uint16_t right_pred = above[bw - 1];  // estimated by top-right pixel
408
1.53M
  const uint8_t *const sm_weights_w = sm_weight_arrays + bw;
409
1.53M
  const uint8_t *const sm_weights_h = sm_weight_arrays + bh;
410
  // scale = 2 * 2^sm_weight_log2_scale
411
1.53M
  const int log2_scale = 1 + sm_weight_log2_scale;
412
1.53M
  const uint16_t scale = (1 << sm_weight_log2_scale);
413
6.12M
  sm_weights_sanity_checks(sm_weights_w, sm_weights_h, scale,
414
1.53M
                           log2_scale + sizeof(*dst));
415
1.53M
  int r;
416
18.1M
  for (r = 0; r < bh; ++r) {
417
16.6M
    int c;
418
336M
    for (c = 0; c < bw; ++c) {
419
320M
      const uint16_t pixels[] = { above[c], below_pred, left[r], right_pred };
420
320M
      const uint8_t weights[] = { sm_weights_h[r], scale - sm_weights_h[r],
421
320M
                                  sm_weights_w[c], scale - sm_weights_w[c] };
422
320M
      uint32_t this_pred = 0;
423
320M
      int i;
424
320M
      assert(scale >= sm_weights_h[r] && scale >= sm_weights_w[c]);
425
1.60G
      for (i = 0; i < 4; ++i) {
426
1.28G
        this_pred += weights[i] * pixels[i];
427
1.28G
      }
428
320M
      dst[c] = divide_round(this_pred, log2_scale);
429
320M
    }
430
16.6M
    dst += stride;
431
16.6M
  }
432
1.53M
}
433
434
static INLINE void highbd_smooth_v_predictor(uint16_t *dst, ptrdiff_t stride,
435
                                             int bw, int bh,
436
                                             const uint16_t *above,
437
526k
                                             const uint16_t *left, int bd) {
438
526k
  (void)bd;
439
526k
  const uint16_t below_pred = left[bh - 1];  // estimated by bottom-left pixel
440
526k
  const uint8_t *const sm_weights = sm_weight_arrays + bh;
441
  // scale = 2^sm_weight_log2_scale
442
526k
  const int log2_scale = sm_weight_log2_scale;
443
526k
  const uint16_t scale = (1 << sm_weight_log2_scale);
444
2.10M
  sm_weights_sanity_checks(sm_weights, sm_weights, scale,
445
526k
                           log2_scale + sizeof(*dst));
446
447
526k
  int r;
448
6.40M
  for (r = 0; r < bh; r++) {
449
5.87M
    int c;
450
117M
    for (c = 0; c < bw; ++c) {
451
111M
      const uint16_t pixels[] = { above[c], below_pred };
452
111M
      const uint8_t weights[] = { sm_weights[r], scale - sm_weights[r] };
453
111M
      uint32_t this_pred = 0;
454
111M
      assert(scale >= sm_weights[r]);
455
111M
      int i;
456
335M
      for (i = 0; i < 2; ++i) {
457
223M
        this_pred += weights[i] * pixels[i];
458
223M
      }
459
111M
      dst[c] = divide_round(this_pred, log2_scale);
460
111M
    }
461
5.87M
    dst += stride;
462
5.87M
  }
463
526k
}
464
465
static INLINE void highbd_smooth_h_predictor(uint16_t *dst, ptrdiff_t stride,
466
                                             int bw, int bh,
467
                                             const uint16_t *above,
468
622k
                                             const uint16_t *left, int bd) {
469
622k
  (void)bd;
470
622k
  const uint16_t right_pred = above[bw - 1];  // estimated by top-right pixel
471
622k
  const uint8_t *const sm_weights = sm_weight_arrays + bw;
472
  // scale = 2^sm_weight_log2_scale
473
622k
  const int log2_scale = sm_weight_log2_scale;
474
622k
  const uint16_t scale = (1 << sm_weight_log2_scale);
475
2.49M
  sm_weights_sanity_checks(sm_weights, sm_weights, scale,
476
622k
                           log2_scale + sizeof(*dst));
477
478
622k
  int r;
479
7.67M
  for (r = 0; r < bh; r++) {
480
7.05M
    int c;
481
144M
    for (c = 0; c < bw; ++c) {
482
137M
      const uint16_t pixels[] = { left[r], right_pred };
483
137M
      const uint8_t weights[] = { sm_weights[c], scale - sm_weights[c] };
484
137M
      uint32_t this_pred = 0;
485
137M
      assert(scale >= sm_weights[c]);
486
137M
      int i;
487
412M
      for (i = 0; i < 2; ++i) {
488
275M
        this_pred += weights[i] * pixels[i];
489
275M
      }
490
137M
      dst[c] = divide_round(this_pred, log2_scale);
491
137M
    }
492
7.05M
    dst += stride;
493
7.05M
  }
494
622k
}
495
496
static INLINE void highbd_dc_128_predictor(uint16_t *dst, ptrdiff_t stride,
497
                                           int bw, int bh,
498
                                           const uint16_t *above,
499
60.9k
                                           const uint16_t *left, int bd) {
500
60.9k
  int r;
501
60.9k
  (void)above;
502
60.9k
  (void)left;
503
504
2.04M
  for (r = 0; r < bh; r++) {
505
1.98M
    aom_memset16(dst, 128 << (bd - 8), bw);
506
1.98M
    dst += stride;
507
1.98M
  }
508
60.9k
}
509
510
static INLINE void highbd_dc_left_predictor(uint16_t *dst, ptrdiff_t stride,
511
                                            int bw, int bh,
512
                                            const uint16_t *above,
513
349k
                                            const uint16_t *left, int bd) {
514
349k
  int i, r, expected_dc, sum = 0;
515
349k
  (void)above;
516
349k
  (void)bd;
517
518
8.42M
  for (i = 0; i < bh; i++) sum += left[i];
519
349k
  expected_dc = (sum + (bh >> 1)) / bh;
520
521
8.42M
  for (r = 0; r < bh; r++) {
522
8.07M
    aom_memset16(dst, expected_dc, bw);
523
8.07M
    dst += stride;
524
8.07M
  }
525
349k
}
526
527
static INLINE void highbd_dc_top_predictor(uint16_t *dst, ptrdiff_t stride,
528
                                           int bw, int bh,
529
                                           const uint16_t *above,
530
616k
                                           const uint16_t *left, int bd) {
531
616k
  int i, r, expected_dc, sum = 0;
532
616k
  (void)left;
533
616k
  (void)bd;
534
535
13.6M
  for (i = 0; i < bw; i++) sum += above[i];
536
616k
  expected_dc = (sum + (bw >> 1)) / bw;
537
538
14.7M
  for (r = 0; r < bh; r++) {
539
14.1M
    aom_memset16(dst, expected_dc, bw);
540
14.1M
    dst += stride;
541
14.1M
  }
542
616k
}
543
544
static INLINE void highbd_dc_predictor(uint16_t *dst, ptrdiff_t stride, int bw,
545
                                       int bh, const uint16_t *above,
546
4.89M
                                       const uint16_t *left, int bd) {
547
4.89M
  int i, r, expected_dc, sum = 0;
548
4.89M
  const int count = bw + bh;
549
4.89M
  (void)bd;
550
551
54.4M
  for (i = 0; i < bw; i++) {
552
49.5M
    sum += above[i];
553
49.5M
  }
554
54.4M
  for (i = 0; i < bh; i++) {
555
49.5M
    sum += left[i];
556
49.5M
  }
557
558
4.89M
  expected_dc = (sum + (count >> 1)) / count;
559
560
54.4M
  for (r = 0; r < bh; r++) {
561
49.5M
    aom_memset16(dst, expected_dc, bw);
562
49.5M
    dst += stride;
563
49.5M
  }
564
4.89M
}
565
566
// Obtained similarly as DC_MULTIPLIER_1X2 and DC_MULTIPLIER_1X4 above, but
567
// assume 2nd shift of 17 bits instead of 16.
568
// Note: Strictly speaking, 2nd shift needs to be 17 only when:
569
// - bit depth == 12, and
570
// - bw + bh is divisible by 5 (as opposed to divisible by 3).
571
// All other cases can use half the multipliers with a shift of 16 instead.
572
// This special optimization can be used when writing assembly code.
573
1.32M
#define HIGHBD_DC_MULTIPLIER_1X2 0xAAAB
574
// Note: This constant is odd, but a smaller even constant (0x199a) with the
575
// appropriate shift should work for neon in 8/10-bit.
576
745k
#define HIGHBD_DC_MULTIPLIER_1X4 0x6667
577
578
2.07M
#define HIGHBD_DC_SHIFT2 17
579
580
static INLINE void highbd_dc_predictor_rect(uint16_t *dst, ptrdiff_t stride,
581
                                            int bw, int bh,
582
                                            const uint16_t *above,
583
                                            const uint16_t *left, int bd,
584
2.07M
                                            int shift1, uint32_t multiplier) {
585
2.07M
  int sum = 0;
586
2.07M
  (void)bd;
587
588
25.1M
  for (int i = 0; i < bw; i++) {
589
23.1M
    sum += above[i];
590
23.1M
  }
591
25.8M
  for (int i = 0; i < bh; i++) {
592
23.8M
    sum += left[i];
593
23.8M
  }
594
595
2.07M
  const int expected_dc = divide_using_multiply_shift(
596
2.07M
      sum + ((bw + bh) >> 1), shift1, multiplier, HIGHBD_DC_SHIFT2);
597
2.07M
  assert(expected_dc < (1 << bd));
598
599
25.8M
  for (int r = 0; r < bh; r++) {
600
23.8M
    aom_memset16(dst, expected_dc, bw);
601
23.8M
    dst += stride;
602
23.8M
  }
603
2.07M
}
604
605
#undef HIGHBD_DC_SHIFT2
606
607
void aom_highbd_dc_predictor_4x8_c(uint16_t *dst, ptrdiff_t stride,
608
                                   const uint16_t *above, const uint16_t *left,
609
330k
                                   int bd) {
610
330k
  highbd_dc_predictor_rect(dst, stride, 4, 8, above, left, bd, 2,
611
330k
                           HIGHBD_DC_MULTIPLIER_1X2);
612
330k
}
613
614
void aom_highbd_dc_predictor_8x4_c(uint16_t *dst, ptrdiff_t stride,
615
                                   const uint16_t *above, const uint16_t *left,
616
466k
                                   int bd) {
617
466k
  highbd_dc_predictor_rect(dst, stride, 8, 4, above, left, bd, 2,
618
466k
                           HIGHBD_DC_MULTIPLIER_1X2);
619
466k
}
620
621
void aom_highbd_dc_predictor_4x16_c(uint16_t *dst, ptrdiff_t stride,
622
                                    const uint16_t *above, const uint16_t *left,
623
270k
                                    int bd) {
624
270k
  highbd_dc_predictor_rect(dst, stride, 4, 16, above, left, bd, 2,
625
270k
                           HIGHBD_DC_MULTIPLIER_1X4);
626
270k
}
627
628
void aom_highbd_dc_predictor_16x4_c(uint16_t *dst, ptrdiff_t stride,
629
                                    const uint16_t *above, const uint16_t *left,
630
236k
                                    int bd) {
631
236k
  highbd_dc_predictor_rect(dst, stride, 16, 4, above, left, bd, 2,
632
236k
                           HIGHBD_DC_MULTIPLIER_1X4);
633
236k
}
634
635
void aom_highbd_dc_predictor_8x16_c(uint16_t *dst, ptrdiff_t stride,
636
                                    const uint16_t *above, const uint16_t *left,
637
165k
                                    int bd) {
638
165k
  highbd_dc_predictor_rect(dst, stride, 8, 16, above, left, bd, 3,
639
165k
                           HIGHBD_DC_MULTIPLIER_1X2);
640
165k
}
641
642
void aom_highbd_dc_predictor_16x8_c(uint16_t *dst, ptrdiff_t stride,
643
                                    const uint16_t *above, const uint16_t *left,
644
213k
                                    int bd) {
645
213k
  highbd_dc_predictor_rect(dst, stride, 16, 8, above, left, bd, 3,
646
213k
                           HIGHBD_DC_MULTIPLIER_1X2);
647
213k
}
648
649
void aom_highbd_dc_predictor_8x32_c(uint16_t *dst, ptrdiff_t stride,
650
                                    const uint16_t *above, const uint16_t *left,
651
132k
                                    int bd) {
652
132k
  highbd_dc_predictor_rect(dst, stride, 8, 32, above, left, bd, 3,
653
132k
                           HIGHBD_DC_MULTIPLIER_1X4);
654
132k
}
655
656
void aom_highbd_dc_predictor_32x8_c(uint16_t *dst, ptrdiff_t stride,
657
                                    const uint16_t *above, const uint16_t *left,
658
87.7k
                                    int bd) {
659
87.7k
  highbd_dc_predictor_rect(dst, stride, 32, 8, above, left, bd, 3,
660
87.7k
                           HIGHBD_DC_MULTIPLIER_1X4);
661
87.7k
}
662
663
void aom_highbd_dc_predictor_16x32_c(uint16_t *dst, ptrdiff_t stride,
664
                                     const uint16_t *above,
665
66.8k
                                     const uint16_t *left, int bd) {
666
66.8k
  highbd_dc_predictor_rect(dst, stride, 16, 32, above, left, bd, 4,
667
66.8k
                           HIGHBD_DC_MULTIPLIER_1X2);
668
66.8k
}
669
670
void aom_highbd_dc_predictor_32x16_c(uint16_t *dst, ptrdiff_t stride,
671
                                     const uint16_t *above,
672
72.1k
                                     const uint16_t *left, int bd) {
673
72.1k
  highbd_dc_predictor_rect(dst, stride, 32, 16, above, left, bd, 4,
674
72.1k
                           HIGHBD_DC_MULTIPLIER_1X2);
675
72.1k
}
676
677
void aom_highbd_dc_predictor_16x64_c(uint16_t *dst, ptrdiff_t stride,
678
                                     const uint16_t *above,
679
11.5k
                                     const uint16_t *left, int bd) {
680
11.5k
  highbd_dc_predictor_rect(dst, stride, 16, 64, above, left, bd, 4,
681
11.5k
                           HIGHBD_DC_MULTIPLIER_1X4);
682
11.5k
}
683
684
void aom_highbd_dc_predictor_64x16_c(uint16_t *dst, ptrdiff_t stride,
685
                                     const uint16_t *above,
686
7.31k
                                     const uint16_t *left, int bd) {
687
7.31k
  highbd_dc_predictor_rect(dst, stride, 64, 16, above, left, bd, 4,
688
7.31k
                           HIGHBD_DC_MULTIPLIER_1X4);
689
7.31k
}
690
691
void aom_highbd_dc_predictor_32x64_c(uint16_t *dst, ptrdiff_t stride,
692
                                     const uint16_t *above,
693
6.84k
                                     const uint16_t *left, int bd) {
694
6.84k
  highbd_dc_predictor_rect(dst, stride, 32, 64, above, left, bd, 5,
695
6.84k
                           HIGHBD_DC_MULTIPLIER_1X2);
696
6.84k
}
697
698
void aom_highbd_dc_predictor_64x32_c(uint16_t *dst, ptrdiff_t stride,
699
                                     const uint16_t *above,
700
5.23k
                                     const uint16_t *left, int bd) {
701
5.23k
  highbd_dc_predictor_rect(dst, stride, 64, 32, above, left, bd, 5,
702
5.23k
                           HIGHBD_DC_MULTIPLIER_1X2);
703
5.23k
}
704
705
#undef HIGHBD_DC_MULTIPLIER_1X2
706
#undef HIGHBD_DC_MULTIPLIER_1X4
707
708
// This serves as a wrapper function, so that all the prediction functions
709
// can be unified and accessed as a pointer array. Note that the boundary
710
// above and left are not necessarily used all the time.
711
#define intra_pred_sized(type, width, height)                  \
712
  void aom_##type##_predictor_##width##x##height##_c(          \
713
      uint8_t *dst, ptrdiff_t stride, const uint8_t *above,    \
714
15.2M
      const uint8_t *left) {                                   \
715
15.2M
    type##_predictor(dst, stride, width, height, above, left); \
716
15.2M
  }
aom_v_predictor_4x4_c
Line
Count
Source
714
182k
      const uint8_t *left) {                                   \
715
182k
    type##_predictor(dst, stride, width, height, above, left); \
716
182k
  }
aom_v_predictor_8x8_c
Line
Count
Source
714
100k
      const uint8_t *left) {                                   \
715
100k
    type##_predictor(dst, stride, width, height, above, left); \
716
100k
  }
aom_v_predictor_16x16_c
Line
Count
Source
714
60.6k
      const uint8_t *left) {                                   \
715
60.6k
    type##_predictor(dst, stride, width, height, above, left); \
716
60.6k
  }
aom_v_predictor_32x32_c
Line
Count
Source
714
43.4k
      const uint8_t *left) {                                   \
715
43.4k
    type##_predictor(dst, stride, width, height, above, left); \
716
43.4k
  }
aom_v_predictor_64x64_c
Line
Count
Source
714
2.87k
      const uint8_t *left) {                                   \
715
2.87k
    type##_predictor(dst, stride, width, height, above, left); \
716
2.87k
  }
aom_v_predictor_4x8_c
Line
Count
Source
714
44.8k
      const uint8_t *left) {                                   \
715
44.8k
    type##_predictor(dst, stride, width, height, above, left); \
716
44.8k
  }
aom_v_predictor_8x4_c
Line
Count
Source
714
64.7k
      const uint8_t *left) {                                   \
715
64.7k
    type##_predictor(dst, stride, width, height, above, left); \
716
64.7k
  }
aom_v_predictor_8x16_c
Line
Count
Source
714
25.1k
      const uint8_t *left) {                                   \
715
25.1k
    type##_predictor(dst, stride, width, height, above, left); \
716
25.1k
  }
aom_v_predictor_16x8_c
Line
Count
Source
714
34.9k
      const uint8_t *left) {                                   \
715
34.9k
    type##_predictor(dst, stride, width, height, above, left); \
716
34.9k
  }
aom_v_predictor_16x32_c
Line
Count
Source
714
10.3k
      const uint8_t *left) {                                   \
715
10.3k
    type##_predictor(dst, stride, width, height, above, left); \
716
10.3k
  }
aom_v_predictor_32x16_c
Line
Count
Source
714
9.99k
      const uint8_t *left) {                                   \
715
9.99k
    type##_predictor(dst, stride, width, height, above, left); \
716
9.99k
  }
aom_v_predictor_32x64_c
Line
Count
Source
714
556
      const uint8_t *left) {                                   \
715
556
    type##_predictor(dst, stride, width, height, above, left); \
716
556
  }
aom_v_predictor_64x32_c
Line
Count
Source
714
535
      const uint8_t *left) {                                   \
715
535
    type##_predictor(dst, stride, width, height, above, left); \
716
535
  }
aom_v_predictor_4x16_c
Line
Count
Source
714
18.0k
      const uint8_t *left) {                                   \
715
18.0k
    type##_predictor(dst, stride, width, height, above, left); \
716
18.0k
  }
aom_v_predictor_16x4_c
Line
Count
Source
714
28.2k
      const uint8_t *left) {                                   \
715
28.2k
    type##_predictor(dst, stride, width, height, above, left); \
716
28.2k
  }
aom_v_predictor_8x32_c
Line
Count
Source
714
8.34k
      const uint8_t *left) {                                   \
715
8.34k
    type##_predictor(dst, stride, width, height, above, left); \
716
8.34k
  }
aom_v_predictor_32x8_c
Line
Count
Source
714
13.8k
      const uint8_t *left) {                                   \
715
13.8k
    type##_predictor(dst, stride, width, height, above, left); \
716
13.8k
  }
aom_v_predictor_16x64_c
Line
Count
Source
714
1.35k
      const uint8_t *left) {                                   \
715
1.35k
    type##_predictor(dst, stride, width, height, above, left); \
716
1.35k
  }
aom_v_predictor_64x16_c
Line
Count
Source
714
910
      const uint8_t *left) {                                   \
715
910
    type##_predictor(dst, stride, width, height, above, left); \
716
910
  }
aom_h_predictor_4x4_c
Line
Count
Source
714
231k
      const uint8_t *left) {                                   \
715
231k
    type##_predictor(dst, stride, width, height, above, left); \
716
231k
  }
aom_h_predictor_8x8_c
Line
Count
Source
714
154k
      const uint8_t *left) {                                   \
715
154k
    type##_predictor(dst, stride, width, height, above, left); \
716
154k
  }
aom_h_predictor_16x16_c
Line
Count
Source
714
78.2k
      const uint8_t *left) {                                   \
715
78.2k
    type##_predictor(dst, stride, width, height, above, left); \
716
78.2k
  }
aom_h_predictor_32x32_c
Line
Count
Source
714
60.4k
      const uint8_t *left) {                                   \
715
60.4k
    type##_predictor(dst, stride, width, height, above, left); \
716
60.4k
  }
aom_h_predictor_64x64_c
Line
Count
Source
714
4.78k
      const uint8_t *left) {                                   \
715
4.78k
    type##_predictor(dst, stride, width, height, above, left); \
716
4.78k
  }
aom_h_predictor_4x8_c
Line
Count
Source
714
72.3k
      const uint8_t *left) {                                   \
715
72.3k
    type##_predictor(dst, stride, width, height, above, left); \
716
72.3k
  }
aom_h_predictor_8x4_c
Line
Count
Source
714
100k
      const uint8_t *left) {                                   \
715
100k
    type##_predictor(dst, stride, width, height, above, left); \
716
100k
  }
aom_h_predictor_8x16_c
Line
Count
Source
714
33.8k
      const uint8_t *left) {                                   \
715
33.8k
    type##_predictor(dst, stride, width, height, above, left); \
716
33.8k
  }
aom_h_predictor_16x8_c
Line
Count
Source
714
47.3k
      const uint8_t *left) {                                   \
715
47.3k
    type##_predictor(dst, stride, width, height, above, left); \
716
47.3k
  }
aom_h_predictor_16x32_c
Line
Count
Source
714
13.8k
      const uint8_t *left) {                                   \
715
13.8k
    type##_predictor(dst, stride, width, height, above, left); \
716
13.8k
  }
aom_h_predictor_32x16_c
Line
Count
Source
714
14.8k
      const uint8_t *left) {                                   \
715
14.8k
    type##_predictor(dst, stride, width, height, above, left); \
716
14.8k
  }
aom_h_predictor_32x64_c
Line
Count
Source
714
627
      const uint8_t *left) {                                   \
715
627
    type##_predictor(dst, stride, width, height, above, left); \
716
627
  }
aom_h_predictor_64x32_c
Line
Count
Source
714
868
      const uint8_t *left) {                                   \
715
868
    type##_predictor(dst, stride, width, height, above, left); \
716
868
  }
aom_h_predictor_4x16_c
Line
Count
Source
714
25.0k
      const uint8_t *left) {                                   \
715
25.0k
    type##_predictor(dst, stride, width, height, above, left); \
716
25.0k
  }
aom_h_predictor_16x4_c
Line
Count
Source
714
39.2k
      const uint8_t *left) {                                   \
715
39.2k
    type##_predictor(dst, stride, width, height, above, left); \
716
39.2k
  }
aom_h_predictor_8x32_c
Line
Count
Source
714
12.8k
      const uint8_t *left) {                                   \
715
12.8k
    type##_predictor(dst, stride, width, height, above, left); \
716
12.8k
  }
aom_h_predictor_32x8_c
Line
Count
Source
714
18.3k
      const uint8_t *left) {                                   \
715
18.3k
    type##_predictor(dst, stride, width, height, above, left); \
716
18.3k
  }
aom_h_predictor_16x64_c
Line
Count
Source
714
1.80k
      const uint8_t *left) {                                   \
715
1.80k
    type##_predictor(dst, stride, width, height, above, left); \
716
1.80k
  }
aom_h_predictor_64x16_c
Line
Count
Source
714
1.25k
      const uint8_t *left) {                                   \
715
1.25k
    type##_predictor(dst, stride, width, height, above, left); \
716
1.25k
  }
aom_smooth_predictor_4x4_c
Line
Count
Source
714
413k
      const uint8_t *left) {                                   \
715
413k
    type##_predictor(dst, stride, width, height, above, left); \
716
413k
  }
aom_smooth_predictor_8x8_c
Line
Count
Source
714
353k
      const uint8_t *left) {                                   \
715
353k
    type##_predictor(dst, stride, width, height, above, left); \
716
353k
  }
aom_smooth_predictor_16x16_c
Line
Count
Source
714
202k
      const uint8_t *left) {                                   \
715
202k
    type##_predictor(dst, stride, width, height, above, left); \
716
202k
  }
aom_smooth_predictor_32x32_c
Line
Count
Source
714
107k
      const uint8_t *left) {                                   \
715
107k
    type##_predictor(dst, stride, width, height, above, left); \
716
107k
  }
aom_smooth_predictor_64x64_c
Line
Count
Source
714
14.4k
      const uint8_t *left) {                                   \
715
14.4k
    type##_predictor(dst, stride, width, height, above, left); \
716
14.4k
  }
aom_smooth_predictor_4x8_c
Line
Count
Source
714
91.1k
      const uint8_t *left) {                                   \
715
91.1k
    type##_predictor(dst, stride, width, height, above, left); \
716
91.1k
  }
aom_smooth_predictor_8x4_c
Line
Count
Source
714
125k
      const uint8_t *left) {                                   \
715
125k
    type##_predictor(dst, stride, width, height, above, left); \
716
125k
  }
aom_smooth_predictor_8x16_c
Line
Count
Source
714
82.7k
      const uint8_t *left) {                                   \
715
82.7k
    type##_predictor(dst, stride, width, height, above, left); \
716
82.7k
  }
aom_smooth_predictor_16x8_c
Line
Count
Source
714
116k
      const uint8_t *left) {                                   \
715
116k
    type##_predictor(dst, stride, width, height, above, left); \
716
116k
  }
aom_smooth_predictor_16x32_c
Line
Count
Source
714
30.3k
      const uint8_t *left) {                                   \
715
30.3k
    type##_predictor(dst, stride, width, height, above, left); \
716
30.3k
  }
aom_smooth_predictor_32x16_c
Line
Count
Source
714
30.7k
      const uint8_t *left) {                                   \
715
30.7k
    type##_predictor(dst, stride, width, height, above, left); \
716
30.7k
  }
aom_smooth_predictor_32x64_c
Line
Count
Source
714
2.13k
      const uint8_t *left) {                                   \
715
2.13k
    type##_predictor(dst, stride, width, height, above, left); \
716
2.13k
  }
aom_smooth_predictor_64x32_c
Line
Count
Source
714
1.97k
      const uint8_t *left) {                                   \
715
1.97k
    type##_predictor(dst, stride, width, height, above, left); \
716
1.97k
  }
aom_smooth_predictor_4x16_c
Line
Count
Source
714
59.8k
      const uint8_t *left) {                                   \
715
59.8k
    type##_predictor(dst, stride, width, height, above, left); \
716
59.8k
  }
aom_smooth_predictor_16x4_c
Line
Count
Source
714
95.8k
      const uint8_t *left) {                                   \
715
95.8k
    type##_predictor(dst, stride, width, height, above, left); \
716
95.8k
  }
aom_smooth_predictor_8x32_c
Line
Count
Source
714
28.9k
      const uint8_t *left) {                                   \
715
28.9k
    type##_predictor(dst, stride, width, height, above, left); \
716
28.9k
  }
aom_smooth_predictor_32x8_c
Line
Count
Source
714
44.0k
      const uint8_t *left) {                                   \
715
44.0k
    type##_predictor(dst, stride, width, height, above, left); \
716
44.0k
  }
aom_smooth_predictor_16x64_c
Line
Count
Source
714
3.91k
      const uint8_t *left) {                                   \
715
3.91k
    type##_predictor(dst, stride, width, height, above, left); \
716
3.91k
  }
aom_smooth_predictor_64x16_c
Line
Count
Source
714
2.90k
      const uint8_t *left) {                                   \
715
2.90k
    type##_predictor(dst, stride, width, height, above, left); \
716
2.90k
  }
aom_smooth_v_predictor_4x4_c
Line
Count
Source
714
128k
      const uint8_t *left) {                                   \
715
128k
    type##_predictor(dst, stride, width, height, above, left); \
716
128k
  }
aom_smooth_v_predictor_8x8_c
Line
Count
Source
714
115k
      const uint8_t *left) {                                   \
715
115k
    type##_predictor(dst, stride, width, height, above, left); \
716
115k
  }
aom_smooth_v_predictor_16x16_c
Line
Count
Source
714
62.7k
      const uint8_t *left) {                                   \
715
62.7k
    type##_predictor(dst, stride, width, height, above, left); \
716
62.7k
  }
aom_smooth_v_predictor_32x32_c
Line
Count
Source
714
43.3k
      const uint8_t *left) {                                   \
715
43.3k
    type##_predictor(dst, stride, width, height, above, left); \
716
43.3k
  }
aom_smooth_v_predictor_64x64_c
Line
Count
Source
714
4.61k
      const uint8_t *left) {                                   \
715
4.61k
    type##_predictor(dst, stride, width, height, above, left); \
716
4.61k
  }
aom_smooth_v_predictor_4x8_c
Line
Count
Source
714
29.2k
      const uint8_t *left) {                                   \
715
29.2k
    type##_predictor(dst, stride, width, height, above, left); \
716
29.2k
  }
aom_smooth_v_predictor_8x4_c
Line
Count
Source
714
46.1k
      const uint8_t *left) {                                   \
715
46.1k
    type##_predictor(dst, stride, width, height, above, left); \
716
46.1k
  }
aom_smooth_v_predictor_8x16_c
Line
Count
Source
714
31.2k
      const uint8_t *left) {                                   \
715
31.2k
    type##_predictor(dst, stride, width, height, above, left); \
716
31.2k
  }
aom_smooth_v_predictor_16x8_c
Line
Count
Source
714
43.5k
      const uint8_t *left) {                                   \
715
43.5k
    type##_predictor(dst, stride, width, height, above, left); \
716
43.5k
  }
aom_smooth_v_predictor_16x32_c
Line
Count
Source
714
11.3k
      const uint8_t *left) {                                   \
715
11.3k
    type##_predictor(dst, stride, width, height, above, left); \
716
11.3k
  }
aom_smooth_v_predictor_32x16_c
Line
Count
Source
714
13.1k
      const uint8_t *left) {                                   \
715
13.1k
    type##_predictor(dst, stride, width, height, above, left); \
716
13.1k
  }
aom_smooth_v_predictor_32x64_c
Line
Count
Source
714
821
      const uint8_t *left) {                                   \
715
821
    type##_predictor(dst, stride, width, height, above, left); \
716
821
  }
aom_smooth_v_predictor_64x32_c
Line
Count
Source
714
675
      const uint8_t *left) {                                   \
715
675
    type##_predictor(dst, stride, width, height, above, left); \
716
675
  }
aom_smooth_v_predictor_4x16_c
Line
Count
Source
714
22.4k
      const uint8_t *left) {                                   \
715
22.4k
    type##_predictor(dst, stride, width, height, above, left); \
716
22.4k
  }
aom_smooth_v_predictor_16x4_c
Line
Count
Source
714
35.3k
      const uint8_t *left) {                                   \
715
35.3k
    type##_predictor(dst, stride, width, height, above, left); \
716
35.3k
  }
aom_smooth_v_predictor_8x32_c
Line
Count
Source
714
10.9k
      const uint8_t *left) {                                   \
715
10.9k
    type##_predictor(dst, stride, width, height, above, left); \
716
10.9k
  }
aom_smooth_v_predictor_32x8_c
Line
Count
Source
714
18.2k
      const uint8_t *left) {                                   \
715
18.2k
    type##_predictor(dst, stride, width, height, above, left); \
716
18.2k
  }
aom_smooth_v_predictor_16x64_c
Line
Count
Source
714
1.59k
      const uint8_t *left) {                                   \
715
1.59k
    type##_predictor(dst, stride, width, height, above, left); \
716
1.59k
  }
aom_smooth_v_predictor_64x16_c
Line
Count
Source
714
940
      const uint8_t *left) {                                   \
715
940
    type##_predictor(dst, stride, width, height, above, left); \
716
940
  }
aom_smooth_h_predictor_4x4_c
Line
Count
Source
714
163k
      const uint8_t *left) {                                   \
715
163k
    type##_predictor(dst, stride, width, height, above, left); \
716
163k
  }
aom_smooth_h_predictor_8x8_c
Line
Count
Source
714
183k
      const uint8_t *left) {                                   \
715
183k
    type##_predictor(dst, stride, width, height, above, left); \
716
183k
  }
aom_smooth_h_predictor_16x16_c
Line
Count
Source
714
121k
      const uint8_t *left) {                                   \
715
121k
    type##_predictor(dst, stride, width, height, above, left); \
716
121k
  }
aom_smooth_h_predictor_32x32_c
Line
Count
Source
714
56.4k
      const uint8_t *left) {                                   \
715
56.4k
    type##_predictor(dst, stride, width, height, above, left); \
716
56.4k
  }
aom_smooth_h_predictor_64x64_c
Line
Count
Source
714
6.87k
      const uint8_t *left) {                                   \
715
6.87k
    type##_predictor(dst, stride, width, height, above, left); \
716
6.87k
  }
aom_smooth_h_predictor_4x8_c
Line
Count
Source
714
47.1k
      const uint8_t *left) {                                   \
715
47.1k
    type##_predictor(dst, stride, width, height, above, left); \
716
47.1k
  }
aom_smooth_h_predictor_8x4_c
Line
Count
Source
714
67.8k
      const uint8_t *left) {                                   \
715
67.8k
    type##_predictor(dst, stride, width, height, above, left); \
716
67.8k
  }
aom_smooth_h_predictor_8x16_c
Line
Count
Source
714
48.6k
      const uint8_t *left) {                                   \
715
48.6k
    type##_predictor(dst, stride, width, height, above, left); \
716
48.6k
  }
aom_smooth_h_predictor_16x8_c
Line
Count
Source
714
62.0k
      const uint8_t *left) {                                   \
715
62.0k
    type##_predictor(dst, stride, width, height, above, left); \
716
62.0k
  }
aom_smooth_h_predictor_16x32_c
Line
Count
Source
714
16.3k
      const uint8_t *left) {                                   \
715
16.3k
    type##_predictor(dst, stride, width, height, above, left); \
716
16.3k
  }
aom_smooth_h_predictor_32x16_c
Line
Count
Source
714
17.9k
      const uint8_t *left) {                                   \
715
17.9k
    type##_predictor(dst, stride, width, height, above, left); \
716
17.9k
  }
aom_smooth_h_predictor_32x64_c
Line
Count
Source
714
720
      const uint8_t *left) {                                   \
715
720
    type##_predictor(dst, stride, width, height, above, left); \
716
720
  }
aom_smooth_h_predictor_64x32_c
Line
Count
Source
714
889
      const uint8_t *left) {                                   \
715
889
    type##_predictor(dst, stride, width, height, above, left); \
716
889
  }
aom_smooth_h_predictor_4x16_c
Line
Count
Source
714
34.0k
      const uint8_t *left) {                                   \
715
34.0k
    type##_predictor(dst, stride, width, height, above, left); \
716
34.0k
  }
aom_smooth_h_predictor_16x4_c
Line
Count
Source
714
54.0k
      const uint8_t *left) {                                   \
715
54.0k
    type##_predictor(dst, stride, width, height, above, left); \
716
54.0k
  }
aom_smooth_h_predictor_8x32_c
Line
Count
Source
714
16.2k
      const uint8_t *left) {                                   \
715
16.2k
    type##_predictor(dst, stride, width, height, above, left); \
716
16.2k
  }
aom_smooth_h_predictor_32x8_c
Line
Count
Source
714
26.1k
      const uint8_t *left) {                                   \
715
26.1k
    type##_predictor(dst, stride, width, height, above, left); \
716
26.1k
  }
aom_smooth_h_predictor_16x64_c
Line
Count
Source
714
1.73k
      const uint8_t *left) {                                   \
715
1.73k
    type##_predictor(dst, stride, width, height, above, left); \
716
1.73k
  }
aom_smooth_h_predictor_64x16_c
Line
Count
Source
714
893
      const uint8_t *left) {                                   \
715
893
    type##_predictor(dst, stride, width, height, above, left); \
716
893
  }
aom_paeth_predictor_4x4_c
Line
Count
Source
714
1.07M
      const uint8_t *left) {                                   \
715
1.07M
    type##_predictor(dst, stride, width, height, above, left); \
716
1.07M
  }
aom_paeth_predictor_8x8_c
Line
Count
Source
714
488k
      const uint8_t *left) {                                   \
715
488k
    type##_predictor(dst, stride, width, height, above, left); \
716
488k
  }
aom_paeth_predictor_16x16_c
Line
Count
Source
714
296k
      const uint8_t *left) {                                   \
715
296k
    type##_predictor(dst, stride, width, height, above, left); \
716
296k
  }
aom_paeth_predictor_32x32_c
Line
Count
Source
714
215k
      const uint8_t *left) {                                   \
715
215k
    type##_predictor(dst, stride, width, height, above, left); \
716
215k
  }
aom_paeth_predictor_64x64_c
Line
Count
Source
714
30.6k
      const uint8_t *left) {                                   \
715
30.6k
    type##_predictor(dst, stride, width, height, above, left); \
716
30.6k
  }
aom_paeth_predictor_4x8_c
Line
Count
Source
714
140k
      const uint8_t *left) {                                   \
715
140k
    type##_predictor(dst, stride, width, height, above, left); \
716
140k
  }
aom_paeth_predictor_8x4_c
Line
Count
Source
714
187k
      const uint8_t *left) {                                   \
715
187k
    type##_predictor(dst, stride, width, height, above, left); \
716
187k
  }
aom_paeth_predictor_8x16_c
Line
Count
Source
714
113k
      const uint8_t *left) {                                   \
715
113k
    type##_predictor(dst, stride, width, height, above, left); \
716
113k
  }
aom_paeth_predictor_16x8_c
Line
Count
Source
714
151k
      const uint8_t *left) {                                   \
715
151k
    type##_predictor(dst, stride, width, height, above, left); \
716
151k
  }
aom_paeth_predictor_16x32_c
Line
Count
Source
714
392k
      const uint8_t *left) {                                   \
715
392k
    type##_predictor(dst, stride, width, height, above, left); \
716
392k
  }
aom_paeth_predictor_32x16_c
Line
Count
Source
714
37.9k
      const uint8_t *left) {                                   \
715
37.9k
    type##_predictor(dst, stride, width, height, above, left); \
716
37.9k
  }
aom_paeth_predictor_32x64_c
Line
Count
Source
714
12.2k
      const uint8_t *left) {                                   \
715
12.2k
    type##_predictor(dst, stride, width, height, above, left); \
716
12.2k
  }
aom_paeth_predictor_64x32_c
Line
Count
Source
714
2.58k
      const uint8_t *left) {                                   \
715
2.58k
    type##_predictor(dst, stride, width, height, above, left); \
716
2.58k
  }
aom_paeth_predictor_4x16_c
Line
Count
Source
714
175k
      const uint8_t *left) {                                   \
715
175k
    type##_predictor(dst, stride, width, height, above, left); \
716
175k
  }
aom_paeth_predictor_16x4_c
Line
Count
Source
714
130k
      const uint8_t *left) {                                   \
715
130k
    type##_predictor(dst, stride, width, height, above, left); \
716
130k
  }
aom_paeth_predictor_8x32_c
Line
Count
Source
714
275k
      const uint8_t *left) {                                   \
715
275k
    type##_predictor(dst, stride, width, height, above, left); \
716
275k
  }
aom_paeth_predictor_32x8_c
Line
Count
Source
714
49.1k
      const uint8_t *left) {                                   \
715
49.1k
    type##_predictor(dst, stride, width, height, above, left); \
716
49.1k
  }
aom_paeth_predictor_16x64_c
Line
Count
Source
714
170k
      const uint8_t *left) {                                   \
715
170k
    type##_predictor(dst, stride, width, height, above, left); \
716
170k
  }
aom_paeth_predictor_64x16_c
Line
Count
Source
714
3.09k
      const uint8_t *left) {                                   \
715
3.09k
    type##_predictor(dst, stride, width, height, above, left); \
716
3.09k
  }
aom_dc_128_predictor_4x4_c
Line
Count
Source
714
3.62k
      const uint8_t *left) {                                   \
715
3.62k
    type##_predictor(dst, stride, width, height, above, left); \
716
3.62k
  }
aom_dc_128_predictor_8x8_c
Line
Count
Source
714
1.68k
      const uint8_t *left) {                                   \
715
1.68k
    type##_predictor(dst, stride, width, height, above, left); \
716
1.68k
  }
aom_dc_128_predictor_16x16_c
Line
Count
Source
714
568
      const uint8_t *left) {                                   \
715
568
    type##_predictor(dst, stride, width, height, above, left); \
716
568
  }
aom_dc_128_predictor_32x32_c
Line
Count
Source
714
9.64k
      const uint8_t *left) {                                   \
715
9.64k
    type##_predictor(dst, stride, width, height, above, left); \
716
9.64k
  }
aom_dc_128_predictor_64x64_c
Line
Count
Source
714
3.54k
      const uint8_t *left) {                                   \
715
3.54k
    type##_predictor(dst, stride, width, height, above, left); \
716
3.54k
  }
aom_dc_128_predictor_4x8_c
Line
Count
Source
714
300
      const uint8_t *left) {                                   \
715
300
    type##_predictor(dst, stride, width, height, above, left); \
716
300
  }
aom_dc_128_predictor_8x4_c
Line
Count
Source
714
111
      const uint8_t *left) {                                   \
715
111
    type##_predictor(dst, stride, width, height, above, left); \
716
111
  }
aom_dc_128_predictor_8x16_c
Line
Count
Source
714
390
      const uint8_t *left) {                                   \
715
390
    type##_predictor(dst, stride, width, height, above, left); \
716
390
  }
aom_dc_128_predictor_16x8_c
Line
Count
Source
714
1.84k
      const uint8_t *left) {                                   \
715
1.84k
    type##_predictor(dst, stride, width, height, above, left); \
716
1.84k
  }
aom_dc_128_predictor_16x32_c
Line
Count
Source
714
1.94k
      const uint8_t *left) {                                   \
715
1.94k
    type##_predictor(dst, stride, width, height, above, left); \
716
1.94k
  }
aom_dc_128_predictor_32x16_c
Line
Count
Source
714
1.50k
      const uint8_t *left) {                                   \
715
1.50k
    type##_predictor(dst, stride, width, height, above, left); \
716
1.50k
  }
aom_dc_128_predictor_32x64_c
Line
Count
Source
714
406
      const uint8_t *left) {                                   \
715
406
    type##_predictor(dst, stride, width, height, above, left); \
716
406
  }
aom_dc_128_predictor_64x32_c
Line
Count
Source
714
253
      const uint8_t *left) {                                   \
715
253
    type##_predictor(dst, stride, width, height, above, left); \
716
253
  }
aom_dc_128_predictor_4x16_c
Line
Count
Source
714
706
      const uint8_t *left) {                                   \
715
706
    type##_predictor(dst, stride, width, height, above, left); \
716
706
  }
aom_dc_128_predictor_16x4_c
Line
Count
Source
714
44
      const uint8_t *left) {                                   \
715
44
    type##_predictor(dst, stride, width, height, above, left); \
716
44
  }
aom_dc_128_predictor_8x32_c
Line
Count
Source
714
486
      const uint8_t *left) {                                   \
715
486
    type##_predictor(dst, stride, width, height, above, left); \
716
486
  }
aom_dc_128_predictor_32x8_c
Line
Count
Source
714
724
      const uint8_t *left) {                                   \
715
724
    type##_predictor(dst, stride, width, height, above, left); \
716
724
  }
aom_dc_128_predictor_16x64_c
Line
Count
Source
714
96
      const uint8_t *left) {                                   \
715
96
    type##_predictor(dst, stride, width, height, above, left); \
716
96
  }
aom_dc_128_predictor_64x16_c
Line
Count
Source
714
13
      const uint8_t *left) {                                   \
715
13
    type##_predictor(dst, stride, width, height, above, left); \
716
13
  }
aom_dc_left_predictor_4x4_c
Line
Count
Source
714
78.9k
      const uint8_t *left) {                                   \
715
78.9k
    type##_predictor(dst, stride, width, height, above, left); \
716
78.9k
  }
aom_dc_left_predictor_8x8_c
Line
Count
Source
714
15.1k
      const uint8_t *left) {                                   \
715
15.1k
    type##_predictor(dst, stride, width, height, above, left); \
716
15.1k
  }
aom_dc_left_predictor_16x16_c
Line
Count
Source
714
21.5k
      const uint8_t *left) {                                   \
715
21.5k
    type##_predictor(dst, stride, width, height, above, left); \
716
21.5k
  }
aom_dc_left_predictor_32x32_c
Line
Count
Source
714
83.6k
      const uint8_t *left) {                                   \
715
83.6k
    type##_predictor(dst, stride, width, height, above, left); \
716
83.6k
  }
aom_dc_left_predictor_64x64_c
Line
Count
Source
714
15.5k
      const uint8_t *left) {                                   \
715
15.5k
    type##_predictor(dst, stride, width, height, above, left); \
716
15.5k
  }
aom_dc_left_predictor_4x8_c
Line
Count
Source
714
6.36k
      const uint8_t *left) {                                   \
715
6.36k
    type##_predictor(dst, stride, width, height, above, left); \
716
6.36k
  }
aom_dc_left_predictor_8x4_c
Line
Count
Source
714
5.94k
      const uint8_t *left) {                                   \
715
5.94k
    type##_predictor(dst, stride, width, height, above, left); \
716
5.94k
  }
aom_dc_left_predictor_8x16_c
Line
Count
Source
714
4.75k
      const uint8_t *left) {                                   \
715
4.75k
    type##_predictor(dst, stride, width, height, above, left); \
716
4.75k
  }
aom_dc_left_predictor_16x8_c
Line
Count
Source
714
9.34k
      const uint8_t *left) {                                   \
715
9.34k
    type##_predictor(dst, stride, width, height, above, left); \
716
9.34k
  }
aom_dc_left_predictor_16x32_c
Line
Count
Source
714
6.54k
      const uint8_t *left) {                                   \
715
6.54k
    type##_predictor(dst, stride, width, height, above, left); \
716
6.54k
  }
aom_dc_left_predictor_32x16_c
Line
Count
Source
714
9.33k
      const uint8_t *left) {                                   \
715
9.33k
    type##_predictor(dst, stride, width, height, above, left); \
716
9.33k
  }
aom_dc_left_predictor_32x64_c
Line
Count
Source
714
1.04k
      const uint8_t *left) {                                   \
715
1.04k
    type##_predictor(dst, stride, width, height, above, left); \
716
1.04k
  }
aom_dc_left_predictor_64x32_c
Line
Count
Source
714
2.13k
      const uint8_t *left) {                                   \
715
2.13k
    type##_predictor(dst, stride, width, height, above, left); \
716
2.13k
  }
aom_dc_left_predictor_4x16_c
Line
Count
Source
714
13.8k
      const uint8_t *left) {                                   \
715
13.8k
    type##_predictor(dst, stride, width, height, above, left); \
716
13.8k
  }
aom_dc_left_predictor_16x4_c
Line
Count
Source
714
2.33k
      const uint8_t *left) {                                   \
715
2.33k
    type##_predictor(dst, stride, width, height, above, left); \
716
2.33k
  }
aom_dc_left_predictor_8x32_c
Line
Count
Source
714
6.38k
      const uint8_t *left) {                                   \
715
6.38k
    type##_predictor(dst, stride, width, height, above, left); \
716
6.38k
  }
aom_dc_left_predictor_32x8_c
Line
Count
Source
714
2.94k
      const uint8_t *left) {                                   \
715
2.94k
    type##_predictor(dst, stride, width, height, above, left); \
716
2.94k
  }
aom_dc_left_predictor_16x64_c
Line
Count
Source
714
1.50k
      const uint8_t *left) {                                   \
715
1.50k
    type##_predictor(dst, stride, width, height, above, left); \
716
1.50k
  }
aom_dc_left_predictor_64x16_c
Line
Count
Source
714
633
      const uint8_t *left) {                                   \
715
633
    type##_predictor(dst, stride, width, height, above, left); \
716
633
  }
aom_dc_top_predictor_4x4_c
Line
Count
Source
714
106k
      const uint8_t *left) {                                   \
715
106k
    type##_predictor(dst, stride, width, height, above, left); \
716
106k
  }
aom_dc_top_predictor_8x8_c
Line
Count
Source
714
34.5k
      const uint8_t *left) {                                   \
715
34.5k
    type##_predictor(dst, stride, width, height, above, left); \
716
34.5k
  }
aom_dc_top_predictor_16x16_c
Line
Count
Source
714
45.4k
      const uint8_t *left) {                                   \
715
45.4k
    type##_predictor(dst, stride, width, height, above, left); \
716
45.4k
  }
aom_dc_top_predictor_32x32_c
Line
Count
Source
714
151k
      const uint8_t *left) {                                   \
715
151k
    type##_predictor(dst, stride, width, height, above, left); \
716
151k
  }
aom_dc_top_predictor_64x64_c
Line
Count
Source
714
18.0k
      const uint8_t *left) {                                   \
715
18.0k
    type##_predictor(dst, stride, width, height, above, left); \
716
18.0k
  }
aom_dc_top_predictor_4x8_c
Line
Count
Source
714
48.0k
      const uint8_t *left) {                                   \
715
48.0k
    type##_predictor(dst, stride, width, height, above, left); \
716
48.0k
  }
aom_dc_top_predictor_8x4_c
Line
Count
Source
714
18.4k
      const uint8_t *left) {                                   \
715
18.4k
    type##_predictor(dst, stride, width, height, above, left); \
716
18.4k
  }
aom_dc_top_predictor_8x16_c
Line
Count
Source
714
33.8k
      const uint8_t *left) {                                   \
715
33.8k
    type##_predictor(dst, stride, width, height, above, left); \
716
33.8k
  }
aom_dc_top_predictor_16x8_c
Line
Count
Source
714
12.4k
      const uint8_t *left) {                                   \
715
12.4k
    type##_predictor(dst, stride, width, height, above, left); \
716
12.4k
  }
aom_dc_top_predictor_16x32_c
Line
Count
Source
714
43.2k
      const uint8_t *left) {                                   \
715
43.2k
    type##_predictor(dst, stride, width, height, above, left); \
716
43.2k
  }
aom_dc_top_predictor_32x16_c
Line
Count
Source
714
14.8k
      const uint8_t *left) {                                   \
715
14.8k
    type##_predictor(dst, stride, width, height, above, left); \
716
14.8k
  }
aom_dc_top_predictor_32x64_c
Line
Count
Source
714
8.60k
      const uint8_t *left) {                                   \
715
8.60k
    type##_predictor(dst, stride, width, height, above, left); \
716
8.60k
  }
aom_dc_top_predictor_64x32_c
Line
Count
Source
714
2.29k
      const uint8_t *left) {                                   \
715
2.29k
    type##_predictor(dst, stride, width, height, above, left); \
716
2.29k
  }
aom_dc_top_predictor_4x16_c
Line
Count
Source
714
23.5k
      const uint8_t *left) {                                   \
715
23.5k
    type##_predictor(dst, stride, width, height, above, left); \
716
23.5k
  }
aom_dc_top_predictor_16x4_c
Line
Count
Source
714
9.14k
      const uint8_t *left) {                                   \
715
9.14k
    type##_predictor(dst, stride, width, height, above, left); \
716
9.14k
  }
aom_dc_top_predictor_8x32_c
Line
Count
Source
714
14.0k
      const uint8_t *left) {                                   \
715
14.0k
    type##_predictor(dst, stride, width, height, above, left); \
716
14.0k
  }
aom_dc_top_predictor_32x8_c
Line
Count
Source
714
11.3k
      const uint8_t *left) {                                   \
715
11.3k
    type##_predictor(dst, stride, width, height, above, left); \
716
11.3k
  }
aom_dc_top_predictor_16x64_c
Line
Count
Source
714
941
      const uint8_t *left) {                                   \
715
941
    type##_predictor(dst, stride, width, height, above, left); \
716
941
  }
aom_dc_top_predictor_64x16_c
Line
Count
Source
714
1.80k
      const uint8_t *left) {                                   \
715
1.80k
    type##_predictor(dst, stride, width, height, above, left); \
716
1.80k
  }
aom_dc_predictor_4x4_c
Line
Count
Source
714
2.54M
      const uint8_t *left) {                                   \
715
2.54M
    type##_predictor(dst, stride, width, height, above, left); \
716
2.54M
  }
aom_dc_predictor_8x8_c
Line
Count
Source
714
1.26M
      const uint8_t *left) {                                   \
715
1.26M
    type##_predictor(dst, stride, width, height, above, left); \
716
1.26M
  }
aom_dc_predictor_16x16_c
Line
Count
Source
714
704k
      const uint8_t *left) {                                   \
715
704k
    type##_predictor(dst, stride, width, height, above, left); \
716
704k
  }
aom_dc_predictor_32x32_c
Line
Count
Source
714
854k
      const uint8_t *left) {                                   \
715
854k
    type##_predictor(dst, stride, width, height, above, left); \
716
854k
  }
aom_dc_predictor_64x64_c
Line
Count
Source
714
57.8k
      const uint8_t *left) {                                   \
715
57.8k
    type##_predictor(dst, stride, width, height, above, left); \
716
57.8k
  }
717
718
#define intra_pred_highbd_sized(type, width, height)                        \
719
  void aom_highbd_##type##_predictor_##width##x##height##_c(                \
720
      uint16_t *dst, ptrdiff_t stride, const uint16_t *above,               \
721
12.5M
      const uint16_t *left, int bd) {                                       \
722
12.5M
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
12.5M
  }
aom_highbd_v_predictor_4x4_c
Line
Count
Source
721
140k
      const uint16_t *left, int bd) {                                       \
722
140k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
140k
  }
aom_highbd_v_predictor_8x8_c
Line
Count
Source
721
79.4k
      const uint16_t *left, int bd) {                                       \
722
79.4k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
79.4k
  }
aom_highbd_v_predictor_16x16_c
Line
Count
Source
721
38.3k
      const uint16_t *left, int bd) {                                       \
722
38.3k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
38.3k
  }
aom_highbd_v_predictor_32x32_c
Line
Count
Source
721
37.0k
      const uint16_t *left, int bd) {                                       \
722
37.0k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
37.0k
  }
aom_highbd_v_predictor_64x64_c
Line
Count
Source
721
3.08k
      const uint16_t *left, int bd) {                                       \
722
3.08k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
3.08k
  }
aom_highbd_v_predictor_4x8_c
Line
Count
Source
721
32.2k
      const uint16_t *left, int bd) {                                       \
722
32.2k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
32.2k
  }
aom_highbd_v_predictor_8x4_c
Line
Count
Source
721
45.7k
      const uint16_t *left, int bd) {                                       \
722
45.7k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
45.7k
  }
aom_highbd_v_predictor_8x16_c
Line
Count
Source
721
14.2k
      const uint16_t *left, int bd) {                                       \
722
14.2k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
14.2k
  }
aom_highbd_v_predictor_16x8_c
Line
Count
Source
721
18.9k
      const uint16_t *left, int bd) {                                       \
722
18.9k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
18.9k
  }
aom_highbd_v_predictor_16x32_c
Line
Count
Source
721
6.11k
      const uint16_t *left, int bd) {                                       \
722
6.11k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
6.11k
  }
aom_highbd_v_predictor_32x16_c
Line
Count
Source
721
6.62k
      const uint16_t *left, int bd) {                                       \
722
6.62k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
6.62k
  }
aom_highbd_v_predictor_32x64_c
Line
Count
Source
721
636
      const uint16_t *left, int bd) {                                       \
722
636
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
636
  }
aom_highbd_v_predictor_64x32_c
Line
Count
Source
721
516
      const uint16_t *left, int bd) {                                       \
722
516
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
516
  }
aom_highbd_v_predictor_4x16_c
Line
Count
Source
721
10.6k
      const uint16_t *left, int bd) {                                       \
722
10.6k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
10.6k
  }
aom_highbd_v_predictor_16x4_c
Line
Count
Source
721
20.0k
      const uint16_t *left, int bd) {                                       \
722
20.0k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
20.0k
  }
aom_highbd_v_predictor_8x32_c
Line
Count
Source
721
6.76k
      const uint16_t *left, int bd) {                                       \
722
6.76k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
6.76k
  }
aom_highbd_v_predictor_32x8_c
Line
Count
Source
721
7.84k
      const uint16_t *left, int bd) {                                       \
722
7.84k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
7.84k
  }
aom_highbd_v_predictor_16x64_c
Line
Count
Source
721
910
      const uint16_t *left, int bd) {                                       \
722
910
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
910
  }
aom_highbd_v_predictor_64x16_c
Line
Count
Source
721
796
      const uint16_t *left, int bd) {                                       \
722
796
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
796
  }
aom_highbd_h_predictor_4x4_c
Line
Count
Source
721
250k
      const uint16_t *left, int bd) {                                       \
722
250k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
250k
  }
aom_highbd_h_predictor_8x8_c
Line
Count
Source
721
134k
      const uint16_t *left, int bd) {                                       \
722
134k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
134k
  }
aom_highbd_h_predictor_16x16_c
Line
Count
Source
721
61.2k
      const uint16_t *left, int bd) {                                       \
722
61.2k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
61.2k
  }
aom_highbd_h_predictor_32x32_c
Line
Count
Source
721
39.1k
      const uint16_t *left, int bd) {                                       \
722
39.1k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
39.1k
  }
aom_highbd_h_predictor_64x64_c
Line
Count
Source
721
5.66k
      const uint16_t *left, int bd) {                                       \
722
5.66k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
5.66k
  }
aom_highbd_h_predictor_4x8_c
Line
Count
Source
721
55.7k
      const uint16_t *left, int bd) {                                       \
722
55.7k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
55.7k
  }
aom_highbd_h_predictor_8x4_c
Line
Count
Source
721
79.5k
      const uint16_t *left, int bd) {                                       \
722
79.5k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
79.5k
  }
aom_highbd_h_predictor_8x16_c
Line
Count
Source
721
22.3k
      const uint16_t *left, int bd) {                                       \
722
22.3k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
22.3k
  }
aom_highbd_h_predictor_16x8_c
Line
Count
Source
721
30.8k
      const uint16_t *left, int bd) {                                       \
722
30.8k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
30.8k
  }
aom_highbd_h_predictor_16x32_c
Line
Count
Source
721
8.97k
      const uint16_t *left, int bd) {                                       \
722
8.97k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
8.97k
  }
aom_highbd_h_predictor_32x16_c
Line
Count
Source
721
9.47k
      const uint16_t *left, int bd) {                                       \
722
9.47k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
9.47k
  }
aom_highbd_h_predictor_32x64_c
Line
Count
Source
721
765
      const uint16_t *left, int bd) {                                       \
722
765
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
765
  }
aom_highbd_h_predictor_64x32_c
Line
Count
Source
721
822
      const uint16_t *left, int bd) {                                       \
722
822
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
822
  }
aom_highbd_h_predictor_4x16_c
Line
Count
Source
721
16.6k
      const uint16_t *left, int bd) {                                       \
722
16.6k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
16.6k
  }
aom_highbd_h_predictor_16x4_c
Line
Count
Source
721
32.4k
      const uint16_t *left, int bd) {                                       \
722
32.4k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
32.4k
  }
aom_highbd_h_predictor_8x32_c
Line
Count
Source
721
10.2k
      const uint16_t *left, int bd) {                                       \
722
10.2k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
10.2k
  }
aom_highbd_h_predictor_32x8_c
Line
Count
Source
721
12.1k
      const uint16_t *left, int bd) {                                       \
722
12.1k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
12.1k
  }
aom_highbd_h_predictor_16x64_c
Line
Count
Source
721
1.73k
      const uint16_t *left, int bd) {                                       \
722
1.73k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
1.73k
  }
aom_highbd_h_predictor_64x16_c
Line
Count
Source
721
1.19k
      const uint16_t *left, int bd) {                                       \
722
1.19k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
1.19k
  }
aom_highbd_smooth_predictor_4x4_c
Line
Count
Source
721
453k
      const uint16_t *left, int bd) {                                       \
722
453k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
453k
  }
aom_highbd_smooth_predictor_8x8_c
Line
Count
Source
721
270k
      const uint16_t *left, int bd) {                                       \
722
270k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
270k
  }
aom_highbd_smooth_predictor_16x16_c
Line
Count
Source
721
144k
      const uint16_t *left, int bd) {                                       \
722
144k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
144k
  }
aom_highbd_smooth_predictor_32x32_c
Line
Count
Source
721
99.3k
      const uint16_t *left, int bd) {                                       \
722
99.3k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
99.3k
  }
aom_highbd_smooth_predictor_64x64_c
Line
Count
Source
721
18.5k
      const uint16_t *left, int bd) {                                       \
722
18.5k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
18.5k
  }
aom_highbd_smooth_predictor_4x8_c
Line
Count
Source
721
80.2k
      const uint16_t *left, int bd) {                                       \
722
80.2k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
80.2k
  }
aom_highbd_smooth_predictor_8x4_c
Line
Count
Source
721
123k
      const uint16_t *left, int bd) {                                       \
722
123k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
123k
  }
aom_highbd_smooth_predictor_8x16_c
Line
Count
Source
721
53.8k
      const uint16_t *left, int bd) {                                       \
722
53.8k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
53.8k
  }
aom_highbd_smooth_predictor_16x8_c
Line
Count
Source
721
71.8k
      const uint16_t *left, int bd) {                                       \
722
71.8k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
71.8k
  }
aom_highbd_smooth_predictor_16x32_c
Line
Count
Source
721
19.3k
      const uint16_t *left, int bd) {                                       \
722
19.3k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
19.3k
  }
aom_highbd_smooth_predictor_32x16_c
Line
Count
Source
721
21.3k
      const uint16_t *left, int bd) {                                       \
722
21.3k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
21.3k
  }
aom_highbd_smooth_predictor_32x64_c
Line
Count
Source
721
2.61k
      const uint16_t *left, int bd) {                                       \
722
2.61k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
2.61k
  }
aom_highbd_smooth_predictor_64x32_c
Line
Count
Source
721
2.28k
      const uint16_t *left, int bd) {                                       \
722
2.28k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
2.28k
  }
aom_highbd_smooth_predictor_4x16_c
Line
Count
Source
721
39.9k
      const uint16_t *left, int bd) {                                       \
722
39.9k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
39.9k
  }
aom_highbd_smooth_predictor_16x4_c
Line
Count
Source
721
71.4k
      const uint16_t *left, int bd) {                                       \
722
71.4k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
71.4k
  }
aom_highbd_smooth_predictor_8x32_c
Line
Count
Source
721
22.3k
      const uint16_t *left, int bd) {                                       \
722
22.3k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
22.3k
  }
aom_highbd_smooth_predictor_32x8_c
Line
Count
Source
721
27.6k
      const uint16_t *left, int bd) {                                       \
722
27.6k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
27.6k
  }
aom_highbd_smooth_predictor_16x64_c
Line
Count
Source
721
4.60k
      const uint16_t *left, int bd) {                                       \
722
4.60k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
4.60k
  }
aom_highbd_smooth_predictor_64x16_c
Line
Count
Source
721
2.92k
      const uint16_t *left, int bd) {                                       \
722
2.92k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
2.92k
  }
aom_highbd_smooth_v_predictor_4x4_c
Line
Count
Source
721
154k
      const uint16_t *left, int bd) {                                       \
722
154k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
154k
  }
aom_highbd_smooth_v_predictor_8x8_c
Line
Count
Source
721
83.8k
      const uint16_t *left, int bd) {                                       \
722
83.8k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
83.8k
  }
aom_highbd_smooth_v_predictor_16x16_c
Line
Count
Source
721
49.1k
      const uint16_t *left, int bd) {                                       \
722
49.1k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
49.1k
  }
aom_highbd_smooth_v_predictor_32x32_c
Line
Count
Source
721
39.8k
      const uint16_t *left, int bd) {                                       \
722
39.8k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
39.8k
  }
aom_highbd_smooth_v_predictor_64x64_c
Line
Count
Source
721
4.99k
      const uint16_t *left, int bd) {                                       \
722
4.99k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
4.99k
  }
aom_highbd_smooth_v_predictor_4x8_c
Line
Count
Source
721
28.5k
      const uint16_t *left, int bd) {                                       \
722
28.5k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
28.5k
  }
aom_highbd_smooth_v_predictor_8x4_c
Line
Count
Source
721
42.5k
      const uint16_t *left, int bd) {                                       \
722
42.5k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
42.5k
  }
aom_highbd_smooth_v_predictor_8x16_c
Line
Count
Source
721
18.9k
      const uint16_t *left, int bd) {                                       \
722
18.9k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
18.9k
  }
aom_highbd_smooth_v_predictor_16x8_c
Line
Count
Source
721
24.4k
      const uint16_t *left, int bd) {                                       \
722
24.4k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
24.4k
  }
aom_highbd_smooth_v_predictor_16x32_c
Line
Count
Source
721
7.75k
      const uint16_t *left, int bd) {                                       \
722
7.75k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
7.75k
  }
aom_highbd_smooth_v_predictor_32x16_c
Line
Count
Source
721
9.00k
      const uint16_t *left, int bd) {                                       \
722
9.00k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
9.00k
  }
aom_highbd_smooth_v_predictor_32x64_c
Line
Count
Source
721
827
      const uint16_t *left, int bd) {                                       \
722
827
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
827
  }
aom_highbd_smooth_v_predictor_64x32_c
Line
Count
Source
721
841
      const uint16_t *left, int bd) {                                       \
722
841
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
841
  }
aom_highbd_smooth_v_predictor_4x16_c
Line
Count
Source
721
14.5k
      const uint16_t *left, int bd) {                                       \
722
14.5k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
14.5k
  }
aom_highbd_smooth_v_predictor_16x4_c
Line
Count
Source
721
24.3k
      const uint16_t *left, int bd) {                                       \
722
24.3k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
24.3k
  }
aom_highbd_smooth_v_predictor_8x32_c
Line
Count
Source
721
9.09k
      const uint16_t *left, int bd) {                                       \
722
9.09k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
9.09k
  }
aom_highbd_smooth_v_predictor_32x8_c
Line
Count
Source
721
10.0k
      const uint16_t *left, int bd) {                                       \
722
10.0k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
10.0k
  }
aom_highbd_smooth_v_predictor_16x64_c
Line
Count
Source
721
1.83k
      const uint16_t *left, int bd) {                                       \
722
1.83k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
1.83k
  }
aom_highbd_smooth_v_predictor_64x16_c
Line
Count
Source
721
878
      const uint16_t *left, int bd) {                                       \
722
878
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
878
  }
aom_highbd_smooth_h_predictor_4x4_c
Line
Count
Source
721
169k
      const uint16_t *left, int bd) {                                       \
722
169k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
169k
  }
aom_highbd_smooth_h_predictor_8x8_c
Line
Count
Source
721
111k
      const uint16_t *left, int bd) {                                       \
722
111k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
111k
  }
aom_highbd_smooth_h_predictor_16x16_c
Line
Count
Source
721
56.8k
      const uint16_t *left, int bd) {                                       \
722
56.8k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
56.8k
  }
aom_highbd_smooth_h_predictor_32x32_c
Line
Count
Source
721
50.0k
      const uint16_t *left, int bd) {                                       \
722
50.0k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
50.0k
  }
aom_highbd_smooth_h_predictor_64x64_c
Line
Count
Source
721
6.72k
      const uint16_t *left, int bd) {                                       \
722
6.72k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
6.72k
  }
aom_highbd_smooth_h_predictor_4x8_c
Line
Count
Source
721
35.1k
      const uint16_t *left, int bd) {                                       \
722
35.1k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
35.1k
  }
aom_highbd_smooth_h_predictor_8x4_c
Line
Count
Source
721
52.5k
      const uint16_t *left, int bd) {                                       \
722
52.5k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
52.5k
  }
aom_highbd_smooth_h_predictor_8x16_c
Line
Count
Source
721
23.0k
      const uint16_t *left, int bd) {                                       \
722
23.0k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
23.0k
  }
aom_highbd_smooth_h_predictor_16x8_c
Line
Count
Source
721
27.4k
      const uint16_t *left, int bd) {                                       \
722
27.4k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
27.4k
  }
aom_highbd_smooth_h_predictor_16x32_c
Line
Count
Source
721
9.87k
      const uint16_t *left, int bd) {                                       \
722
9.87k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
9.87k
  }
aom_highbd_smooth_h_predictor_32x16_c
Line
Count
Source
721
9.27k
      const uint16_t *left, int bd) {                                       \
722
9.27k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
9.27k
  }
aom_highbd_smooth_h_predictor_32x64_c
Line
Count
Source
721
943
      const uint16_t *left, int bd) {                                       \
722
943
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
943
  }
aom_highbd_smooth_h_predictor_64x32_c
Line
Count
Source
721
1.01k
      const uint16_t *left, int bd) {                                       \
722
1.01k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
1.01k
  }
aom_highbd_smooth_h_predictor_4x16_c
Line
Count
Source
721
15.9k
      const uint16_t *left, int bd) {                                       \
722
15.9k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
15.9k
  }
aom_highbd_smooth_h_predictor_16x4_c
Line
Count
Source
721
29.5k
      const uint16_t *left, int bd) {                                       \
722
29.5k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
29.5k
  }
aom_highbd_smooth_h_predictor_8x32_c
Line
Count
Source
721
8.59k
      const uint16_t *left, int bd) {                                       \
722
8.59k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
8.59k
  }
aom_highbd_smooth_h_predictor_32x8_c
Line
Count
Source
721
11.6k
      const uint16_t *left, int bd) {                                       \
722
11.6k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
11.6k
  }
aom_highbd_smooth_h_predictor_16x64_c
Line
Count
Source
721
2.33k
      const uint16_t *left, int bd) {                                       \
722
2.33k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
2.33k
  }
aom_highbd_smooth_h_predictor_64x16_c
Line
Count
Source
721
916
      const uint16_t *left, int bd) {                                       \
722
916
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
916
  }
aom_highbd_paeth_predictor_4x4_c
Line
Count
Source
721
617k
      const uint16_t *left, int bd) {                                       \
722
617k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
617k
  }
aom_highbd_paeth_predictor_8x8_c
Line
Count
Source
721
316k
      const uint16_t *left, int bd) {                                       \
722
316k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
316k
  }
aom_highbd_paeth_predictor_16x16_c
Line
Count
Source
721
203k
      const uint16_t *left, int bd) {                                       \
722
203k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
203k
  }
aom_highbd_paeth_predictor_32x32_c
Line
Count
Source
721
192k
      const uint16_t *left, int bd) {                                       \
722
192k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
192k
  }
aom_highbd_paeth_predictor_64x64_c
Line
Count
Source
721
36.8k
      const uint16_t *left, int bd) {                                       \
722
36.8k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
36.8k
  }
aom_highbd_paeth_predictor_4x8_c
Line
Count
Source
721
88.8k
      const uint16_t *left, int bd) {                                       \
722
88.8k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
88.8k
  }
aom_highbd_paeth_predictor_8x4_c
Line
Count
Source
721
133k
      const uint16_t *left, int bd) {                                       \
722
133k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
133k
  }
aom_highbd_paeth_predictor_8x16_c
Line
Count
Source
721
63.2k
      const uint16_t *left, int bd) {                                       \
722
63.2k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
63.2k
  }
aom_highbd_paeth_predictor_16x8_c
Line
Count
Source
721
84.5k
      const uint16_t *left, int bd) {                                       \
722
84.5k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
84.5k
  }
aom_highbd_paeth_predictor_16x32_c
Line
Count
Source
721
295k
      const uint16_t *left, int bd) {                                       \
722
295k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
295k
  }
aom_highbd_paeth_predictor_32x16_c
Line
Count
Source
721
25.7k
      const uint16_t *left, int bd) {                                       \
722
25.7k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
25.7k
  }
aom_highbd_paeth_predictor_32x64_c
Line
Count
Source
721
12.9k
      const uint16_t *left, int bd) {                                       \
722
12.9k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
12.9k
  }
aom_highbd_paeth_predictor_64x32_c
Line
Count
Source
721
2.79k
      const uint16_t *left, int bd) {                                       \
722
2.79k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
2.79k
  }
aom_highbd_paeth_predictor_4x16_c
Line
Count
Source
721
128k
      const uint16_t *left, int bd) {                                       \
722
128k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
128k
  }
aom_highbd_paeth_predictor_16x4_c
Line
Count
Source
721
76.5k
      const uint16_t *left, int bd) {                                       \
722
76.5k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
76.5k
  }
aom_highbd_paeth_predictor_8x32_c
Line
Count
Source
721
273k
      const uint16_t *left, int bd) {                                       \
722
273k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
273k
  }
aom_highbd_paeth_predictor_32x8_c
Line
Count
Source
721
29.7k
      const uint16_t *left, int bd) {                                       \
722
29.7k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
29.7k
  }
aom_highbd_paeth_predictor_16x64_c
Line
Count
Source
721
155k
      const uint16_t *left, int bd) {                                       \
722
155k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
155k
  }
aom_highbd_paeth_predictor_64x16_c
Line
Count
Source
721
2.62k
      const uint16_t *left, int bd) {                                       \
722
2.62k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
2.62k
  }
aom_highbd_dc_128_predictor_4x4_c
Line
Count
Source
721
5.03k
      const uint16_t *left, int bd) {                                       \
722
5.03k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
5.03k
  }
aom_highbd_dc_128_predictor_8x8_c
Line
Count
Source
721
2.12k
      const uint16_t *left, int bd) {                                       \
722
2.12k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
2.12k
  }
aom_highbd_dc_128_predictor_16x16_c
Line
Count
Source
721
3.38k
      const uint16_t *left, int bd) {                                       \
722
3.38k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
3.38k
  }
aom_highbd_dc_128_predictor_32x32_c
Line
Count
Source
721
28.2k
      const uint16_t *left, int bd) {                                       \
722
28.2k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
28.2k
  }
aom_highbd_dc_128_predictor_64x64_c
Line
Count
Source
721
9.53k
      const uint16_t *left, int bd) {                                       \
722
9.53k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
9.53k
  }
aom_highbd_dc_128_predictor_4x8_c
Line
Count
Source
721
281
      const uint16_t *left, int bd) {                                       \
722
281
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
281
  }
aom_highbd_dc_128_predictor_8x4_c
Line
Count
Source
721
83
      const uint16_t *left, int bd) {                                       \
722
83
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
83
  }
aom_highbd_dc_128_predictor_8x16_c
Line
Count
Source
721
584
      const uint16_t *left, int bd) {                                       \
722
584
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
584
  }
aom_highbd_dc_128_predictor_16x8_c
Line
Count
Source
721
509
      const uint16_t *left, int bd) {                                       \
722
509
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
509
  }
aom_highbd_dc_128_predictor_16x32_c
Line
Count
Source
721
3.01k
      const uint16_t *left, int bd) {                                       \
722
3.01k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
3.01k
  }
aom_highbd_dc_128_predictor_32x16_c
Line
Count
Source
721
2.22k
      const uint16_t *left, int bd) {                                       \
722
2.22k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
2.22k
  }
aom_highbd_dc_128_predictor_32x64_c
Line
Count
Source
721
366
      const uint16_t *left, int bd) {                                       \
722
366
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
366
  }
aom_highbd_dc_128_predictor_64x32_c
Line
Count
Source
721
725
      const uint16_t *left, int bd) {                                       \
722
725
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
725
  }
aom_highbd_dc_128_predictor_4x16_c
Line
Count
Source
721
795
      const uint16_t *left, int bd) {                                       \
722
795
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
795
  }
aom_highbd_dc_128_predictor_16x4_c
Line
Count
Source
721
42
      const uint16_t *left, int bd) {                                       \
722
42
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
42
  }
aom_highbd_dc_128_predictor_8x32_c
Line
Count
Source
721
2.43k
      const uint16_t *left, int bd) {                                       \
722
2.43k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
2.43k
  }
aom_highbd_dc_128_predictor_32x8_c
Line
Count
Source
721
172
      const uint16_t *left, int bd) {                                       \
722
172
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
172
  }
aom_highbd_dc_128_predictor_16x64_c
Line
Count
Source
721
1.37k
      const uint16_t *left, int bd) {                                       \
722
1.37k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
1.37k
  }
aom_highbd_dc_128_predictor_64x16_c
Line
Count
Source
721
22
      const uint16_t *left, int bd) {                                       \
722
22
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
22
  }
aom_highbd_dc_left_predictor_4x4_c
Line
Count
Source
721
73.2k
      const uint16_t *left, int bd) {                                       \
722
73.2k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
73.2k
  }
aom_highbd_dc_left_predictor_8x8_c
Line
Count
Source
721
15.4k
      const uint16_t *left, int bd) {                                       \
722
15.4k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
15.4k
  }
aom_highbd_dc_left_predictor_16x16_c
Line
Count
Source
721
29.9k
      const uint16_t *left, int bd) {                                       \
722
29.9k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
29.9k
  }
aom_highbd_dc_left_predictor_32x32_c
Line
Count
Source
721
121k
      const uint16_t *left, int bd) {                                       \
722
121k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
121k
  }
aom_highbd_dc_left_predictor_64x64_c
Line
Count
Source
721
24.7k
      const uint16_t *left, int bd) {                                       \
722
24.7k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
24.7k
  }
aom_highbd_dc_left_predictor_4x8_c
Line
Count
Source
721
6.87k
      const uint16_t *left, int bd) {                                       \
722
6.87k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
6.87k
  }
aom_highbd_dc_left_predictor_8x4_c
Line
Count
Source
721
6.42k
      const uint16_t *left, int bd) {                                       \
722
6.42k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
6.42k
  }
aom_highbd_dc_left_predictor_8x16_c
Line
Count
Source
721
6.02k
      const uint16_t *left, int bd) {                                       \
722
6.02k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
6.02k
  }
aom_highbd_dc_left_predictor_16x8_c
Line
Count
Source
721
8.07k
      const uint16_t *left, int bd) {                                       \
722
8.07k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
8.07k
  }
aom_highbd_dc_left_predictor_16x32_c
Line
Count
Source
721
11.0k
      const uint16_t *left, int bd) {                                       \
722
11.0k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
11.0k
  }
aom_highbd_dc_left_predictor_32x16_c
Line
Count
Source
721
8.16k
      const uint16_t *left, int bd) {                                       \
722
8.16k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
8.16k
  }
aom_highbd_dc_left_predictor_32x64_c
Line
Count
Source
721
1.38k
      const uint16_t *left, int bd) {                                       \
722
1.38k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
1.38k
  }
aom_highbd_dc_left_predictor_64x32_c
Line
Count
Source
721
2.66k
      const uint16_t *left, int bd) {                                       \
722
2.66k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
2.66k
  }
aom_highbd_dc_left_predictor_4x16_c
Line
Count
Source
721
14.4k
      const uint16_t *left, int bd) {                                       \
722
14.4k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
14.4k
  }
aom_highbd_dc_left_predictor_16x4_c
Line
Count
Source
721
2.36k
      const uint16_t *left, int bd) {                                       \
722
2.36k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
2.36k
  }
aom_highbd_dc_left_predictor_8x32_c
Line
Count
Source
721
11.3k
      const uint16_t *left, int bd) {                                       \
722
11.3k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
11.3k
  }
aom_highbd_dc_left_predictor_32x8_c
Line
Count
Source
721
2.74k
      const uint16_t *left, int bd) {                                       \
722
2.74k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
2.74k
  }
aom_highbd_dc_left_predictor_16x64_c
Line
Count
Source
721
2.80k
      const uint16_t *left, int bd) {                                       \
722
2.80k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
2.80k
  }
aom_highbd_dc_left_predictor_64x16_c
Line
Count
Source
721
682
      const uint16_t *left, int bd) {                                       \
722
682
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
682
  }
aom_highbd_dc_top_predictor_4x4_c
Line
Count
Source
721
73.9k
      const uint16_t *left, int bd) {                                       \
722
73.9k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
73.9k
  }
aom_highbd_dc_top_predictor_8x8_c
Line
Count
Source
721
29.6k
      const uint16_t *left, int bd) {                                       \
722
29.6k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
29.6k
  }
aom_highbd_dc_top_predictor_16x16_c
Line
Count
Source
721
34.7k
      const uint16_t *left, int bd) {                                       \
722
34.7k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
34.7k
  }
aom_highbd_dc_top_predictor_32x32_c
Line
Count
Source
721
210k
      const uint16_t *left, int bd) {                                       \
722
210k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
210k
  }
aom_highbd_dc_top_predictor_64x64_c
Line
Count
Source
721
25.9k
      const uint16_t *left, int bd) {                                       \
722
25.9k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
25.9k
  }
aom_highbd_dc_top_predictor_4x8_c
Line
Count
Source
721
30.7k
      const uint16_t *left, int bd) {                                       \
722
30.7k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
30.7k
  }
aom_highbd_dc_top_predictor_8x4_c
Line
Count
Source
721
17.1k
      const uint16_t *left, int bd) {                                       \
722
17.1k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
17.1k
  }
aom_highbd_dc_top_predictor_8x16_c
Line
Count
Source
721
29.7k
      const uint16_t *left, int bd) {                                       \
722
29.7k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
29.7k
  }
aom_highbd_dc_top_predictor_16x8_c
Line
Count
Source
721
14.4k
      const uint16_t *left, int bd) {                                       \
722
14.4k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
14.4k
  }
aom_highbd_dc_top_predictor_16x32_c
Line
Count
Source
721
34.8k
      const uint16_t *left, int bd) {                                       \
722
34.8k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
34.8k
  }
aom_highbd_dc_top_predictor_32x16_c
Line
Count
Source
721
14.8k
      const uint16_t *left, int bd) {                                       \
722
14.8k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
14.8k
  }
aom_highbd_dc_top_predictor_32x64_c
Line
Count
Source
721
14.2k
      const uint16_t *left, int bd) {                                       \
722
14.2k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
14.2k
  }
aom_highbd_dc_top_predictor_64x32_c
Line
Count
Source
721
1.44k
      const uint16_t *left, int bd) {                                       \
722
1.44k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
1.44k
  }
aom_highbd_dc_top_predictor_4x16_c
Line
Count
Source
721
29.8k
      const uint16_t *left, int bd) {                                       \
722
29.8k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
29.8k
  }
aom_highbd_dc_top_predictor_16x4_c
Line
Count
Source
721
13.4k
      const uint16_t *left, int bd) {                                       \
722
13.4k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
13.4k
  }
aom_highbd_dc_top_predictor_8x32_c
Line
Count
Source
721
21.8k
      const uint16_t *left, int bd) {                                       \
722
21.8k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
21.8k
  }
aom_highbd_dc_top_predictor_32x8_c
Line
Count
Source
721
15.4k
      const uint16_t *left, int bd) {                                       \
722
15.4k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
15.4k
  }
aom_highbd_dc_top_predictor_16x64_c
Line
Count
Source
721
705
      const uint16_t *left, int bd) {                                       \
722
705
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
705
  }
aom_highbd_dc_top_predictor_64x16_c
Line
Count
Source
721
3.28k
      const uint16_t *left, int bd) {                                       \
722
3.28k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
3.28k
  }
aom_highbd_dc_predictor_4x4_c
Line
Count
Source
721
2.99M
      const uint16_t *left, int bd) {                                       \
722
2.99M
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
2.99M
  }
aom_highbd_dc_predictor_8x8_c
Line
Count
Source
721
731k
      const uint16_t *left, int bd) {                                       \
722
731k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
731k
  }
aom_highbd_dc_predictor_16x16_c
Line
Count
Source
721
464k
      const uint16_t *left, int bd) {                                       \
722
464k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
464k
  }
aom_highbd_dc_predictor_32x32_c
Line
Count
Source
721
647k
      const uint16_t *left, int bd) {                                       \
722
647k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
647k
  }
aom_highbd_dc_predictor_64x64_c
Line
Count
Source
721
56.4k
      const uint16_t *left, int bd) {                                       \
722
56.4k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
56.4k
  }
724
725
/* clang-format off */
726
#if CONFIG_REALTIME_ONLY
727
#define intra_pred_rectangular(type) \
728
  intra_pred_sized(type, 4, 8) \
729
  intra_pred_sized(type, 8, 4) \
730
  intra_pred_sized(type, 8, 16) \
731
  intra_pred_sized(type, 16, 8) \
732
  intra_pred_sized(type, 16, 32) \
733
  intra_pred_sized(type, 32, 16) \
734
  intra_pred_sized(type, 32, 64) \
735
  intra_pred_sized(type, 64, 32) \
736
  intra_pred_highbd_sized(type, 4, 8) \
737
  intra_pred_highbd_sized(type, 8, 4) \
738
  intra_pred_highbd_sized(type, 8, 16) \
739
  intra_pred_highbd_sized(type, 16, 8) \
740
  intra_pred_highbd_sized(type, 16, 32) \
741
  intra_pred_highbd_sized(type, 32, 16) \
742
  intra_pred_highbd_sized(type, 32, 64) \
743
  intra_pred_highbd_sized(type, 64, 32)
744
#else
745
#define intra_pred_rectangular(type) \
746
  intra_pred_sized(type, 4, 8) \
747
  intra_pred_sized(type, 8, 4) \
748
  intra_pred_sized(type, 8, 16) \
749
  intra_pred_sized(type, 16, 8) \
750
  intra_pred_sized(type, 16, 32) \
751
  intra_pred_sized(type, 32, 16) \
752
  intra_pred_sized(type, 32, 64) \
753
  intra_pred_sized(type, 64, 32) \
754
  intra_pred_sized(type, 4, 16) \
755
  intra_pred_sized(type, 16, 4) \
756
  intra_pred_sized(type, 8, 32) \
757
  intra_pred_sized(type, 32, 8) \
758
  intra_pred_sized(type, 16, 64) \
759
  intra_pred_sized(type, 64, 16) \
760
  intra_pred_highbd_sized(type, 4, 8) \
761
  intra_pred_highbd_sized(type, 8, 4) \
762
  intra_pred_highbd_sized(type, 8, 16) \
763
  intra_pred_highbd_sized(type, 16, 8) \
764
  intra_pred_highbd_sized(type, 16, 32) \
765
  intra_pred_highbd_sized(type, 32, 16) \
766
  intra_pred_highbd_sized(type, 32, 64) \
767
  intra_pred_highbd_sized(type, 64, 32) \
768
  intra_pred_highbd_sized(type, 4, 16) \
769
  intra_pred_highbd_sized(type, 16, 4) \
770
  intra_pred_highbd_sized(type, 8, 32) \
771
  intra_pred_highbd_sized(type, 32, 8) \
772
  intra_pred_highbd_sized(type, 16, 64) \
773
  intra_pred_highbd_sized(type, 64, 16)
774
#endif
775
776
#define intra_pred_above_4x4(type) \
777
  intra_pred_sized(type, 8, 8) \
778
  intra_pred_sized(type, 16, 16) \
779
  intra_pred_sized(type, 32, 32) \
780
  intra_pred_sized(type, 64, 64) \
781
  intra_pred_highbd_sized(type, 4, 4) \
782
  intra_pred_highbd_sized(type, 8, 8) \
783
  intra_pred_highbd_sized(type, 16, 16) \
784
  intra_pred_highbd_sized(type, 32, 32) \
785
  intra_pred_highbd_sized(type, 64, 64) \
786
  intra_pred_rectangular(type)
787
#define intra_pred_allsizes(type) \
788
  intra_pred_sized(type, 4, 4) \
789
  intra_pred_above_4x4(type)
790
#define intra_pred_square(type) \
791
  intra_pred_sized(type, 4, 4) \
792
  intra_pred_sized(type, 8, 8) \
793
  intra_pred_sized(type, 16, 16) \
794
  intra_pred_sized(type, 32, 32) \
795
  intra_pred_sized(type, 64, 64) \
796
  intra_pred_highbd_sized(type, 4, 4) \
797
  intra_pred_highbd_sized(type, 8, 8) \
798
  intra_pred_highbd_sized(type, 16, 16) \
799
  intra_pred_highbd_sized(type, 32, 32) \
800
  intra_pred_highbd_sized(type, 64, 64)
801
802
intra_pred_allsizes(v)
803
intra_pred_allsizes(h)
804
intra_pred_allsizes(smooth)
805
intra_pred_allsizes(smooth_v)
806
intra_pred_allsizes(smooth_h)
807
intra_pred_allsizes(paeth)
808
intra_pred_allsizes(dc_128)
809
intra_pred_allsizes(dc_left)
810
intra_pred_allsizes(dc_top)
811
intra_pred_square(dc)
812
/* clang-format on */
813
#undef intra_pred_allsizes