Coverage Report

Created: 2025-07-16 07:53

/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
408k
                               const uint8_t *above, const uint8_t *left) {
25
408k
  int r;
26
408k
  (void)left;
27
28
3.07M
  for (r = 0; r < bh; r++) {
29
2.66M
    memcpy(dst, above, bw);
30
2.66M
    dst += stride;
31
2.66M
  }
32
408k
}
33
34
static inline void h_predictor(uint8_t *dst, ptrdiff_t stride, int bw, int bh,
35
392k
                               const uint8_t *above, const uint8_t *left) {
36
392k
  int r;
37
392k
  (void)above;
38
39
3.56M
  for (r = 0; r < bh; r++) {
40
3.17M
    memset(dst, left[r], bw);
41
3.17M
    dst += stride;
42
3.17M
  }
43
392k
}
44
45
1.78G
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
596M
                                              uint16_t top_left) {
49
596M
  const int base = top + left - top_left;
50
596M
  const int p_left = abs_diff(base, left);
51
596M
  const int p_top = abs_diff(base, top);
52
596M
  const int p_top_left = abs_diff(base, top_left);
53
54
  // Return nearest to base of left, top and top_left.
55
596M
  return (p_left <= p_top && p_left <= p_top_left) ? left
56
596M
         : (p_top <= p_top_left)                   ? top
57
113M
                                                   : top_left;
58
596M
}
59
60
static inline void paeth_predictor(uint8_t *dst, ptrdiff_t stride, int bw,
61
                                   int bh, const uint8_t *above,
62
4.40M
                                   const uint8_t *left) {
63
4.40M
  int r, c;
64
4.40M
  const uint8_t ytop_left = above[-1];
65
66
37.0M
  for (r = 0; r < bh; r++) {
67
371M
    for (c = 0; c < bw; c++)
68
338M
      dst[c] = (uint8_t)paeth_predictor_single(left[r], above[c], ytop_left);
69
32.6M
    dst += stride;
70
32.6M
  }
71
4.40M
}
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.33M
  assert(weights_w[0] < weights_scale);                               \
77
2.33M
  assert(weights_h[0] < weights_scale);                               \
78
2.33M
  assert(weights_scale - weights_w[bw - 1] < weights_scale);          \
79
2.33M
  assert(weights_scale - weights_h[bh - 1] < weights_scale);          \
80
2.33M
  assert(pred_scale < 31)  // ensures no overflow when calculating predictor.
81
82
443M
#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
658k
                                    const uint8_t *left) {
87
658k
  const uint8_t below_pred = left[bh - 1];   // estimated by bottom-left pixel
88
658k
  const uint8_t right_pred = above[bw - 1];  // estimated by top-right pixel
89
658k
  const uint8_t *const sm_weights_w = smooth_weights + bw - 4;
90
658k
  const uint8_t *const sm_weights_h = smooth_weights + bh - 4;
91
  // scale = 2 * 2^SMOOTH_WEIGHT_LOG2_SCALE
92
658k
  const int log2_scale = 1 + SMOOTH_WEIGHT_LOG2_SCALE;
93
658k
  const uint16_t scale = (1 << SMOOTH_WEIGHT_LOG2_SCALE);
94
658k
  sm_weights_sanity_checks(sm_weights_w, sm_weights_h, scale,
95
658k
                           log2_scale + sizeof(*dst));
96
658k
  int r;
97
7.65M
  for (r = 0; r < bh; ++r) {
98
6.99M
    int c;
99
121M
    for (c = 0; c < bw; ++c) {
100
114M
      const uint8_t pixels[] = { above[c], below_pred, left[r], right_pred };
101
114M
      const uint8_t weights[] = { sm_weights_h[r], scale - sm_weights_h[r],
102
114M
                                  sm_weights_w[c], scale - sm_weights_w[c] };
103
114M
      uint32_t this_pred = 0;
104
114M
      int i;
105
114M
      assert(scale >= sm_weights_h[r] && scale >= sm_weights_w[c]);
106
573M
      for (i = 0; i < 4; ++i) {
107
459M
        this_pred += weights[i] * pixels[i];
108
459M
      }
109
114M
      dst[c] = divide_round(this_pred, log2_scale);
110
114M
    }
111
6.99M
    dst += stride;
112
6.99M
  }
113
658k
}
114
115
static inline void smooth_v_predictor(uint8_t *dst, ptrdiff_t stride, int bw,
116
                                      int bh, const uint8_t *above,
117
221k
                                      const uint8_t *left) {
118
221k
  const uint8_t below_pred = left[bh - 1];  // estimated by bottom-left pixel
119
221k
  const uint8_t *const sm_weights = smooth_weights + bh - 4;
120
  // scale = 2^SMOOTH_WEIGHT_LOG2_SCALE
121
221k
  const int log2_scale = SMOOTH_WEIGHT_LOG2_SCALE;
122
221k
  const uint16_t scale = (1 << SMOOTH_WEIGHT_LOG2_SCALE);
123
221k
  sm_weights_sanity_checks(sm_weights, sm_weights, scale,
124
221k
                           log2_scale + sizeof(*dst));
125
126
221k
  int r;
127
2.85M
  for (r = 0; r < bh; r++) {
128
2.63M
    int c;
129
49.3M
    for (c = 0; c < bw; ++c) {
130
46.6M
      const uint8_t pixels[] = { above[c], below_pred };
131
46.6M
      const uint8_t weights[] = { sm_weights[r], scale - sm_weights[r] };
132
46.6M
      uint32_t this_pred = 0;
133
46.6M
      assert(scale >= sm_weights[r]);
134
46.6M
      int i;
135
140M
      for (i = 0; i < 2; ++i) {
136
93.3M
        this_pred += weights[i] * pixels[i];
137
93.3M
      }
138
46.6M
      dst[c] = divide_round(this_pred, log2_scale);
139
46.6M
    }
140
2.63M
    dst += stride;
141
2.63M
  }
142
221k
}
143
144
static inline void smooth_h_predictor(uint8_t *dst, ptrdiff_t stride, int bw,
145
                                      int bh, const uint8_t *above,
146
337k
                                      const uint8_t *left) {
147
337k
  const uint8_t right_pred = above[bw - 1];  // estimated by top-right pixel
148
337k
  const uint8_t *const sm_weights = smooth_weights + bw - 4;
149
  // scale = 2^SMOOTH_WEIGHT_LOG2_SCALE
150
337k
  const int log2_scale = SMOOTH_WEIGHT_LOG2_SCALE;
151
337k
  const uint16_t scale = (1 << SMOOTH_WEIGHT_LOG2_SCALE);
152
337k
  sm_weights_sanity_checks(sm_weights, sm_weights, scale,
153
337k
                           log2_scale + sizeof(*dst));
154
155
337k
  int r;
156
4.18M
  for (r = 0; r < bh; r++) {
157
3.84M
    int c;
158
64.7M
    for (c = 0; c < bw; ++c) {
159
60.9M
      const uint8_t pixels[] = { left[r], right_pred };
160
60.9M
      const uint8_t weights[] = { sm_weights[c], scale - sm_weights[c] };
161
60.9M
      uint32_t this_pred = 0;
162
60.9M
      assert(scale >= sm_weights[c]);
163
60.9M
      int i;
164
182M
      for (i = 0; i < 2; ++i) {
165
121M
        this_pred += weights[i] * pixels[i];
166
121M
      }
167
60.9M
      dst[c] = divide_round(this_pred, log2_scale);
168
60.9M
    }
169
3.84M
    dst += stride;
170
3.84M
  }
171
337k
}
172
173
static inline void dc_128_predictor(uint8_t *dst, ptrdiff_t stride, int bw,
174
                                    int bh, const uint8_t *above,
175
19.2k
                                    const uint8_t *left) {
176
19.2k
  int r;
177
19.2k
  (void)above;
178
19.2k
  (void)left;
179
180
439k
  for (r = 0; r < bh; r++) {
181
420k
    memset(dst, 128, bw);
182
420k
    dst += stride;
183
420k
  }
184
19.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
175k
                                     const uint8_t *left) {
189
175k
  int i, r, expected_dc, sum = 0;
190
175k
  (void)above;
191
192
2.79M
  for (i = 0; i < bh; i++) sum += left[i];
193
175k
  expected_dc = (sum + (bh >> 1)) / bh;
194
195
2.79M
  for (r = 0; r < bh; r++) {
196
2.62M
    memset(dst, expected_dc, bw);
197
2.62M
    dst += stride;
198
2.62M
  }
199
175k
}
200
201
static inline void dc_top_predictor(uint8_t *dst, ptrdiff_t stride, int bw,
202
                                    int bh, const uint8_t *above,
203
352k
                                    const uint8_t *left) {
204
352k
  int i, r, expected_dc, sum = 0;
205
352k
  (void)left;
206
207
4.89M
  for (i = 0; i < bw; i++) sum += above[i];
208
352k
  expected_dc = (sum + (bw >> 1)) / bw;
209
210
5.86M
  for (r = 0; r < bh; r++) {
211
5.51M
    memset(dst, expected_dc, bw);
212
5.51M
    dst += stride;
213
5.51M
  }
214
352k
}
215
216
static inline void dc_predictor(uint8_t *dst, ptrdiff_t stride, int bw, int bh,
217
3.34M
                                const uint8_t *above, const uint8_t *left) {
218
3.34M
  int i, r, expected_dc, sum = 0;
219
3.34M
  const int count = bw + bh;
220
221
26.0M
  for (i = 0; i < bw; i++) {
222
22.7M
    sum += above[i];
223
22.7M
  }
224
26.0M
  for (i = 0; i < bh; i++) {
225
22.7M
    sum += left[i];
226
22.7M
  }
227
228
3.34M
  expected_dc = (sum + (count >> 1)) / count;
229
230
26.0M
  for (r = 0; r < bh; r++) {
231
22.7M
    memset(dst, expected_dc, bw);
232
22.7M
    dst += stride;
233
22.7M
  }
234
3.34M
}
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
735k
#define DC_MULTIPLIER_1X2 0x5556
261
408k
#define DC_MULTIPLIER_1X4 0x3334
262
263
1.14M
#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.14M
                                     int multiplier) {
269
1.14M
  int sum = 0;
270
271
14.7M
  for (int i = 0; i < bw; i++) {
272
13.6M
    sum += above[i];
273
13.6M
  }
274
14.0M
  for (int i = 0; i < bh; i++) {
275
12.8M
    sum += left[i];
276
12.8M
  }
277
278
1.14M
  const int expected_dc = divide_using_multiply_shift(
279
1.14M
      sum + ((bw + bh) >> 1), shift1, multiplier, DC_SHIFT2);
280
1.14M
  assert(expected_dc < (1 << 8));
281
282
14.0M
  for (int r = 0; r < bh; r++) {
283
12.8M
    memset(dst, expected_dc, bw);
284
12.8M
    dst += stride;
285
12.8M
  }
286
1.14M
}
287
288
#undef DC_SHIFT2
289
290
void aom_dc_predictor_4x8_c(uint8_t *dst, ptrdiff_t stride,
291
148k
                            const uint8_t *above, const uint8_t *left) {
292
148k
  dc_predictor_rect(dst, stride, 4, 8, above, left, 2, DC_MULTIPLIER_1X2);
293
148k
}
294
295
void aom_dc_predictor_8x4_c(uint8_t *dst, ptrdiff_t stride,
296
187k
                            const uint8_t *above, const uint8_t *left) {
297
187k
  dc_predictor_rect(dst, stride, 8, 4, above, left, 2, DC_MULTIPLIER_1X2);
298
187k
}
299
300
#if !CONFIG_REALTIME_ONLY || CONFIG_AV1_DECODER
301
void aom_dc_predictor_4x16_c(uint8_t *dst, ptrdiff_t stride,
302
145k
                             const uint8_t *above, const uint8_t *left) {
303
145k
  dc_predictor_rect(dst, stride, 4, 16, above, left, 2, DC_MULTIPLIER_1X4);
304
145k
}
305
306
void aom_dc_predictor_16x4_c(uint8_t *dst, ptrdiff_t stride,
307
157k
                             const uint8_t *above, const uint8_t *left) {
308
157k
  dc_predictor_rect(dst, stride, 16, 4, above, left, 2, DC_MULTIPLIER_1X4);
309
157k
}
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
183k
                             const uint8_t *above, const uint8_t *left) {
319
183k
  dc_predictor_rect(dst, stride, 16, 8, above, left, 3, DC_MULTIPLIER_1X2);
320
183k
}
321
322
#if !CONFIG_REALTIME_ONLY || CONFIG_AV1_DECODER
323
void aom_dc_predictor_8x32_c(uint8_t *dst, ptrdiff_t stride,
324
46.4k
                             const uint8_t *above, const uint8_t *left) {
325
46.4k
  dc_predictor_rect(dst, stride, 8, 32, above, left, 3, DC_MULTIPLIER_1X4);
326
46.4k
}
327
328
void aom_dc_predictor_32x8_c(uint8_t *dst, ptrdiff_t stride,
329
51.3k
                             const uint8_t *above, const uint8_t *left) {
330
51.3k
  dc_predictor_rect(dst, stride, 32, 8, above, left, 3, DC_MULTIPLIER_1X4);
331
51.3k
}
332
#endif  // !CONFIG_REALTIME_ONLY || CONFIG_AV1_DECODER
333
334
void aom_dc_predictor_16x32_c(uint8_t *dst, ptrdiff_t stride,
335
43.7k
                              const uint8_t *above, const uint8_t *left) {
336
43.7k
  dc_predictor_rect(dst, stride, 16, 32, above, left, 4, DC_MULTIPLIER_1X2);
337
43.7k
}
338
339
void aom_dc_predictor_32x16_c(uint8_t *dst, ptrdiff_t stride,
340
44.5k
                              const uint8_t *above, const uint8_t *left) {
341
44.5k
  dc_predictor_rect(dst, stride, 32, 16, above, left, 4, DC_MULTIPLIER_1X2);
342
44.5k
}
343
344
#if !CONFIG_REALTIME_ONLY || CONFIG_AV1_DECODER
345
void aom_dc_predictor_16x64_c(uint8_t *dst, ptrdiff_t stride,
346
5.18k
                              const uint8_t *above, const uint8_t *left) {
347
5.18k
  dc_predictor_rect(dst, stride, 16, 64, above, left, 4, DC_MULTIPLIER_1X4);
348
5.18k
}
349
350
void aom_dc_predictor_64x16_c(uint8_t *dst, ptrdiff_t stride,
351
2.58k
                              const uint8_t *above, const uint8_t *left) {
352
2.58k
  dc_predictor_rect(dst, stride, 64, 16, above, left, 4, DC_MULTIPLIER_1X4);
353
2.58k
}
354
#endif  // !CONFIG_REALTIME_ONLY || CONFIG_AV1_DECODER
355
356
void aom_dc_predictor_32x64_c(uint8_t *dst, ptrdiff_t stride,
357
1.32k
                              const uint8_t *above, const uint8_t *left) {
358
1.32k
  dc_predictor_rect(dst, stride, 32, 64, above, left, 5, DC_MULTIPLIER_1X2);
359
1.32k
}
360
361
void aom_dc_predictor_64x32_c(uint8_t *dst, ptrdiff_t stride,
362
1.34k
                              const uint8_t *above, const uint8_t *left) {
363
1.34k
  dc_predictor_rect(dst, stride, 64, 32, above, left, 5, DC_MULTIPLIER_1X2);
364
1.34k
}
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
156k
                                      const uint16_t *left, int bd) {
374
156k
  int r;
375
156k
  (void)left;
376
156k
  (void)bd;
377
1.77M
  for (r = 0; r < bh; r++) {
378
1.61M
    memcpy(dst, above, bw * sizeof(uint16_t));
379
1.61M
    dst += stride;
380
1.61M
  }
381
156k
}
382
383
static inline void highbd_h_predictor(uint16_t *dst, ptrdiff_t stride, int bw,
384
                                      int bh, const uint16_t *above,
385
261k
                                      const uint16_t *left, int bd) {
386
261k
  int r;
387
261k
  (void)above;
388
261k
  (void)bd;
389
2.91M
  for (r = 0; r < bh; r++) {
390
2.65M
    aom_memset16(dst, left[r], bw);
391
2.65M
    dst += stride;
392
2.65M
  }
393
261k
}
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.06M
                                          const uint16_t *left, int bd) {
398
1.06M
  int r, c;
399
1.06M
  const uint16_t ytop_left = above[-1];
400
1.06M
  (void)bd;
401
402
18.9M
  for (r = 0; r < bh; r++) {
403
275M
    for (c = 0; c < bw; c++)
404
257M
      dst[c] = paeth_predictor_single(left[r], above[c], ytop_left);
405
17.8M
    dst += stride;
406
17.8M
  }
407
1.06M
}
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
573k
                                           const uint16_t *left, int bd) {
413
573k
  (void)bd;
414
573k
  const uint16_t below_pred = left[bh - 1];   // estimated by bottom-left pixel
415
573k
  const uint16_t right_pred = above[bw - 1];  // estimated by top-right pixel
416
573k
  const uint8_t *const sm_weights_w = smooth_weights + bw - 4;
417
573k
  const uint8_t *const sm_weights_h = smooth_weights + bh - 4;
418
  // scale = 2 * 2^SMOOTH_WEIGHT_LOG2_SCALE
419
573k
  const int log2_scale = 1 + SMOOTH_WEIGHT_LOG2_SCALE;
420
573k
  const uint16_t scale = (1 << SMOOTH_WEIGHT_LOG2_SCALE);
421
573k
  sm_weights_sanity_checks(sm_weights_w, sm_weights_h, scale,
422
573k
                           log2_scale + sizeof(*dst));
423
573k
  int r;
424
7.19M
  for (r = 0; r < bh; ++r) {
425
6.61M
    int c;
426
125M
    for (c = 0; c < bw; ++c) {
427
119M
      const uint16_t pixels[] = { above[c], below_pred, left[r], right_pred };
428
119M
      const uint8_t weights[] = { sm_weights_h[r], scale - sm_weights_h[r],
429
119M
                                  sm_weights_w[c], scale - sm_weights_w[c] };
430
119M
      uint32_t this_pred = 0;
431
119M
      int i;
432
119M
      assert(scale >= sm_weights_h[r] && scale >= sm_weights_w[c]);
433
595M
      for (i = 0; i < 4; ++i) {
434
476M
        this_pred += weights[i] * pixels[i];
435
476M
      }
436
119M
      dst[c] = divide_round(this_pred, log2_scale);
437
119M
    }
438
6.61M
    dst += stride;
439
6.61M
  }
440
573k
}
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
235k
                                             const uint16_t *left, int bd) {
446
235k
  (void)bd;
447
235k
  const uint16_t below_pred = left[bh - 1];  // estimated by bottom-left pixel
448
235k
  const uint8_t *const sm_weights = smooth_weights + bh - 4;
449
  // scale = 2^SMOOTH_WEIGHT_LOG2_SCALE
450
235k
  const int log2_scale = SMOOTH_WEIGHT_LOG2_SCALE;
451
235k
  const uint16_t scale = (1 << SMOOTH_WEIGHT_LOG2_SCALE);
452
235k
  sm_weights_sanity_checks(sm_weights, sm_weights, scale,
453
235k
                           log2_scale + sizeof(*dst));
454
455
235k
  int r;
456
2.92M
  for (r = 0; r < bh; r++) {
457
2.69M
    int c;
458
48.5M
    for (c = 0; c < bw; ++c) {
459
45.8M
      const uint16_t pixels[] = { above[c], below_pred };
460
45.8M
      const uint8_t weights[] = { sm_weights[r], scale - sm_weights[r] };
461
45.8M
      uint32_t this_pred = 0;
462
45.8M
      assert(scale >= sm_weights[r]);
463
45.8M
      int i;
464
137M
      for (i = 0; i < 2; ++i) {
465
91.6M
        this_pred += weights[i] * pixels[i];
466
91.6M
      }
467
45.8M
      dst[c] = divide_round(this_pred, log2_scale);
468
45.8M
    }
469
2.69M
    dst += stride;
470
2.69M
  }
471
235k
}
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
304k
                                             const uint16_t *left, int bd) {
477
304k
  (void)bd;
478
304k
  const uint16_t right_pred = above[bw - 1];  // estimated by top-right pixel
479
304k
  const uint8_t *const sm_weights = smooth_weights + bw - 4;
480
  // scale = 2^SMOOTH_WEIGHT_LOG2_SCALE
481
304k
  const int log2_scale = SMOOTH_WEIGHT_LOG2_SCALE;
482
304k
  const uint16_t scale = (1 << SMOOTH_WEIGHT_LOG2_SCALE);
483
304k
  sm_weights_sanity_checks(sm_weights, sm_weights, scale,
484
304k
                           log2_scale + sizeof(*dst));
485
486
304k
  int r;
487
3.78M
  for (r = 0; r < bh; r++) {
488
3.47M
    int c;
489
59.1M
    for (c = 0; c < bw; ++c) {
490
55.6M
      const uint16_t pixels[] = { left[r], right_pred };
491
55.6M
      const uint8_t weights[] = { sm_weights[c], scale - sm_weights[c] };
492
55.6M
      uint32_t this_pred = 0;
493
55.6M
      assert(scale >= sm_weights[c]);
494
55.6M
      int i;
495
167M
      for (i = 0; i < 2; ++i) {
496
111M
        this_pred += weights[i] * pixels[i];
497
111M
      }
498
55.6M
      dst[c] = divide_round(this_pred, log2_scale);
499
55.6M
    }
500
3.47M
    dst += stride;
501
3.47M
  }
502
304k
}
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
33.9k
                                           const uint16_t *left, int bd) {
508
33.9k
  int r;
509
33.9k
  (void)above;
510
33.9k
  (void)left;
511
512
979k
  for (r = 0; r < bh; r++) {
513
945k
    aom_memset16(dst, 128 << (bd - 8), bw);
514
945k
    dst += stride;
515
945k
  }
516
33.9k
}
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
118k
                                            const uint16_t *left, int bd) {
522
118k
  int i, r, expected_dc, sum = 0;
523
118k
  (void)above;
524
118k
  (void)bd;
525
526
2.90M
  for (i = 0; i < bh; i++) sum += left[i];
527
118k
  expected_dc = (sum + (bh >> 1)) / bh;
528
529
2.90M
  for (r = 0; r < bh; r++) {
530
2.78M
    aom_memset16(dst, expected_dc, bw);
531
2.78M
    dst += stride;
532
2.78M
  }
533
118k
}
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
373k
                                           const uint16_t *left, int bd) {
539
373k
  int i, r, expected_dc, sum = 0;
540
373k
  (void)left;
541
373k
  (void)bd;
542
543
5.78M
  for (i = 0; i < bw; i++) sum += above[i];
544
373k
  expected_dc = (sum + (bw >> 1)) / bw;
545
546
6.59M
  for (r = 0; r < bh; r++) {
547
6.22M
    aom_memset16(dst, expected_dc, bw);
548
6.22M
    dst += stride;
549
6.22M
  }
550
373k
}
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.62M
                                       const uint16_t *left, int bd) {
555
2.62M
  int i, r, expected_dc, sum = 0;
556
2.62M
  const int count = bw + bh;
557
2.62M
  (void)bd;
558
559
22.3M
  for (i = 0; i < bw; i++) {
560
19.7M
    sum += above[i];
561
19.7M
  }
562
22.3M
  for (i = 0; i < bh; i++) {
563
19.7M
    sum += left[i];
564
19.7M
  }
565
566
2.62M
  expected_dc = (sum + (count >> 1)) / count;
567
568
22.3M
  for (r = 0; r < bh; r++) {
569
19.7M
    aom_memset16(dst, expected_dc, bw);
570
19.7M
    dst += stride;
571
19.7M
  }
572
2.62M
}
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
861k
#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
454k
#define HIGHBD_DC_MULTIPLIER_1X4 0x6667
585
586
1.31M
#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.31M
                                            int shift1, uint32_t multiplier) {
593
1.31M
  int sum = 0;
594
1.31M
  (void)bd;
595
596
16.5M
  for (int i = 0; i < bw; i++) {
597
15.2M
    sum += above[i];
598
15.2M
  }
599
15.8M
  for (int i = 0; i < bh; i++) {
600
14.5M
    sum += left[i];
601
14.5M
  }
602
603
1.31M
  const int expected_dc = divide_using_multiply_shift(
604
1.31M
      sum + ((bw + bh) >> 1), shift1, multiplier, HIGHBD_DC_SHIFT2);
605
1.31M
  assert(expected_dc < (1 << bd));
606
607
15.8M
  for (int r = 0; r < bh; r++) {
608
14.5M
    aom_memset16(dst, expected_dc, bw);
609
14.5M
    dst += stride;
610
14.5M
  }
611
1.31M
}
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
207k
                                   int bd) {
618
207k
  highbd_dc_predictor_rect(dst, stride, 4, 8, above, left, bd, 2,
619
207k
                           HIGHBD_DC_MULTIPLIER_1X2);
620
207k
}
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
234k
                                   int bd) {
625
234k
  highbd_dc_predictor_rect(dst, stride, 8, 4, above, left, bd, 2,
626
234k
                           HIGHBD_DC_MULTIPLIER_1X2);
627
234k
}
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
159k
                                    int bd) {
633
159k
  highbd_dc_predictor_rect(dst, stride, 4, 16, above, left, bd, 2,
634
159k
                           HIGHBD_DC_MULTIPLIER_1X4);
635
159k
}
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
167k
                                    int bd) {
640
167k
  highbd_dc_predictor_rect(dst, stride, 16, 4, above, left, bd, 2,
641
167k
                           HIGHBD_DC_MULTIPLIER_1X4);
642
167k
}
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
132k
                                    int bd) {
648
132k
  highbd_dc_predictor_rect(dst, stride, 8, 16, above, left, bd, 3,
649
132k
                           HIGHBD_DC_MULTIPLIER_1X2);
650
132k
}
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
188k
                                    int bd) {
655
188k
  highbd_dc_predictor_rect(dst, stride, 16, 8, above, left, bd, 3,
656
188k
                           HIGHBD_DC_MULTIPLIER_1X2);
657
188k
}
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
55.7k
                                    int bd) {
663
55.7k
  highbd_dc_predictor_rect(dst, stride, 8, 32, above, left, bd, 3,
664
55.7k
                           HIGHBD_DC_MULTIPLIER_1X4);
665
55.7k
}
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
65.1k
                                    int bd) {
670
65.1k
  highbd_dc_predictor_rect(dst, stride, 32, 8, above, left, bd, 3,
671
65.1k
                           HIGHBD_DC_MULTIPLIER_1X4);
672
65.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
51.0k
                                     const uint16_t *left, int bd) {
678
51.0k
  highbd_dc_predictor_rect(dst, stride, 16, 32, above, left, bd, 4,
679
51.0k
                           HIGHBD_DC_MULTIPLIER_1X2);
680
51.0k
}
681
682
void aom_highbd_dc_predictor_32x16_c(uint16_t *dst, ptrdiff_t stride,
683
                                     const uint16_t *above,
684
44.1k
                                     const uint16_t *left, int bd) {
685
44.1k
  highbd_dc_predictor_rect(dst, stride, 32, 16, above, left, bd, 4,
686
44.1k
                           HIGHBD_DC_MULTIPLIER_1X2);
687
44.1k
}
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.61k
                                     const uint16_t *left, int bd) {
693
3.61k
  highbd_dc_predictor_rect(dst, stride, 16, 64, above, left, bd, 4,
694
3.61k
                           HIGHBD_DC_MULTIPLIER_1X4);
695
3.61k
}
696
697
void aom_highbd_dc_predictor_64x16_c(uint16_t *dst, ptrdiff_t stride,
698
                                     const uint16_t *above,
699
2.91k
                                     const uint16_t *left, int bd) {
700
2.91k
  highbd_dc_predictor_rect(dst, stride, 64, 16, above, left, bd, 4,
701
2.91k
                           HIGHBD_DC_MULTIPLIER_1X4);
702
2.91k
}
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.44k
                                     const uint16_t *left, int bd) {
708
1.44k
  highbd_dc_predictor_rect(dst, stride, 32, 64, above, left, bd, 5,
709
1.44k
                           HIGHBD_DC_MULTIPLIER_1X2);
710
1.44k
}
711
712
void aom_highbd_dc_predictor_64x32_c(uint16_t *dst, ptrdiff_t stride,
713
                                     const uint16_t *above,
714
1.72k
                                     const uint16_t *left, int bd) {
715
1.72k
  highbd_dc_predictor_rect(dst, stride, 64, 32, above, left, bd, 5,
716
1.72k
                           HIGHBD_DC_MULTIPLIER_1X2);
717
1.72k
}
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
10.3M
      const uint8_t *left) {                                   \
730
10.3M
    type##_predictor(dst, stride, width, height, above, left); \
731
10.3M
  }
aom_v_predictor_4x4_c
Line
Count
Source
729
279k
      const uint8_t *left) {                                   \
730
279k
    type##_predictor(dst, stride, width, height, above, left); \
731
279k
  }
aom_v_predictor_8x8_c
Line
Count
Source
729
26.3k
      const uint8_t *left) {                                   \
730
26.3k
    type##_predictor(dst, stride, width, height, above, left); \
731
26.3k
  }
aom_v_predictor_16x16_c
Line
Count
Source
729
15.6k
      const uint8_t *left) {                                   \
730
15.6k
    type##_predictor(dst, stride, width, height, above, left); \
731
15.6k
  }
aom_v_predictor_32x32_c
Line
Count
Source
729
7.47k
      const uint8_t *left) {                                   \
730
7.47k
    type##_predictor(dst, stride, width, height, above, left); \
731
7.47k
  }
aom_v_predictor_64x64_c
Line
Count
Source
729
698
      const uint8_t *left) {                                   \
730
698
    type##_predictor(dst, stride, width, height, above, left); \
731
698
  }
aom_v_predictor_4x8_c
Line
Count
Source
729
12.7k
      const uint8_t *left) {                                   \
730
12.7k
    type##_predictor(dst, stride, width, height, above, left); \
731
12.7k
  }
aom_v_predictor_8x4_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_v_predictor_8x16_c
Line
Count
Source
729
7.61k
      const uint8_t *left) {                                   \
730
7.61k
    type##_predictor(dst, stride, width, height, above, left); \
731
7.61k
  }
aom_v_predictor_16x8_c
Line
Count
Source
729
11.3k
      const uint8_t *left) {                                   \
730
11.3k
    type##_predictor(dst, stride, width, height, above, left); \
731
11.3k
  }
aom_v_predictor_16x32_c
Line
Count
Source
729
3.22k
      const uint8_t *left) {                                   \
730
3.22k
    type##_predictor(dst, stride, width, height, above, left); \
731
3.22k
  }
aom_v_predictor_32x16_c
Line
Count
Source
729
2.33k
      const uint8_t *left) {                                   \
730
2.33k
    type##_predictor(dst, stride, width, height, above, left); \
731
2.33k
  }
aom_v_predictor_32x64_c
Line
Count
Source
729
217
      const uint8_t *left) {                                   \
730
217
    type##_predictor(dst, stride, width, height, above, left); \
731
217
  }
aom_v_predictor_64x32_c
Line
Count
Source
729
147
      const uint8_t *left) {                                   \
730
147
    type##_predictor(dst, stride, width, height, above, left); \
731
147
  }
aom_v_predictor_4x16_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_v_predictor_16x4_c
Line
Count
Source
729
10.1k
      const uint8_t *left) {                                   \
730
10.1k
    type##_predictor(dst, stride, width, height, above, left); \
731
10.1k
  }
aom_v_predictor_8x32_c
Line
Count
Source
729
2.37k
      const uint8_t *left) {                                   \
730
2.37k
    type##_predictor(dst, stride, width, height, above, left); \
731
2.37k
  }
aom_v_predictor_32x8_c
Line
Count
Source
729
3.19k
      const uint8_t *left) {                                   \
730
3.19k
    type##_predictor(dst, stride, width, height, above, left); \
731
3.19k
  }
aom_v_predictor_16x64_c
Line
Count
Source
729
353
      const uint8_t *left) {                                   \
730
353
    type##_predictor(dst, stride, width, height, above, left); \
731
353
  }
aom_v_predictor_64x16_c
Line
Count
Source
729
387
      const uint8_t *left) {                                   \
730
387
    type##_predictor(dst, stride, width, height, above, left); \
731
387
  }
aom_h_predictor_4x4_c
Line
Count
Source
729
201k
      const uint8_t *left) {                                   \
730
201k
    type##_predictor(dst, stride, width, height, above, left); \
731
201k
  }
aom_h_predictor_8x8_c
Line
Count
Source
729
37.6k
      const uint8_t *left) {                                   \
730
37.6k
    type##_predictor(dst, stride, width, height, above, left); \
731
37.6k
  }
aom_h_predictor_16x16_c
Line
Count
Source
729
31.7k
      const uint8_t *left) {                                   \
730
31.7k
    type##_predictor(dst, stride, width, height, above, left); \
731
31.7k
  }
aom_h_predictor_32x32_c
Line
Count
Source
729
11.8k
      const uint8_t *left) {                                   \
730
11.8k
    type##_predictor(dst, stride, width, height, above, left); \
731
11.8k
  }
aom_h_predictor_64x64_c
Line
Count
Source
729
1.33k
      const uint8_t *left) {                                   \
730
1.33k
    type##_predictor(dst, stride, width, height, above, left); \
731
1.33k
  }
aom_h_predictor_4x8_c
Line
Count
Source
729
20.0k
      const uint8_t *left) {                                   \
730
20.0k
    type##_predictor(dst, stride, width, height, above, left); \
731
20.0k
  }
aom_h_predictor_8x4_c
Line
Count
Source
729
29.2k
      const uint8_t *left) {                                   \
730
29.2k
    type##_predictor(dst, stride, width, height, above, left); \
731
29.2k
  }
aom_h_predictor_8x16_c
Line
Count
Source
729
8.88k
      const uint8_t *left) {                                   \
730
8.88k
    type##_predictor(dst, stride, width, height, above, left); \
731
8.88k
  }
aom_h_predictor_16x8_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
  }
aom_h_predictor_16x32_c
Line
Count
Source
729
3.89k
      const uint8_t *left) {                                   \
730
3.89k
    type##_predictor(dst, stride, width, height, above, left); \
731
3.89k
  }
aom_h_predictor_32x16_c
Line
Count
Source
729
4.22k
      const uint8_t *left) {                                   \
730
4.22k
    type##_predictor(dst, stride, width, height, above, left); \
731
4.22k
  }
aom_h_predictor_32x64_c
Line
Count
Source
729
234
      const uint8_t *left) {                                   \
730
234
    type##_predictor(dst, stride, width, height, above, left); \
731
234
  }
aom_h_predictor_64x32_c
Line
Count
Source
729
179
      const uint8_t *left) {                                   \
730
179
    type##_predictor(dst, stride, width, height, above, left); \
731
179
  }
aom_h_predictor_4x16_c
Line
Count
Source
729
6.85k
      const uint8_t *left) {                                   \
730
6.85k
    type##_predictor(dst, stride, width, height, above, left); \
731
6.85k
  }
aom_h_predictor_16x4_c
Line
Count
Source
729
12.0k
      const uint8_t *left) {                                   \
730
12.0k
    type##_predictor(dst, stride, width, height, above, left); \
731
12.0k
  }
aom_h_predictor_8x32_c
Line
Count
Source
729
3.55k
      const uint8_t *left) {                                   \
730
3.55k
    type##_predictor(dst, stride, width, height, above, left); \
731
3.55k
  }
aom_h_predictor_32x8_c
Line
Count
Source
729
3.82k
      const uint8_t *left) {                                   \
730
3.82k
    type##_predictor(dst, stride, width, height, above, left); \
731
3.82k
  }
aom_h_predictor_16x64_c
Line
Count
Source
729
605
      const uint8_t *left) {                                   \
730
605
    type##_predictor(dst, stride, width, height, above, left); \
731
605
  }
aom_h_predictor_64x16_c
Line
Count
Source
729
462
      const uint8_t *left) {                                   \
730
462
    type##_predictor(dst, stride, width, height, above, left); \
731
462
  }
aom_smooth_predictor_4x4_c
Line
Count
Source
729
161k
      const uint8_t *left) {                                   \
730
161k
    type##_predictor(dst, stride, width, height, above, left); \
731
161k
  }
aom_smooth_predictor_8x8_c
Line
Count
Source
729
108k
      const uint8_t *left) {                                   \
730
108k
    type##_predictor(dst, stride, width, height, above, left); \
731
108k
  }
aom_smooth_predictor_16x16_c
Line
Count
Source
729
73.3k
      const uint8_t *left) {                                   \
730
73.3k
    type##_predictor(dst, stride, width, height, above, left); \
731
73.3k
  }
aom_smooth_predictor_32x32_c
Line
Count
Source
729
27.9k
      const uint8_t *left) {                                   \
730
27.9k
    type##_predictor(dst, stride, width, height, above, left); \
731
27.9k
  }
aom_smooth_predictor_64x64_c
Line
Count
Source
729
4.10k
      const uint8_t *left) {                                   \
730
4.10k
    type##_predictor(dst, stride, width, height, above, left); \
731
4.10k
  }
aom_smooth_predictor_4x8_c
Line
Count
Source
729
34.3k
      const uint8_t *left) {                                   \
730
34.3k
    type##_predictor(dst, stride, width, height, above, left); \
731
34.3k
  }
aom_smooth_predictor_8x4_c
Line
Count
Source
729
46.9k
      const uint8_t *left) {                                   \
730
46.9k
    type##_predictor(dst, stride, width, height, above, left); \
731
46.9k
  }
aom_smooth_predictor_8x16_c
Line
Count
Source
729
32.6k
      const uint8_t *left) {                                   \
730
32.6k
    type##_predictor(dst, stride, width, height, above, left); \
731
32.6k
  }
aom_smooth_predictor_16x8_c
Line
Count
Source
729
49.8k
      const uint8_t *left) {                                   \
730
49.8k
    type##_predictor(dst, stride, width, height, above, left); \
731
49.8k
  }
aom_smooth_predictor_16x32_c
Line
Count
Source
729
11.2k
      const uint8_t *left) {                                   \
730
11.2k
    type##_predictor(dst, stride, width, height, above, left); \
731
11.2k
  }
aom_smooth_predictor_32x16_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_32x64_c
Line
Count
Source
729
955
      const uint8_t *left) {                                   \
730
955
    type##_predictor(dst, stride, width, height, above, left); \
731
955
  }
aom_smooth_predictor_64x32_c
Line
Count
Source
729
513
      const uint8_t *left) {                                   \
730
513
    type##_predictor(dst, stride, width, height, above, left); \
731
513
  }
aom_smooth_predictor_4x16_c
Line
Count
Source
729
26.0k
      const uint8_t *left) {                                   \
730
26.0k
    type##_predictor(dst, stride, width, height, above, left); \
731
26.0k
  }
aom_smooth_predictor_16x4_c
Line
Count
Source
729
43.4k
      const uint8_t *left) {                                   \
730
43.4k
    type##_predictor(dst, stride, width, height, above, left); \
731
43.4k
  }
aom_smooth_predictor_8x32_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_smooth_predictor_32x8_c
Line
Count
Source
729
12.2k
      const uint8_t *left) {                                   \
730
12.2k
    type##_predictor(dst, stride, width, height, above, left); \
731
12.2k
  }
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.18k
      const uint8_t *left) {                                   \
730
1.18k
    type##_predictor(dst, stride, width, height, above, left); \
731
1.18k
  }
aom_smooth_v_predictor_4x4_c
Line
Count
Source
729
27.3k
      const uint8_t *left) {                                   \
730
27.3k
    type##_predictor(dst, stride, width, height, above, left); \
731
27.3k
  }
aom_smooth_v_predictor_8x8_c
Line
Count
Source
729
46.3k
      const uint8_t *left) {                                   \
730
46.3k
    type##_predictor(dst, stride, width, height, above, left); \
731
46.3k
  }
aom_smooth_v_predictor_16x16_c
Line
Count
Source
729
23.2k
      const uint8_t *left) {                                   \
730
23.2k
    type##_predictor(dst, stride, width, height, above, left); \
731
23.2k
  }
aom_smooth_v_predictor_32x32_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_v_predictor_64x64_c
Line
Count
Source
729
2.12k
      const uint8_t *left) {                                   \
730
2.12k
    type##_predictor(dst, stride, width, height, above, left); \
731
2.12k
  }
aom_smooth_v_predictor_4x8_c
Line
Count
Source
729
11.2k
      const uint8_t *left) {                                   \
730
11.2k
    type##_predictor(dst, stride, width, height, above, left); \
731
11.2k
  }
aom_smooth_v_predictor_8x4_c
Line
Count
Source
729
17.9k
      const uint8_t *left) {                                   \
730
17.9k
    type##_predictor(dst, stride, width, height, above, left); \
731
17.9k
  }
aom_smooth_v_predictor_8x16_c
Line
Count
Source
729
14.3k
      const uint8_t *left) {                                   \
730
14.3k
    type##_predictor(dst, stride, width, height, above, left); \
731
14.3k
  }
aom_smooth_v_predictor_16x8_c
Line
Count
Source
729
19.3k
      const uint8_t *left) {                                   \
730
19.3k
    type##_predictor(dst, stride, width, height, above, left); \
731
19.3k
  }
aom_smooth_v_predictor_16x32_c
Line
Count
Source
729
3.94k
      const uint8_t *left) {                                   \
730
3.94k
    type##_predictor(dst, stride, width, height, above, left); \
731
3.94k
  }
aom_smooth_v_predictor_32x16_c
Line
Count
Source
729
5.08k
      const uint8_t *left) {                                   \
730
5.08k
    type##_predictor(dst, stride, width, height, above, left); \
731
5.08k
  }
aom_smooth_v_predictor_32x64_c
Line
Count
Source
729
320
      const uint8_t *left) {                                   \
730
320
    type##_predictor(dst, stride, width, height, above, left); \
731
320
  }
aom_smooth_v_predictor_64x32_c
Line
Count
Source
729
250
      const uint8_t *left) {                                   \
730
250
    type##_predictor(dst, stride, width, height, above, left); \
731
250
  }
aom_smooth_v_predictor_4x16_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_smooth_v_predictor_16x4_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_smooth_v_predictor_8x32_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_smooth_v_predictor_32x8_c
Line
Count
Source
729
6.52k
      const uint8_t *left) {                                   \
730
6.52k
    type##_predictor(dst, stride, width, height, above, left); \
731
6.52k
  }
aom_smooth_v_predictor_16x64_c
Line
Count
Source
729
626
      const uint8_t *left) {                                   \
730
626
    type##_predictor(dst, stride, width, height, above, left); \
731
626
  }
aom_smooth_v_predictor_64x16_c
Line
Count
Source
729
460
      const uint8_t *left) {                                   \
730
460
    type##_predictor(dst, stride, width, height, above, left); \
731
460
  }
aom_smooth_h_predictor_4x4_c
Line
Count
Source
729
45.0k
      const uint8_t *left) {                                   \
730
45.0k
    type##_predictor(dst, stride, width, height, above, left); \
731
45.0k
  }
aom_smooth_h_predictor_8x8_c
Line
Count
Source
729
63.9k
      const uint8_t *left) {                                   \
730
63.9k
    type##_predictor(dst, stride, width, height, above, left); \
731
63.9k
  }
aom_smooth_h_predictor_16x16_c
Line
Count
Source
729
46.9k
      const uint8_t *left) {                                   \
730
46.9k
    type##_predictor(dst, stride, width, height, above, left); \
731
46.9k
  }
aom_smooth_h_predictor_32x32_c
Line
Count
Source
729
13.1k
      const uint8_t *left) {                                   \
730
13.1k
    type##_predictor(dst, stride, width, height, above, left); \
731
13.1k
  }
aom_smooth_h_predictor_64x64_c
Line
Count
Source
729
1.90k
      const uint8_t *left) {                                   \
730
1.90k
    type##_predictor(dst, stride, width, height, above, left); \
731
1.90k
  }
aom_smooth_h_predictor_4x8_c
Line
Count
Source
729
18.8k
      const uint8_t *left) {                                   \
730
18.8k
    type##_predictor(dst, stride, width, height, above, left); \
731
18.8k
  }
aom_smooth_h_predictor_8x4_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_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.6k
      const uint8_t *left) {                                   \
730
29.6k
    type##_predictor(dst, stride, width, height, above, left); \
731
29.6k
  }
aom_smooth_h_predictor_16x32_c
Line
Count
Source
729
6.64k
      const uint8_t *left) {                                   \
730
6.64k
    type##_predictor(dst, stride, width, height, above, left); \
731
6.64k
  }
aom_smooth_h_predictor_32x16_c
Line
Count
Source
729
6.34k
      const uint8_t *left) {                                   \
730
6.34k
    type##_predictor(dst, stride, width, height, above, left); \
731
6.34k
  }
aom_smooth_h_predictor_32x64_c
Line
Count
Source
729
315
      const uint8_t *left) {                                   \
730
315
    type##_predictor(dst, stride, width, height, above, left); \
731
315
  }
aom_smooth_h_predictor_64x32_c
Line
Count
Source
729
182
      const uint8_t *left) {                                   \
730
182
    type##_predictor(dst, stride, width, height, above, left); \
731
182
  }
aom_smooth_h_predictor_4x16_c
Line
Count
Source
729
16.1k
      const uint8_t *left) {                                   \
730
16.1k
    type##_predictor(dst, stride, width, height, above, left); \
731
16.1k
  }
aom_smooth_h_predictor_16x4_c
Line
Count
Source
729
25.5k
      const uint8_t *left) {                                   \
730
25.5k
    type##_predictor(dst, stride, width, height, above, left); \
731
25.5k
  }
aom_smooth_h_predictor_8x32_c
Line
Count
Source
729
6.94k
      const uint8_t *left) {                                   \
730
6.94k
    type##_predictor(dst, stride, width, height, above, left); \
731
6.94k
  }
aom_smooth_h_predictor_32x8_c
Line
Count
Source
729
6.78k
      const uint8_t *left) {                                   \
730
6.78k
    type##_predictor(dst, stride, width, height, above, left); \
731
6.78k
  }
aom_smooth_h_predictor_16x64_c
Line
Count
Source
729
610
      const uint8_t *left) {                                   \
730
610
    type##_predictor(dst, stride, width, height, above, left); \
731
610
  }
aom_smooth_h_predictor_64x16_c
Line
Count
Source
729
351
      const uint8_t *left) {                                   \
730
351
    type##_predictor(dst, stride, width, height, above, left); \
731
351
  }
aom_paeth_predictor_4x4_c
Line
Count
Source
729
3.40M
      const uint8_t *left) {                                   \
730
3.40M
    type##_predictor(dst, stride, width, height, above, left); \
731
3.40M
  }
aom_paeth_predictor_8x8_c
Line
Count
Source
729
166k
      const uint8_t *left) {                                   \
730
166k
    type##_predictor(dst, stride, width, height, above, left); \
731
166k
  }
aom_paeth_predictor_16x16_c
Line
Count
Source
729
75.9k
      const uint8_t *left) {                                   \
730
75.9k
    type##_predictor(dst, stride, width, height, above, left); \
731
75.9k
  }
aom_paeth_predictor_32x32_c
Line
Count
Source
729
40.2k
      const uint8_t *left) {                                   \
730
40.2k
    type##_predictor(dst, stride, width, height, above, left); \
731
40.2k
  }
aom_paeth_predictor_64x64_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_paeth_predictor_4x8_c
Line
Count
Source
729
55.6k
      const uint8_t *left) {                                   \
730
55.6k
    type##_predictor(dst, stride, width, height, above, left); \
731
55.6k
  }
aom_paeth_predictor_8x4_c
Line
Count
Source
729
79.9k
      const uint8_t *left) {                                   \
730
79.9k
    type##_predictor(dst, stride, width, height, above, left); \
731
79.9k
  }
aom_paeth_predictor_8x16_c
Line
Count
Source
729
55.6k
      const uint8_t *left) {                                   \
730
55.6k
    type##_predictor(dst, stride, width, height, above, left); \
731
55.6k
  }
aom_paeth_predictor_16x8_c
Line
Count
Source
729
77.6k
      const uint8_t *left) {                                   \
730
77.6k
    type##_predictor(dst, stride, width, height, above, left); \
731
77.6k
  }
aom_paeth_predictor_16x32_c
Line
Count
Source
729
72.4k
      const uint8_t *left) {                                   \
730
72.4k
    type##_predictor(dst, stride, width, height, above, left); \
731
72.4k
  }
aom_paeth_predictor_32x16_c
Line
Count
Source
729
14.2k
      const uint8_t *left) {                                   \
730
14.2k
    type##_predictor(dst, stride, width, height, above, left); \
731
14.2k
  }
aom_paeth_predictor_32x64_c
Line
Count
Source
729
5.25k
      const uint8_t *left) {                                   \
730
5.25k
    type##_predictor(dst, stride, width, height, above, left); \
731
5.25k
  }
aom_paeth_predictor_64x32_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_paeth_predictor_4x16_c
Line
Count
Source
729
69.4k
      const uint8_t *left) {                                   \
730
69.4k
    type##_predictor(dst, stride, width, height, above, left); \
731
69.4k
  }
aom_paeth_predictor_16x4_c
Line
Count
Source
729
69.9k
      const uint8_t *left) {                                   \
730
69.9k
    type##_predictor(dst, stride, width, height, above, left); \
731
69.9k
  }
aom_paeth_predictor_8x32_c
Line
Count
Source
729
130k
      const uint8_t *left) {                                   \
730
130k
    type##_predictor(dst, stride, width, height, above, left); \
731
130k
  }
aom_paeth_predictor_32x8_c
Line
Count
Source
729
17.0k
      const uint8_t *left) {                                   \
730
17.0k
    type##_predictor(dst, stride, width, height, above, left); \
731
17.0k
  }
aom_paeth_predictor_16x64_c
Line
Count
Source
729
59.8k
      const uint8_t *left) {                                   \
730
59.8k
    type##_predictor(dst, stride, width, height, above, left); \
731
59.8k
  }
aom_paeth_predictor_64x16_c
Line
Count
Source
729
931
      const uint8_t *left) {                                   \
730
931
    type##_predictor(dst, stride, width, height, above, left); \
731
931
  }
aom_dc_128_predictor_4x4_c
Line
Count
Source
729
4.06k
      const uint8_t *left) {                                   \
730
4.06k
    type##_predictor(dst, stride, width, height, above, left); \
731
4.06k
  }
aom_dc_128_predictor_8x8_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_dc_128_predictor_16x16_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_128_predictor_32x32_c
Line
Count
Source
729
4.09k
      const uint8_t *left) {                                   \
730
4.09k
    type##_predictor(dst, stride, width, height, above, left); \
731
4.09k
  }
aom_dc_128_predictor_64x64_c
Line
Count
Source
729
1.66k
      const uint8_t *left) {                                   \
730
1.66k
    type##_predictor(dst, stride, width, height, above, left); \
731
1.66k
  }
aom_dc_128_predictor_4x8_c
Line
Count
Source
729
337
      const uint8_t *left) {                                   \
730
337
    type##_predictor(dst, stride, width, height, above, left); \
731
337
  }
aom_dc_128_predictor_8x4_c
Line
Count
Source
729
10
      const uint8_t *left) {                                   \
730
10
    type##_predictor(dst, stride, width, height, above, left); \
731
10
  }
aom_dc_128_predictor_8x16_c
Line
Count
Source
729
83
      const uint8_t *left) {                                   \
730
83
    type##_predictor(dst, stride, width, height, above, left); \
731
83
  }
aom_dc_128_predictor_16x8_c
Line
Count
Source
729
1.13k
      const uint8_t *left) {                                   \
730
1.13k
    type##_predictor(dst, stride, width, height, above, left); \
731
1.13k
  }
aom_dc_128_predictor_16x32_c
Line
Count
Source
729
1.88k
      const uint8_t *left) {                                   \
730
1.88k
    type##_predictor(dst, stride, width, height, above, left); \
731
1.88k
  }
aom_dc_128_predictor_32x16_c
Line
Count
Source
729
1.22k
      const uint8_t *left) {                                   \
730
1.22k
    type##_predictor(dst, stride, width, height, above, left); \
731
1.22k
  }
aom_dc_128_predictor_32x64_c
Line
Count
Source
729
315
      const uint8_t *left) {                                   \
730
315
    type##_predictor(dst, stride, width, height, above, left); \
731
315
  }
aom_dc_128_predictor_64x32_c
Line
Count
Source
729
17
      const uint8_t *left) {                                   \
730
17
    type##_predictor(dst, stride, width, height, above, left); \
731
17
  }
aom_dc_128_predictor_4x16_c
Line
Count
Source
729
492
      const uint8_t *left) {                                   \
730
492
    type##_predictor(dst, stride, width, height, above, left); \
731
492
  }
aom_dc_128_predictor_16x4_c
Line
Count
Source
729
21
      const uint8_t *left) {                                   \
730
21
    type##_predictor(dst, stride, width, height, above, left); \
731
21
  }
aom_dc_128_predictor_8x32_c
Line
Count
Source
729
134
      const uint8_t *left) {                                   \
730
134
    type##_predictor(dst, stride, width, height, above, left); \
731
134
  }
aom_dc_128_predictor_32x8_c
Line
Count
Source
729
601
      const uint8_t *left) {                                   \
730
601
    type##_predictor(dst, stride, width, height, above, left); \
731
601
  }
aom_dc_128_predictor_16x64_c
Line
Count
Source
729
40
      const uint8_t *left) {                                   \
730
40
    type##_predictor(dst, stride, width, height, above, left); \
731
40
  }
aom_dc_128_predictor_64x16_c
Line
Count
Source
729
32
      const uint8_t *left) {                                   \
730
32
    type##_predictor(dst, stride, width, height, above, left); \
731
32
  }
aom_dc_left_predictor_4x4_c
Line
Count
Source
729
92.2k
      const uint8_t *left) {                                   \
730
92.2k
    type##_predictor(dst, stride, width, height, above, left); \
731
92.2k
  }
aom_dc_left_predictor_8x8_c
Line
Count
Source
729
6.03k
      const uint8_t *left) {                                   \
730
6.03k
    type##_predictor(dst, stride, width, height, above, left); \
731
6.03k
  }
aom_dc_left_predictor_16x16_c
Line
Count
Source
729
11.0k
      const uint8_t *left) {                                   \
730
11.0k
    type##_predictor(dst, stride, width, height, above, left); \
731
11.0k
  }
aom_dc_left_predictor_32x32_c
Line
Count
Source
729
29.7k
      const uint8_t *left) {                                   \
730
29.7k
    type##_predictor(dst, stride, width, height, above, left); \
731
29.7k
  }
aom_dc_left_predictor_64x64_c
Line
Count
Source
729
7.56k
      const uint8_t *left) {                                   \
730
7.56k
    type##_predictor(dst, stride, width, height, above, left); \
731
7.56k
  }
aom_dc_left_predictor_4x8_c
Line
Count
Source
729
2.34k
      const uint8_t *left) {                                   \
730
2.34k
    type##_predictor(dst, stride, width, height, above, left); \
731
2.34k
  }
aom_dc_left_predictor_8x4_c
Line
Count
Source
729
1.83k
      const uint8_t *left) {                                   \
730
1.83k
    type##_predictor(dst, stride, width, height, above, left); \
731
1.83k
  }
aom_dc_left_predictor_8x16_c
Line
Count
Source
729
2.26k
      const uint8_t *left) {                                   \
730
2.26k
    type##_predictor(dst, stride, width, height, above, left); \
731
2.26k
  }
aom_dc_left_predictor_16x8_c
Line
Count
Source
729
2.93k
      const uint8_t *left) {                                   \
730
2.93k
    type##_predictor(dst, stride, width, height, above, left); \
731
2.93k
  }
aom_dc_left_predictor_16x32_c
Line
Count
Source
729
3.45k
      const uint8_t *left) {                                   \
730
3.45k
    type##_predictor(dst, stride, width, height, above, left); \
731
3.45k
  }
aom_dc_left_predictor_32x16_c
Line
Count
Source
729
2.68k
      const uint8_t *left) {                                   \
730
2.68k
    type##_predictor(dst, stride, width, height, above, left); \
731
2.68k
  }
aom_dc_left_predictor_32x64_c
Line
Count
Source
729
776
      const uint8_t *left) {                                   \
730
776
    type##_predictor(dst, stride, width, height, above, left); \
731
776
  }
aom_dc_left_predictor_64x32_c
Line
Count
Source
729
518
      const uint8_t *left) {                                   \
730
518
    type##_predictor(dst, stride, width, height, above, left); \
731
518
  }
aom_dc_left_predictor_4x16_c
Line
Count
Source
729
5.17k
      const uint8_t *left) {                                   \
730
5.17k
    type##_predictor(dst, stride, width, height, above, left); \
731
5.17k
  }
aom_dc_left_predictor_16x4_c
Line
Count
Source
729
1.06k
      const uint8_t *left) {                                   \
730
1.06k
    type##_predictor(dst, stride, width, height, above, left); \
731
1.06k
  }
aom_dc_left_predictor_8x32_c
Line
Count
Source
729
3.36k
      const uint8_t *left) {                                   \
730
3.36k
    type##_predictor(dst, stride, width, height, above, left); \
731
3.36k
  }
aom_dc_left_predictor_32x8_c
Line
Count
Source
729
942
      const uint8_t *left) {                                   \
730
942
    type##_predictor(dst, stride, width, height, above, left); \
731
942
  }
aom_dc_left_predictor_16x64_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_dc_left_predictor_64x16_c
Line
Count
Source
729
219
      const uint8_t *left) {                                   \
730
219
    type##_predictor(dst, stride, width, height, above, left); \
731
219
  }
aom_dc_top_predictor_4x4_c
Line
Count
Source
729
129k
      const uint8_t *left) {                                   \
730
129k
    type##_predictor(dst, stride, width, height, above, left); \
731
129k
  }
aom_dc_top_predictor_8x8_c
Line
Count
Source
729
18.5k
      const uint8_t *left) {                                   \
730
18.5k
    type##_predictor(dst, stride, width, height, above, left); \
731
18.5k
  }
aom_dc_top_predictor_16x16_c
Line
Count
Source
729
19.3k
      const uint8_t *left) {                                   \
730
19.3k
    type##_predictor(dst, stride, width, height, above, left); \
731
19.3k
  }
aom_dc_top_predictor_32x32_c
Line
Count
Source
729
42.7k
      const uint8_t *left) {                                   \
730
42.7k
    type##_predictor(dst, stride, width, height, above, left); \
731
42.7k
  }
aom_dc_top_predictor_64x64_c
Line
Count
Source
729
6.47k
      const uint8_t *left) {                                   \
730
6.47k
    type##_predictor(dst, stride, width, height, above, left); \
731
6.47k
  }
aom_dc_top_predictor_4x8_c
Line
Count
Source
729
21.3k
      const uint8_t *left) {                                   \
730
21.3k
    type##_predictor(dst, stride, width, height, above, left); \
731
21.3k
  }
aom_dc_top_predictor_8x4_c
Line
Count
Source
729
9.73k
      const uint8_t *left) {                                   \
730
9.73k
    type##_predictor(dst, stride, width, height, above, left); \
731
9.73k
  }
aom_dc_top_predictor_8x16_c
Line
Count
Source
729
17.6k
      const uint8_t *left) {                                   \
730
17.6k
    type##_predictor(dst, stride, width, height, above, left); \
731
17.6k
  }
aom_dc_top_predictor_16x8_c
Line
Count
Source
729
6.67k
      const uint8_t *left) {                                   \
730
6.67k
    type##_predictor(dst, stride, width, height, above, left); \
731
6.67k
  }
aom_dc_top_predictor_16x32_c
Line
Count
Source
729
30.6k
      const uint8_t *left) {                                   \
730
30.6k
    type##_predictor(dst, stride, width, height, above, left); \
731
30.6k
  }
aom_dc_top_predictor_32x16_c
Line
Count
Source
729
5.40k
      const uint8_t *left) {                                   \
730
5.40k
    type##_predictor(dst, stride, width, height, above, left); \
731
5.40k
  }
aom_dc_top_predictor_32x64_c
Line
Count
Source
729
9.16k
      const uint8_t *left) {                                   \
730
9.16k
    type##_predictor(dst, stride, width, height, above, left); \
731
9.16k
  }
aom_dc_top_predictor_64x32_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_top_predictor_4x16_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_16x4_c
Line
Count
Source
729
4.64k
      const uint8_t *left) {                                   \
730
4.64k
    type##_predictor(dst, stride, width, height, above, left); \
731
4.64k
  }
aom_dc_top_predictor_8x32_c
Line
Count
Source
729
2.67k
      const uint8_t *left) {                                   \
730
2.67k
    type##_predictor(dst, stride, width, height, above, left); \
731
2.67k
  }
aom_dc_top_predictor_32x8_c
Line
Count
Source
729
3.68k
      const uint8_t *left) {                                   \
730
3.68k
    type##_predictor(dst, stride, width, height, above, left); \
731
3.68k
  }
aom_dc_top_predictor_16x64_c
Line
Count
Source
729
486
      const uint8_t *left) {                                   \
730
486
    type##_predictor(dst, stride, width, height, above, left); \
731
486
  }
aom_dc_top_predictor_64x16_c
Line
Count
Source
729
772
      const uint8_t *left) {                                   \
730
772
    type##_predictor(dst, stride, width, height, above, left); \
731
772
  }
aom_dc_predictor_4x4_c
Line
Count
Source
729
2.54M
      const uint8_t *left) {                                   \
730
2.54M
    type##_predictor(dst, stride, width, height, above, left); \
731
2.54M
  }
aom_dc_predictor_8x8_c
Line
Count
Source
729
388k
      const uint8_t *left) {                                   \
730
388k
    type##_predictor(dst, stride, width, height, above, left); \
731
388k
  }
aom_dc_predictor_16x16_c
Line
Count
Source
729
251k
      const uint8_t *left) {                                   \
730
251k
    type##_predictor(dst, stride, width, height, above, left); \
731
251k
  }
aom_dc_predictor_32x32_c
Line
Count
Source
729
147k
      const uint8_t *left) {                                   \
730
147k
    type##_predictor(dst, stride, width, height, above, left); \
731
147k
  }
aom_dc_predictor_64x64_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
  }
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.75M
      const uint16_t *left, int bd) {                                       \
738
5.75M
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
5.75M
  }
aom_highbd_v_predictor_4x4_c
Line
Count
Source
737
36.1k
      const uint16_t *left, int bd) {                                       \
738
36.1k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
36.1k
  }
aom_highbd_v_predictor_8x8_c
Line
Count
Source
737
28.1k
      const uint16_t *left, int bd) {                                       \
738
28.1k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
28.1k
  }
aom_highbd_v_predictor_16x16_c
Line
Count
Source
737
11.8k
      const uint16_t *left, int bd) {                                       \
738
11.8k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
11.8k
  }
aom_highbd_v_predictor_32x32_c
Line
Count
Source
737
7.22k
      const uint16_t *left, int bd) {                                       \
738
7.22k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
7.22k
  }
aom_highbd_v_predictor_64x64_c
Line
Count
Source
737
771
      const uint16_t *left, int bd) {                                       \
738
771
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
771
  }
aom_highbd_v_predictor_4x8_c
Line
Count
Source
737
13.6k
      const uint16_t *left, int bd) {                                       \
738
13.6k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
13.6k
  }
aom_highbd_v_predictor_8x4_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_v_predictor_8x16_c
Line
Count
Source
737
7.16k
      const uint16_t *left, int bd) {                                       \
738
7.16k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
7.16k
  }
aom_highbd_v_predictor_16x8_c
Line
Count
Source
737
9.48k
      const uint16_t *left, int bd) {                                       \
738
9.48k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
9.48k
  }
aom_highbd_v_predictor_16x32_c
Line
Count
Source
737
4.17k
      const uint16_t *left, int bd) {                                       \
738
4.17k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
4.17k
  }
aom_highbd_v_predictor_32x16_c
Line
Count
Source
737
2.30k
      const uint16_t *left, int bd) {                                       \
738
2.30k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
2.30k
  }
aom_highbd_v_predictor_32x64_c
Line
Count
Source
737
182
      const uint16_t *left, int bd) {                                       \
738
182
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
182
  }
aom_highbd_v_predictor_64x32_c
Line
Count
Source
737
111
      const uint16_t *left, int bd) {                                       \
738
111
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
111
  }
aom_highbd_v_predictor_4x16_c
Line
Count
Source
737
4.49k
      const uint16_t *left, int bd) {                                       \
738
4.49k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
4.49k
  }
aom_highbd_v_predictor_16x4_c
Line
Count
Source
737
7.10k
      const uint16_t *left, int bd) {                                       \
738
7.10k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
7.10k
  }
aom_highbd_v_predictor_8x32_c
Line
Count
Source
737
2.43k
      const uint16_t *left, int bd) {                                       \
738
2.43k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
2.43k
  }
aom_highbd_v_predictor_32x8_c
Line
Count
Source
737
3.47k
      const uint16_t *left, int bd) {                                       \
738
3.47k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
3.47k
  }
aom_highbd_v_predictor_16x64_c
Line
Count
Source
737
219
      const uint16_t *left, int bd) {                                       \
738
219
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
219
  }
aom_highbd_v_predictor_64x16_c
Line
Count
Source
737
325
      const uint16_t *left, int bd) {                                       \
738
325
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
325
  }
aom_highbd_h_predictor_4x4_c
Line
Count
Source
737
59.6k
      const uint16_t *left, int bd) {                                       \
738
59.6k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
59.6k
  }
aom_highbd_h_predictor_8x8_c
Line
Count
Source
737
49.5k
      const uint16_t *left, int bd) {                                       \
738
49.5k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
49.5k
  }
aom_highbd_h_predictor_16x16_c
Line
Count
Source
737
25.5k
      const uint16_t *left, int bd) {                                       \
738
25.5k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
25.5k
  }
aom_highbd_h_predictor_32x32_c
Line
Count
Source
737
12.2k
      const uint16_t *left, int bd) {                                       \
738
12.2k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
12.2k
  }
aom_highbd_h_predictor_64x64_c
Line
Count
Source
737
1.51k
      const uint16_t *left, int bd) {                                       \
738
1.51k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
1.51k
  }
aom_highbd_h_predictor_4x8_c
Line
Count
Source
737
21.9k
      const uint16_t *left, int bd) {                                       \
738
21.9k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
21.9k
  }
aom_highbd_h_predictor_8x4_c
Line
Count
Source
737
29.3k
      const uint16_t *left, int bd) {                                       \
738
29.3k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
29.3k
  }
aom_highbd_h_predictor_8x16_c
Line
Count
Source
737
10.4k
      const uint16_t *left, int bd) {                                       \
738
10.4k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
10.4k
  }
aom_highbd_h_predictor_16x8_c
Line
Count
Source
737
14.2k
      const uint16_t *left, int bd) {                                       \
738
14.2k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
14.2k
  }
aom_highbd_h_predictor_16x32_c
Line
Count
Source
737
3.56k
      const uint16_t *left, int bd) {                                       \
738
3.56k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
3.56k
  }
aom_highbd_h_predictor_32x16_c
Line
Count
Source
737
3.68k
      const uint16_t *left, int bd) {                                       \
738
3.68k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
3.68k
  }
aom_highbd_h_predictor_32x64_c
Line
Count
Source
737
154
      const uint16_t *left, int bd) {                                       \
738
154
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
154
  }
aom_highbd_h_predictor_64x32_c
Line
Count
Source
737
420
      const uint16_t *left, int bd) {                                       \
738
420
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
420
  }
aom_highbd_h_predictor_4x16_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_h_predictor_16x4_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_h_predictor_8x32_c
Line
Count
Source
737
3.81k
      const uint16_t *left, int bd) {                                       \
738
3.81k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
3.81k
  }
aom_highbd_h_predictor_32x8_c
Line
Count
Source
737
5.54k
      const uint16_t *left, int bd) {                                       \
738
5.54k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
5.54k
  }
aom_highbd_h_predictor_16x64_c
Line
Count
Source
737
380
      const uint16_t *left, int bd) {                                       \
738
380
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
380
  }
aom_highbd_h_predictor_64x16_c
Line
Count
Source
737
458
      const uint16_t *left, int bd) {                                       \
738
458
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
458
  }
aom_highbd_smooth_predictor_4x4_c
Line
Count
Source
737
94.4k
      const uint16_t *left, int bd) {                                       \
738
94.4k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
94.4k
  }
aom_highbd_smooth_predictor_8x8_c
Line
Count
Source
737
116k
      const uint16_t *left, int bd) {                                       \
738
116k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
116k
  }
aom_highbd_smooth_predictor_16x16_c
Line
Count
Source
737
58.9k
      const uint16_t *left, int bd) {                                       \
738
58.9k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
58.9k
  }
aom_highbd_smooth_predictor_32x32_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_smooth_predictor_64x64_c
Line
Count
Source
737
5.97k
      const uint16_t *left, int bd) {                                       \
738
5.97k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
5.97k
  }
aom_highbd_smooth_predictor_4x8_c
Line
Count
Source
737
33.8k
      const uint16_t *left, int bd) {                                       \
738
33.8k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
33.8k
  }
aom_highbd_smooth_predictor_8x4_c
Line
Count
Source
737
47.1k
      const uint16_t *left, int bd) {                                       \
738
47.1k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
47.1k
  }
aom_highbd_smooth_predictor_8x16_c
Line
Count
Source
737
32.4k
      const uint16_t *left, int bd) {                                       \
738
32.4k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
32.4k
  }
aom_highbd_smooth_predictor_16x8_c
Line
Count
Source
737
45.4k
      const uint16_t *left, int bd) {                                       \
738
45.4k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
45.4k
  }
aom_highbd_smooth_predictor_16x32_c
Line
Count
Source
737
12.2k
      const uint16_t *left, int bd) {                                       \
738
12.2k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
12.2k
  }
aom_highbd_smooth_predictor_32x16_c
Line
Count
Source
737
9.56k
      const uint16_t *left, int bd) {                                       \
738
9.56k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
9.56k
  }
aom_highbd_smooth_predictor_32x64_c
Line
Count
Source
737
924
      const uint16_t *left, int bd) {                                       \
738
924
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
924
  }
aom_highbd_smooth_predictor_64x32_c
Line
Count
Source
737
706
      const uint16_t *left, int bd) {                                       \
738
706
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
706
  }
aom_highbd_smooth_predictor_4x16_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_predictor_16x4_c
Line
Count
Source
737
36.3k
      const uint16_t *left, int bd) {                                       \
738
36.3k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
36.3k
  }
aom_highbd_smooth_predictor_8x32_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_predictor_32x8_c
Line
Count
Source
737
15.3k
      const uint16_t *left, int bd) {                                       \
738
15.3k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
15.3k
  }
aom_highbd_smooth_predictor_16x64_c
Line
Count
Source
737
1.01k
      const uint16_t *left, int bd) {                                       \
738
1.01k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
1.01k
  }
aom_highbd_smooth_predictor_64x16_c
Line
Count
Source
737
1.20k
      const uint16_t *left, int bd) {                                       \
738
1.20k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
1.20k
  }
aom_highbd_smooth_v_predictor_4x4_c
Line
Count
Source
737
32.7k
      const uint16_t *left, int bd) {                                       \
738
32.7k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
32.7k
  }
aom_highbd_smooth_v_predictor_8x8_c
Line
Count
Source
737
47.8k
      const uint16_t *left, int bd) {                                       \
738
47.8k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
47.8k
  }
aom_highbd_smooth_v_predictor_16x16_c
Line
Count
Source
737
22.1k
      const uint16_t *left, int bd) {                                       \
738
22.1k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
22.1k
  }
aom_highbd_smooth_v_predictor_32x32_c
Line
Count
Source
737
12.2k
      const uint16_t *left, int bd) {                                       \
738
12.2k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
12.2k
  }
aom_highbd_smooth_v_predictor_64x64_c
Line
Count
Source
737
1.74k
      const uint16_t *left, int bd) {                                       \
738
1.74k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
1.74k
  }
aom_highbd_smooth_v_predictor_4x8_c
Line
Count
Source
737
14.7k
      const uint16_t *left, int bd) {                                       \
738
14.7k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
14.7k
  }
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
15.3k
      const uint16_t *left, int bd) {                                       \
738
15.3k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
15.3k
  }
aom_highbd_smooth_v_predictor_16x8_c
Line
Count
Source
737
19.8k
      const uint16_t *left, int bd) {                                       \
738
19.8k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
19.8k
  }
aom_highbd_smooth_v_predictor_16x32_c
Line
Count
Source
737
5.48k
      const uint16_t *left, int bd) {                                       \
738
5.48k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
5.48k
  }
aom_highbd_smooth_v_predictor_32x16_c
Line
Count
Source
737
4.21k
      const uint16_t *left, int bd) {                                       \
738
4.21k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
4.21k
  }
aom_highbd_smooth_v_predictor_32x64_c
Line
Count
Source
737
281
      const uint16_t *left, int bd) {                                       \
738
281
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
281
  }
aom_highbd_smooth_v_predictor_64x32_c
Line
Count
Source
737
193
      const uint16_t *left, int bd) {                                       \
738
193
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
193
  }
aom_highbd_smooth_v_predictor_4x16_c
Line
Count
Source
737
9.09k
      const uint16_t *left, int bd) {                                       \
738
9.09k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
9.09k
  }
aom_highbd_smooth_v_predictor_16x4_c
Line
Count
Source
737
19.1k
      const uint16_t *left, int bd) {                                       \
738
19.1k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
19.1k
  }
aom_highbd_smooth_v_predictor_8x32_c
Line
Count
Source
737
5.00k
      const uint16_t *left, int bd) {                                       \
738
5.00k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
5.00k
  }
aom_highbd_smooth_v_predictor_32x8_c
Line
Count
Source
737
6.76k
      const uint16_t *left, int bd) {                                       \
738
6.76k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
6.76k
  }
aom_highbd_smooth_v_predictor_16x64_c
Line
Count
Source
737
231
      const uint16_t *left, int bd) {                                       \
738
231
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
231
  }
aom_highbd_smooth_v_predictor_64x16_c
Line
Count
Source
737
314
      const uint16_t *left, int bd) {                                       \
738
314
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
314
  }
aom_highbd_smooth_h_predictor_4x4_c
Line
Count
Source
737
40.4k
      const uint16_t *left, int bd) {                                       \
738
40.4k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
40.4k
  }
aom_highbd_smooth_h_predictor_8x8_c
Line
Count
Source
737
71.2k
      const uint16_t *left, int bd) {                                       \
738
71.2k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
71.2k
  }
aom_highbd_smooth_h_predictor_16x16_c
Line
Count
Source
737
30.4k
      const uint16_t *left, int bd) {                                       \
738
30.4k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
30.4k
  }
aom_highbd_smooth_h_predictor_32x32_c
Line
Count
Source
737
15.2k
      const uint16_t *left, int bd) {                                       \
738
15.2k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
15.2k
  }
aom_highbd_smooth_h_predictor_64x64_c
Line
Count
Source
737
1.47k
      const uint16_t *left, int bd) {                                       \
738
1.47k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
1.47k
  }
aom_highbd_smooth_h_predictor_4x8_c
Line
Count
Source
737
19.0k
      const uint16_t *left, int bd) {                                       \
738
19.0k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
19.0k
  }
aom_highbd_smooth_h_predictor_8x4_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_8x16_c
Line
Count
Source
737
21.5k
      const uint16_t *left, int bd) {                                       \
738
21.5k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
21.5k
  }
aom_highbd_smooth_h_predictor_16x8_c
Line
Count
Source
737
23.0k
      const uint16_t *left, int bd) {                                       \
738
23.0k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
23.0k
  }
aom_highbd_smooth_h_predictor_16x32_c
Line
Count
Source
737
6.67k
      const uint16_t *left, int bd) {                                       \
738
6.67k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
6.67k
  }
aom_highbd_smooth_h_predictor_32x16_c
Line
Count
Source
737
5.54k
      const uint16_t *left, int bd) {                                       \
738
5.54k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
5.54k
  }
aom_highbd_smooth_h_predictor_32x64_c
Line
Count
Source
737
282
      const uint16_t *left, int bd) {                                       \
738
282
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
282
  }
aom_highbd_smooth_h_predictor_64x32_c
Line
Count
Source
737
173
      const uint16_t *left, int bd) {                                       \
738
173
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
173
  }
aom_highbd_smooth_h_predictor_4x16_c
Line
Count
Source
737
12.5k
      const uint16_t *left, int bd) {                                       \
738
12.5k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
12.5k
  }
aom_highbd_smooth_h_predictor_16x4_c
Line
Count
Source
737
18.9k
      const uint16_t *left, int bd) {                                       \
738
18.9k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
18.9k
  }
aom_highbd_smooth_h_predictor_8x32_c
Line
Count
Source
737
6.20k
      const uint16_t *left, int bd) {                                       \
738
6.20k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
6.20k
  }
aom_highbd_smooth_h_predictor_32x8_c
Line
Count
Source
737
10.1k
      const uint16_t *left, int bd) {                                       \
738
10.1k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
10.1k
  }
aom_highbd_smooth_h_predictor_16x64_c
Line
Count
Source
737
356
      const uint16_t *left, int bd) {                                       \
738
356
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
356
  }
aom_highbd_smooth_h_predictor_64x16_c
Line
Count
Source
737
310
      const uint16_t *left, int bd) {                                       \
738
310
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
310
  }
aom_highbd_paeth_predictor_4x4_c
Line
Count
Source
737
217k
      const uint16_t *left, int bd) {                                       \
738
217k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
217k
  }
aom_highbd_paeth_predictor_8x8_c
Line
Count
Source
737
125k
      const uint16_t *left, int bd) {                                       \
738
125k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
125k
  }
aom_highbd_paeth_predictor_16x16_c
Line
Count
Source
737
62.1k
      const uint16_t *left, int bd) {                                       \
738
62.1k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
62.1k
  }
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
6.78k
      const uint16_t *left, int bd) {                                       \
738
6.78k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
6.78k
  }
aom_highbd_paeth_predictor_4x8_c
Line
Count
Source
737
46.5k
      const uint16_t *left, int bd) {                                       \
738
46.5k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
46.5k
  }
aom_highbd_paeth_predictor_8x4_c
Line
Count
Source
737
67.8k
      const uint16_t *left, int bd) {                                       \
738
67.8k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
67.8k
  }
aom_highbd_paeth_predictor_8x16_c
Line
Count
Source
737
43.6k
      const uint16_t *left, int bd) {                                       \
738
43.6k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
43.6k
  }
aom_highbd_paeth_predictor_16x8_c
Line
Count
Source
737
57.4k
      const uint16_t *left, int bd) {                                       \
738
57.4k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
57.4k
  }
aom_highbd_paeth_predictor_16x32_c
Line
Count
Source
737
48.1k
      const uint16_t *left, int bd) {                                       \
738
48.1k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
48.1k
  }
aom_highbd_paeth_predictor_32x16_c
Line
Count
Source
737
10.4k
      const uint16_t *left, int bd) {                                       \
738
10.4k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
10.4k
  }
aom_highbd_paeth_predictor_32x64_c
Line
Count
Source
737
5.86k
      const uint16_t *left, int bd) {                                       \
738
5.86k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
5.86k
  }
aom_highbd_paeth_predictor_64x32_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_paeth_predictor_4x16_c
Line
Count
Source
737
73.5k
      const uint16_t *left, int bd) {                                       \
738
73.5k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
73.5k
  }
aom_highbd_paeth_predictor_16x4_c
Line
Count
Source
737
49.0k
      const uint16_t *left, int bd) {                                       \
738
49.0k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
49.0k
  }
aom_highbd_paeth_predictor_8x32_c
Line
Count
Source
737
141k
      const uint16_t *left, int bd) {                                       \
738
141k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
141k
  }
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
51.3k
      const uint16_t *left, int bd) {                                       \
738
51.3k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
51.3k
  }
aom_highbd_paeth_predictor_64x16_c
Line
Count
Source
737
1.16k
      const uint16_t *left, int bd) {                                       \
738
1.16k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
1.16k
  }
aom_highbd_dc_128_predictor_4x4_c
Line
Count
Source
737
4.69k
      const uint16_t *left, int bd) {                                       \
738
4.69k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
4.69k
  }
aom_highbd_dc_128_predictor_8x8_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_128_predictor_16x16_c
Line
Count
Source
737
2.08k
      const uint16_t *left, int bd) {                                       \
738
2.08k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
2.08k
  }
aom_highbd_dc_128_predictor_32x32_c
Line
Count
Source
737
13.2k
      const uint16_t *left, int bd) {                                       \
738
13.2k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
13.2k
  }
aom_highbd_dc_128_predictor_64x64_c
Line
Count
Source
737
4.56k
      const uint16_t *left, int bd) {                                       \
738
4.56k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
4.56k
  }
aom_highbd_dc_128_predictor_4x8_c
Line
Count
Source
737
403
      const uint16_t *left, int bd) {                                       \
738
403
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
403
  }
aom_highbd_dc_128_predictor_8x4_c
Line
Count
Source
737
43
      const uint16_t *left, int bd) {                                       \
738
43
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
43
  }
aom_highbd_dc_128_predictor_8x16_c
Line
Count
Source
737
319
      const uint16_t *left, int bd) {                                       \
738
319
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
319
  }
aom_highbd_dc_128_predictor_16x8_c
Line
Count
Source
737
225
      const uint16_t *left, int bd) {                                       \
738
225
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
225
  }
aom_highbd_dc_128_predictor_16x32_c
Line
Count
Source
737
1.81k
      const uint16_t *left, int bd) {                                       \
738
1.81k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
1.81k
  }
aom_highbd_dc_128_predictor_32x16_c
Line
Count
Source
737
2.26k
      const uint16_t *left, int bd) {                                       \
738
2.26k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
2.26k
  }
aom_highbd_dc_128_predictor_32x64_c
Line
Count
Source
737
401
      const uint16_t *left, int bd) {                                       \
738
401
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
401
  }
aom_highbd_dc_128_predictor_64x32_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_4x16_c
Line
Count
Source
737
398
      const uint16_t *left, int bd) {                                       \
738
398
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
398
  }
aom_highbd_dc_128_predictor_16x4_c
Line
Count
Source
737
25
      const uint16_t *left, int bd) {                                       \
738
25
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
25
  }
aom_highbd_dc_128_predictor_8x32_c
Line
Count
Source
737
282
      const uint16_t *left, int bd) {                                       \
738
282
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
282
  }
aom_highbd_dc_128_predictor_32x8_c
Line
Count
Source
737
56
      const uint16_t *left, int bd) {                                       \
738
56
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
56
  }
aom_highbd_dc_128_predictor_16x64_c
Line
Count
Source
737
154
      const uint16_t *left, int bd) {                                       \
738
154
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
154
  }
aom_highbd_dc_128_predictor_64x16_c
Line
Count
Source
737
106
      const uint16_t *left, int bd) {                                       \
738
106
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
106
  }
aom_highbd_dc_left_predictor_4x4_c
Line
Count
Source
737
22.7k
      const uint16_t *left, int bd) {                                       \
738
22.7k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
22.7k
  }
aom_highbd_dc_left_predictor_8x8_c
Line
Count
Source
737
5.56k
      const uint16_t *left, int bd) {                                       \
738
5.56k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
5.56k
  }
aom_highbd_dc_left_predictor_16x16_c
Line
Count
Source
737
11.2k
      const uint16_t *left, int bd) {                                       \
738
11.2k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
11.2k
  }
aom_highbd_dc_left_predictor_32x32_c
Line
Count
Source
737
36.3k
      const uint16_t *left, int bd) {                                       \
738
36.3k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
36.3k
  }
aom_highbd_dc_left_predictor_64x64_c
Line
Count
Source
737
9.49k
      const uint16_t *left, int bd) {                                       \
738
9.49k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
9.49k
  }
aom_highbd_dc_left_predictor_4x8_c
Line
Count
Source
737
2.68k
      const uint16_t *left, int bd) {                                       \
738
2.68k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
2.68k
  }
aom_highbd_dc_left_predictor_8x4_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_dc_left_predictor_8x16_c
Line
Count
Source
737
3.42k
      const uint16_t *left, int bd) {                                       \
738
3.42k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
3.42k
  }
aom_highbd_dc_left_predictor_16x8_c
Line
Count
Source
737
3.36k
      const uint16_t *left, int bd) {                                       \
738
3.36k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
3.36k
  }
aom_highbd_dc_left_predictor_16x32_c
Line
Count
Source
737
5.30k
      const uint16_t *left, int bd) {                                       \
738
5.30k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
5.30k
  }
aom_highbd_dc_left_predictor_32x16_c
Line
Count
Source
737
3.63k
      const uint16_t *left, int bd) {                                       \
738
3.63k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
3.63k
  }
aom_highbd_dc_left_predictor_32x64_c
Line
Count
Source
737
747
      const uint16_t *left, int bd) {                                       \
738
747
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
747
  }
aom_highbd_dc_left_predictor_64x32_c
Line
Count
Source
737
646
      const uint16_t *left, int bd) {                                       \
738
646
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
646
  }
aom_highbd_dc_left_predictor_4x16_c
Line
Count
Source
737
2.81k
      const uint16_t *left, int bd) {                                       \
738
2.81k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
2.81k
  }
aom_highbd_dc_left_predictor_16x4_c
Line
Count
Source
737
977
      const uint16_t *left, int bd) {                                       \
738
977
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
977
  }
aom_highbd_dc_left_predictor_8x32_c
Line
Count
Source
737
4.06k
      const uint16_t *left, int bd) {                                       \
738
4.06k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
4.06k
  }
aom_highbd_dc_left_predictor_32x8_c
Line
Count
Source
737
1.49k
      const uint16_t *left, int bd) {                                       \
738
1.49k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
1.49k
  }
aom_highbd_dc_left_predictor_16x64_c
Line
Count
Source
737
1.46k
      const uint16_t *left, int bd) {                                       \
738
1.46k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
1.46k
  }
aom_highbd_dc_left_predictor_64x16_c
Line
Count
Source
737
461
      const uint16_t *left, int bd) {                                       \
738
461
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
461
  }
aom_highbd_dc_top_predictor_4x4_c
Line
Count
Source
737
115k
      const uint16_t *left, int bd) {                                       \
738
115k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
115k
  }
aom_highbd_dc_top_predictor_8x8_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_dc_top_predictor_16x16_c
Line
Count
Source
737
15.2k
      const uint16_t *left, int bd) {                                       \
738
15.2k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
15.2k
  }
aom_highbd_dc_top_predictor_32x32_c
Line
Count
Source
737
77.8k
      const uint16_t *left, int bd) {                                       \
738
77.8k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
77.8k
  }
aom_highbd_dc_top_predictor_64x64_c
Line
Count
Source
737
8.21k
      const uint16_t *left, int bd) {                                       \
738
8.21k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
8.21k
  }
aom_highbd_dc_top_predictor_4x8_c
Line
Count
Source
737
28.0k
      const uint16_t *left, int bd) {                                       \
738
28.0k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
28.0k
  }
aom_highbd_dc_top_predictor_8x4_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_dc_top_predictor_8x16_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_dc_top_predictor_16x8_c
Line
Count
Source
737
6.24k
      const uint16_t *left, int bd) {                                       \
738
6.24k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
6.24k
  }
aom_highbd_dc_top_predictor_16x32_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_dc_top_predictor_32x16_c
Line
Count
Source
737
4.98k
      const uint16_t *left, int bd) {                                       \
738
4.98k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
4.98k
  }
aom_highbd_dc_top_predictor_32x64_c
Line
Count
Source
737
6.67k
      const uint16_t *left, int bd) {                                       \
738
6.67k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
6.67k
  }
aom_highbd_dc_top_predictor_64x32_c
Line
Count
Source
737
472
      const uint16_t *left, int bd) {                                       \
738
472
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
472
  }
aom_highbd_dc_top_predictor_4x16_c
Line
Count
Source
737
33.2k
      const uint16_t *left, int bd) {                                       \
738
33.2k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
33.2k
  }
aom_highbd_dc_top_predictor_16x4_c
Line
Count
Source
737
5.27k
      const uint16_t *left, int bd) {                                       \
738
5.27k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
5.27k
  }
aom_highbd_dc_top_predictor_8x32_c
Line
Count
Source
737
2.67k
      const uint16_t *left, int bd) {                                       \
738
2.67k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
2.67k
  }
aom_highbd_dc_top_predictor_32x8_c
Line
Count
Source
737
3.66k
      const uint16_t *left, int bd) {                                       \
738
3.66k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
3.66k
  }
aom_highbd_dc_top_predictor_16x64_c
Line
Count
Source
737
437
      const uint16_t *left, int bd) {                                       \
738
437
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
437
  }
aom_highbd_dc_top_predictor_64x16_c
Line
Count
Source
737
903
      const uint16_t *left, int bd) {                                       \
738
903
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
903
  }
aom_highbd_dc_predictor_4x4_c
Line
Count
Source
737
1.77M
      const uint16_t *left, int bd) {                                       \
738
1.77M
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
1.77M
  }
aom_highbd_dc_predictor_8x8_c
Line
Count
Source
737
481k
      const uint16_t *left, int bd) {                                       \
738
481k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
481k
  }
aom_highbd_dc_predictor_16x16_c
Line
Count
Source
737
220k
      const uint16_t *left, int bd) {                                       \
738
220k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
220k
  }
aom_highbd_dc_predictor_32x32_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_dc_predictor_64x64_c
Line
Count
Source
737
12.2k
      const uint16_t *left, int bd) {                                       \
738
12.2k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
12.2k
  }
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