Home
last modified time | relevance | path

Searched refs:kLowPolyNumParams (Results 1 – 1 of 1) sorted by relevance

/external/libaom/libaom/aom_dsp/
Dnoise_model.c24 #define kLowPolyNumParams 3 macro
433 if (!equation_system_init(&eqns, kLowPolyNumParams)) { in aom_flat_block_finder_init()
439 AtA_inv = (double *)aom_malloc(kLowPolyNumParams * kLowPolyNumParams * in aom_flat_block_finder_init()
441 A = (double *)aom_malloc(kLowPolyNumParams * n * sizeof(*A)); in aom_flat_block_finder_init()
463 A[kLowPolyNumParams * row + 0] = yd; in aom_flat_block_finder_init()
464 A[kLowPolyNumParams * row + 1] = xd; in aom_flat_block_finder_init()
465 A[kLowPolyNumParams * row + 2] = 1; in aom_flat_block_finder_init()
467 for (i = 0; i < kLowPolyNumParams; ++i) { in aom_flat_block_finder_init()
468 for (j = 0; j < kLowPolyNumParams; ++j) { in aom_flat_block_finder_init()
469 eqns.A[kLowPolyNumParams * i + j] += coords[i] * coords[j]; in aom_flat_block_finder_init()
[all …]