Home
last modified time | relevance | path

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

/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DPyramid.cpp30 real border2 = (real) (border << 1); in allocatePyramidPacked() local
31 int lines, size = calcStorage(width, height, border2, levels, &lines); in allocatePyramidPacked()
45 curr->pitch = (real) (width + border2); in allocatePyramidPacked()
49 for (int j = height + border2; j--; y++, position += curr->pitch) { in allocatePyramidPacked()
64 real border2 = (real) (border << 1); in allocateImage() local
66 calloc(sizeof(PyramidShort) + sizeof(short *) * (height + border2) + in allocateImage()
67 sizeof(short) * (width + border2) * (height + border2), 1); in allocateImage()
71 short *position = (short *) &y[height + border2]; in allocateImage()
75 img->pitch = (real) (width + border2); in allocateImage()
80 for (int j = height + border2; j--; y++, position += img->pitch) { in allocateImage()
[all …]
DPyramid.h45 static unsigned int calcStorage(real width, real height, real border2, int levels, int *lines);