Searched refs:dscale (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
D | Blend.cpp | 905 int dscale = 0; // distance scale for the current level in ProcessPyramidForThisFrame() local 907 … for (int n = m_wb.nlevs; n--; dscale++, dptr++, sptr++, dvptr++, duptr++, svptr++, suptr++, nC--) in ProcessPyramidForThisFrame() 909 int l = (int) ((vcrect.lft - rect.left) / (1 << dscale)); in ProcessPyramidForThisFrame() 910 int b = (int) ((vcrect.bot - rect.top) / (1 << dscale)); in ProcessPyramidForThisFrame() 911 int r = (int) ((vcrect.rgt - rect.left) / (1 << dscale) + .5); in ProcessPyramidForThisFrame() 912 int t = (int) ((vcrect.top - rect.top) / (1 << dscale) + .5); in ProcessPyramidForThisFrame() 937 int jj = (j << dscale); in ProcessPyramidForThisFrame() 942 int ii = (i << dscale); in ProcessPyramidForThisFrame() 967 (dscale > STRIP_CROSS_FADE_MAX_PYR_LEVEL)) in ProcessPyramidForThisFrame() 997 xx /= (1 << dscale); in ProcessPyramidForThisFrame() [all …]
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
D | Blend.cpp | 885 int dscale = 0; // distance scale for the current level in ProcessPyramidForThisFrame() local 887 … for (int n = m_wb.nlevs; n--; dscale++, dptr++, sptr++, dvptr++, duptr++, svptr++, suptr++, nC--) in ProcessPyramidForThisFrame() 889 int l = (int) ((vcrect.lft - rect.left) / (1 << dscale)); in ProcessPyramidForThisFrame() 890 int b = (int) ((vcrect.bot - rect.top) / (1 << dscale)); in ProcessPyramidForThisFrame() 891 int r = (int) ((vcrect.rgt - rect.left) / (1 << dscale) + .5); in ProcessPyramidForThisFrame() 892 int t = (int) ((vcrect.top - rect.top) / (1 << dscale) + .5); in ProcessPyramidForThisFrame() 917 int jj = (j << dscale); in ProcessPyramidForThisFrame() 922 int ii = (i << dscale); in ProcessPyramidForThisFrame() 947 (dscale > STRIP_CROSS_FADE_MAX_PYR_LEVEL)) in ProcessPyramidForThisFrame() 977 xx /= (1 << dscale); in ProcessPyramidForThisFrame() [all …]
|