Coverage Report

Created: 2025-06-22 08:04

/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
485k
                               const uint8_t *above, const uint8_t *left) {
25
485k
  int r;
26
485k
  (void)left;
27
28
3.54M
  for (r = 0; r < bh; r++) {
29
3.05M
    memcpy(dst, above, bw);
30
3.05M
    dst += stride;
31
3.05M
  }
32
485k
}
33
34
static inline void h_predictor(uint8_t *dst, ptrdiff_t stride, int bw, int bh,
35
438k
                               const uint8_t *above, const uint8_t *left) {
36
438k
  int r;
37
438k
  (void)above;
38
39
3.88M
  for (r = 0; r < bh; r++) {
40
3.44M
    memset(dst, left[r], bw);
41
3.44M
    dst += stride;
42
3.44M
  }
43
438k
}
44
45
1.94G
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
649M
                                              uint16_t top_left) {
49
649M
  const int base = top + left - top_left;
50
649M
  const int p_left = abs_diff(base, left);
51
649M
  const int p_top = abs_diff(base, top);
52
649M
  const int p_top_left = abs_diff(base, top_left);
53
54
  // Return nearest to base of left, top and top_left.
55
649M
  return (p_left <= p_top && p_left <= p_top_left) ? left
56
649M
         : (p_top <= p_top_left)                   ? top
57
117M
                                                   : top_left;
58
649M
}
59
60
static inline void paeth_predictor(uint8_t *dst, ptrdiff_t stride, int bw,
61
                                   int bh, const uint8_t *above,
62
5.48M
                                   const uint8_t *left) {
63
5.48M
  int r, c;
64
5.48M
  const uint8_t ytop_left = above[-1];
65
66
43.8M
  for (r = 0; r < bh; r++) {
67
426M
    for (c = 0; c < bw; c++)
68
388M
      dst[c] = (uint8_t)paeth_predictor_single(left[r], above[c], ytop_left);
69
38.3M
    dst += stride;
70
38.3M
  }
71
5.48M
}
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
2.38M
  assert(weights_w[0] < weights_scale);                               \
77
2.38M
  assert(weights_h[0] < weights_scale);                               \
78
2.38M
  assert(weights_scale - weights_w[bw - 1] < weights_scale);          \
79
2.38M
  assert(weights_scale - weights_h[bh - 1] < weights_scale);          \
80
2.38M
  assert(pred_scale < 31)  // ensures no overflow when calculating predictor.
81
82
465M
#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
717k
                                    const uint8_t *left) {
87
717k
  const uint8_t below_pred = left[bh - 1];   // estimated by bottom-left pixel
88
717k
  const uint8_t right_pred = above[bw - 1];  // estimated by top-right pixel
89
717k
  const uint8_t *const sm_weights_w = smooth_weights + bw - 4;
90
717k
  const uint8_t *const sm_weights_h = smooth_weights + bh - 4;
91
  // scale = 2 * 2^SMOOTH_WEIGHT_LOG2_SCALE
92
717k
  const int log2_scale = 1 + SMOOTH_WEIGHT_LOG2_SCALE;
93
717k
  const uint16_t scale = (1 << SMOOTH_WEIGHT_LOG2_SCALE);
94
717k
  sm_weights_sanity_checks(sm_weights_w, sm_weights_h, scale,
95
717k
                           log2_scale + sizeof(*dst));
96
717k
  int r;
97
8.21M
  for (r = 0; r < bh; ++r) {
98
7.50M
    int c;
99
131M
    for (c = 0; c < bw; ++c) {
100
123M
      const uint8_t pixels[] = { above[c], below_pred, left[r], right_pred };
101
123M
      const uint8_t weights[] = { sm_weights_h[r], scale - sm_weights_h[r],
102
123M
                                  sm_weights_w[c], scale - sm_weights_w[c] };
103
123M
      uint32_t this_pred = 0;
104
123M
      int i;
105
123M
      assert(scale >= sm_weights_h[r] && scale >= sm_weights_w[c]);
106
618M
      for (i = 0; i < 4; ++i) {
107
494M
        this_pred += weights[i] * pixels[i];
108
494M
      }
109
123M
      dst[c] = divide_round(this_pred, log2_scale);
110
123M
    }
111
7.50M
    dst += stride;
112
7.50M
  }
113
717k
}
114
115
static inline void smooth_v_predictor(uint8_t *dst, ptrdiff_t stride, int bw,
116
                                      int bh, const uint8_t *above,
117
265k
                                      const uint8_t *left) {
118
265k
  const uint8_t below_pred = left[bh - 1];  // estimated by bottom-left pixel
119
265k
  const uint8_t *const sm_weights = smooth_weights + bh - 4;
120
  // scale = 2^SMOOTH_WEIGHT_LOG2_SCALE
121
265k
  const int log2_scale = SMOOTH_WEIGHT_LOG2_SCALE;
122
265k
  const uint16_t scale = (1 << SMOOTH_WEIGHT_LOG2_SCALE);
123
265k
  sm_weights_sanity_checks(sm_weights, sm_weights, scale,
124
265k
                           log2_scale + sizeof(*dst));
125
126
265k
  int r;
127
3.36M
  for (r = 0; r < bh; r++) {
128
3.09M
    int c;
129
57.7M
    for (c = 0; c < bw; ++c) {
130
54.6M
      const uint8_t pixels[] = { above[c], below_pred };
131
54.6M
      const uint8_t weights[] = { sm_weights[r], scale - sm_weights[r] };
132
54.6M
      uint32_t this_pred = 0;
133
54.6M
      assert(scale >= sm_weights[r]);
134
54.6M
      int i;
135
163M
      for (i = 0; i < 2; ++i) {
136
109M
        this_pred += weights[i] * pixels[i];
137
109M
      }
138
54.6M
      dst[c] = divide_round(this_pred, log2_scale);
139
54.6M
    }
140
3.09M
    dst += stride;
141
3.09M
  }
142
265k
}
143
144
static inline void smooth_h_predictor(uint8_t *dst, ptrdiff_t stride, int bw,
145
                                      int bh, const uint8_t *above,
146
342k
                                      const uint8_t *left) {
147
342k
  const uint8_t right_pred = above[bw - 1];  // estimated by top-right pixel
148
342k
  const uint8_t *const sm_weights = smooth_weights + bw - 4;
149
  // scale = 2^SMOOTH_WEIGHT_LOG2_SCALE
150
342k
  const int log2_scale = SMOOTH_WEIGHT_LOG2_SCALE;
151
342k
  const uint16_t scale = (1 << SMOOTH_WEIGHT_LOG2_SCALE);
152
342k
  sm_weights_sanity_checks(sm_weights, sm_weights, scale,
153
342k
                           log2_scale + sizeof(*dst));
154
155
342k
  int r;
156
4.28M
  for (r = 0; r < bh; r++) {
157
3.93M
    int c;
158
68.1M
    for (c = 0; c < bw; ++c) {
159
64.1M
      const uint8_t pixels[] = { left[r], right_pred };
160
64.1M
      const uint8_t weights[] = { sm_weights[c], scale - sm_weights[c] };
161
64.1M
      uint32_t this_pred = 0;
162
64.1M
      assert(scale >= sm_weights[c]);
163
64.1M
      int i;
164
192M
      for (i = 0; i < 2; ++i) {
165
128M
        this_pred += weights[i] * pixels[i];
166
128M
      }
167
64.1M
      dst[c] = divide_round(this_pred, log2_scale);
168
64.1M
    }
169
3.93M
    dst += stride;
170
3.93M
  }
171
342k
}
172
173
static inline void dc_128_predictor(uint8_t *dst, ptrdiff_t stride, int bw,
174
                                    int bh, const uint8_t *above,
175
23.2k
                                    const uint8_t *left) {
176
23.2k
  int r;
177
23.2k
  (void)above;
178
23.2k
  (void)left;
179
180
510k
  for (r = 0; r < bh; r++) {
181
487k
    memset(dst, 128, bw);
182
487k
    dst += stride;
183
487k
  }
184
23.2k
}
185
186
static inline void dc_left_predictor(uint8_t *dst, ptrdiff_t stride, int bw,
187
                                     int bh, const uint8_t *above,
188
201k
                                     const uint8_t *left) {
189
201k
  int i, r, expected_dc, sum = 0;
190
201k
  (void)above;
191
192
3.09M
  for (i = 0; i < bh; i++) sum += left[i];
193
201k
  expected_dc = (sum + (bh >> 1)) / bh;
194
195
3.09M
  for (r = 0; r < bh; r++) {
196
2.89M
    memset(dst, expected_dc, bw);
197
2.89M
    dst += stride;
198
2.89M
  }
199
201k
}
200
201
static inline void dc_top_predictor(uint8_t *dst, ptrdiff_t stride, int bw,
202
                                    int bh, const uint8_t *above,
203
396k
                                    const uint8_t *left) {
204
396k
  int i, r, expected_dc, sum = 0;
205
396k
  (void)left;
206
207
5.59M
  for (i = 0; i < bw; i++) sum += above[i];
208
396k
  expected_dc = (sum + (bw >> 1)) / bw;
209
210
6.75M
  for (r = 0; r < bh; r++) {
211
6.35M
    memset(dst, expected_dc, bw);
212
6.35M
    dst += stride;
213
6.35M
  }
214
396k
}
215
216
static inline void dc_predictor(uint8_t *dst, ptrdiff_t stride, int bw, int bh,
217
3.06M
                                const uint8_t *above, const uint8_t *left) {
218
3.06M
  int i, r, expected_dc, sum = 0;
219
3.06M
  const int count = bw + bh;
220
221
25.3M
  for (i = 0; i < bw; i++) {
222
22.3M
    sum += above[i];
223
22.3M
  }
224
25.3M
  for (i = 0; i < bh; i++) {
225
22.3M
    sum += left[i];
226
22.3M
  }
227
228
3.06M
  expected_dc = (sum + (count >> 1)) / count;
229
230
25.3M
  for (r = 0; r < bh; r++) {
231
22.3M
    memset(dst, expected_dc, bw);
232
22.3M
    dst += stride;
233
22.3M
  }
234
3.06M
}
235
236
static inline int divide_using_multiply_shift(int num, int shift1,
237
2.45M
                                              int multiplier, int shift2) {
238
2.45M
  const int interm = num >> shift1;
239
2.45M
  return interm * multiplier >> shift2;
240
2.45M
}
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
758k
#define DC_MULTIPLIER_1X2 0x5556
261
423k
#define DC_MULTIPLIER_1X4 0x3334
262
263
1.18M
#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
1.18M
                                     int multiplier) {
269
1.18M
  int sum = 0;
270
271
15.1M
  for (int i = 0; i < bw; i++) {
272
13.9M
    sum += above[i];
273
13.9M
  }
274
14.5M
  for (int i = 0; i < bh; i++) {
275
13.3M
    sum += left[i];
276
13.3M
  }
277
278
1.18M
  const int expected_dc = divide_using_multiply_shift(
279
1.18M
      sum + ((bw + bh) >> 1), shift1, multiplier, DC_SHIFT2);
280
1.18M
  assert(expected_dc < (1 << 8));
281
282
14.5M
  for (int r = 0; r < bh; r++) {
283
13.3M
    memset(dst, expected_dc, bw);
284
13.3M
    dst += stride;
285
13.3M
  }
286
1.18M
}
287
288
#undef DC_SHIFT2
289
290
void aom_dc_predictor_4x8_c(uint8_t *dst, ptrdiff_t stride,
291
157k
                            const uint8_t *above, const uint8_t *left) {
292
157k
  dc_predictor_rect(dst, stride, 4, 8, above, left, 2, DC_MULTIPLIER_1X2);
293
157k
}
294
295
void aom_dc_predictor_8x4_c(uint8_t *dst, ptrdiff_t stride,
296
202k
                            const uint8_t *above, const uint8_t *left) {
297
202k
  dc_predictor_rect(dst, stride, 8, 4, above, left, 2, DC_MULTIPLIER_1X2);
298
202k
}
299
300
#if !CONFIG_REALTIME_ONLY || CONFIG_AV1_DECODER
301
void aom_dc_predictor_4x16_c(uint8_t *dst, ptrdiff_t stride,
302
162k
                             const uint8_t *above, const uint8_t *left) {
303
162k
  dc_predictor_rect(dst, stride, 4, 16, above, left, 2, DC_MULTIPLIER_1X4);
304
162k
}
305
306
void aom_dc_predictor_16x4_c(uint8_t *dst, ptrdiff_t stride,
307
148k
                             const uint8_t *above, const uint8_t *left) {
308
148k
  dc_predictor_rect(dst, stride, 16, 4, above, left, 2, DC_MULTIPLIER_1X4);
309
148k
}
310
#endif  // !CONFIG_REALTIME_ONLY || CONFIG_AV1_DECODER
311
312
void aom_dc_predictor_8x16_c(uint8_t *dst, ptrdiff_t stride,
313
124k
                             const uint8_t *above, const uint8_t *left) {
314
124k
  dc_predictor_rect(dst, stride, 8, 16, above, left, 3, DC_MULTIPLIER_1X2);
315
124k
}
316
317
void aom_dc_predictor_16x8_c(uint8_t *dst, ptrdiff_t stride,
318
178k
                             const uint8_t *above, const uint8_t *left) {
319
178k
  dc_predictor_rect(dst, stride, 16, 8, above, left, 3, DC_MULTIPLIER_1X2);
320
178k
}
321
322
#if !CONFIG_REALTIME_ONLY || CONFIG_AV1_DECODER
323
void aom_dc_predictor_8x32_c(uint8_t *dst, ptrdiff_t stride,
324
46.7k
                             const uint8_t *above, const uint8_t *left) {
325
46.7k
  dc_predictor_rect(dst, stride, 8, 32, above, left, 3, DC_MULTIPLIER_1X4);
326
46.7k
}
327
328
void aom_dc_predictor_32x8_c(uint8_t *dst, ptrdiff_t stride,
329
57.5k
                             const uint8_t *above, const uint8_t *left) {
330
57.5k
  dc_predictor_rect(dst, stride, 32, 8, above, left, 3, DC_MULTIPLIER_1X4);
331
57.5k
}
332
#endif  // !CONFIG_REALTIME_ONLY || CONFIG_AV1_DECODER
333
334
void aom_dc_predictor_16x32_c(uint8_t *dst, ptrdiff_t stride,
335
46.1k
                              const uint8_t *above, const uint8_t *left) {
336
46.1k
  dc_predictor_rect(dst, stride, 16, 32, above, left, 4, DC_MULTIPLIER_1X2);
337
46.1k
}
338
339
void aom_dc_predictor_32x16_c(uint8_t *dst, ptrdiff_t stride,
340
45.7k
                              const uint8_t *above, const uint8_t *left) {
341
45.7k
  dc_predictor_rect(dst, stride, 32, 16, above, left, 4, DC_MULTIPLIER_1X2);
342
45.7k
}
343
344
#if !CONFIG_REALTIME_ONLY || CONFIG_AV1_DECODER
345
void aom_dc_predictor_16x64_c(uint8_t *dst, ptrdiff_t stride,
346
5.36k
                              const uint8_t *above, const uint8_t *left) {
347
5.36k
  dc_predictor_rect(dst, stride, 16, 64, above, left, 4, DC_MULTIPLIER_1X4);
348
5.36k
}
349
350
void aom_dc_predictor_64x16_c(uint8_t *dst, ptrdiff_t stride,
351
2.95k
                              const uint8_t *above, const uint8_t *left) {
352
2.95k
  dc_predictor_rect(dst, stride, 64, 16, above, left, 4, DC_MULTIPLIER_1X4);
353
2.95k
}
354
#endif  // !CONFIG_REALTIME_ONLY || CONFIG_AV1_DECODER
355
356
void aom_dc_predictor_32x64_c(uint8_t *dst, ptrdiff_t stride,
357
1.59k
                              const uint8_t *above, const uint8_t *left) {
358
1.59k
  dc_predictor_rect(dst, stride, 32, 64, above, left, 5, DC_MULTIPLIER_1X2);
359
1.59k
}
360
361
void aom_dc_predictor_64x32_c(uint8_t *dst, ptrdiff_t stride,
362
1.65k
                              const uint8_t *above, const uint8_t *left) {
363
1.65k
  dc_predictor_rect(dst, stride, 64, 32, above, left, 5, DC_MULTIPLIER_1X2);
364
1.65k
}
365
366
#undef DC_MULTIPLIER_1X2
367
#undef DC_MULTIPLIER_1X4
368
369
#if CONFIG_AV1_HIGHBITDEPTH
370
371
static inline void highbd_v_predictor(uint16_t *dst, ptrdiff_t stride, int bw,
372
                                      int bh, const uint16_t *above,
373
142k
                                      const uint16_t *left, int bd) {
374
142k
  int r;
375
142k
  (void)left;
376
142k
  (void)bd;
377
1.68M
  for (r = 0; r < bh; r++) {
378
1.54M
    memcpy(dst, above, bw * sizeof(uint16_t));
379
1.54M
    dst += stride;
380
1.54M
  }
381
142k
}
382
383
static inline void highbd_h_predictor(uint16_t *dst, ptrdiff_t stride, int bw,
384
                                      int bh, const uint16_t *above,
385
263k
                                      const uint16_t *left, int bd) {
386
263k
  int r;
387
263k
  (void)above;
388
263k
  (void)bd;
389
2.96M
  for (r = 0; r < bh; r++) {
390
2.70M
    aom_memset16(dst, left[r], bw);
391
2.70M
    dst += stride;
392
2.70M
  }
393
263k
}
394
395
static inline void highbd_paeth_predictor(uint16_t *dst, ptrdiff_t stride,
396
                                          int bw, int bh, const uint16_t *above,
397
1.07M
                                          const uint16_t *left, int bd) {
398
1.07M
  int r, c;
399
1.07M
  const uint16_t ytop_left = above[-1];
400
1.07M
  (void)bd;
401
402
19.2M
  for (r = 0; r < bh; r++) {
403
279M
    for (c = 0; c < bw; c++)
404
261M
      dst[c] = paeth_predictor_single(left[r], above[c], ytop_left);
405
18.1M
    dst += stride;
406
18.1M
  }
407
1.07M
}
408
409
static inline void highbd_smooth_predictor(uint16_t *dst, ptrdiff_t stride,
410
                                           int bw, int bh,
411
                                           const uint16_t *above,
412
563k
                                           const uint16_t *left, int bd) {
413
563k
  (void)bd;
414
563k
  const uint16_t below_pred = left[bh - 1];   // estimated by bottom-left pixel
415
563k
  const uint16_t right_pred = above[bw - 1];  // estimated by top-right pixel
416
563k
  const uint8_t *const sm_weights_w = smooth_weights + bw - 4;
417
563k
  const uint8_t *const sm_weights_h = smooth_weights + bh - 4;
418
  // scale = 2 * 2^SMOOTH_WEIGHT_LOG2_SCALE
419
563k
  const int log2_scale = 1 + SMOOTH_WEIGHT_LOG2_SCALE;
420
563k
  const uint16_t scale = (1 << SMOOTH_WEIGHT_LOG2_SCALE);
421
563k
  sm_weights_sanity_checks(sm_weights_w, sm_weights_h, scale,
422
563k
                           log2_scale + sizeof(*dst));
423
563k
  int r;
424
7.16M
  for (r = 0; r < bh; ++r) {
425
6.60M
    int c;
426
130M
    for (c = 0; c < bw; ++c) {
427
123M
      const uint16_t pixels[] = { above[c], below_pred, left[r], right_pred };
428
123M
      const uint8_t weights[] = { sm_weights_h[r], scale - sm_weights_h[r],
429
123M
                                  sm_weights_w[c], scale - sm_weights_w[c] };
430
123M
      uint32_t this_pred = 0;
431
123M
      int i;
432
123M
      assert(scale >= sm_weights_h[r] && scale >= sm_weights_w[c]);
433
617M
      for (i = 0; i < 4; ++i) {
434
494M
        this_pred += weights[i] * pixels[i];
435
494M
      }
436
123M
      dst[c] = divide_round(this_pred, log2_scale);
437
123M
    }
438
6.60M
    dst += stride;
439
6.60M
  }
440
563k
}
441
442
static inline void highbd_smooth_v_predictor(uint16_t *dst, ptrdiff_t stride,
443
                                             int bw, int bh,
444
                                             const uint16_t *above,
445
217k
                                             const uint16_t *left, int bd) {
446
217k
  (void)bd;
447
217k
  const uint16_t below_pred = left[bh - 1];  // estimated by bottom-left pixel
448
217k
  const uint8_t *const sm_weights = smooth_weights + bh - 4;
449
  // scale = 2^SMOOTH_WEIGHT_LOG2_SCALE
450
217k
  const int log2_scale = SMOOTH_WEIGHT_LOG2_SCALE;
451
217k
  const uint16_t scale = (1 << SMOOTH_WEIGHT_LOG2_SCALE);
452
217k
  sm_weights_sanity_checks(sm_weights, sm_weights, scale,
453
217k
                           log2_scale + sizeof(*dst));
454
455
217k
  int r;
456
2.73M
  for (r = 0; r < bh; r++) {
457
2.52M
    int c;
458
47.2M
    for (c = 0; c < bw; ++c) {
459
44.7M
      const uint16_t pixels[] = { above[c], below_pred };
460
44.7M
      const uint8_t weights[] = { sm_weights[r], scale - sm_weights[r] };
461
44.7M
      uint32_t this_pred = 0;
462
44.7M
      assert(scale >= sm_weights[r]);
463
44.7M
      int i;
464
134M
      for (i = 0; i < 2; ++i) {
465
89.4M
        this_pred += weights[i] * pixels[i];
466
89.4M
      }
467
44.7M
      dst[c] = divide_round(this_pred, log2_scale);
468
44.7M
    }
469
2.52M
    dst += stride;
470
2.52M
  }
471
217k
}
472
473
static inline void highbd_smooth_h_predictor(uint16_t *dst, ptrdiff_t stride,
474
                                             int bw, int bh,
475
                                             const uint16_t *above,
476
276k
                                             const uint16_t *left, int bd) {
477
276k
  (void)bd;
478
276k
  const uint16_t right_pred = above[bw - 1];  // estimated by top-right pixel
479
276k
  const uint8_t *const sm_weights = smooth_weights + bw - 4;
480
  // scale = 2^SMOOTH_WEIGHT_LOG2_SCALE
481
276k
  const int log2_scale = SMOOTH_WEIGHT_LOG2_SCALE;
482
276k
  const uint16_t scale = (1 << SMOOTH_WEIGHT_LOG2_SCALE);
483
276k
  sm_weights_sanity_checks(sm_weights, sm_weights, scale,
484
276k
                           log2_scale + sizeof(*dst));
485
486
276k
  int r;
487
3.48M
  for (r = 0; r < bh; r++) {
488
3.20M
    int c;
489
57.6M
    for (c = 0; c < bw; ++c) {
490
54.4M
      const uint16_t pixels[] = { left[r], right_pred };
491
54.4M
      const uint8_t weights[] = { sm_weights[c], scale - sm_weights[c] };
492
54.4M
      uint32_t this_pred = 0;
493
54.4M
      assert(scale >= sm_weights[c]);
494
54.4M
      int i;
495
163M
      for (i = 0; i < 2; ++i) {
496
108M
        this_pred += weights[i] * pixels[i];
497
108M
      }
498
54.4M
      dst[c] = divide_round(this_pred, log2_scale);
499
54.4M
    }
500
3.20M
    dst += stride;
501
3.20M
  }
502
276k
}
503
504
static inline void highbd_dc_128_predictor(uint16_t *dst, ptrdiff_t stride,
505
                                           int bw, int bh,
506
                                           const uint16_t *above,
507
43.3k
                                           const uint16_t *left, int bd) {
508
43.3k
  int r;
509
43.3k
  (void)above;
510
43.3k
  (void)left;
511
512
1.22M
  for (r = 0; r < bh; r++) {
513
1.17M
    aom_memset16(dst, 128 << (bd - 8), bw);
514
1.17M
    dst += stride;
515
1.17M
  }
516
43.3k
}
517
518
static inline void highbd_dc_left_predictor(uint16_t *dst, ptrdiff_t stride,
519
                                            int bw, int bh,
520
                                            const uint16_t *above,
521
132k
                                            const uint16_t *left, int bd) {
522
132k
  int i, r, expected_dc, sum = 0;
523
132k
  (void)above;
524
132k
  (void)bd;
525
526
3.27M
  for (i = 0; i < bh; i++) sum += left[i];
527
132k
  expected_dc = (sum + (bh >> 1)) / bh;
528
529
3.27M
  for (r = 0; r < bh; r++) {
530
3.14M
    aom_memset16(dst, expected_dc, bw);
531
3.14M
    dst += stride;
532
3.14M
  }
533
132k
}
534
535
static inline void highbd_dc_top_predictor(uint16_t *dst, ptrdiff_t stride,
536
                                           int bw, int bh,
537
                                           const uint16_t *above,
538
393k
                                           const uint16_t *left, int bd) {
539
393k
  int i, r, expected_dc, sum = 0;
540
393k
  (void)left;
541
393k
  (void)bd;
542
543
6.23M
  for (i = 0; i < bw; i++) sum += above[i];
544
393k
  expected_dc = (sum + (bw >> 1)) / bw;
545
546
6.96M
  for (r = 0; r < bh; r++) {
547
6.57M
    aom_memset16(dst, expected_dc, bw);
548
6.57M
    dst += stride;
549
6.57M
  }
550
393k
}
551
552
static inline void highbd_dc_predictor(uint16_t *dst, ptrdiff_t stride, int bw,
553
                                       int bh, const uint16_t *above,
554
2.73M
                                       const uint16_t *left, int bd) {
555
2.73M
  int i, r, expected_dc, sum = 0;
556
2.73M
  const int count = bw + bh;
557
2.73M
  (void)bd;
558
559
23.0M
  for (i = 0; i < bw; i++) {
560
20.3M
    sum += above[i];
561
20.3M
  }
562
23.0M
  for (i = 0; i < bh; i++) {
563
20.3M
    sum += left[i];
564
20.3M
  }
565
566
2.73M
  expected_dc = (sum + (count >> 1)) / count;
567
568
23.0M
  for (r = 0; r < bh; r++) {
569
20.3M
    aom_memset16(dst, expected_dc, bw);
570
20.3M
    dst += stride;
571
20.3M
  }
572
2.73M
}
573
574
// Obtained similarly as DC_MULTIPLIER_1X2 and DC_MULTIPLIER_1X4 above, but
575
// assume 2nd shift of 17 bits instead of 16.
576
// Note: Strictly speaking, 2nd shift needs to be 17 only when:
577
// - bit depth == 12, and
578
// - bw + bh is divisible by 5 (as opposed to divisible by 3).
579
// All other cases can use half the multipliers with a shift of 16 instead.
580
// This special optimization can be used when writing assembly code.
581
838k
#define HIGHBD_DC_MULTIPLIER_1X2 0xAAAB
582
// Note: This constant is odd, but a smaller even constant (0x199a) with the
583
// appropriate shift should work for neon in 8/10-bit.
584
434k
#define HIGHBD_DC_MULTIPLIER_1X4 0x6667
585
586
1.27M
#define HIGHBD_DC_SHIFT2 17
587
588
static inline void highbd_dc_predictor_rect(uint16_t *dst, ptrdiff_t stride,
589
                                            int bw, int bh,
590
                                            const uint16_t *above,
591
                                            const uint16_t *left, int bd,
592
1.27M
                                            int shift1, uint32_t multiplier) {
593
1.27M
  int sum = 0;
594
1.27M
  (void)bd;
595
596
16.0M
  for (int i = 0; i < bw; i++) {
597
14.7M
    sum += above[i];
598
14.7M
  }
599
15.3M
  for (int i = 0; i < bh; i++) {
600
14.1M
    sum += left[i];
601
14.1M
  }
602
603
1.27M
  const int expected_dc = divide_using_multiply_shift(
604
1.27M
      sum + ((bw + bh) >> 1), shift1, multiplier, HIGHBD_DC_SHIFT2);
605
1.27M
  assert(expected_dc < (1 << bd));
606
607
15.3M
  for (int r = 0; r < bh; r++) {
608
14.1M
    aom_memset16(dst, expected_dc, bw);
609
14.1M
    dst += stride;
610
14.1M
  }
611
1.27M
}
612
613
#undef HIGHBD_DC_SHIFT2
614
615
void aom_highbd_dc_predictor_4x8_c(uint16_t *dst, ptrdiff_t stride,
616
                                   const uint16_t *above, const uint16_t *left,
617
199k
                                   int bd) {
618
199k
  highbd_dc_predictor_rect(dst, stride, 4, 8, above, left, bd, 2,
619
199k
                           HIGHBD_DC_MULTIPLIER_1X2);
620
199k
}
621
622
void aom_highbd_dc_predictor_8x4_c(uint16_t *dst, ptrdiff_t stride,
623
                                   const uint16_t *above, const uint16_t *left,
624
228k
                                   int bd) {
625
228k
  highbd_dc_predictor_rect(dst, stride, 8, 4, above, left, bd, 2,
626
228k
                           HIGHBD_DC_MULTIPLIER_1X2);
627
228k
}
628
629
#if !CONFIG_REALTIME_ONLY || CONFIG_AV1_DECODER
630
void aom_highbd_dc_predictor_4x16_c(uint16_t *dst, ptrdiff_t stride,
631
                                    const uint16_t *above, const uint16_t *left,
632
148k
                                    int bd) {
633
148k
  highbd_dc_predictor_rect(dst, stride, 4, 16, above, left, bd, 2,
634
148k
                           HIGHBD_DC_MULTIPLIER_1X4);
635
148k
}
636
637
void aom_highbd_dc_predictor_16x4_c(uint16_t *dst, ptrdiff_t stride,
638
                                    const uint16_t *above, const uint16_t *left,
639
159k
                                    int bd) {
640
159k
  highbd_dc_predictor_rect(dst, stride, 16, 4, above, left, bd, 2,
641
159k
                           HIGHBD_DC_MULTIPLIER_1X4);
642
159k
}
643
#endif  // !CONFIG_REALTIME_ONLY || CONFIG_AV1_DECODER
644
645
void aom_highbd_dc_predictor_8x16_c(uint16_t *dst, ptrdiff_t stride,
646
                                    const uint16_t *above, const uint16_t *left,
647
129k
                                    int bd) {
648
129k
  highbd_dc_predictor_rect(dst, stride, 8, 16, above, left, bd, 3,
649
129k
                           HIGHBD_DC_MULTIPLIER_1X2);
650
129k
}
651
652
void aom_highbd_dc_predictor_16x8_c(uint16_t *dst, ptrdiff_t stride,
653
                                    const uint16_t *above, const uint16_t *left,
654
187k
                                    int bd) {
655
187k
  highbd_dc_predictor_rect(dst, stride, 16, 8, above, left, bd, 3,
656
187k
                           HIGHBD_DC_MULTIPLIER_1X2);
657
187k
}
658
659
#if !CONFIG_REALTIME_ONLY || CONFIG_AV1_DECODER
660
void aom_highbd_dc_predictor_8x32_c(uint16_t *dst, ptrdiff_t stride,
661
                                    const uint16_t *above, const uint16_t *left,
662
57.6k
                                    int bd) {
663
57.6k
  highbd_dc_predictor_rect(dst, stride, 8, 32, above, left, bd, 3,
664
57.6k
                           HIGHBD_DC_MULTIPLIER_1X4);
665
57.6k
}
666
667
void aom_highbd_dc_predictor_32x8_c(uint16_t *dst, ptrdiff_t stride,
668
                                    const uint16_t *above, const uint16_t *left,
669
61.1k
                                    int bd) {
670
61.1k
  highbd_dc_predictor_rect(dst, stride, 32, 8, above, left, bd, 3,
671
61.1k
                           HIGHBD_DC_MULTIPLIER_1X4);
672
61.1k
}
673
#endif  // !CONFIG_REALTIME_ONLY || CONFIG_AV1_DECODER
674
675
void aom_highbd_dc_predictor_16x32_c(uint16_t *dst, ptrdiff_t stride,
676
                                     const uint16_t *above,
677
49.1k
                                     const uint16_t *left, int bd) {
678
49.1k
  highbd_dc_predictor_rect(dst, stride, 16, 32, above, left, bd, 4,
679
49.1k
                           HIGHBD_DC_MULTIPLIER_1X2);
680
49.1k
}
681
682
void aom_highbd_dc_predictor_32x16_c(uint16_t *dst, ptrdiff_t stride,
683
                                     const uint16_t *above,
684
42.3k
                                     const uint16_t *left, int bd) {
685
42.3k
  highbd_dc_predictor_rect(dst, stride, 32, 16, above, left, bd, 4,
686
42.3k
                           HIGHBD_DC_MULTIPLIER_1X2);
687
42.3k
}
688
689
#if !CONFIG_REALTIME_ONLY || CONFIG_AV1_DECODER
690
void aom_highbd_dc_predictor_16x64_c(uint16_t *dst, ptrdiff_t stride,
691
                                     const uint16_t *above,
692
3.93k
                                     const uint16_t *left, int bd) {
693
3.93k
  highbd_dc_predictor_rect(dst, stride, 16, 64, above, left, bd, 4,
694
3.93k
                           HIGHBD_DC_MULTIPLIER_1X4);
695
3.93k
}
696
697
void aom_highbd_dc_predictor_64x16_c(uint16_t *dst, ptrdiff_t stride,
698
                                     const uint16_t *above,
699
3.17k
                                     const uint16_t *left, int bd) {
700
3.17k
  highbd_dc_predictor_rect(dst, stride, 64, 16, above, left, bd, 4,
701
3.17k
                           HIGHBD_DC_MULTIPLIER_1X4);
702
3.17k
}
703
#endif  // !CONFIG_REALTIME_ONLY || CONFIG_AV1_DECODER
704
705
void aom_highbd_dc_predictor_32x64_c(uint16_t *dst, ptrdiff_t stride,
706
                                     const uint16_t *above,
707
1.32k
                                     const uint16_t *left, int bd) {
708
1.32k
  highbd_dc_predictor_rect(dst, stride, 32, 64, above, left, bd, 5,
709
1.32k
                           HIGHBD_DC_MULTIPLIER_1X2);
710
1.32k
}
711
712
void aom_highbd_dc_predictor_64x32_c(uint16_t *dst, ptrdiff_t stride,
713
                                     const uint16_t *above,
714
1.79k
                                     const uint16_t *left, int bd) {
715
1.79k
  highbd_dc_predictor_rect(dst, stride, 64, 32, above, left, bd, 5,
716
1.79k
                           HIGHBD_DC_MULTIPLIER_1X2);
717
1.79k
}
718
719
#undef HIGHBD_DC_MULTIPLIER_1X2
720
#undef HIGHBD_DC_MULTIPLIER_1X4
721
#endif  // CONFIG_AV1_HIGHBITDEPTH
722
723
// This serves as a wrapper function, so that all the prediction functions
724
// can be unified and accessed as a pointer array. Note that the boundary
725
// above and left are not necessarily used all the time.
726
#define intra_pred_sized(type, width, height)                  \
727
  void aom_##type##_predictor_##width##x##height##_c(          \
728
      uint8_t *dst, ptrdiff_t stride, const uint8_t *above,    \
729
11.4M
      const uint8_t *left) {                                   \
730
11.4M
    type##_predictor(dst, stride, width, height, above, left); \
731
11.4M
  }
aom_v_predictor_4x4_c
Line
Count
Source
729
351k
      const uint8_t *left) {                                   \
730
351k
    type##_predictor(dst, stride, width, height, above, left); \
731
351k
  }
aom_v_predictor_8x8_c
Line
Count
Source
729
25.7k
      const uint8_t *left) {                                   \
730
25.7k
    type##_predictor(dst, stride, width, height, above, left); \
731
25.7k
  }
aom_v_predictor_16x16_c
Line
Count
Source
729
16.4k
      const uint8_t *left) {                                   \
730
16.4k
    type##_predictor(dst, stride, width, height, above, left); \
731
16.4k
  }
aom_v_predictor_32x32_c
Line
Count
Source
729
8.43k
      const uint8_t *left) {                                   \
730
8.43k
    type##_predictor(dst, stride, width, height, above, left); \
731
8.43k
  }
aom_v_predictor_64x64_c
Line
Count
Source
729
852
      const uint8_t *left) {                                   \
730
852
    type##_predictor(dst, stride, width, height, above, left); \
731
852
  }
aom_v_predictor_4x8_c
Line
Count
Source
729
14.4k
      const uint8_t *left) {                                   \
730
14.4k
    type##_predictor(dst, stride, width, height, above, left); \
731
14.4k
  }
aom_v_predictor_8x4_c
Line
Count
Source
729
20.7k
      const uint8_t *left) {                                   \
730
20.7k
    type##_predictor(dst, stride, width, height, above, left); \
731
20.7k
  }
aom_v_predictor_8x16_c
Line
Count
Source
729
7.83k
      const uint8_t *left) {                                   \
730
7.83k
    type##_predictor(dst, stride, width, height, above, left); \
731
7.83k
  }
aom_v_predictor_16x8_c
Line
Count
Source
729
10.8k
      const uint8_t *left) {                                   \
730
10.8k
    type##_predictor(dst, stride, width, height, above, left); \
731
10.8k
  }
aom_v_predictor_16x32_c
Line
Count
Source
729
3.61k
      const uint8_t *left) {                                   \
730
3.61k
    type##_predictor(dst, stride, width, height, above, left); \
731
3.61k
  }
aom_v_predictor_32x16_c
Line
Count
Source
729
2.76k
      const uint8_t *left) {                                   \
730
2.76k
    type##_predictor(dst, stride, width, height, above, left); \
731
2.76k
  }
aom_v_predictor_32x64_c
Line
Count
Source
729
202
      const uint8_t *left) {                                   \
730
202
    type##_predictor(dst, stride, width, height, above, left); \
731
202
  }
aom_v_predictor_64x32_c
Line
Count
Source
729
159
      const uint8_t *left) {                                   \
730
159
    type##_predictor(dst, stride, width, height, above, left); \
731
159
  }
aom_v_predictor_4x16_c
Line
Count
Source
729
5.65k
      const uint8_t *left) {                                   \
730
5.65k
    type##_predictor(dst, stride, width, height, above, left); \
731
5.65k
  }
aom_v_predictor_16x4_c
Line
Count
Source
729
9.31k
      const uint8_t *left) {                                   \
730
9.31k
    type##_predictor(dst, stride, width, height, above, left); \
731
9.31k
  }
aom_v_predictor_8x32_c
Line
Count
Source
729
2.49k
      const uint8_t *left) {                                   \
730
2.49k
    type##_predictor(dst, stride, width, height, above, left); \
731
2.49k
  }
aom_v_predictor_32x8_c
Line
Count
Source
729
3.51k
      const uint8_t *left) {                                   \
730
3.51k
    type##_predictor(dst, stride, width, height, above, left); \
731
3.51k
  }
aom_v_predictor_16x64_c
Line
Count
Source
729
429
      const uint8_t *left) {                                   \
730
429
    type##_predictor(dst, stride, width, height, above, left); \
731
429
  }
aom_v_predictor_64x16_c
Line
Count
Source
729
340
      const uint8_t *left) {                                   \
730
340
    type##_predictor(dst, stride, width, height, above, left); \
731
340
  }
aom_h_predictor_4x4_c
Line
Count
Source
729
240k
      const uint8_t *left) {                                   \
730
240k
    type##_predictor(dst, stride, width, height, above, left); \
731
240k
  }
aom_h_predictor_8x8_c
Line
Count
Source
729
38.4k
      const uint8_t *left) {                                   \
730
38.4k
    type##_predictor(dst, stride, width, height, above, left); \
731
38.4k
  }
aom_h_predictor_16x16_c
Line
Count
Source
729
30.4k
      const uint8_t *left) {                                   \
730
30.4k
    type##_predictor(dst, stride, width, height, above, left); \
731
30.4k
  }
aom_h_predictor_32x32_c
Line
Count
Source
729
13.2k
      const uint8_t *left) {                                   \
730
13.2k
    type##_predictor(dst, stride, width, height, above, left); \
731
13.2k
  }
aom_h_predictor_64x64_c
Line
Count
Source
729
1.60k
      const uint8_t *left) {                                   \
730
1.60k
    type##_predictor(dst, stride, width, height, above, left); \
731
1.60k
  }
aom_h_predictor_4x8_c
Line
Count
Source
729
21.5k
      const uint8_t *left) {                                   \
730
21.5k
    type##_predictor(dst, stride, width, height, above, left); \
731
21.5k
  }
aom_h_predictor_8x4_c
Line
Count
Source
729
30.0k
      const uint8_t *left) {                                   \
730
30.0k
    type##_predictor(dst, stride, width, height, above, left); \
731
30.0k
  }
aom_h_predictor_8x16_c
Line
Count
Source
729
9.65k
      const uint8_t *left) {                                   \
730
9.65k
    type##_predictor(dst, stride, width, height, above, left); \
731
9.65k
  }
aom_h_predictor_16x8_c
Line
Count
Source
729
14.4k
      const uint8_t *left) {                                   \
730
14.4k
    type##_predictor(dst, stride, width, height, above, left); \
731
14.4k
  }
aom_h_predictor_16x32_c
Line
Count
Source
729
4.04k
      const uint8_t *left) {                                   \
730
4.04k
    type##_predictor(dst, stride, width, height, above, left); \
731
4.04k
  }
aom_h_predictor_32x16_c
Line
Count
Source
729
4.41k
      const uint8_t *left) {                                   \
730
4.41k
    type##_predictor(dst, stride, width, height, above, left); \
731
4.41k
  }
aom_h_predictor_32x64_c
Line
Count
Source
729
232
      const uint8_t *left) {                                   \
730
232
    type##_predictor(dst, stride, width, height, above, left); \
731
232
  }
aom_h_predictor_64x32_c
Line
Count
Source
729
230
      const uint8_t *left) {                                   \
730
230
    type##_predictor(dst, stride, width, height, above, left); \
731
230
  }
aom_h_predictor_4x16_c
Line
Count
Source
729
7.52k
      const uint8_t *left) {                                   \
730
7.52k
    type##_predictor(dst, stride, width, height, above, left); \
731
7.52k
  }
aom_h_predictor_16x4_c
Line
Count
Source
729
11.9k
      const uint8_t *left) {                                   \
730
11.9k
    type##_predictor(dst, stride, width, height, above, left); \
731
11.9k
  }
aom_h_predictor_8x32_c
Line
Count
Source
729
3.65k
      const uint8_t *left) {                                   \
730
3.65k
    type##_predictor(dst, stride, width, height, above, left); \
731
3.65k
  }
aom_h_predictor_32x8_c
Line
Count
Source
729
4.72k
      const uint8_t *left) {                                   \
730
4.72k
    type##_predictor(dst, stride, width, height, above, left); \
731
4.72k
  }
aom_h_predictor_16x64_c
Line
Count
Source
729
656
      const uint8_t *left) {                                   \
730
656
    type##_predictor(dst, stride, width, height, above, left); \
731
656
  }
aom_h_predictor_64x16_c
Line
Count
Source
729
524
      const uint8_t *left) {                                   \
730
524
    type##_predictor(dst, stride, width, height, above, left); \
731
524
  }
aom_smooth_predictor_4x4_c
Line
Count
Source
729
188k
      const uint8_t *left) {                                   \
730
188k
    type##_predictor(dst, stride, width, height, above, left); \
731
188k
  }
aom_smooth_predictor_8x8_c
Line
Count
Source
729
114k
      const uint8_t *left) {                                   \
730
114k
    type##_predictor(dst, stride, width, height, above, left); \
731
114k
  }
aom_smooth_predictor_16x16_c
Line
Count
Source
729
77.1k
      const uint8_t *left) {                                   \
730
77.1k
    type##_predictor(dst, stride, width, height, above, left); \
731
77.1k
  }
aom_smooth_predictor_32x32_c
Line
Count
Source
729
30.7k
      const uint8_t *left) {                                   \
730
30.7k
    type##_predictor(dst, stride, width, height, above, left); \
731
30.7k
  }
aom_smooth_predictor_64x64_c
Line
Count
Source
729
4.60k
      const uint8_t *left) {                                   \
730
4.60k
    type##_predictor(dst, stride, width, height, above, left); \
731
4.60k
  }
aom_smooth_predictor_4x8_c
Line
Count
Source
729
37.4k
      const uint8_t *left) {                                   \
730
37.4k
    type##_predictor(dst, stride, width, height, above, left); \
731
37.4k
  }
aom_smooth_predictor_8x4_c
Line
Count
Source
729
52.7k
      const uint8_t *left) {                                   \
730
52.7k
    type##_predictor(dst, stride, width, height, above, left); \
731
52.7k
  }
aom_smooth_predictor_8x16_c
Line
Count
Source
729
34.6k
      const uint8_t *left) {                                   \
730
34.6k
    type##_predictor(dst, stride, width, height, above, left); \
731
34.6k
  }
aom_smooth_predictor_16x8_c
Line
Count
Source
729
52.3k
      const uint8_t *left) {                                   \
730
52.3k
    type##_predictor(dst, stride, width, height, above, left); \
731
52.3k
  }
aom_smooth_predictor_16x32_c
Line
Count
Source
729
11.7k
      const uint8_t *left) {                                   \
730
11.7k
    type##_predictor(dst, stride, width, height, above, left); \
731
11.7k
  }
aom_smooth_predictor_32x16_c
Line
Count
Source
729
11.9k
      const uint8_t *left) {                                   \
730
11.9k
    type##_predictor(dst, stride, width, height, above, left); \
731
11.9k
  }
aom_smooth_predictor_32x64_c
Line
Count
Source
729
915
      const uint8_t *left) {                                   \
730
915
    type##_predictor(dst, stride, width, height, above, left); \
731
915
  }
aom_smooth_predictor_64x32_c
Line
Count
Source
729
675
      const uint8_t *left) {                                   \
730
675
    type##_predictor(dst, stride, width, height, above, left); \
731
675
  }
aom_smooth_predictor_4x16_c
Line
Count
Source
729
27.0k
      const uint8_t *left) {                                   \
730
27.0k
    type##_predictor(dst, stride, width, height, above, left); \
731
27.0k
  }
aom_smooth_predictor_16x4_c
Line
Count
Source
729
44.1k
      const uint8_t *left) {                                   \
730
44.1k
    type##_predictor(dst, stride, width, height, above, left); \
731
44.1k
  }
aom_smooth_predictor_8x32_c
Line
Count
Source
729
10.6k
      const uint8_t *left) {                                   \
730
10.6k
    type##_predictor(dst, stride, width, height, above, left); \
731
10.6k
  }
aom_smooth_predictor_32x8_c
Line
Count
Source
729
14.4k
      const uint8_t *left) {                                   \
730
14.4k
    type##_predictor(dst, stride, width, height, above, left); \
731
14.4k
  }
aom_smooth_predictor_16x64_c
Line
Count
Source
729
1.61k
      const uint8_t *left) {                                   \
730
1.61k
    type##_predictor(dst, stride, width, height, above, left); \
731
1.61k
  }
aom_smooth_predictor_64x16_c
Line
Count
Source
729
1.23k
      const uint8_t *left) {                                   \
730
1.23k
    type##_predictor(dst, stride, width, height, above, left); \
731
1.23k
  }
aom_smooth_v_predictor_4x4_c
Line
Count
Source
729
38.7k
      const uint8_t *left) {                                   \
730
38.7k
    type##_predictor(dst, stride, width, height, above, left); \
731
38.7k
  }
aom_smooth_v_predictor_8x8_c
Line
Count
Source
729
51.2k
      const uint8_t *left) {                                   \
730
51.2k
    type##_predictor(dst, stride, width, height, above, left); \
731
51.2k
  }
aom_smooth_v_predictor_16x16_c
Line
Count
Source
729
26.8k
      const uint8_t *left) {                                   \
730
26.8k
    type##_predictor(dst, stride, width, height, above, left); \
731
26.8k
  }
aom_smooth_v_predictor_32x32_c
Line
Count
Source
729
13.7k
      const uint8_t *left) {                                   \
730
13.7k
    type##_predictor(dst, stride, width, height, above, left); \
731
13.7k
  }
aom_smooth_v_predictor_64x64_c
Line
Count
Source
729
2.40k
      const uint8_t *left) {                                   \
730
2.40k
    type##_predictor(dst, stride, width, height, above, left); \
731
2.40k
  }
aom_smooth_v_predictor_4x8_c
Line
Count
Source
729
12.8k
      const uint8_t *left) {                                   \
730
12.8k
    type##_predictor(dst, stride, width, height, above, left); \
731
12.8k
  }
aom_smooth_v_predictor_8x4_c
Line
Count
Source
729
22.8k
      const uint8_t *left) {                                   \
730
22.8k
    type##_predictor(dst, stride, width, height, above, left); \
731
22.8k
  }
aom_smooth_v_predictor_8x16_c
Line
Count
Source
729
16.8k
      const uint8_t *left) {                                   \
730
16.8k
    type##_predictor(dst, stride, width, height, above, left); \
731
16.8k
  }
aom_smooth_v_predictor_16x8_c
Line
Count
Source
729
22.7k
      const uint8_t *left) {                                   \
730
22.7k
    type##_predictor(dst, stride, width, height, above, left); \
731
22.7k
  }
aom_smooth_v_predictor_16x32_c
Line
Count
Source
729
5.27k
      const uint8_t *left) {                                   \
730
5.27k
    type##_predictor(dst, stride, width, height, above, left); \
731
5.27k
  }
aom_smooth_v_predictor_32x16_c
Line
Count
Source
729
5.97k
      const uint8_t *left) {                                   \
730
5.97k
    type##_predictor(dst, stride, width, height, above, left); \
731
5.97k
  }
aom_smooth_v_predictor_32x64_c
Line
Count
Source
729
386
      const uint8_t *left) {                                   \
730
386
    type##_predictor(dst, stride, width, height, above, left); \
731
386
  }
aom_smooth_v_predictor_64x32_c
Line
Count
Source
729
277
      const uint8_t *left) {                                   \
730
277
    type##_predictor(dst, stride, width, height, above, left); \
731
277
  }
aom_smooth_v_predictor_4x16_c
Line
Count
Source
729
13.2k
      const uint8_t *left) {                                   \
730
13.2k
    type##_predictor(dst, stride, width, height, above, left); \
731
13.2k
  }
aom_smooth_v_predictor_16x4_c
Line
Count
Source
729
16.5k
      const uint8_t *left) {                                   \
730
16.5k
    type##_predictor(dst, stride, width, height, above, left); \
731
16.5k
  }
aom_smooth_v_predictor_8x32_c
Line
Count
Source
729
5.39k
      const uint8_t *left) {                                   \
730
5.39k
    type##_predictor(dst, stride, width, height, above, left); \
731
5.39k
  }
aom_smooth_v_predictor_32x8_c
Line
Count
Source
729
8.92k
      const uint8_t *left) {                                   \
730
8.92k
    type##_predictor(dst, stride, width, height, above, left); \
731
8.92k
  }
aom_smooth_v_predictor_16x64_c
Line
Count
Source
729
577
      const uint8_t *left) {                                   \
730
577
    type##_predictor(dst, stride, width, height, above, left); \
731
577
  }
aom_smooth_v_predictor_64x16_c
Line
Count
Source
729
442
      const uint8_t *left) {                                   \
730
442
    type##_predictor(dst, stride, width, height, above, left); \
731
442
  }
aom_smooth_h_predictor_4x4_c
Line
Count
Source
729
45.6k
      const uint8_t *left) {                                   \
730
45.6k
    type##_predictor(dst, stride, width, height, above, left); \
731
45.6k
  }
aom_smooth_h_predictor_8x8_c
Line
Count
Source
729
63.4k
      const uint8_t *left) {                                   \
730
63.4k
    type##_predictor(dst, stride, width, height, above, left); \
731
63.4k
  }
aom_smooth_h_predictor_16x16_c
Line
Count
Source
729
48.8k
      const uint8_t *left) {                                   \
730
48.8k
    type##_predictor(dst, stride, width, height, above, left); \
731
48.8k
  }
aom_smooth_h_predictor_32x32_c
Line
Count
Source
729
14.4k
      const uint8_t *left) {                                   \
730
14.4k
    type##_predictor(dst, stride, width, height, above, left); \
731
14.4k
  }
aom_smooth_h_predictor_64x64_c
Line
Count
Source
729
2.11k
      const uint8_t *left) {                                   \
730
2.11k
    type##_predictor(dst, stride, width, height, above, left); \
731
2.11k
  }
aom_smooth_h_predictor_4x8_c
Line
Count
Source
729
19.7k
      const uint8_t *left) {                                   \
730
19.7k
    type##_predictor(dst, stride, width, height, above, left); \
731
19.7k
  }
aom_smooth_h_predictor_8x4_c
Line
Count
Source
729
27.5k
      const uint8_t *left) {                                   \
730
27.5k
    type##_predictor(dst, stride, width, height, above, left); \
731
27.5k
  }
aom_smooth_h_predictor_8x16_c
Line
Count
Source
729
21.2k
      const uint8_t *left) {                                   \
730
21.2k
    type##_predictor(dst, stride, width, height, above, left); \
731
21.2k
  }
aom_smooth_h_predictor_16x8_c
Line
Count
Source
729
29.1k
      const uint8_t *left) {                                   \
730
29.1k
    type##_predictor(dst, stride, width, height, above, left); \
731
29.1k
  }
aom_smooth_h_predictor_16x32_c
Line
Count
Source
729
6.71k
      const uint8_t *left) {                                   \
730
6.71k
    type##_predictor(dst, stride, width, height, above, left); \
731
6.71k
  }
aom_smooth_h_predictor_32x16_c
Line
Count
Source
729
6.82k
      const uint8_t *left) {                                   \
730
6.82k
    type##_predictor(dst, stride, width, height, above, left); \
731
6.82k
  }
aom_smooth_h_predictor_32x64_c
Line
Count
Source
729
342
      const uint8_t *left) {                                   \
730
342
    type##_predictor(dst, stride, width, height, above, left); \
731
342
  }
aom_smooth_h_predictor_64x32_c
Line
Count
Source
729
295
      const uint8_t *left) {                                   \
730
295
    type##_predictor(dst, stride, width, height, above, left); \
731
295
  }
aom_smooth_h_predictor_4x16_c
Line
Count
Source
729
16.2k
      const uint8_t *left) {                                   \
730
16.2k
    type##_predictor(dst, stride, width, height, above, left); \
731
16.2k
  }
aom_smooth_h_predictor_16x4_c
Line
Count
Source
729
23.7k
      const uint8_t *left) {                                   \
730
23.7k
    type##_predictor(dst, stride, width, height, above, left); \
731
23.7k
  }
aom_smooth_h_predictor_8x32_c
Line
Count
Source
729
6.55k
      const uint8_t *left) {                                   \
730
6.55k
    type##_predictor(dst, stride, width, height, above, left); \
731
6.55k
  }
aom_smooth_h_predictor_32x8_c
Line
Count
Source
729
8.20k
      const uint8_t *left) {                                   \
730
8.20k
    type##_predictor(dst, stride, width, height, above, left); \
731
8.20k
  }
aom_smooth_h_predictor_16x64_c
Line
Count
Source
729
585
      const uint8_t *left) {                                   \
730
585
    type##_predictor(dst, stride, width, height, above, left); \
731
585
  }
aom_smooth_h_predictor_64x16_c
Line
Count
Source
729
298
      const uint8_t *left) {                                   \
730
298
    type##_predictor(dst, stride, width, height, above, left); \
731
298
  }
aom_paeth_predictor_4x4_c
Line
Count
Source
729
4.41M
      const uint8_t *left) {                                   \
730
4.41M
    type##_predictor(dst, stride, width, height, above, left); \
731
4.41M
  }
aom_paeth_predictor_8x8_c
Line
Count
Source
729
172k
      const uint8_t *left) {                                   \
730
172k
    type##_predictor(dst, stride, width, height, above, left); \
731
172k
  }
aom_paeth_predictor_16x16_c
Line
Count
Source
729
83.4k
      const uint8_t *left) {                                   \
730
83.4k
    type##_predictor(dst, stride, width, height, above, left); \
731
83.4k
  }
aom_paeth_predictor_32x32_c
Line
Count
Source
729
47.1k
      const uint8_t *left) {                                   \
730
47.1k
    type##_predictor(dst, stride, width, height, above, left); \
731
47.1k
  }
aom_paeth_predictor_64x64_c
Line
Count
Source
729
8.12k
      const uint8_t *left) {                                   \
730
8.12k
    type##_predictor(dst, stride, width, height, above, left); \
731
8.12k
  }
aom_paeth_predictor_4x8_c
Line
Count
Source
729
59.9k
      const uint8_t *left) {                                   \
730
59.9k
    type##_predictor(dst, stride, width, height, above, left); \
731
59.9k
  }
aom_paeth_predictor_8x4_c
Line
Count
Source
729
86.9k
      const uint8_t *left) {                                   \
730
86.9k
    type##_predictor(dst, stride, width, height, above, left); \
731
86.9k
  }
aom_paeth_predictor_8x16_c
Line
Count
Source
729
55.8k
      const uint8_t *left) {                                   \
730
55.8k
    type##_predictor(dst, stride, width, height, above, left); \
731
55.8k
  }
aom_paeth_predictor_16x8_c
Line
Count
Source
729
79.6k
      const uint8_t *left) {                                   \
730
79.6k
    type##_predictor(dst, stride, width, height, above, left); \
731
79.6k
  }
aom_paeth_predictor_16x32_c
Line
Count
Source
729
76.2k
      const uint8_t *left) {                                   \
730
76.2k
    type##_predictor(dst, stride, width, height, above, left); \
731
76.2k
  }
aom_paeth_predictor_32x16_c
Line
Count
Source
729
15.1k
      const uint8_t *left) {                                   \
730
15.1k
    type##_predictor(dst, stride, width, height, above, left); \
731
15.1k
  }
aom_paeth_predictor_32x64_c
Line
Count
Source
729
6.65k
      const uint8_t *left) {                                   \
730
6.65k
    type##_predictor(dst, stride, width, height, above, left); \
731
6.65k
  }
aom_paeth_predictor_64x32_c
Line
Count
Source
729
1.10k
      const uint8_t *left) {                                   \
730
1.10k
    type##_predictor(dst, stride, width, height, above, left); \
731
1.10k
  }
aom_paeth_predictor_4x16_c
Line
Count
Source
729
78.0k
      const uint8_t *left) {                                   \
730
78.0k
    type##_predictor(dst, stride, width, height, above, left); \
731
78.0k
  }
aom_paeth_predictor_16x4_c
Line
Count
Source
729
67.0k
      const uint8_t *left) {                                   \
730
67.0k
    type##_predictor(dst, stride, width, height, above, left); \
731
67.0k
  }
aom_paeth_predictor_8x32_c
Line
Count
Source
729
141k
      const uint8_t *left) {                                   \
730
141k
    type##_predictor(dst, stride, width, height, above, left); \
731
141k
  }
aom_paeth_predictor_32x8_c
Line
Count
Source
729
18.0k
      const uint8_t *left) {                                   \
730
18.0k
    type##_predictor(dst, stride, width, height, above, left); \
731
18.0k
  }
aom_paeth_predictor_16x64_c
Line
Count
Source
729
68.2k
      const uint8_t *left) {                                   \
730
68.2k
    type##_predictor(dst, stride, width, height, above, left); \
731
68.2k
  }
aom_paeth_predictor_64x16_c
Line
Count
Source
729
1.19k
      const uint8_t *left) {                                   \
730
1.19k
    type##_predictor(dst, stride, width, height, above, left); \
731
1.19k
  }
aom_dc_128_predictor_4x4_c
Line
Count
Source
729
5.13k
      const uint8_t *left) {                                   \
730
5.13k
    type##_predictor(dst, stride, width, height, above, left); \
731
5.13k
  }
aom_dc_128_predictor_8x8_c
Line
Count
Source
729
2.49k
      const uint8_t *left) {                                   \
730
2.49k
    type##_predictor(dst, stride, width, height, above, left); \
731
2.49k
  }
aom_dc_128_predictor_16x16_c
Line
Count
Source
729
1.11k
      const uint8_t *left) {                                   \
730
1.11k
    type##_predictor(dst, stride, width, height, above, left); \
731
1.11k
  }
aom_dc_128_predictor_32x32_c
Line
Count
Source
729
4.49k
      const uint8_t *left) {                                   \
730
4.49k
    type##_predictor(dst, stride, width, height, above, left); \
731
4.49k
  }
aom_dc_128_predictor_64x64_c
Line
Count
Source
729
1.84k
      const uint8_t *left) {                                   \
730
1.84k
    type##_predictor(dst, stride, width, height, above, left); \
731
1.84k
  }
aom_dc_128_predictor_4x8_c
Line
Count
Source
729
420
      const uint8_t *left) {                                   \
730
420
    type##_predictor(dst, stride, width, height, above, left); \
731
420
  }
aom_dc_128_predictor_8x4_c
Line
Count
Source
729
27
      const uint8_t *left) {                                   \
730
27
    type##_predictor(dst, stride, width, height, above, left); \
731
27
  }
aom_dc_128_predictor_8x16_c
Line
Count
Source
729
118
      const uint8_t *left) {                                   \
730
118
    type##_predictor(dst, stride, width, height, above, left); \
731
118
  }
aom_dc_128_predictor_16x8_c
Line
Count
Source
729
1.72k
      const uint8_t *left) {                                   \
730
1.72k
    type##_predictor(dst, stride, width, height, above, left); \
731
1.72k
  }
aom_dc_128_predictor_16x32_c
Line
Count
Source
729
2.28k
      const uint8_t *left) {                                   \
730
2.28k
    type##_predictor(dst, stride, width, height, above, left); \
731
2.28k
  }
aom_dc_128_predictor_32x16_c
Line
Count
Source
729
1.58k
      const uint8_t *left) {                                   \
730
1.58k
    type##_predictor(dst, stride, width, height, above, left); \
731
1.58k
  }
aom_dc_128_predictor_32x64_c
Line
Count
Source
729
399
      const uint8_t *left) {                                   \
730
399
    type##_predictor(dst, stride, width, height, above, left); \
731
399
  }
aom_dc_128_predictor_64x32_c
Line
Count
Source
729
20
      const uint8_t *left) {                                   \
730
20
    type##_predictor(dst, stride, width, height, above, left); \
731
20
  }
aom_dc_128_predictor_4x16_c
Line
Count
Source
729
453
      const uint8_t *left) {                                   \
730
453
    type##_predictor(dst, stride, width, height, above, left); \
731
453
  }
aom_dc_128_predictor_16x4_c
Line
Count
Source
729
20
      const uint8_t *left) {                                   \
730
20
    type##_predictor(dst, stride, width, height, above, left); \
731
20
  }
aom_dc_128_predictor_8x32_c
Line
Count
Source
729
162
      const uint8_t *left) {                                   \
730
162
    type##_predictor(dst, stride, width, height, above, left); \
731
162
  }
aom_dc_128_predictor_32x8_c
Line
Count
Source
729
906
      const uint8_t *left) {                                   \
730
906
    type##_predictor(dst, stride, width, height, above, left); \
731
906
  }
aom_dc_128_predictor_16x64_c
Line
Count
Source
729
57
      const uint8_t *left) {                                   \
730
57
    type##_predictor(dst, stride, width, height, above, left); \
731
57
  }
aom_dc_128_predictor_64x16_c
Line
Count
Source
729
23
      const uint8_t *left) {                                   \
730
23
    type##_predictor(dst, stride, width, height, above, left); \
731
23
  }
aom_dc_left_predictor_4x4_c
Line
Count
Source
729
109k
      const uint8_t *left) {                                   \
730
109k
    type##_predictor(dst, stride, width, height, above, left); \
731
109k
  }
aom_dc_left_predictor_8x8_c
Line
Count
Source
729
7.41k
      const uint8_t *left) {                                   \
730
7.41k
    type##_predictor(dst, stride, width, height, above, left); \
731
7.41k
  }
aom_dc_left_predictor_16x16_c
Line
Count
Source
729
11.5k
      const uint8_t *left) {                                   \
730
11.5k
    type##_predictor(dst, stride, width, height, above, left); \
731
11.5k
  }
aom_dc_left_predictor_32x32_c
Line
Count
Source
729
32.2k
      const uint8_t *left) {                                   \
730
32.2k
    type##_predictor(dst, stride, width, height, above, left); \
731
32.2k
  }
aom_dc_left_predictor_64x64_c
Line
Count
Source
729
8.51k
      const uint8_t *left) {                                   \
730
8.51k
    type##_predictor(dst, stride, width, height, above, left); \
731
8.51k
  }
aom_dc_left_predictor_4x8_c
Line
Count
Source
729
3.29k
      const uint8_t *left) {                                   \
730
3.29k
    type##_predictor(dst, stride, width, height, above, left); \
731
3.29k
  }
aom_dc_left_predictor_8x4_c
Line
Count
Source
729
2.47k
      const uint8_t *left) {                                   \
730
2.47k
    type##_predictor(dst, stride, width, height, above, left); \
731
2.47k
  }
aom_dc_left_predictor_8x16_c
Line
Count
Source
729
2.66k
      const uint8_t *left) {                                   \
730
2.66k
    type##_predictor(dst, stride, width, height, above, left); \
731
2.66k
  }
aom_dc_left_predictor_16x8_c
Line
Count
Source
729
3.73k
      const uint8_t *left) {                                   \
730
3.73k
    type##_predictor(dst, stride, width, height, above, left); \
731
3.73k
  }
aom_dc_left_predictor_16x32_c
Line
Count
Source
729
3.56k
      const uint8_t *left) {                                   \
730
3.56k
    type##_predictor(dst, stride, width, height, above, left); \
731
3.56k
  }
aom_dc_left_predictor_32x16_c
Line
Count
Source
729
3.04k
      const uint8_t *left) {                                   \
730
3.04k
    type##_predictor(dst, stride, width, height, above, left); \
731
3.04k
  }
aom_dc_left_predictor_32x64_c
Line
Count
Source
729
598
      const uint8_t *left) {                                   \
730
598
    type##_predictor(dst, stride, width, height, above, left); \
731
598
  }
aom_dc_left_predictor_64x32_c
Line
Count
Source
729
582
      const uint8_t *left) {                                   \
730
582
    type##_predictor(dst, stride, width, height, above, left); \
731
582
  }
aom_dc_left_predictor_4x16_c
Line
Count
Source
729
5.62k
      const uint8_t *left) {                                   \
730
5.62k
    type##_predictor(dst, stride, width, height, above, left); \
731
5.62k
  }
aom_dc_left_predictor_16x4_c
Line
Count
Source
729
1.14k
      const uint8_t *left) {                                   \
730
1.14k
    type##_predictor(dst, stride, width, height, above, left); \
731
1.14k
  }
aom_dc_left_predictor_8x32_c
Line
Count
Source
729
3.85k
      const uint8_t *left) {                                   \
730
3.85k
    type##_predictor(dst, stride, width, height, above, left); \
731
3.85k
  }
aom_dc_left_predictor_32x8_c
Line
Count
Source
729
1.00k
      const uint8_t *left) {                                   \
730
1.00k
    type##_predictor(dst, stride, width, height, above, left); \
731
1.00k
  }
aom_dc_left_predictor_16x64_c
Line
Count
Source
729
1.26k
      const uint8_t *left) {                                   \
730
1.26k
    type##_predictor(dst, stride, width, height, above, left); \
731
1.26k
  }
aom_dc_left_predictor_64x16_c
Line
Count
Source
729
200
      const uint8_t *left) {                                   \
730
200
    type##_predictor(dst, stride, width, height, above, left); \
731
200
  }
aom_dc_top_predictor_4x4_c
Line
Count
Source
729
136k
      const uint8_t *left) {                                   \
730
136k
    type##_predictor(dst, stride, width, height, above, left); \
731
136k
  }
aom_dc_top_predictor_8x8_c
Line
Count
Source
729
22.6k
      const uint8_t *left) {                                   \
730
22.6k
    type##_predictor(dst, stride, width, height, above, left); \
731
22.6k
  }
aom_dc_top_predictor_16x16_c
Line
Count
Source
729
21.8k
      const uint8_t *left) {                                   \
730
21.8k
    type##_predictor(dst, stride, width, height, above, left); \
731
21.8k
  }
aom_dc_top_predictor_32x32_c
Line
Count
Source
729
48.5k
      const uint8_t *left) {                                   \
730
48.5k
    type##_predictor(dst, stride, width, height, above, left); \
731
48.5k
  }
aom_dc_top_predictor_64x64_c
Line
Count
Source
729
7.29k
      const uint8_t *left) {                                   \
730
7.29k
    type##_predictor(dst, stride, width, height, above, left); \
731
7.29k
  }
aom_dc_top_predictor_4x8_c
Line
Count
Source
729
23.1k
      const uint8_t *left) {                                   \
730
23.1k
    type##_predictor(dst, stride, width, height, above, left); \
731
23.1k
  }
aom_dc_top_predictor_8x4_c
Line
Count
Source
729
11.6k
      const uint8_t *left) {                                   \
730
11.6k
    type##_predictor(dst, stride, width, height, above, left); \
731
11.6k
  }
aom_dc_top_predictor_8x16_c
Line
Count
Source
729
19.9k
      const uint8_t *left) {                                   \
730
19.9k
    type##_predictor(dst, stride, width, height, above, left); \
731
19.9k
  }
aom_dc_top_predictor_16x8_c
Line
Count
Source
729
8.61k
      const uint8_t *left) {                                   \
730
8.61k
    type##_predictor(dst, stride, width, height, above, left); \
731
8.61k
  }
aom_dc_top_predictor_16x32_c
Line
Count
Source
729
37.2k
      const uint8_t *left) {                                   \
730
37.2k
    type##_predictor(dst, stride, width, height, above, left); \
731
37.2k
  }
aom_dc_top_predictor_32x16_c
Line
Count
Source
729
6.30k
      const uint8_t *left) {                                   \
730
6.30k
    type##_predictor(dst, stride, width, height, above, left); \
731
6.30k
  }
aom_dc_top_predictor_32x64_c
Line
Count
Source
729
10.5k
      const uint8_t *left) {                                   \
730
10.5k
    type##_predictor(dst, stride, width, height, above, left); \
731
10.5k
  }
aom_dc_top_predictor_64x32_c
Line
Count
Source
729
1.32k
      const uint8_t *left) {                                   \
730
1.32k
    type##_predictor(dst, stride, width, height, above, left); \
731
1.32k
  }
aom_dc_top_predictor_4x16_c
Line
Count
Source
729
27.5k
      const uint8_t *left) {                                   \
730
27.5k
    type##_predictor(dst, stride, width, height, above, left); \
731
27.5k
  }
aom_dc_top_predictor_16x4_c
Line
Count
Source
729
5.64k
      const uint8_t *left) {                                   \
730
5.64k
    type##_predictor(dst, stride, width, height, above, left); \
731
5.64k
  }
aom_dc_top_predictor_8x32_c
Line
Count
Source
729
2.86k
      const uint8_t *left) {                                   \
730
2.86k
    type##_predictor(dst, stride, width, height, above, left); \
731
2.86k
  }
aom_dc_top_predictor_32x8_c
Line
Count
Source
729
3.74k
      const uint8_t *left) {                                   \
730
3.74k
    type##_predictor(dst, stride, width, height, above, left); \
731
3.74k
  }
aom_dc_top_predictor_16x64_c
Line
Count
Source
729
496
      const uint8_t *left) {                                   \
730
496
    type##_predictor(dst, stride, width, height, above, left); \
731
496
  }
aom_dc_top_predictor_64x16_c
Line
Count
Source
729
662
      const uint8_t *left) {                                   \
730
662
    type##_predictor(dst, stride, width, height, above, left); \
731
662
  }
aom_dc_predictor_4x4_c
Line
Count
Source
729
2.24M
      const uint8_t *left) {                                   \
730
2.24M
    type##_predictor(dst, stride, width, height, above, left); \
731
2.24M
  }
aom_dc_predictor_8x8_c
Line
Count
Source
729
383k
      const uint8_t *left) {                                   \
730
383k
    type##_predictor(dst, stride, width, height, above, left); \
731
383k
  }
aom_dc_predictor_16x16_c
Line
Count
Source
729
258k
      const uint8_t *left) {                                   \
730
258k
    type##_predictor(dst, stride, width, height, above, left); \
731
258k
  }
aom_dc_predictor_32x32_c
Line
Count
Source
729
162k
      const uint8_t *left) {                                   \
730
162k
    type##_predictor(dst, stride, width, height, above, left); \
731
162k
  }
aom_dc_predictor_64x64_c
Line
Count
Source
729
14.0k
      const uint8_t *left) {                                   \
730
14.0k
    type##_predictor(dst, stride, width, height, above, left); \
731
14.0k
  }
732
733
#if CONFIG_AV1_HIGHBITDEPTH
734
#define intra_pred_highbd_sized(type, width, height)                        \
735
  void aom_highbd_##type##_predictor_##width##x##height##_c(                \
736
      uint16_t *dst, ptrdiff_t stride, const uint16_t *above,               \
737
5.84M
      const uint16_t *left, int bd) {                                       \
738
5.84M
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
5.84M
  }
aom_highbd_v_predictor_4x4_c
Line
Count
Source
737
30.7k
      const uint16_t *left, int bd) {                                       \
738
30.7k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
30.7k
  }
aom_highbd_v_predictor_8x8_c
Line
Count
Source
737
25.1k
      const uint16_t *left, int bd) {                                       \
738
25.1k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
25.1k
  }
aom_highbd_v_predictor_16x16_c
Line
Count
Source
737
11.3k
      const uint16_t *left, int bd) {                                       \
738
11.3k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
11.3k
  }
aom_highbd_v_predictor_32x32_c
Line
Count
Source
737
7.17k
      const uint16_t *left, int bd) {                                       \
738
7.17k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
7.17k
  }
aom_highbd_v_predictor_64x64_c
Line
Count
Source
737
1.00k
      const uint16_t *left, int bd) {                                       \
738
1.00k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
1.00k
  }
aom_highbd_v_predictor_4x8_c
Line
Count
Source
737
11.5k
      const uint16_t *left, int bd) {                                       \
738
11.5k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
11.5k
  }
aom_highbd_v_predictor_8x4_c
Line
Count
Source
737
16.5k
      const uint16_t *left, int bd) {                                       \
738
16.5k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
16.5k
  }
aom_highbd_v_predictor_8x16_c
Line
Count
Source
737
6.48k
      const uint16_t *left, int bd) {                                       \
738
6.48k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
6.48k
  }
aom_highbd_v_predictor_16x8_c
Line
Count
Source
737
9.04k
      const uint16_t *left, int bd) {                                       \
738
9.04k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
9.04k
  }
aom_highbd_v_predictor_16x32_c
Line
Count
Source
737
4.38k
      const uint16_t *left, int bd) {                                       \
738
4.38k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
4.38k
  }
aom_highbd_v_predictor_32x16_c
Line
Count
Source
737
2.17k
      const uint16_t *left, int bd) {                                       \
738
2.17k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
2.17k
  }
aom_highbd_v_predictor_32x64_c
Line
Count
Source
737
164
      const uint16_t *left, int bd) {                                       \
738
164
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
164
  }
aom_highbd_v_predictor_64x32_c
Line
Count
Source
737
120
      const uint16_t *left, int bd) {                                       \
738
120
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
120
  }
aom_highbd_v_predictor_4x16_c
Line
Count
Source
737
3.97k
      const uint16_t *left, int bd) {                                       \
738
3.97k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
3.97k
  }
aom_highbd_v_predictor_16x4_c
Line
Count
Source
737
6.66k
      const uint16_t *left, int bd) {                                       \
738
6.66k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
6.66k
  }
aom_highbd_v_predictor_8x32_c
Line
Count
Source
737
2.50k
      const uint16_t *left, int bd) {                                       \
738
2.50k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
2.50k
  }
aom_highbd_v_predictor_32x8_c
Line
Count
Source
737
3.18k
      const uint16_t *left, int bd) {                                       \
738
3.18k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
3.18k
  }
aom_highbd_v_predictor_16x64_c
Line
Count
Source
737
252
      const uint16_t *left, int bd) {                                       \
738
252
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
252
  }
aom_highbd_v_predictor_64x16_c
Line
Count
Source
737
341
      const uint16_t *left, int bd) {                                       \
738
341
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
341
  }
aom_highbd_h_predictor_4x4_c
Line
Count
Source
737
60.9k
      const uint16_t *left, int bd) {                                       \
738
60.9k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
60.9k
  }
aom_highbd_h_predictor_8x8_c
Line
Count
Source
737
46.7k
      const uint16_t *left, int bd) {                                       \
738
46.7k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
46.7k
  }
aom_highbd_h_predictor_16x16_c
Line
Count
Source
737
23.6k
      const uint16_t *left, int bd) {                                       \
738
23.6k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
23.6k
  }
aom_highbd_h_predictor_32x32_c
Line
Count
Source
737
12.1k
      const uint16_t *left, int bd) {                                       \
738
12.1k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
12.1k
  }
aom_highbd_h_predictor_64x64_c
Line
Count
Source
737
1.84k
      const uint16_t *left, int bd) {                                       \
738
1.84k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
1.84k
  }
aom_highbd_h_predictor_4x8_c
Line
Count
Source
737
22.6k
      const uint16_t *left, int bd) {                                       \
738
22.6k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
22.6k
  }
aom_highbd_h_predictor_8x4_c
Line
Count
Source
737
29.4k
      const uint16_t *left, int bd) {                                       \
738
29.4k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
29.4k
  }
aom_highbd_h_predictor_8x16_c
Line
Count
Source
737
11.4k
      const uint16_t *left, int bd) {                                       \
738
11.4k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
11.4k
  }
aom_highbd_h_predictor_16x8_c
Line
Count
Source
737
16.1k
      const uint16_t *left, int bd) {                                       \
738
16.1k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
16.1k
  }
aom_highbd_h_predictor_16x32_c
Line
Count
Source
737
3.87k
      const uint16_t *left, int bd) {                                       \
738
3.87k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
3.87k
  }
aom_highbd_h_predictor_32x16_c
Line
Count
Source
737
3.92k
      const uint16_t *left, int bd) {                                       \
738
3.92k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
3.92k
  }
aom_highbd_h_predictor_32x64_c
Line
Count
Source
737
174
      const uint16_t *left, int bd) {                                       \
738
174
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
174
  }
aom_highbd_h_predictor_64x32_c
Line
Count
Source
737
435
      const uint16_t *left, int bd) {                                       \
738
435
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
435
  }
aom_highbd_h_predictor_4x16_c
Line
Count
Source
737
6.94k
      const uint16_t *left, int bd) {                                       \
738
6.94k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
6.94k
  }
aom_highbd_h_predictor_16x4_c
Line
Count
Source
737
12.4k
      const uint16_t *left, int bd) {                                       \
738
12.4k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
12.4k
  }
aom_highbd_h_predictor_8x32_c
Line
Count
Source
737
4.24k
      const uint16_t *left, int bd) {                                       \
738
4.24k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
4.24k
  }
aom_highbd_h_predictor_32x8_c
Line
Count
Source
737
5.73k
      const uint16_t *left, int bd) {                                       \
738
5.73k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
5.73k
  }
aom_highbd_h_predictor_16x64_c
Line
Count
Source
737
397
      const uint16_t *left, int bd) {                                       \
738
397
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
397
  }
aom_highbd_h_predictor_64x16_c
Line
Count
Source
737
505
      const uint16_t *left, int bd) {                                       \
738
505
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
505
  }
aom_highbd_smooth_predictor_4x4_c
Line
Count
Source
737
92.3k
      const uint16_t *left, int bd) {                                       \
738
92.3k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
92.3k
  }
aom_highbd_smooth_predictor_8x8_c
Line
Count
Source
737
110k
      const uint16_t *left, int bd) {                                       \
738
110k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
110k
  }
aom_highbd_smooth_predictor_16x16_c
Line
Count
Source
737
57.3k
      const uint16_t *left, int bd) {                                       \
738
57.3k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
57.3k
  }
aom_highbd_smooth_predictor_32x32_c
Line
Count
Source
737
31.5k
      const uint16_t *left, int bd) {                                       \
738
31.5k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
31.5k
  }
aom_highbd_smooth_predictor_64x64_c
Line
Count
Source
737
7.12k
      const uint16_t *left, int bd) {                                       \
738
7.12k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
7.12k
  }
aom_highbd_smooth_predictor_4x8_c
Line
Count
Source
737
33.3k
      const uint16_t *left, int bd) {                                       \
738
33.3k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
33.3k
  }
aom_highbd_smooth_predictor_8x4_c
Line
Count
Source
737
47.7k
      const uint16_t *left, int bd) {                                       \
738
47.7k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
47.7k
  }
aom_highbd_smooth_predictor_8x16_c
Line
Count
Source
737
31.6k
      const uint16_t *left, int bd) {                                       \
738
31.6k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
31.6k
  }
aom_highbd_smooth_predictor_16x8_c
Line
Count
Source
737
45.5k
      const uint16_t *left, int bd) {                                       \
738
45.5k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
45.5k
  }
aom_highbd_smooth_predictor_16x32_c
Line
Count
Source
737
11.6k
      const uint16_t *left, int bd) {                                       \
738
11.6k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
11.6k
  }
aom_highbd_smooth_predictor_32x16_c
Line
Count
Source
737
9.02k
      const uint16_t *left, int bd) {                                       \
738
9.02k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
9.02k
  }
aom_highbd_smooth_predictor_32x64_c
Line
Count
Source
737
884
      const uint16_t *left, int bd) {                                       \
738
884
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
884
  }
aom_highbd_smooth_predictor_64x32_c
Line
Count
Source
737
692
      const uint16_t *left, int bd) {                                       \
738
692
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
692
  }
aom_highbd_smooth_predictor_4x16_c
Line
Count
Source
737
20.0k
      const uint16_t *left, int bd) {                                       \
738
20.0k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
20.0k
  }
aom_highbd_smooth_predictor_16x4_c
Line
Count
Source
737
35.0k
      const uint16_t *left, int bd) {                                       \
738
35.0k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
35.0k
  }
aom_highbd_smooth_predictor_8x32_c
Line
Count
Source
737
11.6k
      const uint16_t *left, int bd) {                                       \
738
11.6k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
11.6k
  }
aom_highbd_smooth_predictor_32x8_c
Line
Count
Source
737
14.5k
      const uint16_t *left, int bd) {                                       \
738
14.5k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
14.5k
  }
aom_highbd_smooth_predictor_16x64_c
Line
Count
Source
737
1.10k
      const uint16_t *left, int bd) {                                       \
738
1.10k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
1.10k
  }
aom_highbd_smooth_predictor_64x16_c
Line
Count
Source
737
1.13k
      const uint16_t *left, int bd) {                                       \
738
1.13k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
1.13k
  }
aom_highbd_smooth_v_predictor_4x4_c
Line
Count
Source
737
32.8k
      const uint16_t *left, int bd) {                                       \
738
32.8k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
32.8k
  }
aom_highbd_smooth_v_predictor_8x8_c
Line
Count
Source
737
40.2k
      const uint16_t *left, int bd) {                                       \
738
40.2k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
40.2k
  }
aom_highbd_smooth_v_predictor_16x16_c
Line
Count
Source
737
19.9k
      const uint16_t *left, int bd) {                                       \
738
19.9k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
19.9k
  }
aom_highbd_smooth_v_predictor_32x32_c
Line
Count
Source
737
12.0k
      const uint16_t *left, int bd) {                                       \
738
12.0k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
12.0k
  }
aom_highbd_smooth_v_predictor_64x64_c
Line
Count
Source
737
2.13k
      const uint16_t *left, int bd) {                                       \
738
2.13k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
2.13k
  }
aom_highbd_smooth_v_predictor_4x8_c
Line
Count
Source
737
14.8k
      const uint16_t *left, int bd) {                                       \
738
14.8k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
14.8k
  }
aom_highbd_smooth_v_predictor_8x4_c
Line
Count
Source
737
17.8k
      const uint16_t *left, int bd) {                                       \
738
17.8k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
17.8k
  }
aom_highbd_smooth_v_predictor_8x16_c
Line
Count
Source
737
13.5k
      const uint16_t *left, int bd) {                                       \
738
13.5k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
13.5k
  }
aom_highbd_smooth_v_predictor_16x8_c
Line
Count
Source
737
18.1k
      const uint16_t *left, int bd) {                                       \
738
18.1k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
18.1k
  }
aom_highbd_smooth_v_predictor_16x32_c
Line
Count
Source
737
5.01k
      const uint16_t *left, int bd) {                                       \
738
5.01k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
5.01k
  }
aom_highbd_smooth_v_predictor_32x16_c
Line
Count
Source
737
3.60k
      const uint16_t *left, int bd) {                                       \
738
3.60k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
3.60k
  }
aom_highbd_smooth_v_predictor_32x64_c
Line
Count
Source
737
276
      const uint16_t *left, int bd) {                                       \
738
276
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
276
  }
aom_highbd_smooth_v_predictor_64x32_c
Line
Count
Source
737
192
      const uint16_t *left, int bd) {                                       \
738
192
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
192
  }
aom_highbd_smooth_v_predictor_4x16_c
Line
Count
Source
737
8.54k
      const uint16_t *left, int bd) {                                       \
738
8.54k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
8.54k
  }
aom_highbd_smooth_v_predictor_16x4_c
Line
Count
Source
737
16.7k
      const uint16_t *left, int bd) {                                       \
738
16.7k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
16.7k
  }
aom_highbd_smooth_v_predictor_8x32_c
Line
Count
Source
737
5.09k
      const uint16_t *left, int bd) {                                       \
738
5.09k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
5.09k
  }
aom_highbd_smooth_v_predictor_32x8_c
Line
Count
Source
737
6.04k
      const uint16_t *left, int bd) {                                       \
738
6.04k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
6.04k
  }
aom_highbd_smooth_v_predictor_16x64_c
Line
Count
Source
737
214
      const uint16_t *left, int bd) {                                       \
738
214
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
214
  }
aom_highbd_smooth_v_predictor_64x16_c
Line
Count
Source
737
279
      const uint16_t *left, int bd) {                                       \
738
279
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
279
  }
aom_highbd_smooth_h_predictor_4x4_c
Line
Count
Source
737
37.5k
      const uint16_t *left, int bd) {                                       \
738
37.5k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
37.5k
  }
aom_highbd_smooth_h_predictor_8x8_c
Line
Count
Source
737
62.5k
      const uint16_t *left, int bd) {                                       \
738
62.5k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
62.5k
  }
aom_highbd_smooth_h_predictor_16x16_c
Line
Count
Source
737
27.1k
      const uint16_t *left, int bd) {                                       \
738
27.1k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
27.1k
  }
aom_highbd_smooth_h_predictor_32x32_c
Line
Count
Source
737
14.8k
      const uint16_t *left, int bd) {                                       \
738
14.8k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
14.8k
  }
aom_highbd_smooth_h_predictor_64x64_c
Line
Count
Source
737
2.03k
      const uint16_t *left, int bd) {                                       \
738
2.03k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
2.03k
  }
aom_highbd_smooth_h_predictor_4x8_c
Line
Count
Source
737
17.1k
      const uint16_t *left, int bd) {                                       \
738
17.1k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
17.1k
  }
aom_highbd_smooth_h_predictor_8x4_c
Line
Count
Source
737
20.1k
      const uint16_t *left, int bd) {                                       \
738
20.1k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
20.1k
  }
aom_highbd_smooth_h_predictor_8x16_c
Line
Count
Source
737
18.6k
      const uint16_t *left, int bd) {                                       \
738
18.6k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
18.6k
  }
aom_highbd_smooth_h_predictor_16x8_c
Line
Count
Source
737
21.1k
      const uint16_t *left, int bd) {                                       \
738
21.1k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
21.1k
  }
aom_highbd_smooth_h_predictor_16x32_c
Line
Count
Source
737
6.47k
      const uint16_t *left, int bd) {                                       \
738
6.47k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
6.47k
  }
aom_highbd_smooth_h_predictor_32x16_c
Line
Count
Source
737
4.92k
      const uint16_t *left, int bd) {                                       \
738
4.92k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
4.92k
  }
aom_highbd_smooth_h_predictor_32x64_c
Line
Count
Source
737
265
      const uint16_t *left, int bd) {                                       \
738
265
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
265
  }
aom_highbd_smooth_h_predictor_64x32_c
Line
Count
Source
737
214
      const uint16_t *left, int bd) {                                       \
738
214
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
214
  }
aom_highbd_smooth_h_predictor_4x16_c
Line
Count
Source
737
10.3k
      const uint16_t *left, int bd) {                                       \
738
10.3k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
10.3k
  }
aom_highbd_smooth_h_predictor_16x4_c
Line
Count
Source
737
16.8k
      const uint16_t *left, int bd) {                                       \
738
16.8k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
16.8k
  }
aom_highbd_smooth_h_predictor_8x32_c
Line
Count
Source
737
5.74k
      const uint16_t *left, int bd) {                                       \
738
5.74k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
5.74k
  }
aom_highbd_smooth_h_predictor_32x8_c
Line
Count
Source
737
9.23k
      const uint16_t *left, int bd) {                                       \
738
9.23k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
9.23k
  }
aom_highbd_smooth_h_predictor_16x64_c
Line
Count
Source
737
388
      const uint16_t *left, int bd) {                                       \
738
388
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
388
  }
aom_highbd_smooth_h_predictor_64x16_c
Line
Count
Source
737
340
      const uint16_t *left, int bd) {                                       \
738
340
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
340
  }
aom_highbd_paeth_predictor_4x4_c
Line
Count
Source
737
216k
      const uint16_t *left, int bd) {                                       \
738
216k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
216k
  }
aom_highbd_paeth_predictor_8x8_c
Line
Count
Source
737
124k
      const uint16_t *left, int bd) {                                       \
738
124k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
124k
  }
aom_highbd_paeth_predictor_16x16_c
Line
Count
Source
737
69.2k
      const uint16_t *left, int bd) {                                       \
738
69.2k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
69.2k
  }
aom_highbd_paeth_predictor_32x32_c
Line
Count
Source
737
39.7k
      const uint16_t *left, int bd) {                                       \
738
39.7k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
39.7k
  }
aom_highbd_paeth_predictor_64x64_c
Line
Count
Source
737
5.92k
      const uint16_t *left, int bd) {                                       \
738
5.92k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
5.92k
  }
aom_highbd_paeth_predictor_4x8_c
Line
Count
Source
737
46.1k
      const uint16_t *left, int bd) {                                       \
738
46.1k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
46.1k
  }
aom_highbd_paeth_predictor_8x4_c
Line
Count
Source
737
70.2k
      const uint16_t *left, int bd) {                                       \
738
70.2k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
70.2k
  }
aom_highbd_paeth_predictor_8x16_c
Line
Count
Source
737
42.0k
      const uint16_t *left, int bd) {                                       \
738
42.0k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
42.0k
  }
aom_highbd_paeth_predictor_16x8_c
Line
Count
Source
737
58.2k
      const uint16_t *left, int bd) {                                       \
738
58.2k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
58.2k
  }
aom_highbd_paeth_predictor_16x32_c
Line
Count
Source
737
49.6k
      const uint16_t *left, int bd) {                                       \
738
49.6k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
49.6k
  }
aom_highbd_paeth_predictor_32x16_c
Line
Count
Source
737
10.6k
      const uint16_t *left, int bd) {                                       \
738
10.6k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
10.6k
  }
aom_highbd_paeth_predictor_32x64_c
Line
Count
Source
737
5.61k
      const uint16_t *left, int bd) {                                       \
738
5.61k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
5.61k
  }
aom_highbd_paeth_predictor_64x32_c
Line
Count
Source
737
1.13k
      const uint16_t *left, int bd) {                                       \
738
1.13k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
1.13k
  }
aom_highbd_paeth_predictor_4x16_c
Line
Count
Source
737
73.6k
      const uint16_t *left, int bd) {                                       \
738
73.6k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
73.6k
  }
aom_highbd_paeth_predictor_16x4_c
Line
Count
Source
737
47.7k
      const uint16_t *left, int bd) {                                       \
738
47.7k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
47.7k
  }
aom_highbd_paeth_predictor_8x32_c
Line
Count
Source
737
140k
      const uint16_t *left, int bd) {                                       \
738
140k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
140k
  }
aom_highbd_paeth_predictor_32x8_c
Line
Count
Source
737
17.3k
      const uint16_t *left, int bd) {                                       \
738
17.3k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
17.3k
  }
aom_highbd_paeth_predictor_16x64_c
Line
Count
Source
737
57.8k
      const uint16_t *left, int bd) {                                       \
738
57.8k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
57.8k
  }
aom_highbd_paeth_predictor_64x16_c
Line
Count
Source
737
1.27k
      const uint16_t *left, int bd) {                                       \
738
1.27k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
1.27k
  }
aom_highbd_dc_128_predictor_4x4_c
Line
Count
Source
737
6.56k
      const uint16_t *left, int bd) {                                       \
738
6.56k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
6.56k
  }
aom_highbd_dc_128_predictor_8x8_c
Line
Count
Source
737
3.11k
      const uint16_t *left, int bd) {                                       \
738
3.11k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
3.11k
  }
aom_highbd_dc_128_predictor_16x16_c
Line
Count
Source
737
2.48k
      const uint16_t *left, int bd) {                                       \
738
2.48k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
2.48k
  }
aom_highbd_dc_128_predictor_32x32_c
Line
Count
Source
737
15.4k
      const uint16_t *left, int bd) {                                       \
738
15.4k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
15.4k
  }
aom_highbd_dc_128_predictor_64x64_c
Line
Count
Source
737
5.34k
      const uint16_t *left, int bd) {                                       \
738
5.34k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
5.34k
  }
aom_highbd_dc_128_predictor_4x8_c
Line
Count
Source
737
554
      const uint16_t *left, int bd) {                                       \
738
554
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
554
  }
aom_highbd_dc_128_predictor_8x4_c
Line
Count
Source
737
62
      const uint16_t *left, int bd) {                                       \
738
62
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
62
  }
aom_highbd_dc_128_predictor_8x16_c
Line
Count
Source
737
971
      const uint16_t *left, int bd) {                                       \
738
971
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
971
  }
aom_highbd_dc_128_predictor_16x8_c
Line
Count
Source
737
244
      const uint16_t *left, int bd) {                                       \
738
244
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
244
  }
aom_highbd_dc_128_predictor_16x32_c
Line
Count
Source
737
3.37k
      const uint16_t *left, int bd) {                                       \
738
3.37k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
3.37k
  }
aom_highbd_dc_128_predictor_32x16_c
Line
Count
Source
737
2.86k
      const uint16_t *left, int bd) {                                       \
738
2.86k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
2.86k
  }
aom_highbd_dc_128_predictor_32x64_c
Line
Count
Source
737
936
      const uint16_t *left, int bd) {                                       \
738
936
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
936
  }
aom_highbd_dc_128_predictor_64x32_c
Line
Count
Source
737
67
      const uint16_t *left, int bd) {                                       \
738
67
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
67
  }
aom_highbd_dc_128_predictor_4x16_c
Line
Count
Source
737
419
      const uint16_t *left, int bd) {                                       \
738
419
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
419
  }
aom_highbd_dc_128_predictor_16x4_c
Line
Count
Source
737
58
      const uint16_t *left, int bd) {                                       \
738
58
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
58
  }
aom_highbd_dc_128_predictor_8x32_c
Line
Count
Source
737
400
      const uint16_t *left, int bd) {                                       \
738
400
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
400
  }
aom_highbd_dc_128_predictor_32x8_c
Line
Count
Source
737
50
      const uint16_t *left, int bd) {                                       \
738
50
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
50
  }
aom_highbd_dc_128_predictor_16x64_c
Line
Count
Source
737
240
      const uint16_t *left, int bd) {                                       \
738
240
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
240
  }
aom_highbd_dc_128_predictor_64x16_c
Line
Count
Source
737
126
      const uint16_t *left, int bd) {                                       \
738
126
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
126
  }
aom_highbd_dc_left_predictor_4x4_c
Line
Count
Source
737
25.6k
      const uint16_t *left, int bd) {                                       \
738
25.6k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
25.6k
  }
aom_highbd_dc_left_predictor_8x8_c
Line
Count
Source
737
5.98k
      const uint16_t *left, int bd) {                                       \
738
5.98k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
5.98k
  }
aom_highbd_dc_left_predictor_16x16_c
Line
Count
Source
737
11.7k
      const uint16_t *left, int bd) {                                       \
738
11.7k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
11.7k
  }
aom_highbd_dc_left_predictor_32x32_c
Line
Count
Source
737
41.0k
      const uint16_t *left, int bd) {                                       \
738
41.0k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
41.0k
  }
aom_highbd_dc_left_predictor_64x64_c
Line
Count
Source
737
11.3k
      const uint16_t *left, int bd) {                                       \
738
11.3k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
11.3k
  }
aom_highbd_dc_left_predictor_4x8_c
Line
Count
Source
737
3.30k
      const uint16_t *left, int bd) {                                       \
738
3.30k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
3.30k
  }
aom_highbd_dc_left_predictor_8x4_c
Line
Count
Source
737
2.64k
      const uint16_t *left, int bd) {                                       \
738
2.64k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
2.64k
  }
aom_highbd_dc_left_predictor_8x16_c
Line
Count
Source
737
3.52k
      const uint16_t *left, int bd) {                                       \
738
3.52k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
3.52k
  }
aom_highbd_dc_left_predictor_16x8_c
Line
Count
Source
737
4.40k
      const uint16_t *left, int bd) {                                       \
738
4.40k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
4.40k
  }
aom_highbd_dc_left_predictor_16x32_c
Line
Count
Source
737
5.65k
      const uint16_t *left, int bd) {                                       \
738
5.65k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
5.65k
  }
aom_highbd_dc_left_predictor_32x16_c
Line
Count
Source
737
4.32k
      const uint16_t *left, int bd) {                                       \
738
4.32k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
4.32k
  }
aom_highbd_dc_left_predictor_32x64_c
Line
Count
Source
737
793
      const uint16_t *left, int bd) {                                       \
738
793
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
793
  }
aom_highbd_dc_left_predictor_64x32_c
Line
Count
Source
737
731
      const uint16_t *left, int bd) {                                       \
738
731
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
731
  }
aom_highbd_dc_left_predictor_4x16_c
Line
Count
Source
737
2.78k
      const uint16_t *left, int bd) {                                       \
738
2.78k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
2.78k
  }
aom_highbd_dc_left_predictor_16x4_c
Line
Count
Source
737
1.09k
      const uint16_t *left, int bd) {                                       \
738
1.09k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
1.09k
  }
aom_highbd_dc_left_predictor_8x32_c
Line
Count
Source
737
4.25k
      const uint16_t *left, int bd) {                                       \
738
4.25k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
4.25k
  }
aom_highbd_dc_left_predictor_32x8_c
Line
Count
Source
737
1.50k
      const uint16_t *left, int bd) {                                       \
738
1.50k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
1.50k
  }
aom_highbd_dc_left_predictor_16x64_c
Line
Count
Source
737
1.64k
      const uint16_t *left, int bd) {                                       \
738
1.64k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
1.64k
  }
aom_highbd_dc_left_predictor_64x16_c
Line
Count
Source
737
491
      const uint16_t *left, int bd) {                                       \
738
491
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
491
  }
aom_highbd_dc_top_predictor_4x4_c
Line
Count
Source
737
123k
      const uint16_t *left, int bd) {                                       \
738
123k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
123k
  }
aom_highbd_dc_top_predictor_8x8_c
Line
Count
Source
737
18.1k
      const uint16_t *left, int bd) {                                       \
738
18.1k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
18.1k
  }
aom_highbd_dc_top_predictor_16x16_c
Line
Count
Source
737
15.5k
      const uint16_t *left, int bd) {                                       \
738
15.5k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
15.5k
  }
aom_highbd_dc_top_predictor_32x32_c
Line
Count
Source
737
87.1k
      const uint16_t *left, int bd) {                                       \
738
87.1k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
87.1k
  }
aom_highbd_dc_top_predictor_64x64_c
Line
Count
Source
737
9.26k
      const uint16_t *left, int bd) {                                       \
738
9.26k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
9.26k
  }
aom_highbd_dc_top_predictor_4x8_c
Line
Count
Source
737
29.1k
      const uint16_t *left, int bd) {                                       \
738
29.1k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
29.1k
  }
aom_highbd_dc_top_predictor_8x4_c
Line
Count
Source
737
12.3k
      const uint16_t *left, int bd) {                                       \
738
12.3k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
12.3k
  }
aom_highbd_dc_top_predictor_8x16_c
Line
Count
Source
737
18.6k
      const uint16_t *left, int bd) {                                       \
738
18.6k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
18.6k
  }
aom_highbd_dc_top_predictor_16x8_c
Line
Count
Source
737
6.10k
      const uint16_t *left, int bd) {                                       \
738
6.10k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
6.10k
  }
aom_highbd_dc_top_predictor_16x32_c
Line
Count
Source
737
16.9k
      const uint16_t *left, int bd) {                                       \
738
16.9k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
16.9k
  }
aom_highbd_dc_top_predictor_32x16_c
Line
Count
Source
737
4.87k
      const uint16_t *left, int bd) {                                       \
738
4.87k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
4.87k
  }
aom_highbd_dc_top_predictor_32x64_c
Line
Count
Source
737
7.60k
      const uint16_t *left, int bd) {                                       \
738
7.60k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
7.60k
  }
aom_highbd_dc_top_predictor_64x32_c
Line
Count
Source
737
473
      const uint16_t *left, int bd) {                                       \
738
473
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
473
  }
aom_highbd_dc_top_predictor_4x16_c
Line
Count
Source
737
30.0k
      const uint16_t *left, int bd) {                                       \
738
30.0k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
30.0k
  }
aom_highbd_dc_top_predictor_16x4_c
Line
Count
Source
737
5.59k
      const uint16_t *left, int bd) {                                       \
738
5.59k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
5.59k
  }
aom_highbd_dc_top_predictor_8x32_c
Line
Count
Source
737
2.95k
      const uint16_t *left, int bd) {                                       \
738
2.95k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
2.95k
  }
aom_highbd_dc_top_predictor_32x8_c
Line
Count
Source
737
3.48k
      const uint16_t *left, int bd) {                                       \
738
3.48k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
3.48k
  }
aom_highbd_dc_top_predictor_16x64_c
Line
Count
Source
737
485
      const uint16_t *left, int bd) {                                       \
738
485
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
485
  }
aom_highbd_dc_top_predictor_64x16_c
Line
Count
Source
737
887
      const uint16_t *left, int bd) {                                       \
738
887
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
887
  }
aom_highbd_dc_predictor_4x4_c
Line
Count
Source
737
1.91M
      const uint16_t *left, int bd) {                                       \
738
1.91M
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
1.91M
  }
aom_highbd_dc_predictor_8x8_c
Line
Count
Source
737
438k
      const uint16_t *left, int bd) {                                       \
738
438k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
438k
  }
aom_highbd_dc_predictor_16x16_c
Line
Count
Source
737
214k
      const uint16_t *left, int bd) {                                       \
738
214k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
214k
  }
aom_highbd_dc_predictor_32x32_c
Line
Count
Source
737
148k
      const uint16_t *left, int bd) {                                       \
738
148k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
148k
  }
aom_highbd_dc_predictor_64x64_c
Line
Count
Source
737
15.0k
      const uint16_t *left, int bd) {                                       \
738
15.0k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
15.0k
  }
740
#else  // !CONFIG_AV1_HIGHBITDEPTH
741
#define intra_pred_highbd_sized(type, width, height)
742
#endif  // CONFIG_AV1_HIGHBITDEPTH
743
744
/* clang-format off */
745
#if CONFIG_REALTIME_ONLY && !CONFIG_AV1_DECODER
746
#define intra_pred_rectangular(type) \
747
  intra_pred_sized(type, 4, 8) \
748
  intra_pred_sized(type, 8, 4) \
749
  intra_pred_sized(type, 8, 16) \
750
  intra_pred_sized(type, 16, 8) \
751
  intra_pred_sized(type, 16, 32) \
752
  intra_pred_sized(type, 32, 16) \
753
  intra_pred_sized(type, 32, 64) \
754
  intra_pred_sized(type, 64, 32) \
755
  intra_pred_highbd_sized(type, 4, 8) \
756
  intra_pred_highbd_sized(type, 8, 4) \
757
  intra_pred_highbd_sized(type, 8, 16) \
758
  intra_pred_highbd_sized(type, 16, 8) \
759
  intra_pred_highbd_sized(type, 16, 32) \
760
  intra_pred_highbd_sized(type, 32, 16) \
761
  intra_pred_highbd_sized(type, 32, 64) \
762
  intra_pred_highbd_sized(type, 64, 32)
763
#else
764
#define intra_pred_rectangular(type) \
765
  intra_pred_sized(type, 4, 8) \
766
  intra_pred_sized(type, 8, 4) \
767
  intra_pred_sized(type, 8, 16) \
768
  intra_pred_sized(type, 16, 8) \
769
  intra_pred_sized(type, 16, 32) \
770
  intra_pred_sized(type, 32, 16) \
771
  intra_pred_sized(type, 32, 64) \
772
  intra_pred_sized(type, 64, 32) \
773
  intra_pred_sized(type, 4, 16) \
774
  intra_pred_sized(type, 16, 4) \
775
  intra_pred_sized(type, 8, 32) \
776
  intra_pred_sized(type, 32, 8) \
777
  intra_pred_sized(type, 16, 64) \
778
  intra_pred_sized(type, 64, 16) \
779
  intra_pred_highbd_sized(type, 4, 8) \
780
  intra_pred_highbd_sized(type, 8, 4) \
781
  intra_pred_highbd_sized(type, 8, 16) \
782
  intra_pred_highbd_sized(type, 16, 8) \
783
  intra_pred_highbd_sized(type, 16, 32) \
784
  intra_pred_highbd_sized(type, 32, 16) \
785
  intra_pred_highbd_sized(type, 32, 64) \
786
  intra_pred_highbd_sized(type, 64, 32) \
787
  intra_pred_highbd_sized(type, 4, 16) \
788
  intra_pred_highbd_sized(type, 16, 4) \
789
  intra_pred_highbd_sized(type, 8, 32) \
790
  intra_pred_highbd_sized(type, 32, 8) \
791
  intra_pred_highbd_sized(type, 16, 64) \
792
  intra_pred_highbd_sized(type, 64, 16)
793
#endif // CONFIG_REALTIME_ONLY && !CONFIG_AV1_DECODER
794
795
#define intra_pred_above_4x4(type) \
796
  intra_pred_sized(type, 8, 8) \
797
  intra_pred_sized(type, 16, 16) \
798
  intra_pred_sized(type, 32, 32) \
799
  intra_pred_sized(type, 64, 64) \
800
  intra_pred_highbd_sized(type, 4, 4) \
801
  intra_pred_highbd_sized(type, 8, 8) \
802
  intra_pred_highbd_sized(type, 16, 16) \
803
  intra_pred_highbd_sized(type, 32, 32) \
804
  intra_pred_highbd_sized(type, 64, 64) \
805
  intra_pred_rectangular(type)
806
#define intra_pred_allsizes(type) \
807
  intra_pred_sized(type, 4, 4) \
808
  intra_pred_above_4x4(type)
809
#define intra_pred_square(type) \
810
  intra_pred_sized(type, 4, 4) \
811
  intra_pred_sized(type, 8, 8) \
812
  intra_pred_sized(type, 16, 16) \
813
  intra_pred_sized(type, 32, 32) \
814
  intra_pred_sized(type, 64, 64) \
815
  intra_pred_highbd_sized(type, 4, 4) \
816
  intra_pred_highbd_sized(type, 8, 8) \
817
  intra_pred_highbd_sized(type, 16, 16) \
818
  intra_pred_highbd_sized(type, 32, 32) \
819
  intra_pred_highbd_sized(type, 64, 64)
820
821
intra_pred_allsizes(v)
822
intra_pred_allsizes(h)
823
intra_pred_allsizes(smooth)
824
intra_pred_allsizes(smooth_v)
825
intra_pred_allsizes(smooth_h)
826
intra_pred_allsizes(paeth)
827
intra_pred_allsizes(dc_128)
828
intra_pred_allsizes(dc_left)
829
intra_pred_allsizes(dc_top)
830
intra_pred_square(dc)
831
/* clang-format on */
832
#undef intra_pred_allsizes