Coverage Report

Created: 2025-09-08 07:52

/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
419k
                               const uint8_t *above, const uint8_t *left) {
25
419k
  int r;
26
419k
  (void)left;
27
28
3.14M
  for (r = 0; r < bh; r++) {
29
2.72M
    memcpy(dst, above, bw);
30
2.72M
    dst += stride;
31
2.72M
  }
32
419k
}
33
34
static inline void h_predictor(uint8_t *dst, ptrdiff_t stride, int bw, int bh,
35
413k
                               const uint8_t *above, const uint8_t *left) {
36
413k
  int r;
37
413k
  (void)above;
38
39
3.71M
  for (r = 0; r < bh; r++) {
40
3.30M
    memset(dst, left[r], bw);
41
3.30M
    dst += stride;
42
3.30M
  }
43
413k
}
44
45
1.85G
static inline int abs_diff(int a, int b) { return (a > b) ? a - b : b - a; }
46
47
static inline uint16_t paeth_predictor_single(uint16_t left, uint16_t top,
48
616M
                                              uint16_t top_left) {
49
616M
  const int base = top + left - top_left;
50
616M
  const int p_left = abs_diff(base, left);
51
616M
  const int p_top = abs_diff(base, top);
52
616M
  const int p_top_left = abs_diff(base, top_left);
53
54
  // Return nearest to base of left, top and top_left.
55
616M
  return (p_left <= p_top && p_left <= p_top_left) ? left
56
616M
         : (p_top <= p_top_left)                   ? top
57
112M
                                                   : top_left;
58
616M
}
59
60
static inline void paeth_predictor(uint8_t *dst, ptrdiff_t stride, int bw,
61
                                   int bh, const uint8_t *above,
62
4.45M
                                   const uint8_t *left) {
63
4.45M
  int r, c;
64
4.45M
  const uint8_t ytop_left = above[-1];
65
66
37.2M
  for (r = 0; r < bh; r++) {
67
378M
    for (c = 0; c < bw; c++)
68
345M
      dst[c] = (uint8_t)paeth_predictor_single(left[r], above[c], ytop_left);
69
32.8M
    dst += stride;
70
32.8M
  }
71
4.45M
}
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.46M
  assert(weights_w[0] < weights_scale);                               \
77
2.46M
  assert(weights_h[0] < weights_scale);                               \
78
2.46M
  assert(weights_scale - weights_w[bw - 1] < weights_scale);          \
79
2.46M
  assert(weights_scale - weights_h[bh - 1] < weights_scale);          \
80
2.46M
  assert(pred_scale < 31)  // ensures no overflow when calculating predictor.
81
82
448M
#define divide_round(value, bits) (((value) + (1 << ((bits)-1))) >> (bits))
83
84
static inline void smooth_predictor(uint8_t *dst, ptrdiff_t stride, int bw,
85
                                    int bh, const uint8_t *above,
86
717k
                                    const uint8_t *left) {
87
717k
  const uint8_t below_pred = left[bh - 1];   // estimated by bottom-left pixel
88
717k
  const uint8_t right_pred = above[bw - 1];  // estimated by top-right pixel
89
717k
  const uint8_t *const sm_weights_w = smooth_weights + bw - 4;
90
717k
  const uint8_t *const sm_weights_h = smooth_weights + bh - 4;
91
  // scale = 2 * 2^SMOOTH_WEIGHT_LOG2_SCALE
92
717k
  const int log2_scale = 1 + SMOOTH_WEIGHT_LOG2_SCALE;
93
717k
  const uint16_t scale = (1 << SMOOTH_WEIGHT_LOG2_SCALE);
94
717k
  sm_weights_sanity_checks(sm_weights_w, sm_weights_h, scale,
95
717k
                           log2_scale + sizeof(*dst));
96
717k
  int r;
97
8.08M
  for (r = 0; r < bh; ++r) {
98
7.36M
    int c;
99
126M
    for (c = 0; c < bw; ++c) {
100
119M
      const uint8_t pixels[] = { above[c], below_pred, left[r], right_pred };
101
119M
      const uint8_t weights[] = { sm_weights_h[r], scale - sm_weights_h[r],
102
119M
                                  sm_weights_w[c], scale - sm_weights_w[c] };
103
119M
      uint32_t this_pred = 0;
104
119M
      int i;
105
119M
      assert(scale >= sm_weights_h[r] && scale >= sm_weights_w[c]);
106
597M
      for (i = 0; i < 4; ++i) {
107
477M
        this_pred += weights[i] * pixels[i];
108
477M
      }
109
119M
      dst[c] = divide_round(this_pred, log2_scale);
110
119M
    }
111
7.36M
    dst += stride;
112
7.36M
  }
113
717k
}
114
115
static inline void smooth_v_predictor(uint8_t *dst, ptrdiff_t stride, int bw,
116
                                      int bh, const uint8_t *above,
117
249k
                                      const uint8_t *left) {
118
249k
  const uint8_t below_pred = left[bh - 1];  // estimated by bottom-left pixel
119
249k
  const uint8_t *const sm_weights = smooth_weights + bh - 4;
120
  // scale = 2^SMOOTH_WEIGHT_LOG2_SCALE
121
249k
  const int log2_scale = SMOOTH_WEIGHT_LOG2_SCALE;
122
249k
  const uint16_t scale = (1 << SMOOTH_WEIGHT_LOG2_SCALE);
123
249k
  sm_weights_sanity_checks(sm_weights, sm_weights, scale,
124
249k
                           log2_scale + sizeof(*dst));
125
126
249k
  int r;
127
3.09M
  for (r = 0; r < bh; r++) {
128
2.84M
    int c;
129
52.1M
    for (c = 0; c < bw; ++c) {
130
49.3M
      const uint8_t pixels[] = { above[c], below_pred };
131
49.3M
      const uint8_t weights[] = { sm_weights[r], scale - sm_weights[r] };
132
49.3M
      uint32_t this_pred = 0;
133
49.3M
      assert(scale >= sm_weights[r]);
134
49.3M
      int i;
135
147M
      for (i = 0; i < 2; ++i) {
136
98.6M
        this_pred += weights[i] * pixels[i];
137
98.6M
      }
138
49.3M
      dst[c] = divide_round(this_pred, log2_scale);
139
49.3M
    }
140
2.84M
    dst += stride;
141
2.84M
  }
142
249k
}
143
144
static inline void smooth_h_predictor(uint8_t *dst, ptrdiff_t stride, int bw,
145
                                      int bh, const uint8_t *above,
146
334k
                                      const uint8_t *left) {
147
334k
  const uint8_t right_pred = above[bw - 1];  // estimated by top-right pixel
148
334k
  const uint8_t *const sm_weights = smooth_weights + bw - 4;
149
  // scale = 2^SMOOTH_WEIGHT_LOG2_SCALE
150
334k
  const int log2_scale = SMOOTH_WEIGHT_LOG2_SCALE;
151
334k
  const uint16_t scale = (1 << SMOOTH_WEIGHT_LOG2_SCALE);
152
334k
  sm_weights_sanity_checks(sm_weights, sm_weights, scale,
153
334k
                           log2_scale + sizeof(*dst));
154
155
334k
  int r;
156
4.06M
  for (r = 0; r < bh; r++) {
157
3.73M
    int c;
158
63.4M
    for (c = 0; c < bw; ++c) {
159
59.6M
      const uint8_t pixels[] = { left[r], right_pred };
160
59.6M
      const uint8_t weights[] = { sm_weights[c], scale - sm_weights[c] };
161
59.6M
      uint32_t this_pred = 0;
162
59.6M
      assert(scale >= sm_weights[c]);
163
59.6M
      int i;
164
179M
      for (i = 0; i < 2; ++i) {
165
119M
        this_pred += weights[i] * pixels[i];
166
119M
      }
167
59.6M
      dst[c] = divide_round(this_pred, log2_scale);
168
59.6M
    }
169
3.73M
    dst += stride;
170
3.73M
  }
171
334k
}
172
173
static inline void dc_128_predictor(uint8_t *dst, ptrdiff_t stride, int bw,
174
                                    int bh, const uint8_t *above,
175
20.7k
                                    const uint8_t *left) {
176
20.7k
  int r;
177
20.7k
  (void)above;
178
20.7k
  (void)left;
179
180
460k
  for (r = 0; r < bh; r++) {
181
440k
    memset(dst, 128, bw);
182
440k
    dst += stride;
183
440k
  }
184
20.7k
}
185
186
static inline void dc_left_predictor(uint8_t *dst, ptrdiff_t stride, int bw,
187
                                     int bh, const uint8_t *above,
188
185k
                                     const uint8_t *left) {
189
185k
  int i, r, expected_dc, sum = 0;
190
185k
  (void)above;
191
192
2.84M
  for (i = 0; i < bh; i++) sum += left[i];
193
185k
  expected_dc = (sum + (bh >> 1)) / bh;
194
195
2.84M
  for (r = 0; r < bh; r++) {
196
2.66M
    memset(dst, expected_dc, bw);
197
2.66M
    dst += stride;
198
2.66M
  }
199
185k
}
200
201
static inline void dc_top_predictor(uint8_t *dst, ptrdiff_t stride, int bw,
202
                                    int bh, const uint8_t *above,
203
370k
                                    const uint8_t *left) {
204
370k
  int i, r, expected_dc, sum = 0;
205
370k
  (void)left;
206
207
4.94M
  for (i = 0; i < bw; i++) sum += above[i];
208
370k
  expected_dc = (sum + (bw >> 1)) / bw;
209
210
5.94M
  for (r = 0; r < bh; r++) {
211
5.57M
    memset(dst, expected_dc, bw);
212
5.57M
    dst += stride;
213
5.57M
  }
214
370k
}
215
216
static inline void dc_predictor(uint8_t *dst, ptrdiff_t stride, int bw, int bh,
217
3.82M
                                const uint8_t *above, const uint8_t *left) {
218
3.82M
  int i, r, expected_dc, sum = 0;
219
3.82M
  const int count = bw + bh;
220
221
28.3M
  for (i = 0; i < bw; i++) {
222
24.5M
    sum += above[i];
223
24.5M
  }
224
28.3M
  for (i = 0; i < bh; i++) {
225
24.5M
    sum += left[i];
226
24.5M
  }
227
228
3.82M
  expected_dc = (sum + (count >> 1)) / count;
229
230
28.3M
  for (r = 0; r < bh; r++) {
231
24.4M
    memset(dst, expected_dc, bw);
232
24.4M
    dst += stride;
233
24.4M
  }
234
3.82M
}
235
236
static inline int divide_using_multiply_shift(int num, int shift1,
237
2.55M
                                              int multiplier, int shift2) {
238
2.55M
  const int interm = num >> shift1;
239
2.55M
  return interm * multiplier >> shift2;
240
2.55M
}
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
764k
#define DC_MULTIPLIER_1X2 0x5556
261
432k
#define DC_MULTIPLIER_1X4 0x3334
262
263
1.19M
#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.19M
                                     int multiplier) {
269
1.19M
  int sum = 0;
270
271
15.4M
  for (int i = 0; i < bw; i++) {
272
14.2M
    sum += above[i];
273
14.2M
  }
274
14.2M
  for (int i = 0; i < bh; i++) {
275
13.0M
    sum += left[i];
276
13.0M
  }
277
278
1.19M
  const int expected_dc = divide_using_multiply_shift(
279
1.19M
      sum + ((bw + bh) >> 1), shift1, multiplier, DC_SHIFT2);
280
1.19M
  assert(expected_dc < (1 << 8));
281
282
14.2M
  for (int r = 0; r < bh; r++) {
283
13.0M
    memset(dst, expected_dc, bw);
284
13.0M
    dst += stride;
285
13.0M
  }
286
1.19M
}
287
288
#undef DC_SHIFT2
289
290
void aom_dc_predictor_4x8_c(uint8_t *dst, ptrdiff_t stride,
291
154k
                            const uint8_t *above, const uint8_t *left) {
292
154k
  dc_predictor_rect(dst, stride, 4, 8, above, left, 2, DC_MULTIPLIER_1X2);
293
154k
}
294
295
void aom_dc_predictor_8x4_c(uint8_t *dst, ptrdiff_t stride,
296
215k
                            const uint8_t *above, const uint8_t *left) {
297
215k
  dc_predictor_rect(dst, stride, 8, 4, above, left, 2, DC_MULTIPLIER_1X2);
298
215k
}
299
300
#if !CONFIG_REALTIME_ONLY || CONFIG_AV1_DECODER
301
void aom_dc_predictor_4x16_c(uint8_t *dst, ptrdiff_t stride,
302
152k
                             const uint8_t *above, const uint8_t *left) {
303
152k
  dc_predictor_rect(dst, stride, 4, 16, above, left, 2, DC_MULTIPLIER_1X4);
304
152k
}
305
306
void aom_dc_predictor_16x4_c(uint8_t *dst, ptrdiff_t stride,
307
174k
                             const uint8_t *above, const uint8_t *left) {
308
174k
  dc_predictor_rect(dst, stride, 16, 4, above, left, 2, DC_MULTIPLIER_1X4);
309
174k
}
310
#endif  // !CONFIG_REALTIME_ONLY || CONFIG_AV1_DECODER
311
312
void aom_dc_predictor_8x16_c(uint8_t *dst, ptrdiff_t stride,
313
120k
                             const uint8_t *above, const uint8_t *left) {
314
120k
  dc_predictor_rect(dst, stride, 8, 16, above, left, 3, DC_MULTIPLIER_1X2);
315
120k
}
316
317
void aom_dc_predictor_16x8_c(uint8_t *dst, ptrdiff_t stride,
318
184k
                             const uint8_t *above, const uint8_t *left) {
319
184k
  dc_predictor_rect(dst, stride, 16, 8, above, left, 3, DC_MULTIPLIER_1X2);
320
184k
}
321
322
#if !CONFIG_REALTIME_ONLY || CONFIG_AV1_DECODER
323
void aom_dc_predictor_8x32_c(uint8_t *dst, ptrdiff_t stride,
324
45.4k
                             const uint8_t *above, const uint8_t *left) {
325
45.4k
  dc_predictor_rect(dst, stride, 8, 32, above, left, 3, DC_MULTIPLIER_1X4);
326
45.4k
}
327
328
void aom_dc_predictor_32x8_c(uint8_t *dst, ptrdiff_t stride,
329
52.9k
                             const uint8_t *above, const uint8_t *left) {
330
52.9k
  dc_predictor_rect(dst, stride, 32, 8, above, left, 3, DC_MULTIPLIER_1X4);
331
52.9k
}
332
#endif  // !CONFIG_REALTIME_ONLY || CONFIG_AV1_DECODER
333
334
void aom_dc_predictor_16x32_c(uint8_t *dst, ptrdiff_t stride,
335
39.9k
                              const uint8_t *above, const uint8_t *left) {
336
39.9k
  dc_predictor_rect(dst, stride, 16, 32, above, left, 4, DC_MULTIPLIER_1X2);
337
39.9k
}
338
339
void aom_dc_predictor_32x16_c(uint8_t *dst, ptrdiff_t stride,
340
44.8k
                              const uint8_t *above, const uint8_t *left) {
341
44.8k
  dc_predictor_rect(dst, stride, 32, 16, above, left, 4, DC_MULTIPLIER_1X2);
342
44.8k
}
343
344
#if !CONFIG_REALTIME_ONLY || CONFIG_AV1_DECODER
345
void aom_dc_predictor_16x64_c(uint8_t *dst, ptrdiff_t stride,
346
4.46k
                              const uint8_t *above, const uint8_t *left) {
347
4.46k
  dc_predictor_rect(dst, stride, 16, 64, above, left, 4, DC_MULTIPLIER_1X4);
348
4.46k
}
349
350
void aom_dc_predictor_64x16_c(uint8_t *dst, ptrdiff_t stride,
351
3.01k
                              const uint8_t *above, const uint8_t *left) {
352
3.01k
  dc_predictor_rect(dst, stride, 64, 16, above, left, 4, DC_MULTIPLIER_1X4);
353
3.01k
}
354
#endif  // !CONFIG_REALTIME_ONLY || CONFIG_AV1_DECODER
355
356
void aom_dc_predictor_32x64_c(uint8_t *dst, ptrdiff_t stride,
357
1.46k
                              const uint8_t *above, const uint8_t *left) {
358
1.46k
  dc_predictor_rect(dst, stride, 32, 64, above, left, 5, DC_MULTIPLIER_1X2);
359
1.46k
}
360
361
void aom_dc_predictor_64x32_c(uint8_t *dst, ptrdiff_t stride,
362
2.04k
                              const uint8_t *above, const uint8_t *left) {
363
2.04k
  dc_predictor_rect(dst, stride, 64, 32, above, left, 5, DC_MULTIPLIER_1X2);
364
2.04k
}
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
165k
                                      const uint16_t *left, int bd) {
374
165k
  int r;
375
165k
  (void)left;
376
165k
  (void)bd;
377
1.80M
  for (r = 0; r < bh; r++) {
378
1.64M
    memcpy(dst, above, bw * sizeof(uint16_t));
379
1.64M
    dst += stride;
380
1.64M
  }
381
165k
}
382
383
static inline void highbd_h_predictor(uint16_t *dst, ptrdiff_t stride, int bw,
384
                                      int bh, const uint16_t *above,
385
293k
                                      const uint16_t *left, int bd) {
386
293k
  int r;
387
293k
  (void)above;
388
293k
  (void)bd;
389
3.14M
  for (r = 0; r < bh; r++) {
390
2.84M
    aom_memset16(dst, left[r], bw);
391
2.84M
    dst += stride;
392
2.84M
  }
393
293k
}
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.08M
                                          const uint16_t *left, int bd) {
398
1.08M
  int r, c;
399
1.08M
  const uint16_t ytop_left = above[-1];
400
1.08M
  (void)bd;
401
402
19.0M
  for (r = 0; r < bh; r++) {
403
289M
    for (c = 0; c < bw; c++)
404
271M
      dst[c] = paeth_predictor_single(left[r], above[c], ytop_left);
405
17.9M
    dst += stride;
406
17.9M
  }
407
1.08M
}
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
586k
                                           const uint16_t *left, int bd) {
413
586k
  (void)bd;
414
586k
  const uint16_t below_pred = left[bh - 1];   // estimated by bottom-left pixel
415
586k
  const uint16_t right_pred = above[bw - 1];  // estimated by top-right pixel
416
586k
  const uint8_t *const sm_weights_w = smooth_weights + bw - 4;
417
586k
  const uint8_t *const sm_weights_h = smooth_weights + bh - 4;
418
  // scale = 2 * 2^SMOOTH_WEIGHT_LOG2_SCALE
419
586k
  const int log2_scale = 1 + SMOOTH_WEIGHT_LOG2_SCALE;
420
586k
  const uint16_t scale = (1 << SMOOTH_WEIGHT_LOG2_SCALE);
421
586k
  sm_weights_sanity_checks(sm_weights_w, sm_weights_h, scale,
422
586k
                           log2_scale + sizeof(*dst));
423
586k
  int r;
424
7.07M
  for (r = 0; r < bh; ++r) {
425
6.48M
    int c;
426
122M
    for (c = 0; c < bw; ++c) {
427
116M
      const uint16_t pixels[] = { above[c], below_pred, left[r], right_pred };
428
116M
      const uint8_t weights[] = { sm_weights_h[r], scale - sm_weights_h[r],
429
116M
                                  sm_weights_w[c], scale - sm_weights_w[c] };
430
116M
      uint32_t this_pred = 0;
431
116M
      int i;
432
116M
      assert(scale >= sm_weights_h[r] && scale >= sm_weights_w[c]);
433
580M
      for (i = 0; i < 4; ++i) {
434
464M
        this_pred += weights[i] * pixels[i];
435
464M
      }
436
116M
      dst[c] = divide_round(this_pred, log2_scale);
437
116M
    }
438
6.48M
    dst += stride;
439
6.48M
  }
440
586k
}
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
264k
                                             const uint16_t *left, int bd) {
446
264k
  (void)bd;
447
264k
  const uint16_t below_pred = left[bh - 1];  // estimated by bottom-left pixel
448
264k
  const uint8_t *const sm_weights = smooth_weights + bh - 4;
449
  // scale = 2^SMOOTH_WEIGHT_LOG2_SCALE
450
264k
  const int log2_scale = SMOOTH_WEIGHT_LOG2_SCALE;
451
264k
  const uint16_t scale = (1 << SMOOTH_WEIGHT_LOG2_SCALE);
452
264k
  sm_weights_sanity_checks(sm_weights, sm_weights, scale,
453
264k
                           log2_scale + sizeof(*dst));
454
455
264k
  int r;
456
3.17M
  for (r = 0; r < bh; r++) {
457
2.91M
    int c;
458
51.6M
    for (c = 0; c < bw; ++c) {
459
48.7M
      const uint16_t pixels[] = { above[c], below_pred };
460
48.7M
      const uint8_t weights[] = { sm_weights[r], scale - sm_weights[r] };
461
48.7M
      uint32_t this_pred = 0;
462
48.7M
      assert(scale >= sm_weights[r]);
463
48.7M
      int i;
464
146M
      for (i = 0; i < 2; ++i) {
465
97.4M
        this_pred += weights[i] * pixels[i];
466
97.4M
      }
467
48.7M
      dst[c] = divide_round(this_pred, log2_scale);
468
48.7M
    }
469
2.91M
    dst += stride;
470
2.91M
  }
471
264k
}
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
310k
                                             const uint16_t *left, int bd) {
477
310k
  (void)bd;
478
310k
  const uint16_t right_pred = above[bw - 1];  // estimated by top-right pixel
479
310k
  const uint8_t *const sm_weights = smooth_weights + bw - 4;
480
  // scale = 2^SMOOTH_WEIGHT_LOG2_SCALE
481
310k
  const int log2_scale = SMOOTH_WEIGHT_LOG2_SCALE;
482
310k
  const uint16_t scale = (1 << SMOOTH_WEIGHT_LOG2_SCALE);
483
310k
  sm_weights_sanity_checks(sm_weights, sm_weights, scale,
484
310k
                           log2_scale + sizeof(*dst));
485
486
310k
  int r;
487
3.75M
  for (r = 0; r < bh; r++) {
488
3.44M
    int c;
489
58.9M
    for (c = 0; c < bw; ++c) {
490
55.4M
      const uint16_t pixels[] = { left[r], right_pred };
491
55.4M
      const uint8_t weights[] = { sm_weights[c], scale - sm_weights[c] };
492
55.4M
      uint32_t this_pred = 0;
493
55.4M
      assert(scale >= sm_weights[c]);
494
55.4M
      int i;
495
166M
      for (i = 0; i < 2; ++i) {
496
110M
        this_pred += weights[i] * pixels[i];
497
110M
      }
498
55.4M
      dst[c] = divide_round(this_pred, log2_scale);
499
55.4M
    }
500
3.44M
    dst += stride;
501
3.44M
  }
502
310k
}
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
34.5k
                                           const uint16_t *left, int bd) {
508
34.5k
  int r;
509
34.5k
  (void)above;
510
34.5k
  (void)left;
511
512
972k
  for (r = 0; r < bh; r++) {
513
938k
    aom_memset16(dst, 128 << (bd - 8), bw);
514
938k
    dst += stride;
515
938k
  }
516
34.5k
}
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
126k
                                            const uint16_t *left, int bd) {
522
126k
  int i, r, expected_dc, sum = 0;
523
126k
  (void)above;
524
126k
  (void)bd;
525
526
3.04M
  for (i = 0; i < bh; i++) sum += left[i];
527
126k
  expected_dc = (sum + (bh >> 1)) / bh;
528
529
3.04M
  for (r = 0; r < bh; r++) {
530
2.91M
    aom_memset16(dst, expected_dc, bw);
531
2.91M
    dst += stride;
532
2.91M
  }
533
126k
}
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
352k
                                           const uint16_t *left, int bd) {
539
352k
  int i, r, expected_dc, sum = 0;
540
352k
  (void)left;
541
352k
  (void)bd;
542
543
5.40M
  for (i = 0; i < bw; i++) sum += above[i];
544
352k
  expected_dc = (sum + (bw >> 1)) / bw;
545
546
6.17M
  for (r = 0; r < bh; r++) {
547
5.82M
    aom_memset16(dst, expected_dc, bw);
548
5.82M
    dst += stride;
549
5.82M
  }
550
352k
}
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.55M
                                       const uint16_t *left, int bd) {
555
2.55M
  int i, r, expected_dc, sum = 0;
556
2.55M
  const int count = bw + bh;
557
2.55M
  (void)bd;
558
559
22.1M
  for (i = 0; i < bw; i++) {
560
19.5M
    sum += above[i];
561
19.5M
  }
562
22.1M
  for (i = 0; i < bh; i++) {
563
19.5M
    sum += left[i];
564
19.5M
  }
565
566
2.55M
  expected_dc = (sum + (count >> 1)) / count;
567
568
22.1M
  for (r = 0; r < bh; r++) {
569
19.5M
    aom_memset16(dst, expected_dc, bw);
570
19.5M
    dst += stride;
571
19.5M
  }
572
2.55M
}
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
894k
#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
459k
#define HIGHBD_DC_MULTIPLIER_1X4 0x6667
585
586
1.35M
#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.35M
                                            int shift1, uint32_t multiplier) {
593
1.35M
  int sum = 0;
594
1.35M
  (void)bd;
595
596
17.0M
  for (int i = 0; i < bw; i++) {
597
15.7M
    sum += above[i];
598
15.7M
  }
599
16.2M
  for (int i = 0; i < bh; i++) {
600
14.9M
    sum += left[i];
601
14.9M
  }
602
603
1.35M
  const int expected_dc = divide_using_multiply_shift(
604
1.35M
      sum + ((bw + bh) >> 1), shift1, multiplier, HIGHBD_DC_SHIFT2);
605
1.35M
  assert(expected_dc < (1 << bd));
606
607
16.2M
  for (int r = 0; r < bh; r++) {
608
14.9M
    aom_memset16(dst, expected_dc, bw);
609
14.9M
    dst += stride;
610
14.9M
  }
611
1.35M
}
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
212k
                                   int bd) {
618
212k
  highbd_dc_predictor_rect(dst, stride, 4, 8, above, left, bd, 2,
619
212k
                           HIGHBD_DC_MULTIPLIER_1X2);
620
212k
}
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
248k
                                   int bd) {
625
248k
  highbd_dc_predictor_rect(dst, stride, 8, 4, above, left, bd, 2,
626
248k
                           HIGHBD_DC_MULTIPLIER_1X2);
627
248k
}
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
163k
                                    int bd) {
640
163k
  highbd_dc_predictor_rect(dst, stride, 16, 4, above, left, bd, 2,
641
163k
                           HIGHBD_DC_MULTIPLIER_1X4);
642
163k
}
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
140k
                                    int bd) {
648
140k
  highbd_dc_predictor_rect(dst, stride, 8, 16, above, left, bd, 3,
649
140k
                           HIGHBD_DC_MULTIPLIER_1X2);
650
140k
}
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
194k
                                    int bd) {
655
194k
  highbd_dc_predictor_rect(dst, stride, 16, 8, above, left, bd, 3,
656
194k
                           HIGHBD_DC_MULTIPLIER_1X2);
657
194k
}
658
659
#if !CONFIG_REALTIME_ONLY || CONFIG_AV1_DECODER
660
void aom_highbd_dc_predictor_8x32_c(uint16_t *dst, ptrdiff_t stride,
661
                                    const uint16_t *above, const uint16_t *left,
662
57.5k
                                    int bd) {
663
57.5k
  highbd_dc_predictor_rect(dst, stride, 8, 32, above, left, bd, 3,
664
57.5k
                           HIGHBD_DC_MULTIPLIER_1X4);
665
57.5k
}
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
70.5k
                                    int bd) {
670
70.5k
  highbd_dc_predictor_rect(dst, stride, 32, 8, above, left, bd, 3,
671
70.5k
                           HIGHBD_DC_MULTIPLIER_1X4);
672
70.5k
}
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.8k
                                     const uint16_t *left, int bd) {
678
51.8k
  highbd_dc_predictor_rect(dst, stride, 16, 32, above, left, bd, 4,
679
51.8k
                           HIGHBD_DC_MULTIPLIER_1X2);
680
51.8k
}
681
682
void aom_highbd_dc_predictor_32x16_c(uint16_t *dst, ptrdiff_t stride,
683
                                     const uint16_t *above,
684
44.4k
                                     const uint16_t *left, int bd) {
685
44.4k
  highbd_dc_predictor_rect(dst, stride, 32, 16, above, left, bd, 4,
686
44.4k
                           HIGHBD_DC_MULTIPLIER_1X2);
687
44.4k
}
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
4.23k
                                     const uint16_t *left, int bd) {
693
4.23k
  highbd_dc_predictor_rect(dst, stride, 16, 64, above, left, bd, 4,
694
4.23k
                           HIGHBD_DC_MULTIPLIER_1X4);
695
4.23k
}
696
697
void aom_highbd_dc_predictor_64x16_c(uint16_t *dst, ptrdiff_t stride,
698
                                     const uint16_t *above,
699
3.40k
                                     const uint16_t *left, int bd) {
700
3.40k
  highbd_dc_predictor_rect(dst, stride, 64, 16, above, left, bd, 4,
701
3.40k
                           HIGHBD_DC_MULTIPLIER_1X4);
702
3.40k
}
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.37k
                                     const uint16_t *left, int bd) {
708
1.37k
  highbd_dc_predictor_rect(dst, stride, 32, 64, above, left, bd, 5,
709
1.37k
                           HIGHBD_DC_MULTIPLIER_1X2);
710
1.37k
}
711
712
void aom_highbd_dc_predictor_64x32_c(uint16_t *dst, ptrdiff_t stride,
713
                                     const uint16_t *above,
714
1.62k
                                     const uint16_t *left, int bd) {
715
1.62k
  highbd_dc_predictor_rect(dst, stride, 64, 32, above, left, bd, 5,
716
1.62k
                           HIGHBD_DC_MULTIPLIER_1X2);
717
1.62k
}
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.9M
      const uint8_t *left) {                                   \
730
10.9M
    type##_predictor(dst, stride, width, height, above, left); \
731
10.9M
  }
aom_v_predictor_4x4_c
Line
Count
Source
729
286k
      const uint8_t *left) {                                   \
730
286k
    type##_predictor(dst, stride, width, height, above, left); \
731
286k
  }
aom_v_predictor_8x8_c
Line
Count
Source
729
25.3k
      const uint8_t *left) {                                   \
730
25.3k
    type##_predictor(dst, stride, width, height, above, left); \
731
25.3k
  }
aom_v_predictor_16x16_c
Line
Count
Source
729
15.3k
      const uint8_t *left) {                                   \
730
15.3k
    type##_predictor(dst, stride, width, height, above, left); \
731
15.3k
  }
aom_v_predictor_32x32_c
Line
Count
Source
729
7.36k
      const uint8_t *left) {                                   \
730
7.36k
    type##_predictor(dst, stride, width, height, above, left); \
731
7.36k
  }
aom_v_predictor_64x64_c
Line
Count
Source
729
743
      const uint8_t *left) {                                   \
730
743
    type##_predictor(dst, stride, width, height, above, left); \
731
743
  }
aom_v_predictor_4x8_c
Line
Count
Source
729
13.3k
      const uint8_t *left) {                                   \
730
13.3k
    type##_predictor(dst, stride, width, height, above, left); \
731
13.3k
  }
aom_v_predictor_8x4_c
Line
Count
Source
729
21.4k
      const uint8_t *left) {                                   \
730
21.4k
    type##_predictor(dst, stride, width, height, above, left); \
731
21.4k
  }
aom_v_predictor_8x16_c
Line
Count
Source
729
7.68k
      const uint8_t *left) {                                   \
730
7.68k
    type##_predictor(dst, stride, width, height, above, left); \
731
7.68k
  }
aom_v_predictor_16x8_c
Line
Count
Source
729
11.9k
      const uint8_t *left) {                                   \
730
11.9k
    type##_predictor(dst, stride, width, height, above, left); \
731
11.9k
  }
aom_v_predictor_16x32_c
Line
Count
Source
729
3.20k
      const uint8_t *left) {                                   \
730
3.20k
    type##_predictor(dst, stride, width, height, above, left); \
731
3.20k
  }
aom_v_predictor_32x16_c
Line
Count
Source
729
2.63k
      const uint8_t *left) {                                   \
730
2.63k
    type##_predictor(dst, stride, width, height, above, left); \
731
2.63k
  }
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
154
      const uint8_t *left) {                                   \
730
154
    type##_predictor(dst, stride, width, height, above, left); \
731
154
  }
aom_v_predictor_4x16_c
Line
Count
Source
729
5.27k
      const uint8_t *left) {                                   \
730
5.27k
    type##_predictor(dst, stride, width, height, above, left); \
731
5.27k
  }
aom_v_predictor_16x4_c
Line
Count
Source
729
11.4k
      const uint8_t *left) {                                   \
730
11.4k
    type##_predictor(dst, stride, width, height, above, left); \
731
11.4k
  }
aom_v_predictor_8x32_c
Line
Count
Source
729
2.49k
      const uint8_t *left) {                                   \
730
2.49k
    type##_predictor(dst, stride, width, height, above, left); \
731
2.49k
  }
aom_v_predictor_32x8_c
Line
Count
Source
729
3.71k
      const uint8_t *left) {                                   \
730
3.71k
    type##_predictor(dst, stride, width, height, above, left); \
731
3.71k
  }
aom_v_predictor_16x64_c
Line
Count
Source
729
346
      const uint8_t *left) {                                   \
730
346
    type##_predictor(dst, stride, width, height, above, left); \
731
346
  }
aom_v_predictor_64x16_c
Line
Count
Source
729
434
      const uint8_t *left) {                                   \
730
434
    type##_predictor(dst, stride, width, height, above, left); \
731
434
  }
aom_h_predictor_4x4_c
Line
Count
Source
729
208k
      const uint8_t *left) {                                   \
730
208k
    type##_predictor(dst, stride, width, height, above, left); \
731
208k
  }
aom_h_predictor_8x8_c
Line
Count
Source
729
39.6k
      const uint8_t *left) {                                   \
730
39.6k
    type##_predictor(dst, stride, width, height, above, left); \
731
39.6k
  }
aom_h_predictor_16x16_c
Line
Count
Source
729
29.8k
      const uint8_t *left) {                                   \
730
29.8k
    type##_predictor(dst, stride, width, height, above, left); \
731
29.8k
  }
aom_h_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_h_predictor_64x64_c
Line
Count
Source
729
1.42k
      const uint8_t *left) {                                   \
730
1.42k
    type##_predictor(dst, stride, width, height, above, left); \
731
1.42k
  }
aom_h_predictor_4x8_c
Line
Count
Source
729
22.4k
      const uint8_t *left) {                                   \
730
22.4k
    type##_predictor(dst, stride, width, height, above, left); \
731
22.4k
  }
aom_h_predictor_8x4_c
Line
Count
Source
729
33.3k
      const uint8_t *left) {                                   \
730
33.3k
    type##_predictor(dst, stride, width, height, above, left); \
731
33.3k
  }
aom_h_predictor_8x16_c
Line
Count
Source
729
10.7k
      const uint8_t *left) {                                   \
730
10.7k
    type##_predictor(dst, stride, width, height, above, left); \
731
10.7k
  }
aom_h_predictor_16x8_c
Line
Count
Source
729
15.7k
      const uint8_t *left) {                                   \
730
15.7k
    type##_predictor(dst, stride, width, height, above, left); \
731
15.7k
  }
aom_h_predictor_16x32_c
Line
Count
Source
729
3.70k
      const uint8_t *left) {                                   \
730
3.70k
    type##_predictor(dst, stride, width, height, above, left); \
731
3.70k
  }
aom_h_predictor_32x16_c
Line
Count
Source
729
4.42k
      const uint8_t *left) {                                   \
730
4.42k
    type##_predictor(dst, stride, width, height, above, left); \
731
4.42k
  }
aom_h_predictor_32x64_c
Line
Count
Source
729
197
      const uint8_t *left) {                                   \
730
197
    type##_predictor(dst, stride, width, height, above, left); \
731
197
  }
aom_h_predictor_64x32_c
Line
Count
Source
729
217
      const uint8_t *left) {                                   \
730
217
    type##_predictor(dst, stride, width, height, above, left); \
731
217
  }
aom_h_predictor_4x16_c
Line
Count
Source
729
7.85k
      const uint8_t *left) {                                   \
730
7.85k
    type##_predictor(dst, stride, width, height, above, left); \
731
7.85k
  }
aom_h_predictor_16x4_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_h_predictor_8x32_c
Line
Count
Source
729
3.62k
      const uint8_t *left) {                                   \
730
3.62k
    type##_predictor(dst, stride, width, height, above, left); \
731
3.62k
  }
aom_h_predictor_32x8_c
Line
Count
Source
729
5.02k
      const uint8_t *left) {                                   \
730
5.02k
    type##_predictor(dst, stride, width, height, above, left); \
731
5.02k
  }
aom_h_predictor_16x64_c
Line
Count
Source
729
586
      const uint8_t *left) {                                   \
730
586
    type##_predictor(dst, stride, width, height, above, left); \
731
586
  }
aom_h_predictor_64x16_c
Line
Count
Source
729
517
      const uint8_t *left) {                                   \
730
517
    type##_predictor(dst, stride, width, height, above, left); \
731
517
  }
aom_smooth_predictor_4x4_c
Line
Count
Source
729
176k
      const uint8_t *left) {                                   \
730
176k
    type##_predictor(dst, stride, width, height, above, left); \
731
176k
  }
aom_smooth_predictor_8x8_c
Line
Count
Source
729
115k
      const uint8_t *left) {                                   \
730
115k
    type##_predictor(dst, stride, width, height, above, left); \
731
115k
  }
aom_smooth_predictor_16x16_c
Line
Count
Source
729
75.1k
      const uint8_t *left) {                                   \
730
75.1k
    type##_predictor(dst, stride, width, height, above, left); \
731
75.1k
  }
aom_smooth_predictor_32x32_c
Line
Count
Source
729
28.1k
      const uint8_t *left) {                                   \
730
28.1k
    type##_predictor(dst, stride, width, height, above, left); \
731
28.1k
  }
aom_smooth_predictor_64x64_c
Line
Count
Source
729
4.14k
      const uint8_t *left) {                                   \
730
4.14k
    type##_predictor(dst, stride, width, height, above, left); \
731
4.14k
  }
aom_smooth_predictor_4x8_c
Line
Count
Source
729
37.7k
      const uint8_t *left) {                                   \
730
37.7k
    type##_predictor(dst, stride, width, height, above, left); \
731
37.7k
  }
aom_smooth_predictor_8x4_c
Line
Count
Source
729
58.1k
      const uint8_t *left) {                                   \
730
58.1k
    type##_predictor(dst, stride, width, height, above, left); \
731
58.1k
  }
aom_smooth_predictor_8x16_c
Line
Count
Source
729
34.1k
      const uint8_t *left) {                                   \
730
34.1k
    type##_predictor(dst, stride, width, height, above, left); \
731
34.1k
  }
aom_smooth_predictor_16x8_c
Line
Count
Source
729
56.6k
      const uint8_t *left) {                                   \
730
56.6k
    type##_predictor(dst, stride, width, height, above, left); \
731
56.6k
  }
aom_smooth_predictor_16x32_c
Line
Count
Source
729
10.9k
      const uint8_t *left) {                                   \
730
10.9k
    type##_predictor(dst, stride, width, height, above, left); \
731
10.9k
  }
aom_smooth_predictor_32x16_c
Line
Count
Source
729
12.3k
      const uint8_t *left) {                                   \
730
12.3k
    type##_predictor(dst, stride, width, height, above, left); \
731
12.3k
  }
aom_smooth_predictor_32x64_c
Line
Count
Source
729
912
      const uint8_t *left) {                                   \
730
912
    type##_predictor(dst, stride, width, height, above, left); \
731
912
  }
aom_smooth_predictor_64x32_c
Line
Count
Source
729
732
      const uint8_t *left) {                                   \
730
732
    type##_predictor(dst, stride, width, height, above, left); \
731
732
  }
aom_smooth_predictor_4x16_c
Line
Count
Source
729
27.1k
      const uint8_t *left) {                                   \
730
27.1k
    type##_predictor(dst, stride, width, height, above, left); \
731
27.1k
  }
aom_smooth_predictor_16x4_c
Line
Count
Source
729
51.7k
      const uint8_t *left) {                                   \
730
51.7k
    type##_predictor(dst, stride, width, height, above, left); \
731
51.7k
  }
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
14.3k
      const uint8_t *left) {                                   \
730
14.3k
    type##_predictor(dst, stride, width, height, above, left); \
731
14.3k
  }
aom_smooth_predictor_16x64_c
Line
Count
Source
729
1.35k
      const uint8_t *left) {                                   \
730
1.35k
    type##_predictor(dst, stride, width, height, above, left); \
731
1.35k
  }
aom_smooth_predictor_64x16_c
Line
Count
Source
729
1.38k
      const uint8_t *left) {                                   \
730
1.38k
    type##_predictor(dst, stride, width, height, above, left); \
731
1.38k
  }
aom_smooth_v_predictor_4x4_c
Line
Count
Source
729
33.9k
      const uint8_t *left) {                                   \
730
33.9k
    type##_predictor(dst, stride, width, height, above, left); \
731
33.9k
  }
aom_smooth_v_predictor_8x8_c
Line
Count
Source
729
47.8k
      const uint8_t *left) {                                   \
730
47.8k
    type##_predictor(dst, stride, width, height, above, left); \
731
47.8k
  }
aom_smooth_v_predictor_16x16_c
Line
Count
Source
729
24.5k
      const uint8_t *left) {                                   \
730
24.5k
    type##_predictor(dst, stride, width, height, above, left); \
731
24.5k
  }
aom_smooth_v_predictor_32x32_c
Line
Count
Source
729
12.3k
      const uint8_t *left) {                                   \
730
12.3k
    type##_predictor(dst, stride, width, height, above, left); \
731
12.3k
  }
aom_smooth_v_predictor_64x64_c
Line
Count
Source
729
2.05k
      const uint8_t *left) {                                   \
730
2.05k
    type##_predictor(dst, stride, width, height, above, left); \
731
2.05k
  }
aom_smooth_v_predictor_4x8_c
Line
Count
Source
729
13.2k
      const uint8_t *left) {                                   \
730
13.2k
    type##_predictor(dst, stride, width, height, above, left); \
731
13.2k
  }
aom_smooth_v_predictor_8x4_c
Line
Count
Source
729
23.0k
      const uint8_t *left) {                                   \
730
23.0k
    type##_predictor(dst, stride, width, height, above, left); \
731
23.0k
  }
aom_smooth_v_predictor_8x16_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_v_predictor_16x8_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_v_predictor_16x32_c
Line
Count
Source
729
4.31k
      const uint8_t *left) {                                   \
730
4.31k
    type##_predictor(dst, stride, width, height, above, left); \
731
4.31k
  }
aom_smooth_v_predictor_32x16_c
Line
Count
Source
729
5.76k
      const uint8_t *left) {                                   \
730
5.76k
    type##_predictor(dst, stride, width, height, above, left); \
731
5.76k
  }
aom_smooth_v_predictor_32x64_c
Line
Count
Source
729
266
      const uint8_t *left) {                                   \
730
266
    type##_predictor(dst, stride, width, height, above, left); \
731
266
  }
aom_smooth_v_predictor_64x32_c
Line
Count
Source
729
251
      const uint8_t *left) {                                   \
730
251
    type##_predictor(dst, stride, width, height, above, left); \
731
251
  }
aom_smooth_v_predictor_4x16_c
Line
Count
Source
729
12.3k
      const uint8_t *left) {                                   \
730
12.3k
    type##_predictor(dst, stride, width, height, above, left); \
731
12.3k
  }
aom_smooth_v_predictor_16x4_c
Line
Count
Source
729
18.7k
      const uint8_t *left) {                                   \
730
18.7k
    type##_predictor(dst, stride, width, height, above, left); \
731
18.7k
  }
aom_smooth_v_predictor_8x32_c
Line
Count
Source
729
4.60k
      const uint8_t *left) {                                   \
730
4.60k
    type##_predictor(dst, stride, width, height, above, left); \
731
4.60k
  }
aom_smooth_v_predictor_32x8_c
Line
Count
Source
729
7.90k
      const uint8_t *left) {                                   \
730
7.90k
    type##_predictor(dst, stride, width, height, above, left); \
731
7.90k
  }
aom_smooth_v_predictor_16x64_c
Line
Count
Source
729
539
      const uint8_t *left) {                                   \
730
539
    type##_predictor(dst, stride, width, height, above, left); \
731
539
  }
aom_smooth_v_predictor_64x16_c
Line
Count
Source
729
479
      const uint8_t *left) {                                   \
730
479
    type##_predictor(dst, stride, width, height, above, left); \
731
479
  }
aom_smooth_h_predictor_4x4_c
Line
Count
Source
729
49.5k
      const uint8_t *left) {                                   \
730
49.5k
    type##_predictor(dst, stride, width, height, above, left); \
731
49.5k
  }
aom_smooth_h_predictor_8x8_c
Line
Count
Source
729
59.1k
      const uint8_t *left) {                                   \
730
59.1k
    type##_predictor(dst, stride, width, height, above, left); \
731
59.1k
  }
aom_smooth_h_predictor_16x16_c
Line
Count
Source
729
45.2k
      const uint8_t *left) {                                   \
730
45.2k
    type##_predictor(dst, stride, width, height, above, left); \
731
45.2k
  }
aom_smooth_h_predictor_32x32_c
Line
Count
Source
729
13.4k
      const uint8_t *left) {                                   \
730
13.4k
    type##_predictor(dst, stride, width, height, above, left); \
731
13.4k
  }
aom_smooth_h_predictor_64x64_c
Line
Count
Source
729
1.78k
      const uint8_t *left) {                                   \
730
1.78k
    type##_predictor(dst, stride, width, height, above, left); \
731
1.78k
  }
aom_smooth_h_predictor_4x8_c
Line
Count
Source
729
18.2k
      const uint8_t *left) {                                   \
730
18.2k
    type##_predictor(dst, stride, width, height, above, left); \
731
18.2k
  }
aom_smooth_h_predictor_8x4_c
Line
Count
Source
729
27.7k
      const uint8_t *left) {                                   \
730
27.7k
    type##_predictor(dst, stride, width, height, above, left); \
731
27.7k
  }
aom_smooth_h_predictor_8x16_c
Line
Count
Source
729
19.2k
      const uint8_t *left) {                                   \
730
19.2k
    type##_predictor(dst, stride, width, height, above, left); \
731
19.2k
  }
aom_smooth_h_predictor_16x8_c
Line
Count
Source
729
29.3k
      const uint8_t *left) {                                   \
730
29.3k
    type##_predictor(dst, stride, width, height, above, left); \
731
29.3k
  }
aom_smooth_h_predictor_16x32_c
Line
Count
Source
729
6.00k
      const uint8_t *left) {                                   \
730
6.00k
    type##_predictor(dst, stride, width, height, above, left); \
731
6.00k
  }
aom_smooth_h_predictor_32x16_c
Line
Count
Source
729
6.63k
      const uint8_t *left) {                                   \
730
6.63k
    type##_predictor(dst, stride, width, height, above, left); \
731
6.63k
  }
aom_smooth_h_predictor_32x64_c
Line
Count
Source
729
293
      const uint8_t *left) {                                   \
730
293
    type##_predictor(dst, stride, width, height, above, left); \
731
293
  }
aom_smooth_h_predictor_64x32_c
Line
Count
Source
729
246
      const uint8_t *left) {                                   \
730
246
    type##_predictor(dst, stride, width, height, above, left); \
731
246
  }
aom_smooth_h_predictor_4x16_c
Line
Count
Source
729
15.9k
      const uint8_t *left) {                                   \
730
15.9k
    type##_predictor(dst, stride, width, height, above, left); \
731
15.9k
  }
aom_smooth_h_predictor_16x4_c
Line
Count
Source
729
26.9k
      const uint8_t *left) {                                   \
730
26.9k
    type##_predictor(dst, stride, width, height, above, left); \
731
26.9k
  }
aom_smooth_h_predictor_8x32_c
Line
Count
Source
729
6.51k
      const uint8_t *left) {                                   \
730
6.51k
    type##_predictor(dst, stride, width, height, above, left); \
731
6.51k
  }
aom_smooth_h_predictor_32x8_c
Line
Count
Source
729
7.30k
      const uint8_t *left) {                                   \
730
7.30k
    type##_predictor(dst, stride, width, height, above, left); \
731
7.30k
  }
aom_smooth_h_predictor_16x64_c
Line
Count
Source
729
485
      const uint8_t *left) {                                   \
730
485
    type##_predictor(dst, stride, width, height, above, left); \
731
485
  }
aom_smooth_h_predictor_64x16_c
Line
Count
Source
729
355
      const uint8_t *left) {                                   \
730
355
    type##_predictor(dst, stride, width, height, above, left); \
731
355
  }
aom_paeth_predictor_4x4_c
Line
Count
Source
729
3.46M
      const uint8_t *left) {                                   \
730
3.46M
    type##_predictor(dst, stride, width, height, above, left); \
731
3.46M
  }
aom_paeth_predictor_8x8_c
Line
Count
Source
729
157k
      const uint8_t *left) {                                   \
730
157k
    type##_predictor(dst, stride, width, height, above, left); \
731
157k
  }
aom_paeth_predictor_16x16_c
Line
Count
Source
729
102k
      const uint8_t *left) {                                   \
730
102k
    type##_predictor(dst, stride, width, height, above, left); \
731
102k
  }
aom_paeth_predictor_32x32_c
Line
Count
Source
729
51.0k
      const uint8_t *left) {                                   \
730
51.0k
    type##_predictor(dst, stride, width, height, above, left); \
731
51.0k
  }
aom_paeth_predictor_64x64_c
Line
Count
Source
729
5.57k
      const uint8_t *left) {                                   \
730
5.57k
    type##_predictor(dst, stride, width, height, above, left); \
731
5.57k
  }
aom_paeth_predictor_4x8_c
Line
Count
Source
729
52.5k
      const uint8_t *left) {                                   \
730
52.5k
    type##_predictor(dst, stride, width, height, above, left); \
731
52.5k
  }
aom_paeth_predictor_8x4_c
Line
Count
Source
729
79.1k
      const uint8_t *left) {                                   \
730
79.1k
    type##_predictor(dst, stride, width, height, above, left); \
731
79.1k
  }
aom_paeth_predictor_8x16_c
Line
Count
Source
729
47.5k
      const uint8_t *left) {                                   \
730
47.5k
    type##_predictor(dst, stride, width, height, above, left); \
731
47.5k
  }
aom_paeth_predictor_16x8_c
Line
Count
Source
729
72.8k
      const uint8_t *left) {                                   \
730
72.8k
    type##_predictor(dst, stride, width, height, above, left); \
731
72.8k
  }
aom_paeth_predictor_16x32_c
Line
Count
Source
729
68.3k
      const uint8_t *left) {                                   \
730
68.3k
    type##_predictor(dst, stride, width, height, above, left); \
731
68.3k
  }
aom_paeth_predictor_32x16_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_paeth_predictor_32x64_c
Line
Count
Source
729
5.38k
      const uint8_t *left) {                                   \
730
5.38k
    type##_predictor(dst, stride, width, height, above, left); \
731
5.38k
  }
aom_paeth_predictor_64x32_c
Line
Count
Source
729
927
      const uint8_t *left) {                                   \
730
927
    type##_predictor(dst, stride, width, height, above, left); \
731
927
  }
aom_paeth_predictor_4x16_c
Line
Count
Source
729
64.9k
      const uint8_t *left) {                                   \
730
64.9k
    type##_predictor(dst, stride, width, height, above, left); \
731
64.9k
  }
aom_paeth_predictor_16x4_c
Line
Count
Source
729
67.8k
      const uint8_t *left) {                                   \
730
67.8k
    type##_predictor(dst, stride, width, height, above, left); \
731
67.8k
  }
aom_paeth_predictor_8x32_c
Line
Count
Source
729
125k
      const uint8_t *left) {                                   \
730
125k
    type##_predictor(dst, stride, width, height, above, left); \
731
125k
  }
aom_paeth_predictor_32x8_c
Line
Count
Source
729
16.6k
      const uint8_t *left) {                                   \
730
16.6k
    type##_predictor(dst, stride, width, height, above, left); \
731
16.6k
  }
aom_paeth_predictor_16x64_c
Line
Count
Source
729
59.3k
      const uint8_t *left) {                                   \
730
59.3k
    type##_predictor(dst, stride, width, height, above, left); \
731
59.3k
  }
aom_paeth_predictor_64x16_c
Line
Count
Source
729
1.24k
      const uint8_t *left) {                                   \
730
1.24k
    type##_predictor(dst, stride, width, height, above, left); \
731
1.24k
  }
aom_dc_128_predictor_4x4_c
Line
Count
Source
729
4.35k
      const uint8_t *left) {                                   \
730
4.35k
    type##_predictor(dst, stride, width, height, above, left); \
731
4.35k
  }
aom_dc_128_predictor_8x8_c
Line
Count
Source
729
2.50k
      const uint8_t *left) {                                   \
730
2.50k
    type##_predictor(dst, stride, width, height, above, left); \
731
2.50k
  }
aom_dc_128_predictor_16x16_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_128_predictor_32x32_c
Line
Count
Source
729
4.21k
      const uint8_t *left) {                                   \
730
4.21k
    type##_predictor(dst, stride, width, height, above, left); \
731
4.21k
  }
aom_dc_128_predictor_64x64_c
Line
Count
Source
729
1.65k
      const uint8_t *left) {                                   \
730
1.65k
    type##_predictor(dst, stride, width, height, above, left); \
731
1.65k
  }
aom_dc_128_predictor_4x8_c
Line
Count
Source
729
321
      const uint8_t *left) {                                   \
730
321
    type##_predictor(dst, stride, width, height, above, left); \
731
321
  }
aom_dc_128_predictor_8x4_c
Line
Count
Source
729
37
      const uint8_t *left) {                                   \
730
37
    type##_predictor(dst, stride, width, height, above, left); \
731
37
  }
aom_dc_128_predictor_8x16_c
Line
Count
Source
729
103
      const uint8_t *left) {                                   \
730
103
    type##_predictor(dst, stride, width, height, above, left); \
731
103
  }
aom_dc_128_predictor_16x8_c
Line
Count
Source
729
1.27k
      const uint8_t *left) {                                   \
730
1.27k
    type##_predictor(dst, stride, width, height, above, left); \
731
1.27k
  }
aom_dc_128_predictor_16x32_c
Line
Count
Source
729
1.92k
      const uint8_t *left) {                                   \
730
1.92k
    type##_predictor(dst, stride, width, height, above, left); \
731
1.92k
  }
aom_dc_128_predictor_32x16_c
Line
Count
Source
729
1.35k
      const uint8_t *left) {                                   \
730
1.35k
    type##_predictor(dst, stride, width, height, above, left); \
731
1.35k
  }
aom_dc_128_predictor_32x64_c
Line
Count
Source
729
355
      const uint8_t *left) {                                   \
730
355
    type##_predictor(dst, stride, width, height, above, left); \
731
355
  }
aom_dc_128_predictor_64x32_c
Line
Count
Source
729
22
      const uint8_t *left) {                                   \
730
22
    type##_predictor(dst, stride, width, height, above, left); \
731
22
  }
aom_dc_128_predictor_4x16_c
Line
Count
Source
729
481
      const uint8_t *left) {                                   \
730
481
    type##_predictor(dst, stride, width, height, above, left); \
731
481
  }
aom_dc_128_predictor_16x4_c
Line
Count
Source
729
20
      const uint8_t *left) {                                   \
730
20
    type##_predictor(dst, stride, width, height, above, left); \
731
20
  }
aom_dc_128_predictor_8x32_c
Line
Count
Source
729
149
      const uint8_t *left) {                                   \
730
149
    type##_predictor(dst, stride, width, height, above, left); \
731
149
  }
aom_dc_128_predictor_32x8_c
Line
Count
Source
729
720
      const uint8_t *left) {                                   \
730
720
    type##_predictor(dst, stride, width, height, above, left); \
731
720
  }
aom_dc_128_predictor_16x64_c
Line
Count
Source
729
33
      const uint8_t *left) {                                   \
730
33
    type##_predictor(dst, stride, width, height, above, left); \
731
33
  }
aom_dc_128_predictor_64x16_c
Line
Count
Source
729
22
      const uint8_t *left) {                                   \
730
22
    type##_predictor(dst, stride, width, height, above, left); \
731
22
  }
aom_dc_left_predictor_4x4_c
Line
Count
Source
729
98.4k
      const uint8_t *left) {                                   \
730
98.4k
    type##_predictor(dst, stride, width, height, above, left); \
731
98.4k
  }
aom_dc_left_predictor_8x8_c
Line
Count
Source
729
6.61k
      const uint8_t *left) {                                   \
730
6.61k
    type##_predictor(dst, stride, width, height, above, left); \
731
6.61k
  }
aom_dc_left_predictor_16x16_c
Line
Count
Source
729
10.7k
      const uint8_t *left) {                                   \
730
10.7k
    type##_predictor(dst, stride, width, height, above, left); \
731
10.7k
  }
aom_dc_left_predictor_32x32_c
Line
Count
Source
729
28.8k
      const uint8_t *left) {                                   \
730
28.8k
    type##_predictor(dst, stride, width, height, above, left); \
731
28.8k
  }
aom_dc_left_predictor_64x64_c
Line
Count
Source
729
7.53k
      const uint8_t *left) {                                   \
730
7.53k
    type##_predictor(dst, stride, width, height, above, left); \
731
7.53k
  }
aom_dc_left_predictor_4x8_c
Line
Count
Source
729
2.90k
      const uint8_t *left) {                                   \
730
2.90k
    type##_predictor(dst, stride, width, height, above, left); \
731
2.90k
  }
aom_dc_left_predictor_8x4_c
Line
Count
Source
729
2.28k
      const uint8_t *left) {                                   \
730
2.28k
    type##_predictor(dst, stride, width, height, above, left); \
731
2.28k
  }
aom_dc_left_predictor_8x16_c
Line
Count
Source
729
2.43k
      const uint8_t *left) {                                   \
730
2.43k
    type##_predictor(dst, stride, width, height, above, left); \
731
2.43k
  }
aom_dc_left_predictor_16x8_c
Line
Count
Source
729
3.28k
      const uint8_t *left) {                                   \
730
3.28k
    type##_predictor(dst, stride, width, height, above, left); \
731
3.28k
  }
aom_dc_left_predictor_16x32_c
Line
Count
Source
729
3.47k
      const uint8_t *left) {                                   \
730
3.47k
    type##_predictor(dst, stride, width, height, above, left); \
731
3.47k
  }
aom_dc_left_predictor_32x16_c
Line
Count
Source
729
3.10k
      const uint8_t *left) {                                   \
730
3.10k
    type##_predictor(dst, stride, width, height, above, left); \
731
3.10k
  }
aom_dc_left_predictor_32x64_c
Line
Count
Source
729
565
      const uint8_t *left) {                                   \
730
565
    type##_predictor(dst, stride, width, height, above, left); \
731
565
  }
aom_dc_left_predictor_64x32_c
Line
Count
Source
729
684
      const uint8_t *left) {                                   \
730
684
    type##_predictor(dst, stride, width, height, above, left); \
731
684
  }
aom_dc_left_predictor_4x16_c
Line
Count
Source
729
6.57k
      const uint8_t *left) {                                   \
730
6.57k
    type##_predictor(dst, stride, width, height, above, left); \
731
6.57k
  }
aom_dc_left_predictor_16x4_c
Line
Count
Source
729
1.28k
      const uint8_t *left) {                                   \
730
1.28k
    type##_predictor(dst, stride, width, height, above, left); \
731
1.28k
  }
aom_dc_left_predictor_8x32_c
Line
Count
Source
729
3.73k
      const uint8_t *left) {                                   \
730
3.73k
    type##_predictor(dst, stride, width, height, above, left); \
731
3.73k
  }
aom_dc_left_predictor_32x8_c
Line
Count
Source
729
1.02k
      const uint8_t *left) {                                   \
730
1.02k
    type##_predictor(dst, stride, width, height, above, left); \
731
1.02k
  }
aom_dc_left_predictor_16x64_c
Line
Count
Source
729
1.20k
      const uint8_t *left) {                                   \
730
1.20k
    type##_predictor(dst, stride, width, height, above, left); \
731
1.20k
  }
aom_dc_left_predictor_64x16_c
Line
Count
Source
729
241
      const uint8_t *left) {                                   \
730
241
    type##_predictor(dst, stride, width, height, above, left); \
731
241
  }
aom_dc_top_predictor_4x4_c
Line
Count
Source
729
148k
      const uint8_t *left) {                                   \
730
148k
    type##_predictor(dst, stride, width, height, above, left); \
731
148k
  }
aom_dc_top_predictor_8x8_c
Line
Count
Source
729
19.4k
      const uint8_t *left) {                                   \
730
19.4k
    type##_predictor(dst, stride, width, height, above, left); \
731
19.4k
  }
aom_dc_top_predictor_16x16_c
Line
Count
Source
729
18.9k
      const uint8_t *left) {                                   \
730
18.9k
    type##_predictor(dst, stride, width, height, above, left); \
731
18.9k
  }
aom_dc_top_predictor_32x32_c
Line
Count
Source
729
40.8k
      const uint8_t *left) {                                   \
730
40.8k
    type##_predictor(dst, stride, width, height, above, left); \
731
40.8k
  }
aom_dc_top_predictor_64x64_c
Line
Count
Source
729
6.44k
      const uint8_t *left) {                                   \
730
6.44k
    type##_predictor(dst, stride, width, height, above, left); \
731
6.44k
  }
aom_dc_top_predictor_4x8_c
Line
Count
Source
729
18.0k
      const uint8_t *left) {                                   \
730
18.0k
    type##_predictor(dst, stride, width, height, above, left); \
731
18.0k
  }
aom_dc_top_predictor_8x4_c
Line
Count
Source
729
10.0k
      const uint8_t *left) {                                   \
730
10.0k
    type##_predictor(dst, stride, width, height, above, left); \
731
10.0k
  }
aom_dc_top_predictor_8x16_c
Line
Count
Source
729
16.9k
      const uint8_t *left) {                                   \
730
16.9k
    type##_predictor(dst, stride, width, height, above, left); \
731
16.9k
  }
aom_dc_top_predictor_16x8_c
Line
Count
Source
729
7.26k
      const uint8_t *left) {                                   \
730
7.26k
    type##_predictor(dst, stride, width, height, above, left); \
731
7.26k
  }
aom_dc_top_predictor_16x32_c
Line
Count
Source
729
31.3k
      const uint8_t *left) {                                   \
730
31.3k
    type##_predictor(dst, stride, width, height, above, left); \
731
31.3k
  }
aom_dc_top_predictor_32x16_c
Line
Count
Source
729
5.23k
      const uint8_t *left) {                                   \
730
5.23k
    type##_predictor(dst, stride, width, height, above, left); \
731
5.23k
  }
aom_dc_top_predictor_32x64_c
Line
Count
Source
729
9.69k
      const uint8_t *left) {                                   \
730
9.69k
    type##_predictor(dst, stride, width, height, above, left); \
731
9.69k
  }
aom_dc_top_predictor_64x32_c
Line
Count
Source
729
947
      const uint8_t *left) {                                   \
730
947
    type##_predictor(dst, stride, width, height, above, left); \
731
947
  }
aom_dc_top_predictor_4x16_c
Line
Count
Source
729
24.3k
      const uint8_t *left) {                                   \
730
24.3k
    type##_predictor(dst, stride, width, height, above, left); \
731
24.3k
  }
aom_dc_top_predictor_16x4_c
Line
Count
Source
729
4.88k
      const uint8_t *left) {                                   \
730
4.88k
    type##_predictor(dst, stride, width, height, above, left); \
731
4.88k
  }
aom_dc_top_predictor_8x32_c
Line
Count
Source
729
2.35k
      const uint8_t *left) {                                   \
730
2.35k
    type##_predictor(dst, stride, width, height, above, left); \
731
2.35k
  }
aom_dc_top_predictor_32x8_c
Line
Count
Source
729
3.57k
      const uint8_t *left) {                                   \
730
3.57k
    type##_predictor(dst, stride, width, height, above, left); \
731
3.57k
  }
aom_dc_top_predictor_16x64_c
Line
Count
Source
729
357
      const uint8_t *left) {                                   \
730
357
    type##_predictor(dst, stride, width, height, above, left); \
731
357
  }
aom_dc_top_predictor_64x16_c
Line
Count
Source
729
746
      const uint8_t *left) {                                   \
730
746
    type##_predictor(dst, stride, width, height, above, left); \
731
746
  }
aom_dc_predictor_4x4_c
Line
Count
Source
729
3.05M
      const uint8_t *left) {                                   \
730
3.05M
    type##_predictor(dst, stride, width, height, above, left); \
731
3.05M
  }
aom_dc_predictor_8x8_c
Line
Count
Source
729
365k
      const uint8_t *left) {                                   \
730
365k
    type##_predictor(dst, stride, width, height, above, left); \
731
365k
  }
aom_dc_predictor_16x16_c
Line
Count
Source
729
246k
      const uint8_t *left) {                                   \
730
246k
    type##_predictor(dst, stride, width, height, above, left); \
731
246k
  }
aom_dc_predictor_32x32_c
Line
Count
Source
729
143k
      const uint8_t *left) {                                   \
730
143k
    type##_predictor(dst, stride, width, height, above, left); \
731
143k
  }
aom_dc_predictor_64x64_c
Line
Count
Source
729
12.6k
      const uint8_t *left) {                                   \
730
12.6k
    type##_predictor(dst, stride, width, height, above, left); \
731
12.6k
  }
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.78M
      const uint16_t *left, int bd) {                                       \
738
5.78M
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
5.78M
  }
aom_highbd_v_predictor_4x4_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_v_predictor_8x8_c
Line
Count
Source
737
26.9k
      const uint16_t *left, int bd) {                                       \
738
26.9k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
26.9k
  }
aom_highbd_v_predictor_16x16_c
Line
Count
Source
737
11.7k
      const uint16_t *left, int bd) {                                       \
738
11.7k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
11.7k
  }
aom_highbd_v_predictor_32x32_c
Line
Count
Source
737
7.21k
      const uint16_t *left, int bd) {                                       \
738
7.21k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
7.21k
  }
aom_highbd_v_predictor_64x64_c
Line
Count
Source
737
761
      const uint16_t *left, int bd) {                                       \
738
761
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
761
  }
aom_highbd_v_predictor_4x8_c
Line
Count
Source
737
13.3k
      const uint16_t *left, int bd) {                                       \
738
13.3k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
13.3k
  }
aom_highbd_v_predictor_8x4_c
Line
Count
Source
737
17.0k
      const uint16_t *left, int bd) {                                       \
738
17.0k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
17.0k
  }
aom_highbd_v_predictor_8x16_c
Line
Count
Source
737
6.85k
      const uint16_t *left, int bd) {                                       \
738
6.85k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
6.85k
  }
aom_highbd_v_predictor_16x8_c
Line
Count
Source
737
9.73k
      const uint16_t *left, int bd) {                                       \
738
9.73k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
9.73k
  }
aom_highbd_v_predictor_16x32_c
Line
Count
Source
737
4.11k
      const uint16_t *left, int bd) {                                       \
738
4.11k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
4.11k
  }
aom_highbd_v_predictor_32x16_c
Line
Count
Source
737
2.23k
      const uint16_t *left, int bd) {                                       \
738
2.23k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
2.23k
  }
aom_highbd_v_predictor_32x64_c
Line
Count
Source
737
138
      const uint16_t *left, int bd) {                                       \
738
138
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
138
  }
aom_highbd_v_predictor_64x32_c
Line
Count
Source
737
112
      const uint16_t *left, int bd) {                                       \
738
112
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
112
  }
aom_highbd_v_predictor_4x16_c
Line
Count
Source
737
4.18k
      const uint16_t *left, int bd) {                                       \
738
4.18k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
4.18k
  }
aom_highbd_v_predictor_16x4_c
Line
Count
Source
737
7.03k
      const uint16_t *left, int bd) {                                       \
738
7.03k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
7.03k
  }
aom_highbd_v_predictor_8x32_c
Line
Count
Source
737
2.39k
      const uint16_t *left, int bd) {                                       \
738
2.39k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
2.39k
  }
aom_highbd_v_predictor_32x8_c
Line
Count
Source
737
3.83k
      const uint16_t *left, int bd) {                                       \
738
3.83k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
3.83k
  }
aom_highbd_v_predictor_16x64_c
Line
Count
Source
737
285
      const uint16_t *left, int bd) {                                       \
738
285
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
285
  }
aom_highbd_v_predictor_64x16_c
Line
Count
Source
737
367
      const uint16_t *left, int bd) {                                       \
738
367
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
367
  }
aom_highbd_h_predictor_4x4_c
Line
Count
Source
737
80.4k
      const uint16_t *left, int bd) {                                       \
738
80.4k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
80.4k
  }
aom_highbd_h_predictor_8x8_c
Line
Count
Source
737
49.1k
      const uint16_t *left, int bd) {                                       \
738
49.1k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
49.1k
  }
aom_highbd_h_predictor_16x16_c
Line
Count
Source
737
26.6k
      const uint16_t *left, int bd) {                                       \
738
26.6k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
26.6k
  }
aom_highbd_h_predictor_32x32_c
Line
Count
Source
737
12.0k
      const uint16_t *left, int bd) {                                       \
738
12.0k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
12.0k
  }
aom_highbd_h_predictor_64x64_c
Line
Count
Source
737
1.56k
      const uint16_t *left, int bd) {                                       \
738
1.56k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
1.56k
  }
aom_highbd_h_predictor_4x8_c
Line
Count
Source
737
23.7k
      const uint16_t *left, int bd) {                                       \
738
23.7k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
23.7k
  }
aom_highbd_h_predictor_8x4_c
Line
Count
Source
737
32.6k
      const uint16_t *left, int bd) {                                       \
738
32.6k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
32.6k
  }
aom_highbd_h_predictor_8x16_c
Line
Count
Source
737
11.9k
      const uint16_t *left, int bd) {                                       \
738
11.9k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
11.9k
  }
aom_highbd_h_predictor_16x8_c
Line
Count
Source
737
15.9k
      const uint16_t *left, int bd) {                                       \
738
15.9k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
15.9k
  }
aom_highbd_h_predictor_16x32_c
Line
Count
Source
737
3.52k
      const uint16_t *left, int bd) {                                       \
738
3.52k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
3.52k
  }
aom_highbd_h_predictor_32x16_c
Line
Count
Source
737
3.94k
      const uint16_t *left, int bd) {                                       \
738
3.94k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
3.94k
  }
aom_highbd_h_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_h_predictor_64x32_c
Line
Count
Source
737
452
      const uint16_t *left, int bd) {                                       \
738
452
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
452
  }
aom_highbd_h_predictor_4x16_c
Line
Count
Source
737
6.92k
      const uint16_t *left, int bd) {                                       \
738
6.92k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
6.92k
  }
aom_highbd_h_predictor_16x4_c
Line
Count
Source
737
12.9k
      const uint16_t *left, int bd) {                                       \
738
12.9k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
12.9k
  }
aom_highbd_h_predictor_8x32_c
Line
Count
Source
737
4.07k
      const uint16_t *left, int bd) {                                       \
738
4.07k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
4.07k
  }
aom_highbd_h_predictor_32x8_c
Line
Count
Source
737
6.01k
      const uint16_t *left, int bd) {                                       \
738
6.01k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
6.01k
  }
aom_highbd_h_predictor_16x64_c
Line
Count
Source
737
457
      const uint16_t *left, int bd) {                                       \
738
457
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
457
  }
aom_highbd_h_predictor_64x16_c
Line
Count
Source
737
622
      const uint16_t *left, int bd) {                                       \
738
622
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
622
  }
aom_highbd_smooth_predictor_4x4_c
Line
Count
Source
737
128k
      const uint16_t *left, int bd) {                                       \
738
128k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
128k
  }
aom_highbd_smooth_predictor_8x8_c
Line
Count
Source
737
108k
      const uint16_t *left, int bd) {                                       \
738
108k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
108k
  }
aom_highbd_smooth_predictor_16x16_c
Line
Count
Source
737
55.4k
      const uint16_t *left, int bd) {                                       \
738
55.4k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
55.4k
  }
aom_highbd_smooth_predictor_32x32_c
Line
Count
Source
737
29.8k
      const uint16_t *left, int bd) {                                       \
738
29.8k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
29.8k
  }
aom_highbd_smooth_predictor_64x64_c
Line
Count
Source
737
5.79k
      const uint16_t *left, int bd) {                                       \
738
5.79k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
5.79k
  }
aom_highbd_smooth_predictor_4x8_c
Line
Count
Source
737
33.3k
      const uint16_t *left, int bd) {                                       \
738
33.3k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
33.3k
  }
aom_highbd_smooth_predictor_8x4_c
Line
Count
Source
737
47.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
30.2k
      const uint16_t *left, int bd) {                                       \
738
30.2k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
30.2k
  }
aom_highbd_smooth_predictor_16x8_c
Line
Count
Source
737
43.2k
      const uint16_t *left, int bd) {                                       \
738
43.2k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
43.2k
  }
aom_highbd_smooth_predictor_16x32_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_smooth_predictor_32x16_c
Line
Count
Source
737
9.73k
      const uint16_t *left, int bd) {                                       \
738
9.73k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
9.73k
  }
aom_highbd_smooth_predictor_32x64_c
Line
Count
Source
737
833
      const uint16_t *left, int bd) {                                       \
738
833
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
833
  }
aom_highbd_smooth_predictor_64x32_c
Line
Count
Source
737
716
      const uint16_t *left, int bd) {                                       \
738
716
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
716
  }
aom_highbd_smooth_predictor_4x16_c
Line
Count
Source
737
18.8k
      const uint16_t *left, int bd) {                                       \
738
18.8k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
18.8k
  }
aom_highbd_smooth_predictor_16x4_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_smooth_predictor_8x32_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_smooth_predictor_32x8_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_predictor_16x64_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_smooth_predictor_64x16_c
Line
Count
Source
737
1.45k
      const uint16_t *left, int bd) {                                       \
738
1.45k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
1.45k
  }
aom_highbd_smooth_v_predictor_4x4_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_smooth_v_predictor_8x8_c
Line
Count
Source
737
48.3k
      const uint16_t *left, int bd) {                                       \
738
48.3k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
48.3k
  }
aom_highbd_smooth_v_predictor_16x16_c
Line
Count
Source
737
24.0k
      const uint16_t *left, int bd) {                                       \
738
24.0k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
24.0k
  }
aom_highbd_smooth_v_predictor_32x32_c
Line
Count
Source
737
12.6k
      const uint16_t *left, int bd) {                                       \
738
12.6k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
12.6k
  }
aom_highbd_smooth_v_predictor_64x64_c
Line
Count
Source
737
1.80k
      const uint16_t *left, int bd) {                                       \
738
1.80k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
1.80k
  }
aom_highbd_smooth_v_predictor_4x8_c
Line
Count
Source
737
17.7k
      const uint16_t *left, int bd) {                                       \
738
17.7k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
17.7k
  }
aom_highbd_smooth_v_predictor_8x4_c
Line
Count
Source
737
22.4k
      const uint16_t *left, int bd) {                                       \
738
22.4k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
22.4k
  }
aom_highbd_smooth_v_predictor_8x16_c
Line
Count
Source
737
15.4k
      const uint16_t *left, int bd) {                                       \
738
15.4k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
15.4k
  }
aom_highbd_smooth_v_predictor_16x8_c
Line
Count
Source
737
22.4k
      const uint16_t *left, int bd) {                                       \
738
22.4k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
22.4k
  }
aom_highbd_smooth_v_predictor_16x32_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_v_predictor_32x16_c
Line
Count
Source
737
4.86k
      const uint16_t *left, int bd) {                                       \
738
4.86k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
4.86k
  }
aom_highbd_smooth_v_predictor_32x64_c
Line
Count
Source
737
221
      const uint16_t *left, int bd) {                                       \
738
221
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
221
  }
aom_highbd_smooth_v_predictor_64x32_c
Line
Count
Source
737
187
      const uint16_t *left, int bd) {                                       \
738
187
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
187
  }
aom_highbd_smooth_v_predictor_4x16_c
Line
Count
Source
737
10.2k
      const uint16_t *left, int bd) {                                       \
738
10.2k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
10.2k
  }
aom_highbd_smooth_v_predictor_16x4_c
Line
Count
Source
737
20.8k
      const uint16_t *left, int bd) {                                       \
738
20.8k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
20.8k
  }
aom_highbd_smooth_v_predictor_8x32_c
Line
Count
Source
737
5.62k
      const uint16_t *left, int bd) {                                       \
738
5.62k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
5.62k
  }
aom_highbd_smooth_v_predictor_32x8_c
Line
Count
Source
737
8.28k
      const uint16_t *left, int bd) {                                       \
738
8.28k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
8.28k
  }
aom_highbd_smooth_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_smooth_v_predictor_64x16_c
Line
Count
Source
737
370
      const uint16_t *left, int bd) {                                       \
738
370
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
370
  }
aom_highbd_smooth_h_predictor_4x4_c
Line
Count
Source
737
54.7k
      const uint16_t *left, int bd) {                                       \
738
54.7k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
54.7k
  }
aom_highbd_smooth_h_predictor_8x8_c
Line
Count
Source
737
66.6k
      const uint16_t *left, int bd) {                                       \
738
66.6k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
66.6k
  }
aom_highbd_smooth_h_predictor_16x16_c
Line
Count
Source
737
30.3k
      const uint16_t *left, int bd) {                                       \
738
30.3k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
30.3k
  }
aom_highbd_smooth_h_predictor_32x32_c
Line
Count
Source
737
14.5k
      const uint16_t *left, int bd) {                                       \
738
14.5k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
14.5k
  }
aom_highbd_smooth_h_predictor_64x64_c
Line
Count
Source
737
1.63k
      const uint16_t *left, int bd) {                                       \
738
1.63k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
1.63k
  }
aom_highbd_smooth_h_predictor_4x8_c
Line
Count
Source
737
18.1k
      const uint16_t *left, int bd) {                                       \
738
18.1k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
18.1k
  }
aom_highbd_smooth_h_predictor_8x4_c
Line
Count
Source
737
20.2k
      const uint16_t *left, int bd) {                                       \
738
20.2k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
20.2k
  }
aom_highbd_smooth_h_predictor_8x16_c
Line
Count
Source
737
21.3k
      const uint16_t *left, int bd) {                                       \
738
21.3k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
21.3k
  }
aom_highbd_smooth_h_predictor_16x8_c
Line
Count
Source
737
23.4k
      const uint16_t *left, int bd) {                                       \
738
23.4k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
23.4k
  }
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.16k
      const uint16_t *left, int bd) {                                       \
738
5.16k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
5.16k
  }
aom_highbd_smooth_h_predictor_32x64_c
Line
Count
Source
737
274
      const uint16_t *left, int bd) {                                       \
738
274
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
274
  }
aom_highbd_smooth_h_predictor_64x32_c
Line
Count
Source
737
178
      const uint16_t *left, int bd) {                                       \
738
178
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
178
  }
aom_highbd_smooth_h_predictor_4x16_c
Line
Count
Source
737
11.0k
      const uint16_t *left, int bd) {                                       \
738
11.0k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
11.0k
  }
aom_highbd_smooth_h_predictor_16x4_c
Line
Count
Source
737
18.2k
      const uint16_t *left, int bd) {                                       \
738
18.2k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
18.2k
  }
aom_highbd_smooth_h_predictor_8x32_c
Line
Count
Source
737
6.09k
      const uint16_t *left, int bd) {                                       \
738
6.09k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
6.09k
  }
aom_highbd_smooth_h_predictor_32x8_c
Line
Count
Source
737
10.8k
      const uint16_t *left, int bd) {                                       \
738
10.8k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
10.8k
  }
aom_highbd_smooth_h_predictor_16x64_c
Line
Count
Source
737
434
      const uint16_t *left, int bd) {                                       \
738
434
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
434
  }
aom_highbd_smooth_h_predictor_64x16_c
Line
Count
Source
737
351
      const uint16_t *left, int bd) {                                       \
738
351
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
351
  }
aom_highbd_paeth_predictor_4x4_c
Line
Count
Source
737
235k
      const uint16_t *left, int bd) {                                       \
738
235k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
235k
  }
aom_highbd_paeth_predictor_8x8_c
Line
Count
Source
737
126k
      const uint16_t *left, int bd) {                                       \
738
126k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
126k
  }
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
45.2k
      const uint16_t *left, int bd) {                                       \
738
45.2k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
45.2k
  }
aom_highbd_paeth_predictor_64x64_c
Line
Count
Source
737
9.39k
      const uint16_t *left, int bd) {                                       \
738
9.39k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
9.39k
  }
aom_highbd_paeth_predictor_4x8_c
Line
Count
Source
737
46.7k
      const uint16_t *left, int bd) {                                       \
738
46.7k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
46.7k
  }
aom_highbd_paeth_predictor_8x4_c
Line
Count
Source
737
70.8k
      const uint16_t *left, int bd) {                                       \
738
70.8k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
70.8k
  }
aom_highbd_paeth_predictor_8x16_c
Line
Count
Source
737
43.2k
      const uint16_t *left, int bd) {                                       \
738
43.2k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
43.2k
  }
aom_highbd_paeth_predictor_16x8_c
Line
Count
Source
737
56.6k
      const uint16_t *left, int bd) {                                       \
738
56.6k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
56.6k
  }
aom_highbd_paeth_predictor_16x32_c
Line
Count
Source
737
50.8k
      const uint16_t *left, int bd) {                                       \
738
50.8k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
50.8k
  }
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.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_paeth_predictor_64x32_c
Line
Count
Source
737
1.04k
      const uint16_t *left, int bd) {                                       \
738
1.04k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
1.04k
  }
aom_highbd_paeth_predictor_4x16_c
Line
Count
Source
737
72.8k
      const uint16_t *left, int bd) {                                       \
738
72.8k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
72.8k
  }
aom_highbd_paeth_predictor_16x4_c
Line
Count
Source
737
46.7k
      const uint16_t *left, int bd) {                                       \
738
46.7k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
46.7k
  }
aom_highbd_paeth_predictor_8x32_c
Line
Count
Source
737
135k
      const uint16_t *left, int bd) {                                       \
738
135k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
135k
  }
aom_highbd_paeth_predictor_32x8_c
Line
Count
Source
737
18.3k
      const uint16_t *left, int bd) {                                       \
738
18.3k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
18.3k
  }
aom_highbd_paeth_predictor_16x64_c
Line
Count
Source
737
49.2k
      const uint16_t *left, int bd) {                                       \
738
49.2k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
49.2k
  }
aom_highbd_paeth_predictor_64x16_c
Line
Count
Source
737
1.26k
      const uint16_t *left, int bd) {                                       \
738
1.26k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
1.26k
  }
aom_highbd_dc_128_predictor_4x4_c
Line
Count
Source
737
5.04k
      const uint16_t *left, int bd) {                                       \
738
5.04k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
5.04k
  }
aom_highbd_dc_128_predictor_8x8_c
Line
Count
Source
737
3.05k
      const uint16_t *left, int bd) {                                       \
738
3.05k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
3.05k
  }
aom_highbd_dc_128_predictor_16x16_c
Line
Count
Source
737
2.39k
      const uint16_t *left, int bd) {                                       \
738
2.39k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
2.39k
  }
aom_highbd_dc_128_predictor_32x32_c
Line
Count
Source
737
12.3k
      const uint16_t *left, int bd) {                                       \
738
12.3k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
12.3k
  }
aom_highbd_dc_128_predictor_64x64_c
Line
Count
Source
737
4.54k
      const uint16_t *left, int bd) {                                       \
738
4.54k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
4.54k
  }
aom_highbd_dc_128_predictor_4x8_c
Line
Count
Source
737
376
      const uint16_t *left, int bd) {                                       \
738
376
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
376
  }
aom_highbd_dc_128_predictor_8x4_c
Line
Count
Source
737
46
      const uint16_t *left, int bd) {                                       \
738
46
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
46
  }
aom_highbd_dc_128_predictor_8x16_c
Line
Count
Source
737
390
      const uint16_t *left, int bd) {                                       \
738
390
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
390
  }
aom_highbd_dc_128_predictor_16x8_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_dc_128_predictor_16x32_c
Line
Count
Source
737
1.83k
      const uint16_t *left, int bd) {                                       \
738
1.83k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
1.83k
  }
aom_highbd_dc_128_predictor_32x16_c
Line
Count
Source
737
2.46k
      const uint16_t *left, int bd) {                                       \
738
2.46k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
2.46k
  }
aom_highbd_dc_128_predictor_32x64_c
Line
Count
Source
737
474
      const uint16_t *left, int bd) {                                       \
738
474
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
474
  }
aom_highbd_dc_128_predictor_64x32_c
Line
Count
Source
737
54
      const uint16_t *left, int bd) {                                       \
738
54
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
54
  }
aom_highbd_dc_128_predictor_4x16_c
Line
Count
Source
737
383
      const uint16_t *left, int bd) {                                       \
738
383
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
383
  }
aom_highbd_dc_128_predictor_16x4_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_8x32_c
Line
Count
Source
737
373
      const uint16_t *left, int bd) {                                       \
738
373
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
373
  }
aom_highbd_dc_128_predictor_32x8_c
Line
Count
Source
737
101
      const uint16_t *left, int bd) {                                       \
738
101
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
101
  }
aom_highbd_dc_128_predictor_16x64_c
Line
Count
Source
737
150
      const uint16_t *left, int bd) {                                       \
738
150
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
150
  }
aom_highbd_dc_128_predictor_64x16_c
Line
Count
Source
737
165
      const uint16_t *left, int bd) {                                       \
738
165
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
165
  }
aom_highbd_dc_left_predictor_4x4_c
Line
Count
Source
737
25.3k
      const uint16_t *left, int bd) {                                       \
738
25.3k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
25.3k
  }
aom_highbd_dc_left_predictor_8x8_c
Line
Count
Source
737
6.29k
      const uint16_t *left, int bd) {                                       \
738
6.29k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
6.29k
  }
aom_highbd_dc_left_predictor_16x16_c
Line
Count
Source
737
11.4k
      const uint16_t *left, int bd) {                                       \
738
11.4k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
11.4k
  }
aom_highbd_dc_left_predictor_32x32_c
Line
Count
Source
737
38.0k
      const uint16_t *left, int bd) {                                       \
738
38.0k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
38.0k
  }
aom_highbd_dc_left_predictor_64x64_c
Line
Count
Source
737
9.91k
      const uint16_t *left, int bd) {                                       \
738
9.91k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
9.91k
  }
aom_highbd_dc_left_predictor_4x8_c
Line
Count
Source
737
2.91k
      const uint16_t *left, int bd) {                                       \
738
2.91k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
2.91k
  }
aom_highbd_dc_left_predictor_8x4_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_8x16_c
Line
Count
Source
737
3.51k
      const uint16_t *left, int bd) {                                       \
738
3.51k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
3.51k
  }
aom_highbd_dc_left_predictor_16x8_c
Line
Count
Source
737
3.91k
      const uint16_t *left, int bd) {                                       \
738
3.91k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
3.91k
  }
aom_highbd_dc_left_predictor_16x32_c
Line
Count
Source
737
5.02k
      const uint16_t *left, int bd) {                                       \
738
5.02k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
5.02k
  }
aom_highbd_dc_left_predictor_32x16_c
Line
Count
Source
737
4.07k
      const uint16_t *left, int bd) {                                       \
738
4.07k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
4.07k
  }
aom_highbd_dc_left_predictor_32x64_c
Line
Count
Source
737
703
      const uint16_t *left, int bd) {                                       \
738
703
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
703
  }
aom_highbd_dc_left_predictor_64x32_c
Line
Count
Source
737
709
      const uint16_t *left, int bd) {                                       \
738
709
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
709
  }
aom_highbd_dc_left_predictor_4x16_c
Line
Count
Source
737
2.86k
      const uint16_t *left, int bd) {                                       \
738
2.86k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
2.86k
  }
aom_highbd_dc_left_predictor_16x4_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_dc_left_predictor_8x32_c
Line
Count
Source
737
4.72k
      const uint16_t *left, int bd) {                                       \
738
4.72k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
4.72k
  }
aom_highbd_dc_left_predictor_32x8_c
Line
Count
Source
737
1.72k
      const uint16_t *left, int bd) {                                       \
738
1.72k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
1.72k
  }
aom_highbd_dc_left_predictor_16x64_c
Line
Count
Source
737
1.39k
      const uint16_t *left, int bd) {                                       \
738
1.39k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
1.39k
  }
aom_highbd_dc_left_predictor_64x16_c
Line
Count
Source
737
521
      const uint16_t *left, int bd) {                                       \
738
521
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
521
  }
aom_highbd_dc_top_predictor_4x4_c
Line
Count
Source
737
109k
      const uint16_t *left, int bd) {                                       \
738
109k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
109k
  }
aom_highbd_dc_top_predictor_8x8_c
Line
Count
Source
737
16.6k
      const uint16_t *left, int bd) {                                       \
738
16.6k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
16.6k
  }
aom_highbd_dc_top_predictor_16x16_c
Line
Count
Source
737
15.8k
      const uint16_t *left, int bd) {                                       \
738
15.8k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
15.8k
  }
aom_highbd_dc_top_predictor_32x32_c
Line
Count
Source
737
69.3k
      const uint16_t *left, int bd) {                                       \
738
69.3k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
69.3k
  }
aom_highbd_dc_top_predictor_64x64_c
Line
Count
Source
737
8.22k
      const uint16_t *left, int bd) {                                       \
738
8.22k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
8.22k
  }
aom_highbd_dc_top_predictor_4x8_c
Line
Count
Source
737
27.2k
      const uint16_t *left, int bd) {                                       \
738
27.2k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
27.2k
  }
aom_highbd_dc_top_predictor_8x4_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_dc_top_predictor_8x16_c
Line
Count
Source
737
16.6k
      const uint16_t *left, int bd) {                                       \
738
16.6k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
16.6k
  }
aom_highbd_dc_top_predictor_16x8_c
Line
Count
Source
737
6.14k
      const uint16_t *left, int bd) {                                       \
738
6.14k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
6.14k
  }
aom_highbd_dc_top_predictor_16x32_c
Line
Count
Source
737
16.0k
      const uint16_t *left, int bd) {                                       \
738
16.0k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
16.0k
  }
aom_highbd_dc_top_predictor_32x16_c
Line
Count
Source
737
5.09k
      const uint16_t *left, int bd) {                                       \
738
5.09k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
5.09k
  }
aom_highbd_dc_top_predictor_32x64_c
Line
Count
Source
737
6.15k
      const uint16_t *left, int bd) {                                       \
738
6.15k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
6.15k
  }
aom_highbd_dc_top_predictor_64x32_c
Line
Count
Source
737
514
      const uint16_t *left, int bd) {                                       \
738
514
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
514
  }
aom_highbd_dc_top_predictor_4x16_c
Line
Count
Source
737
32.8k
      const uint16_t *left, int bd) {                                       \
738
32.8k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
32.8k
  }
aom_highbd_dc_top_predictor_16x4_c
Line
Count
Source
737
4.93k
      const uint16_t *left, int bd) {                                       \
738
4.93k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
4.93k
  }
aom_highbd_dc_top_predictor_8x32_c
Line
Count
Source
737
2.29k
      const uint16_t *left, int bd) {                                       \
738
2.29k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
2.29k
  }
aom_highbd_dc_top_predictor_32x8_c
Line
Count
Source
737
3.48k
      const uint16_t *left, int bd) {                                       \
738
3.48k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
3.48k
  }
aom_highbd_dc_top_predictor_16x64_c
Line
Count
Source
737
482
      const uint16_t *left, int bd) {                                       \
738
482
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
482
  }
aom_highbd_dc_top_predictor_64x16_c
Line
Count
Source
737
1.07k
      const uint16_t *left, int bd) {                                       \
738
1.07k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
1.07k
  }
aom_highbd_dc_predictor_4x4_c
Line
Count
Source
737
1.70M
      const uint16_t *left, int bd) {                                       \
738
1.70M
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
1.70M
  }
aom_highbd_dc_predictor_8x8_c
Line
Count
Source
737
476k
      const uint16_t *left, int bd) {                                       \
738
476k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
476k
  }
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
145k
      const uint16_t *left, int bd) {                                       \
738
145k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
145k
  }
aom_highbd_dc_predictor_64x64_c
Line
Count
Source
737
12.4k
      const uint16_t *left, int bd) {                                       \
738
12.4k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
739
12.4k
  }
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