Home
last modified time | relevance | path

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

/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
Dlayer_info_fast.rsh6 // Front and back depth values of this layer.
24 static inline int ValidDepth(int depth) { return (depth != 0); }
26 static inline int NotInFrontOfTheLayer(int depth,
28 return (depth <= layer_info_f2.s0);
31 static inline int OnTheLayer(int depth, const int2 layer_info_i2) {
32 //return (layer_info->back_depth <= depth && depth <= layer_info->front_depth);
33 return (layer_info_i2.s1 <= depth && depth <= layer_info_i2.s0);
37 int depth, const int2 layer_info_f2) {
38 //return (depth != 0) & (depth <= layer_info->front_depth);
39 return (depth != 0) & (depth <= layer_info_f2.s0);
[all …]
Dlayer_info.rsh6 // Front and back depth values of this layer.
24 static inline int ValidDepth(int depth) { return (depth != 0); }
26 static inline int NotInFrontOfTheLayer(int depth,
28 return (depth <= layer_info->front_depth);
31 static inline int OnTheLayer(int depth, const LayerInfo_t *layer_info) {
32 return (layer_info->back_depth <= depth && depth <= layer_info->front_depth);
36 int depth, const LayerInfo_t *layer_info) {
37 return (depth != 0) & (depth <= layer_info->front_depth);
40 static inline int ValidDepthNotOnTheLayer(int depth,
42 return (depth != 0) &
[all …]
DBlurStack.java103 public float getDiskRadius(int depth) { in getDiskRadius() argument
104 return diskRadiusArray[depth - MIN_DEPTH]; in getDiskRadius()
260 for (int depth = MIN_DEPTH; depth <= MAX_DEPTH; ++depth) { in computeDiskRadius()
262 depthTransform.reconstruct(stackDepthToOpenglDepth(depth)); in computeDiskRadius()
269 diskRadiusArray[depth - MIN_DEPTH] = Math.min(radius, MAX_DISC_RADIUS); in computeDiskRadius()
291 for (int depth = MAX_DEPTH; depth > frontFocalDepth; --depth, ++layer) { in generateOneLayerForEachDepth()
292 layerInfo[layer] = new LayerInfo(depth); in generateOneLayerForEachDepth()
301 for (int depth = backFocalDepth - 1; depth >= MIN_DEPTH; --depth, ++layer) { in generateOneLayerForEachDepth()
302 layerInfo[layer] = new LayerInfo(depth); in generateOneLayerForEachDepth()
DLayerInfo.java27 LayerInfo(int depth) { in LayerInfo() argument
28 frontDepth = depth; in LayerInfo()
29 backDepth = depth; in LayerInfo()
DKernelDataForRenderScript.java123 int depth = blurStack.getDepth(targetLayer, m); in KernelDataForRenderScript() local
124 float diskRadius = blurStack.getDiskRadius(depth); in KernelDataForRenderScript()
145 int depth = blurStack.getDepth(targetLayer, m); in KernelDataForRenderScript() local
146 float diskRadius = blurStack.getDiskRadius(depth); in KernelDataForRenderScript()
Dpixel_format_f32.rsh7 // 1. Initially, it stores the input color (red, green, blue) and the depth
16 // 3. After each layer is processed from back-most layer to focal depth layer,
20 // 4. After each layer is processed from front-most layer to focal depth layer,
42 // For active pixels, dilated_depth is the same as actual depth;
43 // For inactive pixels with non-zero matte, dilated_depth is the depth of the
45 // For other pixels, 0 (invalid depth).
Dlayered_filter_d1new_helper.rsh34 // depth of the closest pixel to sharp->dilated_depth.
37 // may not be in the depth range of the target layer.
52 int depth = sharp_input_actual_depth; // Get meta data actual_depth
66 // Updates min_dist and corresponding depth.
68 depth = cond ? sharp_actual_depth : depth;
77 // If sharp->matte > 0, depth must be within the depth range of this layer.
78 rsSetElementAt_uchar(g_sharp_dilated_depth, (uchar)depth, index_sharp_meta);
93 int depth = sharp_input_actual_depth; // Get meta data actual_depth
107 // Updates min_dist and corresponding depth.
109 depth = cond ? sharp_actual_depth : depth;
[all …]
Dlayered_filter_f32_helper.rsh17 // depth of the closest pixel to sharp->dilated_depth.
20 // may not be in the depth range of the target layer.
33 int depth = sharp->actual_depth;
46 // Updates min_dist and corresponding depth.
48 depth = cond ? sharp_nbr->actual_depth : depth;
57 // If sharp->matte > 0, depth must be within the depth range of this layer.
58 sharp->dilated_depth = (uchar)depth;
62 // the sharp depth.
76 // Gets the visibility probability lookup table for the target layer depth.
115 // the sharp depth.
[all …]
Dluts_for_speedup_f32.rsh11 // depth y is visible in the presence of a pixel with depth x.
41 // For a depth value within the focal layer, only depth values in front
43 // is, a depth value x that has a larger value (closer to the camera)
DRefocusFilter.java179 private static int getKernelRadius(int depth, BlurStack blurStack) { in getKernelRadius() argument
181 .computeKernelRadiusFromDiskRadius(blurStack.getDiskRadius(depth)); in getKernelRadius()
DDepthTransform.java42 public int quantize(float depth); in quantize() argument
DRGBZ.java160 private Bitmap setAlphaChannelFromBitmap(Bitmap depth, Bitmap orig, Bitmap dest) { in setAlphaChannelFromBitmap() argument
167 depth.getPixels(depth_data, 0, w, 0, 0, w, h); in setAlphaChannelFromBitmap()
Dlayered_filter_fast_f32.rs342 const int depth = sharp->dilated_depth;
343 if (depth == 0) {
367 g_kernel_info + depth - g_target_layer.back_depth;
404 const int depth = sharp->dilated_depth;
406 if (depth == 0) {
Dlayered_filter_fast_d1new.rs473 uchar depth = rsGetElementAt_uchar(g_sharp_dilated_depth, index);
475 if (depth == 0) {
498 …const float4 alloc_kernel_info = rsGetElementAt_float4(galloc_kernel_info, depth - g_target_layer_…
590 uchar depth = rsGetElementAt_uchar(g_sharp_dilated_depth, index);
592 if (depth == 0) {
/cts/common/util/src/com/android/compatibility/common/util/
DStacktrace.java60 StackTraceElement[] elements, int depth, boolean includeLineNumber) { in buildClassMethodName() argument
61 depth = Math.min(depth, elements.length - 1); in buildClassMethodName()
63 builder.append(elements[depth].getClassName()).append("#") in buildClassMethodName()
64 .append(elements[depth].getMethodName()); in buildClassMethodName()
66 builder.append(":").append(elements[depth].getLineNumber()); in buildClassMethodName()
/cts/hostsidetests/sustainedperf/shadertoy_android/src/
DGLtestView.java76 public GLtestView(Context context, boolean translucent, int depth, int stencil) { in GLtestView() argument
78 init(translucent, depth, stencil); in GLtestView()
81 private void init(boolean translucent, int depth, int stencil) { in init() argument
103 new ConfigChooser(8, 8, 8, 8, depth, stencil) : in init()
104 new ConfigChooser(5, 6, 5, 0, depth, stencil) ); in init()
135 public ConfigChooser(int r, int g, int b, int a, int depth, int stencil) { in ConfigChooser() argument
140 mDepthSize = depth; in ConfigChooser()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DAllocationCopyToTest.java402 int depth = random.nextInt(64); in test_Allocationcopy3DRangeTo_Byte() local
410 int zcount = depth - zoff; in test_Allocationcopy3DRangeTo_Byte()
418 typeBuilder.setX(width).setY(height).setZ(depth); in test_Allocationcopy3DRangeTo_Byte()
439 int depth = random.nextInt(64); in test_Allocationcopy3DRangeTo_Short_Helper() local
447 int zcount = depth - zoff; in test_Allocationcopy3DRangeTo_Short_Helper()
458 typeBuilder.setX(width).setY(height).setZ(depth); in test_Allocationcopy3DRangeTo_Short_Helper()
484 int depth = random.nextInt(64); in test_Allocationcopy3DRangeTo_Int() local
492 int zcount = depth - zoff; in test_Allocationcopy3DRangeTo_Int()
503 typeBuilder.setX(width).setY(height).setZ(depth); in test_Allocationcopy3DRangeTo_Int()
524 int depth = random.nextInt(64); in test_Allocationcopy3DRangeTo_Float() local
[all …]
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/d1new/
DKernelDataForRenderScriptd1new.java62 int depth = blurStack.getDepth(targetLayer, m); in KernelDataForRenderScriptd1new() local
63 float diskRadius = blurStack.getDiskRadius(depth); in KernelDataForRenderScriptd1new()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/f32/
DKernelDataForRenderScriptF32.java63 int depth = blurStack.getDepth(targetLayer, m); in KernelDataForRenderScriptF32() local
64 float diskRadius = blurStack.getDiskRadius(depth); in KernelDataForRenderScriptF32()
/cts/libs/deviceutil/src/android/cts/util/
DMediaUtils.java116 int depth = 1; in getTestName() local
117 while (index + depth < stack.length in getTestName()
118 && stack[index + depth].getMethodName().equals("invoke") in getTestName()
119 && stack[index + depth].getClassName().equals( in getTestName()
121 ++depth; in getTestName()
123 if (depth > 1) { in getTestName()
126 if (index + depth < stack.length) { in getTestName()
127 if (stack[index + depth].getClassName().startsWith("android.test.")) { in getTestName()
130 if (stack[index + depth].getMethodName().equals("runMethod")) { in getTestName()
/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/
DWriteExternalStorageTest.java179 int depth = 0; in testMountStatusWalkingUpTree() local
180 while (depth++ < 32) { in testMountStatusWalkingUpTree()
/cts/tests/tests/view/src/android/view/cts/
DViewGroupTest.java2464 public void debug(int depth) { in debug() argument
2465 debugDepth = depth; in debug()
2466 super.debug(depth); in debug()
/cts/apps/CtsVerifier/libs/
Dopencv3-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...
/cts/tools/dex-tools/dex/
Dclasses0.out.dex81344 private int depth
81701 int depth
81763 final int depth
81881 private final int depth
105923 protected int depth
108040 private int depth
108363 private int depth
108777 private int depth
108994 int depth
Dclasses.out.dex69126 final int depth
69255 int depth