Coverage Report

Created: 2025-12-03 07:28

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/aom/aom_dsp/intrapred.c
Line
Count
Source
1
/*
2
 * Copyright (c) 2016, Alliance for Open Media. All rights reserved
3
 *
4
 * This source code is subject to the terms of the BSD 2 Clause License and
5
 * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
6
 * was not distributed with this source code in the LICENSE file, you can
7
 * obtain it at www.aomedia.org/license/software. If the Alliance for Open
8
 * Media Patent License 1.0 was not distributed with this source code in the
9
 * PATENTS file, you can obtain it at www.aomedia.org/license/patent.
10
 */
11
12
#include <assert.h>
13
#include <math.h>
14
15
#include "config/aom_config.h"
16
#include "config/aom_dsp_rtcd.h"
17
18
#include "aom_dsp/aom_dsp_common.h"
19
#include "aom_dsp/intrapred_common.h"
20
#include "aom_mem/aom_mem.h"
21
#include "aom_ports/bitops.h"
22
23
static INLINE void v_predictor(uint8_t *dst, ptrdiff_t stride, int bw, int bh,
24
616k
                               const uint8_t *above, const uint8_t *left) {
25
616k
  int r;
26
616k
  (void)left;
27
28
7.26M
  for (r = 0; r < bh; r++) {
29
6.65M
    memcpy(dst, above, bw);
30
6.65M
    dst += stride;
31
6.65M
  }
32
616k
}
33
34
static INLINE void h_predictor(uint8_t *dst, ptrdiff_t stride, int bw, int bh,
35
864k
                               const uint8_t *above, const uint8_t *left) {
36
864k
  int r;
37
864k
  (void)above;
38
39
10.0M
  for (r = 0; r < bh; r++) {
40
9.17M
    memset(dst, left[r], bw);
41
9.17M
    dst += stride;
42
9.17M
  }
43
864k
}
44
45
6.55G
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
2.18G
                                              uint16_t top_left) {
49
2.18G
  const int base = top + left - top_left;
50
2.18G
  const int p_left = abs_diff(base, left);
51
2.18G
  const int p_top = abs_diff(base, top);
52
2.18G
  const int p_top_left = abs_diff(base, top_left);
53
54
  // Return nearest to base of left, top and top_left.
55
2.18G
  return (p_left <= p_top && p_left <= p_top_left)
56
2.18G
             ? left
57
2.18G
             : (p_top <= p_top_left) ? top : top_left;
58
2.18G
}
59
60
static INLINE void paeth_predictor(uint8_t *dst, ptrdiff_t stride, int bw,
61
                                   int bh, const uint8_t *above,
62
3.80M
                                   const uint8_t *left) {
63
3.80M
  int r, c;
64
3.80M
  const uint8_t ytop_left = above[-1];
65
66
70.0M
  for (r = 0; r < bh; r++) {
67
1.17G
    for (c = 0; c < bw; c++)
68
1.11G
      dst[c] = (uint8_t)paeth_predictor_single(left[r], above[c], ytop_left);
69
66.2M
    dst += stride;
70
66.2M
  }
71
3.80M
}
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
5.80M
  assert(weights_w[0] < weights_scale);                               \
77
5.80M
  assert(weights_h[0] < weights_scale);                               \
78
5.80M
  assert(weights_scale - weights_w[bw - 1] < weights_scale);          \
79
5.80M
  assert(weights_scale - weights_h[bh - 1] < weights_scale);          \
80
5.80M
  assert(pred_scale < 31)  // ensures no overflow when calculating predictor.
81
82
1.24G
#define divide_round(value, bits) (((value) + (1 << ((bits)-1))) >> (bits))
83
84
static INLINE void smooth_predictor(uint8_t *dst, ptrdiff_t stride, int bw,
85
                                    int bh, const uint8_t *above,
86
1.73M
                                    const uint8_t *left) {
87
1.73M
  const uint8_t below_pred = left[bh - 1];   // estimated by bottom-left pixel
88
1.73M
  const uint8_t right_pred = above[bw - 1];  // estimated by top-right pixel
89
1.73M
  const uint8_t *const sm_weights_w = sm_weight_arrays + bw;
90
1.73M
  const uint8_t *const sm_weights_h = sm_weight_arrays + bh;
91
  // scale = 2 * 2^sm_weight_log2_scale
92
1.73M
  const int log2_scale = 1 + sm_weight_log2_scale;
93
1.73M
  const uint16_t scale = (1 << sm_weight_log2_scale);
94
6.95M
  sm_weights_sanity_checks(sm_weights_w, sm_weights_h, scale,
95
1.73M
                           log2_scale + sizeof(*dst));
96
1.73M
  int r;
97
21.4M
  for (r = 0; r < bh; ++r) {
98
19.7M
    int c;
99
377M
    for (c = 0; c < bw; ++c) {
100
357M
      const uint8_t pixels[] = { above[c], below_pred, left[r], right_pred };
101
357M
      const uint8_t weights[] = { sm_weights_h[r], scale - sm_weights_h[r],
102
357M
                                  sm_weights_w[c], scale - sm_weights_w[c] };
103
357M
      uint32_t this_pred = 0;
104
357M
      int i;
105
357M
      assert(scale >= sm_weights_h[r] && scale >= sm_weights_w[c]);
106
1.78G
      for (i = 0; i < 4; ++i) {
107
1.43G
        this_pred += weights[i] * pixels[i];
108
1.43G
      }
109
357M
      dst[c] = divide_round(this_pred, log2_scale);
110
357M
    }
111
19.7M
    dst += stride;
112
19.7M
  }
113
1.73M
}
114
115
static INLINE void smooth_v_predictor(uint8_t *dst, ptrdiff_t stride, int bw,
116
                                      int bh, const uint8_t *above,
117
602k
                                      const uint8_t *left) {
118
602k
  const uint8_t below_pred = left[bh - 1];  // estimated by bottom-left pixel
119
602k
  const uint8_t *const sm_weights = sm_weight_arrays + bh;
120
  // scale = 2^sm_weight_log2_scale
121
602k
  const int log2_scale = sm_weight_log2_scale;
122
602k
  const uint16_t scale = (1 << sm_weight_log2_scale);
123
2.41M
  sm_weights_sanity_checks(sm_weights, sm_weights, scale,
124
602k
                           log2_scale + sizeof(*dst));
125
126
602k
  int r;
127
7.65M
  for (r = 0; r < bh; r++) {
128
7.05M
    int c;
129
138M
    for (c = 0; c < bw; ++c) {
130
131M
      const uint8_t pixels[] = { above[c], below_pred };
131
131M
      const uint8_t weights[] = { sm_weights[r], scale - sm_weights[r] };
132
131M
      uint32_t this_pred = 0;
133
131M
      assert(scale >= sm_weights[r]);
134
131M
      int i;
135
393M
      for (i = 0; i < 2; ++i) {
136
262M
        this_pred += weights[i] * pixels[i];
137
262M
      }
138
131M
      dst[c] = divide_round(this_pred, log2_scale);
139
131M
    }
140
7.05M
    dst += stride;
141
7.05M
  }
142
602k
}
143
144
static INLINE void smooth_h_predictor(uint8_t *dst, ptrdiff_t stride, int bw,
145
                                      int bh, const uint8_t *above,
146
882k
                                      const uint8_t *left) {
147
882k
  const uint8_t right_pred = above[bw - 1];  // estimated by top-right pixel
148
882k
  const uint8_t *const sm_weights = sm_weight_arrays + bw;
149
  // scale = 2^sm_weight_log2_scale
150
882k
  const int log2_scale = sm_weight_log2_scale;
151
882k
  const uint16_t scale = (1 << sm_weight_log2_scale);
152
3.53M
  sm_weights_sanity_checks(sm_weights, sm_weights, scale,
153
882k
                           log2_scale + sizeof(*dst));
154
155
882k
  int r;
156
11.2M
  for (r = 0; r < bh; r++) {
157
10.3M
    int c;
158
197M
    for (c = 0; c < bw; ++c) {
159
187M
      const uint8_t pixels[] = { left[r], right_pred };
160
187M
      const uint8_t weights[] = { sm_weights[c], scale - sm_weights[c] };
161
187M
      uint32_t this_pred = 0;
162
187M
      assert(scale >= sm_weights[c]);
163
187M
      int i;
164
561M
      for (i = 0; i < 2; ++i) {
165
374M
        this_pred += weights[i] * pixels[i];
166
374M
      }
167
187M
      dst[c] = divide_round(this_pred, log2_scale);
168
187M
    }
169
10.3M
    dst += stride;
170
10.3M
  }
171
882k
}
172
173
static INLINE void dc_128_predictor(uint8_t *dst, ptrdiff_t stride, int bw,
174
                                    int bh, const uint8_t *above,
175
28.3k
                                    const uint8_t *left) {
176
28.3k
  int r;
177
28.3k
  (void)above;
178
28.3k
  (void)left;
179
180
795k
  for (r = 0; r < bh; r++) {
181
766k
    memset(dst, 128, bw);
182
766k
    dst += stride;
183
766k
  }
184
28.3k
}
185
186
static INLINE void dc_left_predictor(uint8_t *dst, ptrdiff_t stride, int bw,
187
                                     int bh, const uint8_t *above,
188
271k
                                     const uint8_t *left) {
189
271k
  int i, r, expected_dc, sum = 0;
190
271k
  (void)above;
191
192
5.75M
  for (i = 0; i < bh; i++) sum += left[i];
193
271k
  expected_dc = (sum + (bh >> 1)) / bh;
194
195
5.75M
  for (r = 0; r < bh; r++) {
196
5.48M
    memset(dst, expected_dc, bw);
197
5.48M
    dst += stride;
198
5.48M
  }
199
271k
}
200
201
static INLINE void dc_top_predictor(uint8_t *dst, ptrdiff_t stride, int bw,
202
                                    int bh, const uint8_t *above,
203
657k
                                    const uint8_t *left) {
204
657k
  int i, r, expected_dc, sum = 0;
205
657k
  (void)left;
206
207
12.5M
  for (i = 0; i < bw; i++) sum += above[i];
208
657k
  expected_dc = (sum + (bw >> 1)) / bw;
209
210
13.6M
  for (r = 0; r < bh; r++) {
211
13.0M
    memset(dst, expected_dc, bw);
212
13.0M
    dst += stride;
213
13.0M
  }
214
657k
}
215
216
static INLINE void dc_predictor(uint8_t *dst, ptrdiff_t stride, int bw, int bh,
217
5.15M
                                const uint8_t *above, const uint8_t *left) {
218
5.15M
  int i, r, expected_dc, sum = 0;
219
5.15M
  const int count = bw + bh;
220
221
66.1M
  for (i = 0; i < bw; i++) {
222
60.9M
    sum += above[i];
223
60.9M
  }
224
66.1M
  for (i = 0; i < bh; i++) {
225
60.9M
    sum += left[i];
226
60.9M
  }
227
228
5.15M
  expected_dc = (sum + (count >> 1)) / count;
229
230
66.1M
  for (r = 0; r < bh; r++) {
231
60.9M
    memset(dst, expected_dc, bw);
232
60.9M
    dst += stride;
233
60.9M
  }
234
5.15M
}
235
236
static INLINE int divide_using_multiply_shift(int num, int shift1,
237
4.94M
                                              int multiplier, int shift2) {
238
4.94M
  const int interm = num >> shift1;
239
4.94M
  return interm * multiplier >> shift2;
240
4.94M
}
241
242
// The constants (multiplier and shifts) for a given block size are obtained
243
// as follows:
244
// - Let sum_w_h =  block width + block height.
245
// - Shift 'sum_w_h' right until we reach an odd number. Let the number of
246
// shifts for that block size be called 'shift1' (see the parameter in
247
// dc_predictor_rect() function), and let the odd number be 'd'. [d has only 2
248
// possible values: d = 3 for a 1:2 rect block and d = 5 for a 1:4 rect
249
// block].
250
// - Find multipliers for (i) dividing by 3, and (ii) dividing by 5,
251
// using the "Algorithm 1" in:
252
// http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=1467632
253
// by ensuring that m + n = 16 (in that algorithm). This ensures that our 2nd
254
// shift will be 16, regardless of the block size.
255
256
// Note: For low bitdepth, assembly code may be optimized by using smaller
257
// constants for smaller block sizes, where the range of the 'sum' is
258
// restricted to fewer bits.
259
260
1.91M
#define DC_MULTIPLIER_1X2 0x5556
261
1.04M
#define DC_MULTIPLIER_1X4 0x3334
262
263
2.96M
#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
2.96M
                                     int multiplier) {
269
2.96M
  int sum = 0;
270
271
40.0M
  for (int i = 0; i < bw; i++) {
272
37.1M
    sum += above[i];
273
37.1M
  }
274
37.8M
  for (int i = 0; i < bh; i++) {
275
34.9M
    sum += left[i];
276
34.9M
  }
277
278
2.96M
  const int expected_dc = divide_using_multiply_shift(
279
2.96M
      sum + ((bw + bh) >> 1), shift1, multiplier, DC_SHIFT2);
280
2.96M
  assert(expected_dc < (1 << 8));
281
282
37.8M
  for (int r = 0; r < bh; r++) {
283
34.9M
    memset(dst, expected_dc, bw);
284
34.9M
    dst += stride;
285
34.9M
  }
286
2.96M
}
287
288
#undef DC_SHIFT2
289
290
void aom_dc_predictor_4x8_c(uint8_t *dst, ptrdiff_t stride,
291
391k
                            const uint8_t *above, const uint8_t *left) {
292
391k
  dc_predictor_rect(dst, stride, 4, 8, above, left, 2, DC_MULTIPLIER_1X2);
293
391k
}
294
295
void aom_dc_predictor_8x4_c(uint8_t *dst, ptrdiff_t stride,
296
478k
                            const uint8_t *above, const uint8_t *left) {
297
478k
  dc_predictor_rect(dst, stride, 8, 4, above, left, 2, DC_MULTIPLIER_1X2);
298
478k
}
299
300
void aom_dc_predictor_4x16_c(uint8_t *dst, ptrdiff_t stride,
301
317k
                             const uint8_t *above, const uint8_t *left) {
302
317k
  dc_predictor_rect(dst, stride, 4, 16, above, left, 2, DC_MULTIPLIER_1X4);
303
317k
}
304
305
void aom_dc_predictor_16x4_c(uint8_t *dst, ptrdiff_t stride,
306
371k
                             const uint8_t *above, const uint8_t *left) {
307
371k
  dc_predictor_rect(dst, stride, 16, 4, above, left, 2, DC_MULTIPLIER_1X4);
308
371k
}
309
310
void aom_dc_predictor_8x16_c(uint8_t *dst, ptrdiff_t stride,
311
323k
                             const uint8_t *above, const uint8_t *left) {
312
323k
  dc_predictor_rect(dst, stride, 8, 16, above, left, 3, DC_MULTIPLIER_1X2);
313
323k
}
314
315
void aom_dc_predictor_16x8_c(uint8_t *dst, ptrdiff_t stride,
316
433k
                             const uint8_t *above, const uint8_t *left) {
317
433k
  dc_predictor_rect(dst, stride, 16, 8, above, left, 3, DC_MULTIPLIER_1X2);
318
433k
}
319
320
void aom_dc_predictor_8x32_c(uint8_t *dst, ptrdiff_t stride,
321
152k
                             const uint8_t *above, const uint8_t *left) {
322
152k
  dc_predictor_rect(dst, stride, 8, 32, above, left, 3, DC_MULTIPLIER_1X4);
323
152k
}
324
325
void aom_dc_predictor_32x8_c(uint8_t *dst, ptrdiff_t stride,
326
184k
                             const uint8_t *above, const uint8_t *left) {
327
184k
  dc_predictor_rect(dst, stride, 32, 8, above, left, 3, DC_MULTIPLIER_1X4);
328
184k
}
329
330
void aom_dc_predictor_16x32_c(uint8_t *dst, ptrdiff_t stride,
331
141k
                              const uint8_t *above, const uint8_t *left) {
332
141k
  dc_predictor_rect(dst, stride, 16, 32, above, left, 4, DC_MULTIPLIER_1X2);
333
141k
}
334
335
void aom_dc_predictor_32x16_c(uint8_t *dst, ptrdiff_t stride,
336
134k
                              const uint8_t *above, const uint8_t *left) {
337
134k
  dc_predictor_rect(dst, stride, 32, 16, above, left, 4, DC_MULTIPLIER_1X2);
338
134k
}
339
340
void aom_dc_predictor_16x64_c(uint8_t *dst, ptrdiff_t stride,
341
14.2k
                              const uint8_t *above, const uint8_t *left) {
342
14.2k
  dc_predictor_rect(dst, stride, 16, 64, above, left, 4, DC_MULTIPLIER_1X4);
343
14.2k
}
344
345
void aom_dc_predictor_64x16_c(uint8_t *dst, ptrdiff_t stride,
346
8.23k
                              const uint8_t *above, const uint8_t *left) {
347
8.23k
  dc_predictor_rect(dst, stride, 64, 16, above, left, 4, DC_MULTIPLIER_1X4);
348
8.23k
}
349
350
void aom_dc_predictor_32x64_c(uint8_t *dst, ptrdiff_t stride,
351
6.05k
                              const uint8_t *above, const uint8_t *left) {
352
6.05k
  dc_predictor_rect(dst, stride, 32, 64, above, left, 5, DC_MULTIPLIER_1X2);
353
6.05k
}
354
355
void aom_dc_predictor_64x32_c(uint8_t *dst, ptrdiff_t stride,
356
5.08k
                              const uint8_t *above, const uint8_t *left) {
357
5.08k
  dc_predictor_rect(dst, stride, 64, 32, above, left, 5, DC_MULTIPLIER_1X2);
358
5.08k
}
359
360
#undef DC_MULTIPLIER_1X2
361
#undef DC_MULTIPLIER_1X4
362
363
static INLINE void highbd_v_predictor(uint16_t *dst, ptrdiff_t stride, int bw,
364
                                      int bh, const uint16_t *above,
365
464k
                                      const uint16_t *left, int bd) {
366
464k
  int r;
367
464k
  (void)left;
368
464k
  (void)bd;
369
5.40M
  for (r = 0; r < bh; r++) {
370
4.94M
    memcpy(dst, above, bw * sizeof(uint16_t));
371
4.94M
    dst += stride;
372
4.94M
  }
373
464k
}
374
375
static INLINE void highbd_h_predictor(uint16_t *dst, ptrdiff_t stride, int bw,
376
                                      int bh, const uint16_t *above,
377
736k
                                      const uint16_t *left, int bd) {
378
736k
  int r;
379
736k
  (void)above;
380
736k
  (void)bd;
381
7.93M
  for (r = 0; r < bh; r++) {
382
7.19M
    aom_memset16(dst, left[r], bw);
383
7.19M
    dst += stride;
384
7.19M
  }
385
736k
}
386
387
static INLINE void highbd_paeth_predictor(uint16_t *dst, ptrdiff_t stride,
388
                                          int bw, int bh, const uint16_t *above,
389
3.00M
                                          const uint16_t *left, int bd) {
390
3.00M
  int r, c;
391
3.00M
  const uint16_t ytop_left = above[-1];
392
3.00M
  (void)bd;
393
394
65.8M
  for (r = 0; r < bh; r++) {
395
1.13G
    for (c = 0; c < bw; c++)
396
1.07G
      dst[c] = paeth_predictor_single(left[r], above[c], ytop_left);
397
62.8M
    dst += stride;
398
62.8M
  }
399
3.00M
}
400
401
static INLINE void highbd_smooth_predictor(uint16_t *dst, ptrdiff_t stride,
402
                                           int bw, int bh,
403
                                           const uint16_t *above,
404
1.47M
                                           const uint16_t *left, int bd) {
405
1.47M
  (void)bd;
406
1.47M
  const uint16_t below_pred = left[bh - 1];   // estimated by bottom-left pixel
407
1.47M
  const uint16_t right_pred = above[bw - 1];  // estimated by top-right pixel
408
1.47M
  const uint8_t *const sm_weights_w = sm_weight_arrays + bw;
409
1.47M
  const uint8_t *const sm_weights_h = sm_weight_arrays + bh;
410
  // scale = 2 * 2^sm_weight_log2_scale
411
1.47M
  const int log2_scale = 1 + sm_weight_log2_scale;
412
1.47M
  const uint16_t scale = (1 << sm_weight_log2_scale);
413
5.90M
  sm_weights_sanity_checks(sm_weights_w, sm_weights_h, scale,
414
1.47M
                           log2_scale + sizeof(*dst));
415
1.47M
  int r;
416
17.7M
  for (r = 0; r < bh; ++r) {
417
16.2M
    int c;
418
331M
    for (c = 0; c < bw; ++c) {
419
315M
      const uint16_t pixels[] = { above[c], below_pred, left[r], right_pred };
420
315M
      const uint8_t weights[] = { sm_weights_h[r], scale - sm_weights_h[r],
421
315M
                                  sm_weights_w[c], scale - sm_weights_w[c] };
422
315M
      uint32_t this_pred = 0;
423
315M
      int i;
424
315M
      assert(scale >= sm_weights_h[r] && scale >= sm_weights_w[c]);
425
1.57G
      for (i = 0; i < 4; ++i) {
426
1.26G
        this_pred += weights[i] * pixels[i];
427
1.26G
      }
428
315M
      dst[c] = divide_round(this_pred, log2_scale);
429
315M
    }
430
16.2M
    dst += stride;
431
16.2M
  }
432
1.47M
}
433
434
static INLINE void highbd_smooth_v_predictor(uint16_t *dst, ptrdiff_t stride,
435
                                             int bw, int bh,
436
                                             const uint16_t *above,
437
510k
                                             const uint16_t *left, int bd) {
438
510k
  (void)bd;
439
510k
  const uint16_t below_pred = left[bh - 1];  // estimated by bottom-left pixel
440
510k
  const uint8_t *const sm_weights = sm_weight_arrays + bh;
441
  // scale = 2^sm_weight_log2_scale
442
510k
  const int log2_scale = sm_weight_log2_scale;
443
510k
  const uint16_t scale = (1 << sm_weight_log2_scale);
444
2.04M
  sm_weights_sanity_checks(sm_weights, sm_weights, scale,
445
510k
                           log2_scale + sizeof(*dst));
446
447
510k
  int r;
448
6.31M
  for (r = 0; r < bh; r++) {
449
5.80M
    int c;
450
119M
    for (c = 0; c < bw; ++c) {
451
113M
      const uint16_t pixels[] = { above[c], below_pred };
452
113M
      const uint8_t weights[] = { sm_weights[r], scale - sm_weights[r] };
453
113M
      uint32_t this_pred = 0;
454
113M
      assert(scale >= sm_weights[r]);
455
113M
      int i;
456
340M
      for (i = 0; i < 2; ++i) {
457
227M
        this_pred += weights[i] * pixels[i];
458
227M
      }
459
113M
      dst[c] = divide_round(this_pred, log2_scale);
460
113M
    }
461
5.80M
    dst += stride;
462
5.80M
  }
463
510k
}
464
465
static INLINE void highbd_smooth_h_predictor(uint16_t *dst, ptrdiff_t stride,
466
                                             int bw, int bh,
467
                                             const uint16_t *above,
468
593k
                                             const uint16_t *left, int bd) {
469
593k
  (void)bd;
470
593k
  const uint16_t right_pred = above[bw - 1];  // estimated by top-right pixel
471
593k
  const uint8_t *const sm_weights = sm_weight_arrays + bw;
472
  // scale = 2^sm_weight_log2_scale
473
593k
  const int log2_scale = sm_weight_log2_scale;
474
593k
  const uint16_t scale = (1 << sm_weight_log2_scale);
475
2.37M
  sm_weights_sanity_checks(sm_weights, sm_weights, scale,
476
593k
                           log2_scale + sizeof(*dst));
477
478
593k
  int r;
479
7.43M
  for (r = 0; r < bh; r++) {
480
6.83M
    int c;
481
141M
    for (c = 0; c < bw; ++c) {
482
134M
      const uint16_t pixels[] = { left[r], right_pred };
483
134M
      const uint8_t weights[] = { sm_weights[c], scale - sm_weights[c] };
484
134M
      uint32_t this_pred = 0;
485
134M
      assert(scale >= sm_weights[c]);
486
134M
      int i;
487
404M
      for (i = 0; i < 2; ++i) {
488
269M
        this_pred += weights[i] * pixels[i];
489
269M
      }
490
134M
      dst[c] = divide_round(this_pred, log2_scale);
491
134M
    }
492
6.83M
    dst += stride;
493
6.83M
  }
494
593k
}
495
496
static INLINE void highbd_dc_128_predictor(uint16_t *dst, ptrdiff_t stride,
497
                                           int bw, int bh,
498
                                           const uint16_t *above,
499
62.4k
                                           const uint16_t *left, int bd) {
500
62.4k
  int r;
501
62.4k
  (void)above;
502
62.4k
  (void)left;
503
504
2.06M
  for (r = 0; r < bh; r++) {
505
2.00M
    aom_memset16(dst, 128 << (bd - 8), bw);
506
2.00M
    dst += stride;
507
2.00M
  }
508
62.4k
}
509
510
static INLINE void highbd_dc_left_predictor(uint16_t *dst, ptrdiff_t stride,
511
                                            int bw, int bh,
512
                                            const uint16_t *above,
513
343k
                                            const uint16_t *left, int bd) {
514
343k
  int i, r, expected_dc, sum = 0;
515
343k
  (void)above;
516
343k
  (void)bd;
517
518
8.34M
  for (i = 0; i < bh; i++) sum += left[i];
519
343k
  expected_dc = (sum + (bh >> 1)) / bh;
520
521
8.34M
  for (r = 0; r < bh; r++) {
522
8.00M
    aom_memset16(dst, expected_dc, bw);
523
8.00M
    dst += stride;
524
8.00M
  }
525
343k
}
526
527
static INLINE void highbd_dc_top_predictor(uint16_t *dst, ptrdiff_t stride,
528
                                           int bw, int bh,
529
                                           const uint16_t *above,
530
640k
                                           const uint16_t *left, int bd) {
531
640k
  int i, r, expected_dc, sum = 0;
532
640k
  (void)left;
533
640k
  (void)bd;
534
535
14.2M
  for (i = 0; i < bw; i++) sum += above[i];
536
640k
  expected_dc = (sum + (bw >> 1)) / bw;
537
538
15.4M
  for (r = 0; r < bh; r++) {
539
14.7M
    aom_memset16(dst, expected_dc, bw);
540
14.7M
    dst += stride;
541
14.7M
  }
542
640k
}
543
544
static INLINE void highbd_dc_predictor(uint16_t *dst, ptrdiff_t stride, int bw,
545
                                       int bh, const uint16_t *above,
546
4.69M
                                       const uint16_t *left, int bd) {
547
4.69M
  int i, r, expected_dc, sum = 0;
548
4.69M
  const int count = bw + bh;
549
4.69M
  (void)bd;
550
551
52.8M
  for (i = 0; i < bw; i++) {
552
48.1M
    sum += above[i];
553
48.1M
  }
554
52.8M
  for (i = 0; i < bh; i++) {
555
48.1M
    sum += left[i];
556
48.1M
  }
557
558
4.69M
  expected_dc = (sum + (count >> 1)) / count;
559
560
52.8M
  for (r = 0; r < bh; r++) {
561
48.1M
    aom_memset16(dst, expected_dc, bw);
562
48.1M
    dst += stride;
563
48.1M
  }
564
4.69M
}
565
566
// Obtained similarly as DC_MULTIPLIER_1X2 and DC_MULTIPLIER_1X4 above, but
567
// assume 2nd shift of 17 bits instead of 16.
568
// Note: Strictly speaking, 2nd shift needs to be 17 only when:
569
// - bit depth == 12, and
570
// - bw + bh is divisible by 5 (as opposed to divisible by 3).
571
// All other cases can use half the multipliers with a shift of 16 instead.
572
// This special optimization can be used when writing assembly code.
573
1.26M
#define HIGHBD_DC_MULTIPLIER_1X2 0xAAAB
574
// Note: This constant is odd, but a smaller even constant (0x199a) with the
575
// appropriate shift should work for neon in 8/10-bit.
576
722k
#define HIGHBD_DC_MULTIPLIER_1X4 0x6667
577
578
1.98M
#define HIGHBD_DC_SHIFT2 17
579
580
static INLINE void highbd_dc_predictor_rect(uint16_t *dst, ptrdiff_t stride,
581
                                            int bw, int bh,
582
                                            const uint16_t *above,
583
                                            const uint16_t *left, int bd,
584
1.98M
                                            int shift1, uint32_t multiplier) {
585
1.98M
  int sum = 0;
586
1.98M
  (void)bd;
587
588
24.0M
  for (int i = 0; i < bw; i++) {
589
22.0M
    sum += above[i];
590
22.0M
  }
591
25.2M
  for (int i = 0; i < bh; i++) {
592
23.2M
    sum += left[i];
593
23.2M
  }
594
595
1.98M
  const int expected_dc = divide_using_multiply_shift(
596
1.98M
      sum + ((bw + bh) >> 1), shift1, multiplier, HIGHBD_DC_SHIFT2);
597
1.98M
  assert(expected_dc < (1 << bd));
598
599
25.2M
  for (int r = 0; r < bh; r++) {
600
23.2M
    aom_memset16(dst, expected_dc, bw);
601
23.2M
    dst += stride;
602
23.2M
  }
603
1.98M
}
604
605
#undef HIGHBD_DC_SHIFT2
606
607
void aom_highbd_dc_predictor_4x8_c(uint16_t *dst, ptrdiff_t stride,
608
                                   const uint16_t *above, const uint16_t *left,
609
314k
                                   int bd) {
610
314k
  highbd_dc_predictor_rect(dst, stride, 4, 8, above, left, bd, 2,
611
314k
                           HIGHBD_DC_MULTIPLIER_1X2);
612
314k
}
613
614
void aom_highbd_dc_predictor_8x4_c(uint16_t *dst, ptrdiff_t stride,
615
                                   const uint16_t *above, const uint16_t *left,
616
436k
                                   int bd) {
617
436k
  highbd_dc_predictor_rect(dst, stride, 8, 4, above, left, bd, 2,
618
436k
                           HIGHBD_DC_MULTIPLIER_1X2);
619
436k
}
620
621
void aom_highbd_dc_predictor_4x16_c(uint16_t *dst, ptrdiff_t stride,
622
                                    const uint16_t *above, const uint16_t *left,
623
262k
                                    int bd) {
624
262k
  highbd_dc_predictor_rect(dst, stride, 4, 16, above, left, bd, 2,
625
262k
                           HIGHBD_DC_MULTIPLIER_1X4);
626
262k
}
627
628
void aom_highbd_dc_predictor_16x4_c(uint16_t *dst, ptrdiff_t stride,
629
                                    const uint16_t *above, const uint16_t *left,
630
222k
                                    int bd) {
631
222k
  highbd_dc_predictor_rect(dst, stride, 16, 4, above, left, bd, 2,
632
222k
                           HIGHBD_DC_MULTIPLIER_1X4);
633
222k
}
634
635
void aom_highbd_dc_predictor_8x16_c(uint16_t *dst, ptrdiff_t stride,
636
                                    const uint16_t *above, const uint16_t *left,
637
158k
                                    int bd) {
638
158k
  highbd_dc_predictor_rect(dst, stride, 8, 16, above, left, bd, 3,
639
158k
                           HIGHBD_DC_MULTIPLIER_1X2);
640
158k
}
641
642
void aom_highbd_dc_predictor_16x8_c(uint16_t *dst, ptrdiff_t stride,
643
                                    const uint16_t *above, const uint16_t *left,
644
202k
                                    int bd) {
645
202k
  highbd_dc_predictor_rect(dst, stride, 16, 8, above, left, bd, 3,
646
202k
                           HIGHBD_DC_MULTIPLIER_1X2);
647
202k
}
648
649
void aom_highbd_dc_predictor_8x32_c(uint16_t *dst, ptrdiff_t stride,
650
                                    const uint16_t *above, const uint16_t *left,
651
135k
                                    int bd) {
652
135k
  highbd_dc_predictor_rect(dst, stride, 8, 32, above, left, bd, 3,
653
135k
                           HIGHBD_DC_MULTIPLIER_1X4);
654
135k
}
655
656
void aom_highbd_dc_predictor_32x8_c(uint16_t *dst, ptrdiff_t stride,
657
                                    const uint16_t *above, const uint16_t *left,
658
84.0k
                                    int bd) {
659
84.0k
  highbd_dc_predictor_rect(dst, stride, 32, 8, above, left, bd, 3,
660
84.0k
                           HIGHBD_DC_MULTIPLIER_1X4);
661
84.0k
}
662
663
void aom_highbd_dc_predictor_16x32_c(uint16_t *dst, ptrdiff_t stride,
664
                                     const uint16_t *above,
665
68.8k
                                     const uint16_t *left, int bd) {
666
68.8k
  highbd_dc_predictor_rect(dst, stride, 16, 32, above, left, bd, 4,
667
68.8k
                           HIGHBD_DC_MULTIPLIER_1X2);
668
68.8k
}
669
670
void aom_highbd_dc_predictor_32x16_c(uint16_t *dst, ptrdiff_t stride,
671
                                     const uint16_t *above,
672
68.3k
                                     const uint16_t *left, int bd) {
673
68.3k
  highbd_dc_predictor_rect(dst, stride, 32, 16, above, left, bd, 4,
674
68.3k
                           HIGHBD_DC_MULTIPLIER_1X2);
675
68.3k
}
676
677
void aom_highbd_dc_predictor_16x64_c(uint16_t *dst, ptrdiff_t stride,
678
                                     const uint16_t *above,
679
11.5k
                                     const uint16_t *left, int bd) {
680
11.5k
  highbd_dc_predictor_rect(dst, stride, 16, 64, above, left, bd, 4,
681
11.5k
                           HIGHBD_DC_MULTIPLIER_1X4);
682
11.5k
}
683
684
void aom_highbd_dc_predictor_64x16_c(uint16_t *dst, ptrdiff_t stride,
685
                                     const uint16_t *above,
686
7.13k
                                     const uint16_t *left, int bd) {
687
7.13k
  highbd_dc_predictor_rect(dst, stride, 64, 16, above, left, bd, 4,
688
7.13k
                           HIGHBD_DC_MULTIPLIER_1X4);
689
7.13k
}
690
691
void aom_highbd_dc_predictor_32x64_c(uint16_t *dst, ptrdiff_t stride,
692
                                     const uint16_t *above,
693
6.55k
                                     const uint16_t *left, int bd) {
694
6.55k
  highbd_dc_predictor_rect(dst, stride, 32, 64, above, left, bd, 5,
695
6.55k
                           HIGHBD_DC_MULTIPLIER_1X2);
696
6.55k
}
697
698
void aom_highbd_dc_predictor_64x32_c(uint16_t *dst, ptrdiff_t stride,
699
                                     const uint16_t *above,
700
4.88k
                                     const uint16_t *left, int bd) {
701
4.88k
  highbd_dc_predictor_rect(dst, stride, 64, 32, above, left, bd, 5,
702
4.88k
                           HIGHBD_DC_MULTIPLIER_1X2);
703
4.88k
}
704
705
#undef HIGHBD_DC_MULTIPLIER_1X2
706
#undef HIGHBD_DC_MULTIPLIER_1X4
707
708
// This serves as a wrapper function, so that all the prediction functions
709
// can be unified and accessed as a pointer array. Note that the boundary
710
// above and left are not necessarily used all the time.
711
#define intra_pred_sized(type, width, height)                  \
712
  void aom_##type##_predictor_##width##x##height##_c(          \
713
      uint8_t *dst, ptrdiff_t stride, const uint8_t *above,    \
714
14.6M
      const uint8_t *left) {                                   \
715
14.6M
    type##_predictor(dst, stride, width, height, above, left); \
716
14.6M
  }
aom_v_predictor_4x4_c
Line
Count
Source
714
164k
      const uint8_t *left) {                                   \
715
164k
    type##_predictor(dst, stride, width, height, above, left); \
716
164k
  }
aom_v_predictor_8x8_c
Line
Count
Source
714
93.0k
      const uint8_t *left) {                                   \
715
93.0k
    type##_predictor(dst, stride, width, height, above, left); \
716
93.0k
  }
aom_v_predictor_16x16_c
Line
Count
Source
714
59.7k
      const uint8_t *left) {                                   \
715
59.7k
    type##_predictor(dst, stride, width, height, above, left); \
716
59.7k
  }
aom_v_predictor_32x32_c
Line
Count
Source
714
45.7k
      const uint8_t *left) {                                   \
715
45.7k
    type##_predictor(dst, stride, width, height, above, left); \
716
45.7k
  }
aom_v_predictor_64x64_c
Line
Count
Source
714
3.01k
      const uint8_t *left) {                                   \
715
3.01k
    type##_predictor(dst, stride, width, height, above, left); \
716
3.01k
  }
aom_v_predictor_4x8_c
Line
Count
Source
714
42.4k
      const uint8_t *left) {                                   \
715
42.4k
    type##_predictor(dst, stride, width, height, above, left); \
716
42.4k
  }
aom_v_predictor_8x4_c
Line
Count
Source
714
60.8k
      const uint8_t *left) {                                   \
715
60.8k
    type##_predictor(dst, stride, width, height, above, left); \
716
60.8k
  }
aom_v_predictor_8x16_c
Line
Count
Source
714
24.1k
      const uint8_t *left) {                                   \
715
24.1k
    type##_predictor(dst, stride, width, height, above, left); \
716
24.1k
  }
aom_v_predictor_16x8_c
Line
Count
Source
714
33.5k
      const uint8_t *left) {                                   \
715
33.5k
    type##_predictor(dst, stride, width, height, above, left); \
716
33.5k
  }
aom_v_predictor_16x32_c
Line
Count
Source
714
10.4k
      const uint8_t *left) {                                   \
715
10.4k
    type##_predictor(dst, stride, width, height, above, left); \
716
10.4k
  }
aom_v_predictor_32x16_c
Line
Count
Source
714
9.92k
      const uint8_t *left) {                                   \
715
9.92k
    type##_predictor(dst, stride, width, height, above, left); \
716
9.92k
  }
aom_v_predictor_32x64_c
Line
Count
Source
714
602
      const uint8_t *left) {                                   \
715
602
    type##_predictor(dst, stride, width, height, above, left); \
716
602
  }
aom_v_predictor_64x32_c
Line
Count
Source
714
539
      const uint8_t *left) {                                   \
715
539
    type##_predictor(dst, stride, width, height, above, left); \
716
539
  }
aom_v_predictor_4x16_c
Line
Count
Source
714
16.7k
      const uint8_t *left) {                                   \
715
16.7k
    type##_predictor(dst, stride, width, height, above, left); \
716
16.7k
  }
aom_v_predictor_16x4_c
Line
Count
Source
714
27.0k
      const uint8_t *left) {                                   \
715
27.0k
    type##_predictor(dst, stride, width, height, above, left); \
716
27.0k
  }
aom_v_predictor_8x32_c
Line
Count
Source
714
8.20k
      const uint8_t *left) {                                   \
715
8.20k
    type##_predictor(dst, stride, width, height, above, left); \
716
8.20k
  }
aom_v_predictor_32x8_c
Line
Count
Source
714
13.3k
      const uint8_t *left) {                                   \
715
13.3k
    type##_predictor(dst, stride, width, height, above, left); \
716
13.3k
  }
aom_v_predictor_16x64_c
Line
Count
Source
714
1.41k
      const uint8_t *left) {                                   \
715
1.41k
    type##_predictor(dst, stride, width, height, above, left); \
716
1.41k
  }
aom_v_predictor_64x16_c
Line
Count
Source
714
936
      const uint8_t *left) {                                   \
715
936
    type##_predictor(dst, stride, width, height, above, left); \
716
936
  }
aom_h_predictor_4x4_c
Line
Count
Source
714
215k
      const uint8_t *left) {                                   \
715
215k
    type##_predictor(dst, stride, width, height, above, left); \
716
215k
  }
aom_h_predictor_8x8_c
Line
Count
Source
714
143k
      const uint8_t *left) {                                   \
715
143k
    type##_predictor(dst, stride, width, height, above, left); \
716
143k
  }
aom_h_predictor_16x16_c
Line
Count
Source
714
74.7k
      const uint8_t *left) {                                   \
715
74.7k
    type##_predictor(dst, stride, width, height, above, left); \
716
74.7k
  }
aom_h_predictor_32x32_c
Line
Count
Source
714
59.6k
      const uint8_t *left) {                                   \
715
59.6k
    type##_predictor(dst, stride, width, height, above, left); \
716
59.6k
  }
aom_h_predictor_64x64_c
Line
Count
Source
714
4.70k
      const uint8_t *left) {                                   \
715
4.70k
    type##_predictor(dst, stride, width, height, above, left); \
716
4.70k
  }
aom_h_predictor_4x8_c
Line
Count
Source
714
68.8k
      const uint8_t *left) {                                   \
715
68.8k
    type##_predictor(dst, stride, width, height, above, left); \
716
68.8k
  }
aom_h_predictor_8x4_c
Line
Count
Source
714
95.4k
      const uint8_t *left) {                                   \
715
95.4k
    type##_predictor(dst, stride, width, height, above, left); \
716
95.4k
  }
aom_h_predictor_8x16_c
Line
Count
Source
714
32.4k
      const uint8_t *left) {                                   \
715
32.4k
    type##_predictor(dst, stride, width, height, above, left); \
716
32.4k
  }
aom_h_predictor_16x8_c
Line
Count
Source
714
44.8k
      const uint8_t *left) {                                   \
715
44.8k
    type##_predictor(dst, stride, width, height, above, left); \
716
44.8k
  }
aom_h_predictor_16x32_c
Line
Count
Source
714
13.6k
      const uint8_t *left) {                                   \
715
13.6k
    type##_predictor(dst, stride, width, height, above, left); \
716
13.6k
  }
aom_h_predictor_32x16_c
Line
Count
Source
714
14.4k
      const uint8_t *left) {                                   \
715
14.4k
    type##_predictor(dst, stride, width, height, above, left); \
716
14.4k
  }
aom_h_predictor_32x64_c
Line
Count
Source
714
594
      const uint8_t *left) {                                   \
715
594
    type##_predictor(dst, stride, width, height, above, left); \
716
594
  }
aom_h_predictor_64x32_c
Line
Count
Source
714
823
      const uint8_t *left) {                                   \
715
823
    type##_predictor(dst, stride, width, height, above, left); \
716
823
  }
aom_h_predictor_4x16_c
Line
Count
Source
714
23.9k
      const uint8_t *left) {                                   \
715
23.9k
    type##_predictor(dst, stride, width, height, above, left); \
716
23.9k
  }
aom_h_predictor_16x4_c
Line
Count
Source
714
36.8k
      const uint8_t *left) {                                   \
715
36.8k
    type##_predictor(dst, stride, width, height, above, left); \
716
36.8k
  }
aom_h_predictor_8x32_c
Line
Count
Source
714
12.1k
      const uint8_t *left) {                                   \
715
12.1k
    type##_predictor(dst, stride, width, height, above, left); \
716
12.1k
  }
aom_h_predictor_32x8_c
Line
Count
Source
714
17.7k
      const uint8_t *left) {                                   \
715
17.7k
    type##_predictor(dst, stride, width, height, above, left); \
716
17.7k
  }
aom_h_predictor_16x64_c
Line
Count
Source
714
1.89k
      const uint8_t *left) {                                   \
715
1.89k
    type##_predictor(dst, stride, width, height, above, left); \
716
1.89k
  }
aom_h_predictor_64x16_c
Line
Count
Source
714
1.26k
      const uint8_t *left) {                                   \
715
1.26k
    type##_predictor(dst, stride, width, height, above, left); \
716
1.26k
  }
aom_smooth_predictor_4x4_c
Line
Count
Source
714
383k
      const uint8_t *left) {                                   \
715
383k
    type##_predictor(dst, stride, width, height, above, left); \
716
383k
  }
aom_smooth_predictor_8x8_c
Line
Count
Source
714
338k
      const uint8_t *left) {                                   \
715
338k
    type##_predictor(dst, stride, width, height, above, left); \
716
338k
  }
aom_smooth_predictor_16x16_c
Line
Count
Source
714
198k
      const uint8_t *left) {                                   \
715
198k
    type##_predictor(dst, stride, width, height, above, left); \
716
198k
  }
aom_smooth_predictor_32x32_c
Line
Count
Source
714
106k
      const uint8_t *left) {                                   \
715
106k
    type##_predictor(dst, stride, width, height, above, left); \
716
106k
  }
aom_smooth_predictor_64x64_c
Line
Count
Source
714
15.1k
      const uint8_t *left) {                                   \
715
15.1k
    type##_predictor(dst, stride, width, height, above, left); \
716
15.1k
  }
aom_smooth_predictor_4x8_c
Line
Count
Source
714
87.7k
      const uint8_t *left) {                                   \
715
87.7k
    type##_predictor(dst, stride, width, height, above, left); \
716
87.7k
  }
aom_smooth_predictor_8x4_c
Line
Count
Source
714
119k
      const uint8_t *left) {                                   \
715
119k
    type##_predictor(dst, stride, width, height, above, left); \
716
119k
  }
aom_smooth_predictor_8x16_c
Line
Count
Source
714
80.8k
      const uint8_t *left) {                                   \
715
80.8k
    type##_predictor(dst, stride, width, height, above, left); \
716
80.8k
  }
aom_smooth_predictor_16x8_c
Line
Count
Source
714
112k
      const uint8_t *left) {                                   \
715
112k
    type##_predictor(dst, stride, width, height, above, left); \
716
112k
  }
aom_smooth_predictor_16x32_c
Line
Count
Source
714
31.1k
      const uint8_t *left) {                                   \
715
31.1k
    type##_predictor(dst, stride, width, height, above, left); \
716
31.1k
  }
aom_smooth_predictor_32x16_c
Line
Count
Source
714
30.4k
      const uint8_t *left) {                                   \
715
30.4k
    type##_predictor(dst, stride, width, height, above, left); \
716
30.4k
  }
aom_smooth_predictor_32x64_c
Line
Count
Source
714
2.30k
      const uint8_t *left) {                                   \
715
2.30k
    type##_predictor(dst, stride, width, height, above, left); \
716
2.30k
  }
aom_smooth_predictor_64x32_c
Line
Count
Source
714
2.11k
      const uint8_t *left) {                                   \
715
2.11k
    type##_predictor(dst, stride, width, height, above, left); \
716
2.11k
  }
aom_smooth_predictor_4x16_c
Line
Count
Source
714
57.1k
      const uint8_t *left) {                                   \
715
57.1k
    type##_predictor(dst, stride, width, height, above, left); \
716
57.1k
  }
aom_smooth_predictor_16x4_c
Line
Count
Source
714
92.9k
      const uint8_t *left) {                                   \
715
92.9k
    type##_predictor(dst, stride, width, height, above, left); \
716
92.9k
  }
aom_smooth_predictor_8x32_c
Line
Count
Source
714
28.3k
      const uint8_t *left) {                                   \
715
28.3k
    type##_predictor(dst, stride, width, height, above, left); \
716
28.3k
  }
aom_smooth_predictor_32x8_c
Line
Count
Source
714
43.1k
      const uint8_t *left) {                                   \
715
43.1k
    type##_predictor(dst, stride, width, height, above, left); \
716
43.1k
  }
aom_smooth_predictor_16x64_c
Line
Count
Source
714
4.14k
      const uint8_t *left) {                                   \
715
4.14k
    type##_predictor(dst, stride, width, height, above, left); \
716
4.14k
  }
aom_smooth_predictor_64x16_c
Line
Count
Source
714
3.20k
      const uint8_t *left) {                                   \
715
3.20k
    type##_predictor(dst, stride, width, height, above, left); \
716
3.20k
  }
aom_smooth_v_predictor_4x4_c
Line
Count
Source
714
123k
      const uint8_t *left) {                                   \
715
123k
    type##_predictor(dst, stride, width, height, above, left); \
716
123k
  }
aom_smooth_v_predictor_8x8_c
Line
Count
Source
714
108k
      const uint8_t *left) {                                   \
715
108k
    type##_predictor(dst, stride, width, height, above, left); \
716
108k
  }
aom_smooth_v_predictor_16x16_c
Line
Count
Source
714
60.6k
      const uint8_t *left) {                                   \
715
60.6k
    type##_predictor(dst, stride, width, height, above, left); \
716
60.6k
  }
aom_smooth_v_predictor_32x32_c
Line
Count
Source
714
44.0k
      const uint8_t *left) {                                   \
715
44.0k
    type##_predictor(dst, stride, width, height, above, left); \
716
44.0k
  }
aom_smooth_v_predictor_64x64_c
Line
Count
Source
714
4.81k
      const uint8_t *left) {                                   \
715
4.81k
    type##_predictor(dst, stride, width, height, above, left); \
716
4.81k
  }
aom_smooth_v_predictor_4x8_c
Line
Count
Source
714
29.1k
      const uint8_t *left) {                                   \
715
29.1k
    type##_predictor(dst, stride, width, height, above, left); \
716
29.1k
  }
aom_smooth_v_predictor_8x4_c
Line
Count
Source
714
44.8k
      const uint8_t *left) {                                   \
715
44.8k
    type##_predictor(dst, stride, width, height, above, left); \
716
44.8k
  }
aom_smooth_v_predictor_8x16_c
Line
Count
Source
714
30.0k
      const uint8_t *left) {                                   \
715
30.0k
    type##_predictor(dst, stride, width, height, above, left); \
716
30.0k
  }
aom_smooth_v_predictor_16x8_c
Line
Count
Source
714
42.1k
      const uint8_t *left) {                                   \
715
42.1k
    type##_predictor(dst, stride, width, height, above, left); \
716
42.1k
  }
aom_smooth_v_predictor_16x32_c
Line
Count
Source
714
11.5k
      const uint8_t *left) {                                   \
715
11.5k
    type##_predictor(dst, stride, width, height, above, left); \
716
11.5k
  }
aom_smooth_v_predictor_32x16_c
Line
Count
Source
714
13.4k
      const uint8_t *left) {                                   \
715
13.4k
    type##_predictor(dst, stride, width, height, above, left); \
716
13.4k
  }
aom_smooth_v_predictor_32x64_c
Line
Count
Source
714
898
      const uint8_t *left) {                                   \
715
898
    type##_predictor(dst, stride, width, height, above, left); \
716
898
  }
aom_smooth_v_predictor_64x32_c
Line
Count
Source
714
790
      const uint8_t *left) {                                   \
715
790
    type##_predictor(dst, stride, width, height, above, left); \
716
790
  }
aom_smooth_v_predictor_4x16_c
Line
Count
Source
714
21.8k
      const uint8_t *left) {                                   \
715
21.8k
    type##_predictor(dst, stride, width, height, above, left); \
716
21.8k
  }
aom_smooth_v_predictor_16x4_c
Line
Count
Source
714
34.8k
      const uint8_t *left) {                                   \
715
34.8k
    type##_predictor(dst, stride, width, height, above, left); \
716
34.8k
  }
aom_smooth_v_predictor_8x32_c
Line
Count
Source
714
10.7k
      const uint8_t *left) {                                   \
715
10.7k
    type##_predictor(dst, stride, width, height, above, left); \
716
10.7k
  }
aom_smooth_v_predictor_32x8_c
Line
Count
Source
714
18.2k
      const uint8_t *left) {                                   \
715
18.2k
    type##_predictor(dst, stride, width, height, above, left); \
716
18.2k
  }
aom_smooth_v_predictor_16x64_c
Line
Count
Source
714
1.68k
      const uint8_t *left) {                                   \
715
1.68k
    type##_predictor(dst, stride, width, height, above, left); \
716
1.68k
  }
aom_smooth_v_predictor_64x16_c
Line
Count
Source
714
1.15k
      const uint8_t *left) {                                   \
715
1.15k
    type##_predictor(dst, stride, width, height, above, left); \
716
1.15k
  }
aom_smooth_h_predictor_4x4_c
Line
Count
Source
714
151k
      const uint8_t *left) {                                   \
715
151k
    type##_predictor(dst, stride, width, height, above, left); \
716
151k
  }
aom_smooth_h_predictor_8x8_c
Line
Count
Source
714
171k
      const uint8_t *left) {                                   \
715
171k
    type##_predictor(dst, stride, width, height, above, left); \
716
171k
  }
aom_smooth_h_predictor_16x16_c
Line
Count
Source
714
117k
      const uint8_t *left) {                                   \
715
117k
    type##_predictor(dst, stride, width, height, above, left); \
716
117k
  }
aom_smooth_h_predictor_32x32_c
Line
Count
Source
714
57.3k
      const uint8_t *left) {                                   \
715
57.3k
    type##_predictor(dst, stride, width, height, above, left); \
716
57.3k
  }
aom_smooth_h_predictor_64x64_c
Line
Count
Source
714
6.93k
      const uint8_t *left) {                                   \
715
6.93k
    type##_predictor(dst, stride, width, height, above, left); \
716
6.93k
  }
aom_smooth_h_predictor_4x8_c
Line
Count
Source
714
45.1k
      const uint8_t *left) {                                   \
715
45.1k
    type##_predictor(dst, stride, width, height, above, left); \
716
45.1k
  }
aom_smooth_h_predictor_8x4_c
Line
Count
Source
714
64.9k
      const uint8_t *left) {                                   \
715
64.9k
    type##_predictor(dst, stride, width, height, above, left); \
716
64.9k
  }
aom_smooth_h_predictor_8x16_c
Line
Count
Source
714
46.6k
      const uint8_t *left) {                                   \
715
46.6k
    type##_predictor(dst, stride, width, height, above, left); \
716
46.6k
  }
aom_smooth_h_predictor_16x8_c
Line
Count
Source
714
58.8k
      const uint8_t *left) {                                   \
715
58.8k
    type##_predictor(dst, stride, width, height, above, left); \
716
58.8k
  }
aom_smooth_h_predictor_16x32_c
Line
Count
Source
714
16.3k
      const uint8_t *left) {                                   \
715
16.3k
    type##_predictor(dst, stride, width, height, above, left); \
716
16.3k
  }
aom_smooth_h_predictor_32x16_c
Line
Count
Source
714
17.6k
      const uint8_t *left) {                                   \
715
17.6k
    type##_predictor(dst, stride, width, height, above, left); \
716
17.6k
  }
aom_smooth_h_predictor_32x64_c
Line
Count
Source
714
747
      const uint8_t *left) {                                   \
715
747
    type##_predictor(dst, stride, width, height, above, left); \
716
747
  }
aom_smooth_h_predictor_64x32_c
Line
Count
Source
714
915
      const uint8_t *left) {                                   \
715
915
    type##_predictor(dst, stride, width, height, above, left); \
716
915
  }
aom_smooth_h_predictor_4x16_c
Line
Count
Source
714
31.3k
      const uint8_t *left) {                                   \
715
31.3k
    type##_predictor(dst, stride, width, height, above, left); \
716
31.3k
  }
aom_smooth_h_predictor_16x4_c
Line
Count
Source
714
51.1k
      const uint8_t *left) {                                   \
715
51.1k
    type##_predictor(dst, stride, width, height, above, left); \
716
51.1k
  }
aom_smooth_h_predictor_8x32_c
Line
Count
Source
714
15.6k
      const uint8_t *left) {                                   \
715
15.6k
    type##_predictor(dst, stride, width, height, above, left); \
716
15.6k
  }
aom_smooth_h_predictor_32x8_c
Line
Count
Source
714
25.9k
      const uint8_t *left) {                                   \
715
25.9k
    type##_predictor(dst, stride, width, height, above, left); \
716
25.9k
  }
aom_smooth_h_predictor_16x64_c
Line
Count
Source
714
1.80k
      const uint8_t *left) {                                   \
715
1.80k
    type##_predictor(dst, stride, width, height, above, left); \
716
1.80k
  }
aom_smooth_h_predictor_64x16_c
Line
Count
Source
714
915
      const uint8_t *left) {                                   \
715
915
    type##_predictor(dst, stride, width, height, above, left); \
716
915
  }
aom_paeth_predictor_4x4_c
Line
Count
Source
714
926k
      const uint8_t *left) {                                   \
715
926k
    type##_predictor(dst, stride, width, height, above, left); \
716
926k
  }
aom_paeth_predictor_8x8_c
Line
Count
Source
714
454k
      const uint8_t *left) {                                   \
715
454k
    type##_predictor(dst, stride, width, height, above, left); \
716
454k
  }
aom_paeth_predictor_16x16_c
Line
Count
Source
714
262k
      const uint8_t *left) {                                   \
715
262k
    type##_predictor(dst, stride, width, height, above, left); \
716
262k
  }
aom_paeth_predictor_32x32_c
Line
Count
Source
714
241k
      const uint8_t *left) {                                   \
715
241k
    type##_predictor(dst, stride, width, height, above, left); \
716
241k
  }
aom_paeth_predictor_64x64_c
Line
Count
Source
714
33.9k
      const uint8_t *left) {                                   \
715
33.9k
    type##_predictor(dst, stride, width, height, above, left); \
716
33.9k
  }
aom_paeth_predictor_4x8_c
Line
Count
Source
714
134k
      const uint8_t *left) {                                   \
715
134k
    type##_predictor(dst, stride, width, height, above, left); \
716
134k
  }
aom_paeth_predictor_8x4_c
Line
Count
Source
714
182k
      const uint8_t *left) {                                   \
715
182k
    type##_predictor(dst, stride, width, height, above, left); \
716
182k
  }
aom_paeth_predictor_8x16_c
Line
Count
Source
714
111k
      const uint8_t *left) {                                   \
715
111k
    type##_predictor(dst, stride, width, height, above, left); \
716
111k
  }
aom_paeth_predictor_16x8_c
Line
Count
Source
714
146k
      const uint8_t *left) {                                   \
715
146k
    type##_predictor(dst, stride, width, height, above, left); \
716
146k
  }
aom_paeth_predictor_16x32_c
Line
Count
Source
714
437k
      const uint8_t *left) {                                   \
715
437k
    type##_predictor(dst, stride, width, height, above, left); \
716
437k
  }
aom_paeth_predictor_32x16_c
Line
Count
Source
714
37.2k
      const uint8_t *left) {                                   \
715
37.2k
    type##_predictor(dst, stride, width, height, above, left); \
716
37.2k
  }
aom_paeth_predictor_32x64_c
Line
Count
Source
714
13.0k
      const uint8_t *left) {                                   \
715
13.0k
    type##_predictor(dst, stride, width, height, above, left); \
716
13.0k
  }
aom_paeth_predictor_64x32_c
Line
Count
Source
714
2.62k
      const uint8_t *left) {                                   \
715
2.62k
    type##_predictor(dst, stride, width, height, above, left); \
716
2.62k
  }
aom_paeth_predictor_4x16_c
Line
Count
Source
714
171k
      const uint8_t *left) {                                   \
715
171k
    type##_predictor(dst, stride, width, height, above, left); \
716
171k
  }
aom_paeth_predictor_16x4_c
Line
Count
Source
714
127k
      const uint8_t *left) {                                   \
715
127k
    type##_predictor(dst, stride, width, height, above, left); \
716
127k
  }
aom_paeth_predictor_8x32_c
Line
Count
Source
714
280k
      const uint8_t *left) {                                   \
715
280k
    type##_predictor(dst, stride, width, height, above, left); \
716
280k
  }
aom_paeth_predictor_32x8_c
Line
Count
Source
714
48.4k
      const uint8_t *left) {                                   \
715
48.4k
    type##_predictor(dst, stride, width, height, above, left); \
716
48.4k
  }
aom_paeth_predictor_16x64_c
Line
Count
Source
714
184k
      const uint8_t *left) {                                   \
715
184k
    type##_predictor(dst, stride, width, height, above, left); \
716
184k
  }
aom_paeth_predictor_64x16_c
Line
Count
Source
714
3.13k
      const uint8_t *left) {                                   \
715
3.13k
    type##_predictor(dst, stride, width, height, above, left); \
716
3.13k
  }
aom_dc_128_predictor_4x4_c
Line
Count
Source
714
3.52k
      const uint8_t *left) {                                   \
715
3.52k
    type##_predictor(dst, stride, width, height, above, left); \
716
3.52k
  }
aom_dc_128_predictor_8x8_c
Line
Count
Source
714
1.77k
      const uint8_t *left) {                                   \
715
1.77k
    type##_predictor(dst, stride, width, height, above, left); \
716
1.77k
  }
aom_dc_128_predictor_16x16_c
Line
Count
Source
714
569
      const uint8_t *left) {                                   \
715
569
    type##_predictor(dst, stride, width, height, above, left); \
716
569
  }
aom_dc_128_predictor_32x32_c
Line
Count
Source
714
9.65k
      const uint8_t *left) {                                   \
715
9.65k
    type##_predictor(dst, stride, width, height, above, left); \
716
9.65k
  }
aom_dc_128_predictor_64x64_c
Line
Count
Source
714
3.58k
      const uint8_t *left) {                                   \
715
3.58k
    type##_predictor(dst, stride, width, height, above, left); \
716
3.58k
  }
aom_dc_128_predictor_4x8_c
Line
Count
Source
714
299
      const uint8_t *left) {                                   \
715
299
    type##_predictor(dst, stride, width, height, above, left); \
716
299
  }
aom_dc_128_predictor_8x4_c
Line
Count
Source
714
111
      const uint8_t *left) {                                   \
715
111
    type##_predictor(dst, stride, width, height, above, left); \
716
111
  }
aom_dc_128_predictor_8x16_c
Line
Count
Source
714
391
      const uint8_t *left) {                                   \
715
391
    type##_predictor(dst, stride, width, height, above, left); \
716
391
  }
aom_dc_128_predictor_16x8_c
Line
Count
Source
714
1.95k
      const uint8_t *left) {                                   \
715
1.95k
    type##_predictor(dst, stride, width, height, above, left); \
716
1.95k
  }
aom_dc_128_predictor_16x32_c
Line
Count
Source
714
2.00k
      const uint8_t *left) {                                   \
715
2.00k
    type##_predictor(dst, stride, width, height, above, left); \
716
2.00k
  }
aom_dc_128_predictor_32x16_c
Line
Count
Source
714
1.61k
      const uint8_t *left) {                                   \
715
1.61k
    type##_predictor(dst, stride, width, height, above, left); \
716
1.61k
  }
aom_dc_128_predictor_32x64_c
Line
Count
Source
714
405
      const uint8_t *left) {                                   \
715
405
    type##_predictor(dst, stride, width, height, above, left); \
716
405
  }
aom_dc_128_predictor_64x32_c
Line
Count
Source
714
255
      const uint8_t *left) {                                   \
715
255
    type##_predictor(dst, stride, width, height, above, left); \
716
255
  }
aom_dc_128_predictor_4x16_c
Line
Count
Source
714
724
      const uint8_t *left) {                                   \
715
724
    type##_predictor(dst, stride, width, height, above, left); \
716
724
  }
aom_dc_128_predictor_16x4_c
Line
Count
Source
714
44
      const uint8_t *left) {                                   \
715
44
    type##_predictor(dst, stride, width, height, above, left); \
716
44
  }
aom_dc_128_predictor_8x32_c
Line
Count
Source
714
528
      const uint8_t *left) {                                   \
715
528
    type##_predictor(dst, stride, width, height, above, left); \
716
528
  }
aom_dc_128_predictor_32x8_c
Line
Count
Source
714
811
      const uint8_t *left) {                                   \
715
811
    type##_predictor(dst, stride, width, height, above, left); \
716
811
  }
aom_dc_128_predictor_16x64_c
Line
Count
Source
714
105
      const uint8_t *left) {                                   \
715
105
    type##_predictor(dst, stride, width, height, above, left); \
716
105
  }
aom_dc_128_predictor_64x16_c
Line
Count
Source
714
12
      const uint8_t *left) {                                   \
715
12
    type##_predictor(dst, stride, width, height, above, left); \
716
12
  }
aom_dc_left_predictor_4x4_c
Line
Count
Source
714
71.7k
      const uint8_t *left) {                                   \
715
71.7k
    type##_predictor(dst, stride, width, height, above, left); \
716
71.7k
  }
aom_dc_left_predictor_8x8_c
Line
Count
Source
714
14.0k
      const uint8_t *left) {                                   \
715
14.0k
    type##_predictor(dst, stride, width, height, above, left); \
716
14.0k
  }
aom_dc_left_predictor_16x16_c
Line
Count
Source
714
19.5k
      const uint8_t *left) {                                   \
715
19.5k
    type##_predictor(dst, stride, width, height, above, left); \
716
19.5k
  }
aom_dc_left_predictor_32x32_c
Line
Count
Source
714
79.8k
      const uint8_t *left) {                                   \
715
79.8k
    type##_predictor(dst, stride, width, height, above, left); \
716
79.8k
  }
aom_dc_left_predictor_64x64_c
Line
Count
Source
714
15.3k
      const uint8_t *left) {                                   \
715
15.3k
    type##_predictor(dst, stride, width, height, above, left); \
716
15.3k
  }
aom_dc_left_predictor_4x8_c
Line
Count
Source
714
6.37k
      const uint8_t *left) {                                   \
715
6.37k
    type##_predictor(dst, stride, width, height, above, left); \
716
6.37k
  }
aom_dc_left_predictor_8x4_c
Line
Count
Source
714
5.99k
      const uint8_t *left) {                                   \
715
5.99k
    type##_predictor(dst, stride, width, height, above, left); \
716
5.99k
  }
aom_dc_left_predictor_8x16_c
Line
Count
Source
714
4.56k
      const uint8_t *left) {                                   \
715
4.56k
    type##_predictor(dst, stride, width, height, above, left); \
716
4.56k
  }
aom_dc_left_predictor_16x8_c
Line
Count
Source
714
9.31k
      const uint8_t *left) {                                   \
715
9.31k
    type##_predictor(dst, stride, width, height, above, left); \
716
9.31k
  }
aom_dc_left_predictor_16x32_c
Line
Count
Source
714
6.12k
      const uint8_t *left) {                                   \
715
6.12k
    type##_predictor(dst, stride, width, height, above, left); \
716
6.12k
  }
aom_dc_left_predictor_32x16_c
Line
Count
Source
714
9.27k
      const uint8_t *left) {                                   \
715
9.27k
    type##_predictor(dst, stride, width, height, above, left); \
716
9.27k
  }
aom_dc_left_predictor_32x64_c
Line
Count
Source
714
978
      const uint8_t *left) {                                   \
715
978
    type##_predictor(dst, stride, width, height, above, left); \
716
978
  }
aom_dc_left_predictor_64x32_c
Line
Count
Source
714
2.14k
      const uint8_t *left) {                                   \
715
2.14k
    type##_predictor(dst, stride, width, height, above, left); \
716
2.14k
  }
aom_dc_left_predictor_4x16_c
Line
Count
Source
714
12.6k
      const uint8_t *left) {                                   \
715
12.6k
    type##_predictor(dst, stride, width, height, above, left); \
716
12.6k
  }
aom_dc_left_predictor_16x4_c
Line
Count
Source
714
2.31k
      const uint8_t *left) {                                   \
715
2.31k
    type##_predictor(dst, stride, width, height, above, left); \
716
2.31k
  }
aom_dc_left_predictor_8x32_c
Line
Count
Source
714
6.16k
      const uint8_t *left) {                                   \
715
6.16k
    type##_predictor(dst, stride, width, height, above, left); \
716
6.16k
  }
aom_dc_left_predictor_32x8_c
Line
Count
Source
714
2.78k
      const uint8_t *left) {                                   \
715
2.78k
    type##_predictor(dst, stride, width, height, above, left); \
716
2.78k
  }
aom_dc_left_predictor_16x64_c
Line
Count
Source
714
1.43k
      const uint8_t *left) {                                   \
715
1.43k
    type##_predictor(dst, stride, width, height, above, left); \
716
1.43k
  }
aom_dc_left_predictor_64x16_c
Line
Count
Source
714
619
      const uint8_t *left) {                                   \
715
619
    type##_predictor(dst, stride, width, height, above, left); \
716
619
  }
aom_dc_top_predictor_4x4_c
Line
Count
Source
714
114k
      const uint8_t *left) {                                   \
715
114k
    type##_predictor(dst, stride, width, height, above, left); \
716
114k
  }
aom_dc_top_predictor_8x8_c
Line
Count
Source
714
39.7k
      const uint8_t *left) {                                   \
715
39.7k
    type##_predictor(dst, stride, width, height, above, left); \
716
39.7k
  }
aom_dc_top_predictor_16x16_c
Line
Count
Source
714
50.9k
      const uint8_t *left) {                                   \
715
50.9k
    type##_predictor(dst, stride, width, height, above, left); \
716
50.9k
  }
aom_dc_top_predictor_32x32_c
Line
Count
Source
714
165k
      const uint8_t *left) {                                   \
715
165k
    type##_predictor(dst, stride, width, height, above, left); \
716
165k
  }
aom_dc_top_predictor_64x64_c
Line
Count
Source
714
19.6k
      const uint8_t *left) {                                   \
715
19.6k
    type##_predictor(dst, stride, width, height, above, left); \
716
19.6k
  }
aom_dc_top_predictor_4x8_c
Line
Count
Source
714
47.7k
      const uint8_t *left) {                                   \
715
47.7k
    type##_predictor(dst, stride, width, height, above, left); \
716
47.7k
  }
aom_dc_top_predictor_8x4_c
Line
Count
Source
714
21.0k
      const uint8_t *left) {                                   \
715
21.0k
    type##_predictor(dst, stride, width, height, above, left); \
716
21.0k
  }
aom_dc_top_predictor_8x16_c
Line
Count
Source
714
37.7k
      const uint8_t *left) {                                   \
715
37.7k
    type##_predictor(dst, stride, width, height, above, left); \
716
37.7k
  }
aom_dc_top_predictor_16x8_c
Line
Count
Source
714
14.2k
      const uint8_t *left) {                                   \
715
14.2k
    type##_predictor(dst, stride, width, height, above, left); \
716
14.2k
  }
aom_dc_top_predictor_16x32_c
Line
Count
Source
714
47.2k
      const uint8_t *left) {                                   \
715
47.2k
    type##_predictor(dst, stride, width, height, above, left); \
716
47.2k
  }
aom_dc_top_predictor_32x16_c
Line
Count
Source
714
17.7k
      const uint8_t *left) {                                   \
715
17.7k
    type##_predictor(dst, stride, width, height, above, left); \
716
17.7k
  }
aom_dc_top_predictor_32x64_c
Line
Count
Source
714
9.33k
      const uint8_t *left) {                                   \
715
9.33k
    type##_predictor(dst, stride, width, height, above, left); \
716
9.33k
  }
aom_dc_top_predictor_64x32_c
Line
Count
Source
714
2.87k
      const uint8_t *left) {                                   \
715
2.87k
    type##_predictor(dst, stride, width, height, above, left); \
716
2.87k
  }
aom_dc_top_predictor_4x16_c
Line
Count
Source
714
24.7k
      const uint8_t *left) {                                   \
715
24.7k
    type##_predictor(dst, stride, width, height, above, left); \
716
24.7k
  }
aom_dc_top_predictor_16x4_c
Line
Count
Source
714
10.3k
      const uint8_t *left) {                                   \
715
10.3k
    type##_predictor(dst, stride, width, height, above, left); \
716
10.3k
  }
aom_dc_top_predictor_8x32_c
Line
Count
Source
714
16.5k
      const uint8_t *left) {                                   \
715
16.5k
    type##_predictor(dst, stride, width, height, above, left); \
716
16.5k
  }
aom_dc_top_predictor_32x8_c
Line
Count
Source
714
14.4k
      const uint8_t *left) {                                   \
715
14.4k
    type##_predictor(dst, stride, width, height, above, left); \
716
14.4k
  }
aom_dc_top_predictor_16x64_c
Line
Count
Source
714
1.10k
      const uint8_t *left) {                                   \
715
1.10k
    type##_predictor(dst, stride, width, height, above, left); \
716
1.10k
  }
aom_dc_top_predictor_64x16_c
Line
Count
Source
714
2.51k
      const uint8_t *left) {                                   \
715
2.51k
    type##_predictor(dst, stride, width, height, above, left); \
716
2.51k
  }
aom_dc_predictor_4x4_c
Line
Count
Source
714
2.37M
      const uint8_t *left) {                                   \
715
2.37M
    type##_predictor(dst, stride, width, height, above, left); \
716
2.37M
  }
aom_dc_predictor_8x8_c
Line
Count
Source
714
1.18M
      const uint8_t *left) {                                   \
715
1.18M
    type##_predictor(dst, stride, width, height, above, left); \
716
1.18M
  }
aom_dc_predictor_16x16_c
Line
Count
Source
714
675k
      const uint8_t *left) {                                   \
715
675k
    type##_predictor(dst, stride, width, height, above, left); \
716
675k
  }
aom_dc_predictor_32x32_c
Line
Count
Source
714
858k
      const uint8_t *left) {                                   \
715
858k
    type##_predictor(dst, stride, width, height, above, left); \
716
858k
  }
aom_dc_predictor_64x64_c
Line
Count
Source
714
58.2k
      const uint8_t *left) {                                   \
715
58.2k
    type##_predictor(dst, stride, width, height, above, left); \
716
58.2k
  }
717
718
#define intra_pred_highbd_sized(type, width, height)                        \
719
  void aom_highbd_##type##_predictor_##width##x##height##_c(                \
720
      uint16_t *dst, ptrdiff_t stride, const uint16_t *above,               \
721
12.5M
      const uint16_t *left, int bd) {                                       \
722
12.5M
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
12.5M
  }
aom_highbd_v_predictor_4x4_c
Line
Count
Source
721
143k
      const uint16_t *left, int bd) {                                       \
722
143k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
143k
  }
aom_highbd_v_predictor_8x8_c
Line
Count
Source
721
76.4k
      const uint16_t *left, int bd) {                                       \
722
76.4k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
76.4k
  }
aom_highbd_v_predictor_16x16_c
Line
Count
Source
721
37.2k
      const uint16_t *left, int bd) {                                       \
722
37.2k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
37.2k
  }
aom_highbd_v_predictor_32x32_c
Line
Count
Source
721
38.1k
      const uint16_t *left, int bd) {                                       \
722
38.1k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
38.1k
  }
aom_highbd_v_predictor_64x64_c
Line
Count
Source
721
3.11k
      const uint16_t *left, int bd) {                                       \
722
3.11k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
3.11k
  }
aom_highbd_v_predictor_4x8_c
Line
Count
Source
721
30.7k
      const uint16_t *left, int bd) {                                       \
722
30.7k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
30.7k
  }
aom_highbd_v_predictor_8x4_c
Line
Count
Source
721
43.5k
      const uint16_t *left, int bd) {                                       \
722
43.5k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
43.5k
  }
aom_highbd_v_predictor_8x16_c
Line
Count
Source
721
13.6k
      const uint16_t *left, int bd) {                                       \
722
13.6k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
13.6k
  }
aom_highbd_v_predictor_16x8_c
Line
Count
Source
721
18.1k
      const uint16_t *left, int bd) {                                       \
722
18.1k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
18.1k
  }
aom_highbd_v_predictor_16x32_c
Line
Count
Source
721
6.33k
      const uint16_t *left, int bd) {                                       \
722
6.33k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
6.33k
  }
aom_highbd_v_predictor_32x16_c
Line
Count
Source
721
6.38k
      const uint16_t *left, int bd) {                                       \
722
6.38k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
6.38k
  }
aom_highbd_v_predictor_32x64_c
Line
Count
Source
721
665
      const uint16_t *left, int bd) {                                       \
722
665
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
665
  }
aom_highbd_v_predictor_64x32_c
Line
Count
Source
721
483
      const uint16_t *left, int bd) {                                       \
722
483
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
483
  }
aom_highbd_v_predictor_4x16_c
Line
Count
Source
721
10.3k
      const uint16_t *left, int bd) {                                       \
722
10.3k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
10.3k
  }
aom_highbd_v_predictor_16x4_c
Line
Count
Source
721
19.0k
      const uint16_t *left, int bd) {                                       \
722
19.0k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
19.0k
  }
aom_highbd_v_predictor_8x32_c
Line
Count
Source
721
6.70k
      const uint16_t *left, int bd) {                                       \
722
6.70k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
6.70k
  }
aom_highbd_v_predictor_32x8_c
Line
Count
Source
721
7.78k
      const uint16_t *left, int bd) {                                       \
722
7.78k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
7.78k
  }
aom_highbd_v_predictor_16x64_c
Line
Count
Source
721
968
      const uint16_t *left, int bd) {                                       \
722
968
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
968
  }
aom_highbd_v_predictor_64x16_c
Line
Count
Source
721
760
      const uint16_t *left, int bd) {                                       \
722
760
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
760
  }
aom_highbd_h_predictor_4x4_c
Line
Count
Source
721
240k
      const uint16_t *left, int bd) {                                       \
722
240k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
240k
  }
aom_highbd_h_predictor_8x8_c
Line
Count
Source
721
126k
      const uint16_t *left, int bd) {                                       \
722
126k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
126k
  }
aom_highbd_h_predictor_16x16_c
Line
Count
Source
721
57.6k
      const uint16_t *left, int bd) {                                       \
722
57.6k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
57.6k
  }
aom_highbd_h_predictor_32x32_c
Line
Count
Source
721
38.5k
      const uint16_t *left, int bd) {                                       \
722
38.5k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
38.5k
  }
aom_highbd_h_predictor_64x64_c
Line
Count
Source
721
5.65k
      const uint16_t *left, int bd) {                                       \
722
5.65k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
5.65k
  }
aom_highbd_h_predictor_4x8_c
Line
Count
Source
721
52.8k
      const uint16_t *left, int bd) {                                       \
722
52.8k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
52.8k
  }
aom_highbd_h_predictor_8x4_c
Line
Count
Source
721
74.7k
      const uint16_t *left, int bd) {                                       \
722
74.7k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
74.7k
  }
aom_highbd_h_predictor_8x16_c
Line
Count
Source
721
21.0k
      const uint16_t *left, int bd) {                                       \
722
21.0k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
21.0k
  }
aom_highbd_h_predictor_16x8_c
Line
Count
Source
721
29.0k
      const uint16_t *left, int bd) {                                       \
722
29.0k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
29.0k
  }
aom_highbd_h_predictor_16x32_c
Line
Count
Source
721
8.93k
      const uint16_t *left, int bd) {                                       \
722
8.93k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
8.93k
  }
aom_highbd_h_predictor_32x16_c
Line
Count
Source
721
8.89k
      const uint16_t *left, int bd) {                                       \
722
8.89k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
8.89k
  }
aom_highbd_h_predictor_32x64_c
Line
Count
Source
721
689
      const uint16_t *left, int bd) {                                       \
722
689
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
689
  }
aom_highbd_h_predictor_64x32_c
Line
Count
Source
721
792
      const uint16_t *left, int bd) {                                       \
722
792
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
792
  }
aom_highbd_h_predictor_4x16_c
Line
Count
Source
721
15.5k
      const uint16_t *left, int bd) {                                       \
722
15.5k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
15.5k
  }
aom_highbd_h_predictor_16x4_c
Line
Count
Source
721
30.4k
      const uint16_t *left, int bd) {                                       \
722
30.4k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
30.4k
  }
aom_highbd_h_predictor_8x32_c
Line
Count
Source
721
9.90k
      const uint16_t *left, int bd) {                                       \
722
9.90k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
9.90k
  }
aom_highbd_h_predictor_32x8_c
Line
Count
Source
721
11.6k
      const uint16_t *left, int bd) {                                       \
722
11.6k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
11.6k
  }
aom_highbd_h_predictor_16x64_c
Line
Count
Source
721
1.79k
      const uint16_t *left, int bd) {                                       \
722
1.79k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
1.79k
  }
aom_highbd_h_predictor_64x16_c
Line
Count
Source
721
1.18k
      const uint16_t *left, int bd) {                                       \
722
1.18k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
1.18k
  }
aom_highbd_smooth_predictor_4x4_c
Line
Count
Source
721
444k
      const uint16_t *left, int bd) {                                       \
722
444k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
444k
  }
aom_highbd_smooth_predictor_8x8_c
Line
Count
Source
721
254k
      const uint16_t *left, int bd) {                                       \
722
254k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
254k
  }
aom_highbd_smooth_predictor_16x16_c
Line
Count
Source
721
140k
      const uint16_t *left, int bd) {                                       \
722
140k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
140k
  }
aom_highbd_smooth_predictor_32x32_c
Line
Count
Source
721
100k
      const uint16_t *left, int bd) {                                       \
722
100k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
100k
  }
aom_highbd_smooth_predictor_64x64_c
Line
Count
Source
721
18.2k
      const uint16_t *left, int bd) {                                       \
722
18.2k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
18.2k
  }
aom_highbd_smooth_predictor_4x8_c
Line
Count
Source
721
76.5k
      const uint16_t *left, int bd) {                                       \
722
76.5k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
76.5k
  }
aom_highbd_smooth_predictor_8x4_c
Line
Count
Source
721
115k
      const uint16_t *left, int bd) {                                       \
722
115k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
115k
  }
aom_highbd_smooth_predictor_8x16_c
Line
Count
Source
721
52.0k
      const uint16_t *left, int bd) {                                       \
722
52.0k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
52.0k
  }
aom_highbd_smooth_predictor_16x8_c
Line
Count
Source
721
68.8k
      const uint16_t *left, int bd) {                                       \
722
68.8k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
68.8k
  }
aom_highbd_smooth_predictor_16x32_c
Line
Count
Source
721
19.8k
      const uint16_t *left, int bd) {                                       \
722
19.8k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
19.8k
  }
aom_highbd_smooth_predictor_32x16_c
Line
Count
Source
721
20.8k
      const uint16_t *left, int bd) {                                       \
722
20.8k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
20.8k
  }
aom_highbd_smooth_predictor_32x64_c
Line
Count
Source
721
2.76k
      const uint16_t *left, int bd) {                                       \
722
2.76k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
2.76k
  }
aom_highbd_smooth_predictor_64x32_c
Line
Count
Source
721
2.11k
      const uint16_t *left, int bd) {                                       \
722
2.11k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
2.11k
  }
aom_highbd_smooth_predictor_4x16_c
Line
Count
Source
721
38.2k
      const uint16_t *left, int bd) {                                       \
722
38.2k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
38.2k
  }
aom_highbd_smooth_predictor_16x4_c
Line
Count
Source
721
66.8k
      const uint16_t *left, int bd) {                                       \
722
66.8k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
66.8k
  }
aom_highbd_smooth_predictor_8x32_c
Line
Count
Source
721
21.8k
      const uint16_t *left, int bd) {                                       \
722
21.8k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
21.8k
  }
aom_highbd_smooth_predictor_32x8_c
Line
Count
Source
721
27.0k
      const uint16_t *left, int bd) {                                       \
722
27.0k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
27.0k
  }
aom_highbd_smooth_predictor_16x64_c
Line
Count
Source
721
4.49k
      const uint16_t *left, int bd) {                                       \
722
4.49k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
4.49k
  }
aom_highbd_smooth_predictor_64x16_c
Line
Count
Source
721
2.82k
      const uint16_t *left, int bd) {                                       \
722
2.82k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
2.82k
  }
aom_highbd_smooth_v_predictor_4x4_c
Line
Count
Source
721
153k
      const uint16_t *left, int bd) {                                       \
722
153k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
153k
  }
aom_highbd_smooth_v_predictor_8x8_c
Line
Count
Source
721
78.9k
      const uint16_t *left, int bd) {                                       \
722
78.9k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
78.9k
  }
aom_highbd_smooth_v_predictor_16x16_c
Line
Count
Source
721
46.8k
      const uint16_t *left, int bd) {                                       \
722
46.8k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
46.8k
  }
aom_highbd_smooth_v_predictor_32x32_c
Line
Count
Source
721
42.2k
      const uint16_t *left, int bd) {                                       \
722
42.2k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
42.2k
  }
aom_highbd_smooth_v_predictor_64x64_c
Line
Count
Source
721
5.32k
      const uint16_t *left, int bd) {                                       \
722
5.32k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
5.32k
  }
aom_highbd_smooth_v_predictor_4x8_c
Line
Count
Source
721
26.7k
      const uint16_t *left, int bd) {                                       \
722
26.7k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
26.7k
  }
aom_highbd_smooth_v_predictor_8x4_c
Line
Count
Source
721
39.4k
      const uint16_t *left, int bd) {                                       \
722
39.4k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
39.4k
  }
aom_highbd_smooth_v_predictor_8x16_c
Line
Count
Source
721
17.9k
      const uint16_t *left, int bd) {                                       \
722
17.9k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
17.9k
  }
aom_highbd_smooth_v_predictor_16x8_c
Line
Count
Source
721
23.1k
      const uint16_t *left, int bd) {                                       \
722
23.1k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
23.1k
  }
aom_highbd_smooth_v_predictor_16x32_c
Line
Count
Source
721
7.62k
      const uint16_t *left, int bd) {                                       \
722
7.62k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
7.62k
  }
aom_highbd_smooth_v_predictor_32x16_c
Line
Count
Source
721
8.61k
      const uint16_t *left, int bd) {                                       \
722
8.61k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
8.61k
  }
aom_highbd_smooth_v_predictor_32x64_c
Line
Count
Source
721
878
      const uint16_t *left, int bd) {                                       \
722
878
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
878
  }
aom_highbd_smooth_v_predictor_64x32_c
Line
Count
Source
721
776
      const uint16_t *left, int bd) {                                       \
722
776
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
776
  }
aom_highbd_smooth_v_predictor_4x16_c
Line
Count
Source
721
13.5k
      const uint16_t *left, int bd) {                                       \
722
13.5k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
13.5k
  }
aom_highbd_smooth_v_predictor_16x4_c
Line
Count
Source
721
22.9k
      const uint16_t *left, int bd) {                                       \
722
22.9k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
22.9k
  }
aom_highbd_smooth_v_predictor_8x32_c
Line
Count
Source
721
8.99k
      const uint16_t *left, int bd) {                                       \
722
8.99k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
8.99k
  }
aom_highbd_smooth_v_predictor_32x8_c
Line
Count
Source
721
9.78k
      const uint16_t *left, int bd) {                                       \
722
9.78k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
9.78k
  }
aom_highbd_smooth_v_predictor_16x64_c
Line
Count
Source
721
1.90k
      const uint16_t *left, int bd) {                                       \
722
1.90k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
1.90k
  }
aom_highbd_smooth_v_predictor_64x16_c
Line
Count
Source
721
834
      const uint16_t *left, int bd) {                                       \
722
834
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
834
  }
aom_highbd_smooth_h_predictor_4x4_c
Line
Count
Source
721
160k
      const uint16_t *left, int bd) {                                       \
722
160k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
160k
  }
aom_highbd_smooth_h_predictor_8x8_c
Line
Count
Source
721
104k
      const uint16_t *left, int bd) {                                       \
722
104k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
104k
  }
aom_highbd_smooth_h_predictor_16x16_c
Line
Count
Source
721
54.5k
      const uint16_t *left, int bd) {                                       \
722
54.5k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
54.5k
  }
aom_highbd_smooth_h_predictor_32x32_c
Line
Count
Source
721
49.6k
      const uint16_t *left, int bd) {                                       \
722
49.6k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
49.6k
  }
aom_highbd_smooth_h_predictor_64x64_c
Line
Count
Source
721
6.59k
      const uint16_t *left, int bd) {                                       \
722
6.59k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
6.59k
  }
aom_highbd_smooth_h_predictor_4x8_c
Line
Count
Source
721
32.8k
      const uint16_t *left, int bd) {                                       \
722
32.8k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
32.8k
  }
aom_highbd_smooth_h_predictor_8x4_c
Line
Count
Source
721
48.7k
      const uint16_t *left, int bd) {                                       \
722
48.7k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
48.7k
  }
aom_highbd_smooth_h_predictor_8x16_c
Line
Count
Source
721
22.5k
      const uint16_t *left, int bd) {                                       \
722
22.5k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
22.5k
  }
aom_highbd_smooth_h_predictor_16x8_c
Line
Count
Source
721
26.3k
      const uint16_t *left, int bd) {                                       \
722
26.3k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
26.3k
  }
aom_highbd_smooth_h_predictor_16x32_c
Line
Count
Source
721
10.0k
      const uint16_t *left, int bd) {                                       \
722
10.0k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
10.0k
  }
aom_highbd_smooth_h_predictor_32x16_c
Line
Count
Source
721
8.92k
      const uint16_t *left, int bd) {                                       \
722
8.92k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
8.92k
  }
aom_highbd_smooth_h_predictor_32x64_c
Line
Count
Source
721
966
      const uint16_t *left, int bd) {                                       \
722
966
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
966
  }
aom_highbd_smooth_h_predictor_64x32_c
Line
Count
Source
721
949
      const uint16_t *left, int bd) {                                       \
722
949
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
949
  }
aom_highbd_smooth_h_predictor_4x16_c
Line
Count
Source
721
15.2k
      const uint16_t *left, int bd) {                                       \
722
15.2k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
15.2k
  }
aom_highbd_smooth_h_predictor_16x4_c
Line
Count
Source
721
27.9k
      const uint16_t *left, int bd) {                                       \
722
27.9k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
27.9k
  }
aom_highbd_smooth_h_predictor_8x32_c
Line
Count
Source
721
8.47k
      const uint16_t *left, int bd) {                                       \
722
8.47k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
8.47k
  }
aom_highbd_smooth_h_predictor_32x8_c
Line
Count
Source
721
11.6k
      const uint16_t *left, int bd) {                                       \
722
11.6k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
11.6k
  }
aom_highbd_smooth_h_predictor_16x64_c
Line
Count
Source
721
2.40k
      const uint16_t *left, int bd) {                                       \
722
2.40k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
2.40k
  }
aom_highbd_smooth_h_predictor_64x16_c
Line
Count
Source
721
908
      const uint16_t *left, int bd) {                                       \
722
908
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
908
  }
aom_highbd_paeth_predictor_4x4_c
Line
Count
Source
721
612k
      const uint16_t *left, int bd) {                                       \
722
612k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
612k
  }
aom_highbd_paeth_predictor_8x8_c
Line
Count
Source
721
308k
      const uint16_t *left, int bd) {                                       \
722
308k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
308k
  }
aom_highbd_paeth_predictor_16x16_c
Line
Count
Source
721
199k
      const uint16_t *left, int bd) {                                       \
722
199k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
199k
  }
aom_highbd_paeth_predictor_32x32_c
Line
Count
Source
721
187k
      const uint16_t *left, int bd) {                                       \
722
187k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
187k
  }
aom_highbd_paeth_predictor_64x64_c
Line
Count
Source
721
34.2k
      const uint16_t *left, int bd) {                                       \
722
34.2k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
34.2k
  }
aom_highbd_paeth_predictor_4x8_c
Line
Count
Source
721
85.6k
      const uint16_t *left, int bd) {                                       \
722
85.6k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
85.6k
  }
aom_highbd_paeth_predictor_8x4_c
Line
Count
Source
721
127k
      const uint16_t *left, int bd) {                                       \
722
127k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
127k
  }
aom_highbd_paeth_predictor_8x16_c
Line
Count
Source
721
62.5k
      const uint16_t *left, int bd) {                                       \
722
62.5k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
62.5k
  }
aom_highbd_paeth_predictor_16x8_c
Line
Count
Source
721
84.7k
      const uint16_t *left, int bd) {                                       \
722
84.7k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
84.7k
  }
aom_highbd_paeth_predictor_16x32_c
Line
Count
Source
721
534k
      const uint16_t *left, int bd) {                                       \
722
534k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
534k
  }
aom_highbd_paeth_predictor_32x16_c
Line
Count
Source
721
26.2k
      const uint16_t *left, int bd) {                                       \
722
26.2k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
26.2k
  }
aom_highbd_paeth_predictor_32x64_c
Line
Count
Source
721
13.4k
      const uint16_t *left, int bd) {                                       \
722
13.4k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
13.4k
  }
aom_highbd_paeth_predictor_64x32_c
Line
Count
Source
721
2.68k
      const uint16_t *left, int bd) {                                       \
722
2.68k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
2.68k
  }
aom_highbd_paeth_predictor_4x16_c
Line
Count
Source
721
126k
      const uint16_t *left, int bd) {                                       \
722
126k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
126k
  }
aom_highbd_paeth_predictor_16x4_c
Line
Count
Source
721
76.6k
      const uint16_t *left, int bd) {                                       \
722
76.6k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
76.6k
  }
aom_highbd_paeth_predictor_8x32_c
Line
Count
Source
721
277k
      const uint16_t *left, int bd) {                                       \
722
277k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
277k
  }
aom_highbd_paeth_predictor_32x8_c
Line
Count
Source
721
30.1k
      const uint16_t *left, int bd) {                                       \
722
30.1k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
30.1k
  }
aom_highbd_paeth_predictor_16x64_c
Line
Count
Source
721
213k
      const uint16_t *left, int bd) {                                       \
722
213k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
213k
  }
aom_highbd_paeth_predictor_64x16_c
Line
Count
Source
721
2.64k
      const uint16_t *left, int bd) {                                       \
722
2.64k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
2.64k
  }
aom_highbd_dc_128_predictor_4x4_c
Line
Count
Source
721
5.48k
      const uint16_t *left, int bd) {                                       \
722
5.48k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
5.48k
  }
aom_highbd_dc_128_predictor_8x8_c
Line
Count
Source
721
2.26k
      const uint16_t *left, int bd) {                                       \
722
2.26k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
2.26k
  }
aom_highbd_dc_128_predictor_16x16_c
Line
Count
Source
721
3.66k
      const uint16_t *left, int bd) {                                       \
722
3.66k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
3.66k
  }
aom_highbd_dc_128_predictor_32x32_c
Line
Count
Source
721
28.2k
      const uint16_t *left, int bd) {                                       \
722
28.2k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
28.2k
  }
aom_highbd_dc_128_predictor_64x64_c
Line
Count
Source
721
9.50k
      const uint16_t *left, int bd) {                                       \
722
9.50k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
9.50k
  }
aom_highbd_dc_128_predictor_4x8_c
Line
Count
Source
721
286
      const uint16_t *left, int bd) {                                       \
722
286
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
286
  }
aom_highbd_dc_128_predictor_8x4_c
Line
Count
Source
721
105
      const uint16_t *left, int bd) {                                       \
722
105
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
105
  }
aom_highbd_dc_128_predictor_8x16_c
Line
Count
Source
721
585
      const uint16_t *left, int bd) {                                       \
722
585
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
585
  }
aom_highbd_dc_128_predictor_16x8_c
Line
Count
Source
721
535
      const uint16_t *left, int bd) {                                       \
722
535
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
535
  }
aom_highbd_dc_128_predictor_16x32_c
Line
Count
Source
721
3.06k
      const uint16_t *left, int bd) {                                       \
722
3.06k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
3.06k
  }
aom_highbd_dc_128_predictor_32x16_c
Line
Count
Source
721
2.43k
      const uint16_t *left, int bd) {                                       \
722
2.43k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
2.43k
  }
aom_highbd_dc_128_predictor_32x64_c
Line
Count
Source
721
387
      const uint16_t *left, int bd) {                                       \
722
387
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
387
  }
aom_highbd_dc_128_predictor_64x32_c
Line
Count
Source
721
708
      const uint16_t *left, int bd) {                                       \
722
708
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
708
  }
aom_highbd_dc_128_predictor_4x16_c
Line
Count
Source
721
777
      const uint16_t *left, int bd) {                                       \
722
777
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
777
  }
aom_highbd_dc_128_predictor_16x4_c
Line
Count
Source
721
45
      const uint16_t *left, int bd) {                                       \
722
45
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
45
  }
aom_highbd_dc_128_predictor_8x32_c
Line
Count
Source
721
2.71k
      const uint16_t *left, int bd) {                                       \
722
2.71k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
2.71k
  }
aom_highbd_dc_128_predictor_32x8_c
Line
Count
Source
721
171
      const uint16_t *left, int bd) {                                       \
722
171
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
171
  }
aom_highbd_dc_128_predictor_16x64_c
Line
Count
Source
721
1.45k
      const uint16_t *left, int bd) {                                       \
722
1.45k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
1.45k
  }
aom_highbd_dc_128_predictor_64x16_c
Line
Count
Source
721
23
      const uint16_t *left, int bd) {                                       \
722
23
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
23
  }
aom_highbd_dc_left_predictor_4x4_c
Line
Count
Source
721
70.3k
      const uint16_t *left, int bd) {                                       \
722
70.3k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
70.3k
  }
aom_highbd_dc_left_predictor_8x8_c
Line
Count
Source
721
15.1k
      const uint16_t *left, int bd) {                                       \
722
15.1k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
15.1k
  }
aom_highbd_dc_left_predictor_16x16_c
Line
Count
Source
721
29.3k
      const uint16_t *left, int bd) {                                       \
722
29.3k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
29.3k
  }
aom_highbd_dc_left_predictor_32x32_c
Line
Count
Source
721
120k
      const uint16_t *left, int bd) {                                       \
722
120k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
120k
  }
aom_highbd_dc_left_predictor_64x64_c
Line
Count
Source
721
24.5k
      const uint16_t *left, int bd) {                                       \
722
24.5k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
24.5k
  }
aom_highbd_dc_left_predictor_4x8_c
Line
Count
Source
721
6.80k
      const uint16_t *left, int bd) {                                       \
722
6.80k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
6.80k
  }
aom_highbd_dc_left_predictor_8x4_c
Line
Count
Source
721
6.06k
      const uint16_t *left, int bd) {                                       \
722
6.06k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
6.06k
  }
aom_highbd_dc_left_predictor_8x16_c
Line
Count
Source
721
6.02k
      const uint16_t *left, int bd) {                                       \
722
6.02k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
6.02k
  }
aom_highbd_dc_left_predictor_16x8_c
Line
Count
Source
721
7.81k
      const uint16_t *left, int bd) {                                       \
722
7.81k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
7.81k
  }
aom_highbd_dc_left_predictor_16x32_c
Line
Count
Source
721
10.9k
      const uint16_t *left, int bd) {                                       \
722
10.9k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
10.9k
  }
aom_highbd_dc_left_predictor_32x16_c
Line
Count
Source
721
8.06k
      const uint16_t *left, int bd) {                                       \
722
8.06k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
8.06k
  }
aom_highbd_dc_left_predictor_32x64_c
Line
Count
Source
721
1.38k
      const uint16_t *left, int bd) {                                       \
722
1.38k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
1.38k
  }
aom_highbd_dc_left_predictor_64x32_c
Line
Count
Source
721
2.64k
      const uint16_t *left, int bd) {                                       \
722
2.64k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
2.64k
  }
aom_highbd_dc_left_predictor_4x16_c
Line
Count
Source
721
13.9k
      const uint16_t *left, int bd) {                                       \
722
13.9k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
13.9k
  }
aom_highbd_dc_left_predictor_16x4_c
Line
Count
Source
721
2.31k
      const uint16_t *left, int bd) {                                       \
722
2.31k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
2.31k
  }
aom_highbd_dc_left_predictor_8x32_c
Line
Count
Source
721
11.6k
      const uint16_t *left, int bd) {                                       \
722
11.6k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
11.6k
  }
aom_highbd_dc_left_predictor_32x8_c
Line
Count
Source
721
2.70k
      const uint16_t *left, int bd) {                                       \
722
2.70k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
2.70k
  }
aom_highbd_dc_left_predictor_16x64_c
Line
Count
Source
721
2.74k
      const uint16_t *left, int bd) {                                       \
722
2.74k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
2.74k
  }
aom_highbd_dc_left_predictor_64x16_c
Line
Count
Source
721
661
      const uint16_t *left, int bd) {                                       \
722
661
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
661
  }
aom_highbd_dc_top_predictor_4x4_c
Line
Count
Source
721
71.3k
      const uint16_t *left, int bd) {                                       \
722
71.3k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
71.3k
  }
aom_highbd_dc_top_predictor_8x8_c
Line
Count
Source
721
30.8k
      const uint16_t *left, int bd) {                                       \
722
30.8k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
30.8k
  }
aom_highbd_dc_top_predictor_16x16_c
Line
Count
Source
721
37.9k
      const uint16_t *left, int bd) {                                       \
722
37.9k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
37.9k
  }
aom_highbd_dc_top_predictor_32x32_c
Line
Count
Source
721
219k
      const uint16_t *left, int bd) {                                       \
722
219k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
219k
  }
aom_highbd_dc_top_predictor_64x64_c
Line
Count
Source
721
25.8k
      const uint16_t *left, int bd) {                                       \
722
25.8k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
25.8k
  }
aom_highbd_dc_top_predictor_4x8_c
Line
Count
Source
721
31.1k
      const uint16_t *left, int bd) {                                       \
722
31.1k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
31.1k
  }
aom_highbd_dc_top_predictor_8x4_c
Line
Count
Source
721
17.5k
      const uint16_t *left, int bd) {                                       \
722
17.5k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
17.5k
  }
aom_highbd_dc_top_predictor_8x16_c
Line
Count
Source
721
30.2k
      const uint16_t *left, int bd) {                                       \
722
30.2k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
30.2k
  }
aom_highbd_dc_top_predictor_16x8_c
Line
Count
Source
721
15.8k
      const uint16_t *left, int bd) {                                       \
722
15.8k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
15.8k
  }
aom_highbd_dc_top_predictor_16x32_c
Line
Count
Source
721
36.6k
      const uint16_t *left, int bd) {                                       \
722
36.6k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
36.6k
  }
aom_highbd_dc_top_predictor_32x16_c
Line
Count
Source
721
16.0k
      const uint16_t *left, int bd) {                                       \
722
16.0k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
16.0k
  }
aom_highbd_dc_top_predictor_32x64_c
Line
Count
Source
721
15.0k
      const uint16_t *left, int bd) {                                       \
722
15.0k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
15.0k
  }
aom_highbd_dc_top_predictor_64x32_c
Line
Count
Source
721
1.35k
      const uint16_t *left, int bd) {                                       \
722
1.35k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
1.35k
  }
aom_highbd_dc_top_predictor_4x16_c
Line
Count
Source
721
30.0k
      const uint16_t *left, int bd) {                                       \
722
30.0k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
30.0k
  }
aom_highbd_dc_top_predictor_16x4_c
Line
Count
Source
721
13.7k
      const uint16_t *left, int bd) {                                       \
722
13.7k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
13.7k
  }
aom_highbd_dc_top_predictor_8x32_c
Line
Count
Source
721
25.0k
      const uint16_t *left, int bd) {                                       \
722
25.0k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
25.0k
  }
aom_highbd_dc_top_predictor_32x8_c
Line
Count
Source
721
18.4k
      const uint16_t *left, int bd) {                                       \
722
18.4k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
18.4k
  }
aom_highbd_dc_top_predictor_16x64_c
Line
Count
Source
721
742
      const uint16_t *left, int bd) {                                       \
722
742
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
742
  }
aom_highbd_dc_top_predictor_64x16_c
Line
Count
Source
721
3.48k
      const uint16_t *left, int bd) {                                       \
722
3.48k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
3.48k
  }
aom_highbd_dc_predictor_4x4_c
Line
Count
Source
721
2.86M
      const uint16_t *left, int bd) {                                       \
722
2.86M
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
2.86M
  }
aom_highbd_dc_predictor_8x8_c
Line
Count
Source
721
688k
      const uint16_t *left, int bd) {                                       \
722
688k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
688k
  }
aom_highbd_dc_predictor_16x16_c
Line
Count
Source
721
445k
      const uint16_t *left, int bd) {                                       \
722
445k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
445k
  }
aom_highbd_dc_predictor_32x32_c
Line
Count
Source
721
642k
      const uint16_t *left, int bd) {                                       \
722
642k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
642k
  }
aom_highbd_dc_predictor_64x64_c
Line
Count
Source
721
55.1k
      const uint16_t *left, int bd) {                                       \
722
55.1k
    highbd_##type##_predictor(dst, stride, width, height, above, left, bd); \
723
55.1k
  }
724
725
/* clang-format off */
726
#if CONFIG_REALTIME_ONLY
727
#define intra_pred_rectangular(type) \
728
  intra_pred_sized(type, 4, 8) \
729
  intra_pred_sized(type, 8, 4) \
730
  intra_pred_sized(type, 8, 16) \
731
  intra_pred_sized(type, 16, 8) \
732
  intra_pred_sized(type, 16, 32) \
733
  intra_pred_sized(type, 32, 16) \
734
  intra_pred_sized(type, 32, 64) \
735
  intra_pred_sized(type, 64, 32) \
736
  intra_pred_highbd_sized(type, 4, 8) \
737
  intra_pred_highbd_sized(type, 8, 4) \
738
  intra_pred_highbd_sized(type, 8, 16) \
739
  intra_pred_highbd_sized(type, 16, 8) \
740
  intra_pred_highbd_sized(type, 16, 32) \
741
  intra_pred_highbd_sized(type, 32, 16) \
742
  intra_pred_highbd_sized(type, 32, 64) \
743
  intra_pred_highbd_sized(type, 64, 32)
744
#else
745
#define intra_pred_rectangular(type) \
746
  intra_pred_sized(type, 4, 8) \
747
  intra_pred_sized(type, 8, 4) \
748
  intra_pred_sized(type, 8, 16) \
749
  intra_pred_sized(type, 16, 8) \
750
  intra_pred_sized(type, 16, 32) \
751
  intra_pred_sized(type, 32, 16) \
752
  intra_pred_sized(type, 32, 64) \
753
  intra_pred_sized(type, 64, 32) \
754
  intra_pred_sized(type, 4, 16) \
755
  intra_pred_sized(type, 16, 4) \
756
  intra_pred_sized(type, 8, 32) \
757
  intra_pred_sized(type, 32, 8) \
758
  intra_pred_sized(type, 16, 64) \
759
  intra_pred_sized(type, 64, 16) \
760
  intra_pred_highbd_sized(type, 4, 8) \
761
  intra_pred_highbd_sized(type, 8, 4) \
762
  intra_pred_highbd_sized(type, 8, 16) \
763
  intra_pred_highbd_sized(type, 16, 8) \
764
  intra_pred_highbd_sized(type, 16, 32) \
765
  intra_pred_highbd_sized(type, 32, 16) \
766
  intra_pred_highbd_sized(type, 32, 64) \
767
  intra_pred_highbd_sized(type, 64, 32) \
768
  intra_pred_highbd_sized(type, 4, 16) \
769
  intra_pred_highbd_sized(type, 16, 4) \
770
  intra_pred_highbd_sized(type, 8, 32) \
771
  intra_pred_highbd_sized(type, 32, 8) \
772
  intra_pred_highbd_sized(type, 16, 64) \
773
  intra_pred_highbd_sized(type, 64, 16)
774
#endif
775
776
#define intra_pred_above_4x4(type) \
777
  intra_pred_sized(type, 8, 8) \
778
  intra_pred_sized(type, 16, 16) \
779
  intra_pred_sized(type, 32, 32) \
780
  intra_pred_sized(type, 64, 64) \
781
  intra_pred_highbd_sized(type, 4, 4) \
782
  intra_pred_highbd_sized(type, 8, 8) \
783
  intra_pred_highbd_sized(type, 16, 16) \
784
  intra_pred_highbd_sized(type, 32, 32) \
785
  intra_pred_highbd_sized(type, 64, 64) \
786
  intra_pred_rectangular(type)
787
#define intra_pred_allsizes(type) \
788
  intra_pred_sized(type, 4, 4) \
789
  intra_pred_above_4x4(type)
790
#define intra_pred_square(type) \
791
  intra_pred_sized(type, 4, 4) \
792
  intra_pred_sized(type, 8, 8) \
793
  intra_pred_sized(type, 16, 16) \
794
  intra_pred_sized(type, 32, 32) \
795
  intra_pred_sized(type, 64, 64) \
796
  intra_pred_highbd_sized(type, 4, 4) \
797
  intra_pred_highbd_sized(type, 8, 8) \
798
  intra_pred_highbd_sized(type, 16, 16) \
799
  intra_pred_highbd_sized(type, 32, 32) \
800
  intra_pred_highbd_sized(type, 64, 64)
801
802
intra_pred_allsizes(v)
803
intra_pred_allsizes(h)
804
intra_pred_allsizes(smooth)
805
intra_pred_allsizes(smooth_v)
806
intra_pred_allsizes(smooth_h)
807
intra_pred_allsizes(paeth)
808
intra_pred_allsizes(dc_128)
809
intra_pred_allsizes(dc_left)
810
intra_pred_allsizes(dc_top)
811
intra_pred_square(dc)
812
/* clang-format on */
813
#undef intra_pred_allsizes