Home
last modified time | relevance | path

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

/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
Dfind_region.rscript28 This takes a float2 polygon and an image and searches a best fit polygon in the image
42 fit = alloc_float(search_range_width, search_range_width, 0);
46 int2 fit_pos = gfindMin(fit, cx, cy, cwidth, cheight);
100 static int2 gfindMin(rs_allocation fit, int cx, int cy, int cwidth, int cheight) {
101 int w = rsAllocationGetDimX(fit);
102 int h = rsAllocationGetDimY(fit);
103 float minFit = rsGetElementAt_float(fit, 0, 0);
120 float v = rsGetElementAt_float(fit, x, y);
132 void findMin(rs_allocation fit, rs_allocation fit_max,int cx, int cy, int cwidth, int cheight) {
133 int2 fit_pos = gfindMin(fit, cx, cy, cwidth, cheight);
DFindRegion.java111 Allocation fit = Allocation.createTyped(mRs, builderF32.create()); in findMatch() local
120 findRegion.forEach_bordercorrelation(fit, options); in findMatch()
128 findRegion.invoke_findMin(fit, fit_max, noSearch_x, noSearch_y, in findMatch()
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
Dfind_region.rscript105 static int2 gfindMin_ss(rs_allocation fit, int4 regionInSearch) {
106 int w = rsAllocationGetDimX(fit);
107 int h = rsAllocationGetDimY(fit);
108 float minFit = rsGetElementAt_float(fit, 0, 0);
117 float v = rsGetElementAt_float(fit, x, y);
138 rs_allocation fit;
169 fit = createVectorAllocation(RS_TYPE_FLOAT_32, 1, fit_width, fit_height, 0);
175 rsForEach(bordercorrelation_ss, fit);
177 int2 fit_pos = gfindMin_ss(fit, noZone);
/frameworks/av/media/libstagefright/
DVideoFrameSchedulerBase.cpp106 fit(0, period * 12 / 7, 8, &a, &b, &err);
122 bool VideoFrameSchedulerBase::PLL::fit( in fit() function in android::VideoFrameSchedulerBase::PLL
243 fit(firstTime, delta, numSamplesToUse, &a, &b, &err); in prime()
252 fit(firstTime, delta, numSamplesToUse, &a, &b, &err); in prime()
295 if (!fit(mPhase, mPeriod, kMaxSamplesToEstimatePeriod, &a, &b, &err)) { in addSample()
/frameworks/av/media/libstagefright/include/media/stagefright/
DVideoFrameSchedulerBase.h84 bool fit(nsecs_t phase, nsecs_t period, size_t numSamples,
/frameworks/base/core/java/com/android/internal/colorextraction/types/
DTonal.java152 float[] h = fit(palette.h, hsl[0], fitIndex, in runTonalExtraction()
154 float[] s = fit(palette.s, hsl[1], fitIndex, 0.0f, 1.0f); in runTonalExtraction()
155 float[] l = fit(palette.l, hsl[2], fitIndex, 0.0f, 1.0f); in runTonalExtraction()
306 private static float[] fit(float[] data, float v, int index, float min, float max) { in fit() method in Tonal
/frameworks/rs/script_api/
Drs_convert.spec41 Converting numbers too large to fit the destination type yields undefined results.
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dthreshold_half.rscript43 // we approximately fit sigma = f(radius) as
Dthreshold.rscript43 // we approximately fit sigma = f(radius) as
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dthreshold.rscript43 // we approximately fit sigma = f(radius) as
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dthreshold.rscript43 // we approximately fit sigma = f(radius) as
/frameworks/native/opengl/tests/angeles/
DREADME.txt18 naturally heavily size optimized in order to fit it in the size
/frameworks/minikin/doc/
Dhyb_file_format.md109 All known pattern tables fit in 32 bits total. If this is exceeded, there is a fairly
/frameworks/layoutlib/create/
DREADME.txt98 Each of these are specific strategies we use to be able to modify the Android code to fit within the
/frameworks/rs/script_api/include/
Drs_convert.rsh39 * Converting numbers too large to fit the destination type yields undefined results.
/frameworks/base/proto/src/
Dwifi.proto930 // Number of soft AP session durations that fit into this bucket
2478 // Number of read/write durations that fit into this bucket
/frameworks/ml/nn/runtime/
DNOTICE669 * Covered Software is free of defects, merchantable, fit for a *