Home
last modified time | relevance | path

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

/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
DBlurStack.java111 public LayerInfo getLayerInfo(int layer) { in getLayerInfo() argument
112 return layerInfo[layer]; in getLayerInfo()
121 public int getNumDepths(int layer) { in getNumDepths() argument
122 return layerInfo[layer].frontDepth - layerInfo[layer].backDepth + 1; in getNumDepths()
137 public int getDepth(int layer, int relativeDepthInLayer) { in getDepth() argument
138 return layerInfo[layer].backDepth + relativeDepthInLayer; in getDepth()
290 int layer = 0; in generateOneLayerForEachDepth() local
291 for (int depth = MAX_DEPTH; depth > frontFocalDepth; --depth, ++layer) { in generateOneLayerForEachDepth()
292 layerInfo[layer] = new LayerInfo(depth); in generateOneLayerForEachDepth()
296 focusLayer = layer; in generateOneLayerForEachDepth()
[all …]
Dpixel_format_f32.rsh10 // 2. When processing each layer, we use its field (active) to mark
11 // whether or not a pixel is on the current target layer. For pixels that are
16 // 3. After each layer is processed from back-most layer to focal depth layer,
18 // layer processing for the next iteration.
20 // 4. After each layer is processed from front-most layer to focal depth layer,
23 // 5. After each layer is processed in either of the two passes, the fields
33 // active = 1: the pixel is on the target layer;
39 // matte/(dilation_radius+1) is the actual value used in layer blending.
Dlayered_filter_d1new_helper.rsh20 // int2 that stores the target layer info: 1. front_depth, 2. back_depth; declared in layered_filte…
37 // may not be in the depth range of the target layer.
40 //Compute layer matte using global allocation
49 // this layer.
77 // If sharp->matte > 0, depth must be within the depth range of this layer.
90 // this layer.
117 // If sharp->matte > 0, depth must be within the depth range of this layer.
121 // Filters target layer when processing layers in pass one from the back-most to
123 // Use global allocation for filter from back most layer to focus layer
136 // Gets the visibility probability lookup table for the target layer depth.
[all …]
Dlayer_info.rsh4 // An object that contains the front and back depths values of a layer
6 // Front and back depth values of this layer.
13 // layer.
15 // The max kernel radius of a layer.
Dlayer_info_fast.rsh4 // An object that contains the front and back depths values of a layer
6 // Front and back depth values of this layer.
13 // layer.
15 // The max kernel radius of a layer.
Dlayered_filter_f32_helper.rsh20 // may not be in the depth range of the target layer.
30 // this layer.
57 // If sharp->matte > 0, depth must be within the depth range of this layer.
61 // Filters target layer when processing layers in pass one from the back-most to
76 // Gets the visibility probability lookup table for the target layer depth.
89 // Filters only using pixels on or behind this layer to avoid color
90 // bleeding from layers in front of this layer. Doing visibility test in a
114 // Filters target layer when processing layers in pass one from the back-most to
150 // Filters the target layer when processing layers in pass two from the
Dlayered_filter_fast_f32.rscript14 // 4. The focal layer (i.e., the global variable g_focal_layer) is the depth
41 // Then the input image gets updated as each layer is processed from the
55 // layer filtering result temporarily and then the result is used to update the
56 // input image after each layer is processed.
58 // all the layer filtering results and in the end, the accumulation result is
63 // The info of current layer that is being processed.
65 // The dilation radius that controls how the current layer should be blended
125 // Marks active pixels that are on the target layer.
217 // We do not need to compute matte for depths in front of this layer,
243 // current layer.
[all …]
Dluts_for_speedup_f32.rsh10 // A lookup table that heuristically computes the probability that a layer with
41 // For a depth value within the focal layer, only depth values in front
42 // of the focal layer are considered as its potential occluders. That
44 // than y but is still within the focal layer is _not_ considered as an
Dlayered_filter_fast_d1new.rscript14 // 4. The focal layer (i.e., the global variable g_focal_layer) is the depth
44 // Then the input image gets updated as each layer is processed from the
56 // layer filtering result temporarily and then the result is used to update the
57 // input image after each layer is processed.
59 // all the layer filtering results and in the end, the accumulation result is
63 // The dilation radius that controls how the current layer should be blended
68 // int2 that stores the focal layer info: 1. front_depth, 2. back_depth
110 // Marks active pixels that are on the target layer.
258 // We do not need to compute matte for depths in front of this layer,
277 // We do not need to compute matte for depths in front of this layer,
[all …]
/cts/tests/tests/media/src/android/media/cts/
DImageReaderDecoderTest.java645 int layer = 0; in validateSwirl() local
656 if (VERBOSE) Log.v(TAG, "area=" + area + ", layer=" + layer + ", last=" in validateSwirl()
659 rawStats[layer][i] += oneStat[i]; in validateSwirl()
669 layer ^= 2; // NUM_SIDES / 2 in validateSwirl()
674 lastLayer = layer; in validateSwirl()
676 layer = (layer + 1) % NUM_SIDES; in validateSwirl()
679 for (layer = 0; layer < NUM_SIDES; ++layer) { in validateSwirl()
680 float[] stats = CodecUtils.Raw2YUVStats(rawStats[layer]); in validateSwirl()
681 if (DEBUG) Log.d(TAG, "layer-" + layer + ": " + Arrays.toString(stats)); in validateSwirl()
682 if (VERBOSE) Log.v(TAG, Arrays.toString(rawStats[layer])); in validateSwirl()
[all …]
/cts/apps/CtsVerifier/include/colorchecker/
Dcolorcheckertest.h76 void computeGradient(unsigned char* layer, float* gradientMap);
/cts/tests/tests/nativehardware/jni/
DAHardwareBufferGLTest.cpp233 for (uint32_t layer = 0; layer < desc.layers; ++layer) { in UploadData() local
234 glTexSubImage3D(GL_TEXTURE_2D_ARRAY, 0, 0, 0, layer, desc.width, desc.height, 1, in UploadData()
1132 void SetUpFramebuffer(int width, int height, int layer, AttachmentType color,
1580 void AHardwareBufferGLTest::SetUpFramebuffer(int width, int height, int layer, in SetUpFramebuffer() argument
1616 GL_TEXTURE_CUBE_MAP_POSITIVE_X + layer, in SetUpFramebuffer()
1620 mTextures[mWhich], level, layer); in SetUpFramebuffer()
1624 ASSERT_EQ(0, layer); in SetUpFramebuffer()
1644 ASSERT_EQ(0, layer); in SetUpFramebuffer()
/cts/hostsidetests/gputools/src/android/gputools/cts/
DCtsRootlessGpuDebugHostTest.java188 private void setupLayer(String layer, String layerApp) throws Exception { in setupLayer() argument
198 … String layerPath = getDevice().executeAdbCommand("shell", "find", libPath + " -name " + layer); in setupLayer()
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/
DVulkanDeviceInfo.java807 JSONObject layer = layers.getJSONObject(i); in emitLayers() local
810 JSONObject properties = layer.getJSONObject(KEY_PROPERTIES); in emitLayers()
819 emitExtensions(store, layer); in emitLayers()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DWindowManagerState.java864 mLayer = surfaceProto.layer; in WindowState()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DLayerDrawableTest.java1884 Drawable layer = new RippleDrawable(ColorStateList.valueOf(Color.BLACK), null, null); in testInvalidateDuringInit() local
1886 LayerDrawable orig = new LayerDrawable(new Drawable[] { layer }); in testInvalidateDuringInit()