Home
last modified time | relevance | path

Searched refs:layerInfo (Results 1 – 7 of 7) sorted by relevance

/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
DBlurStack.java69 private LayerInfo[] layerInfo; field in BlurStack
93 return layerInfo.length; in getNumLayers()
97 return layerInfo[layer]; in getLayerInfo()
107 return layerInfo[layer].frontDepth - layerInfo[layer].backDepth + 1; in getNumDepths()
123 return layerInfo[layer].backDepth + relativeDepthInLayer; in getDepth()
177 s += "focus disparity: " + layerInfo[focusLayer].frontDepth + ", " in toString()
178 + layerInfo[focusLayer].backDepth + "\n"; in toString()
182 for (int n = 0; n < layerInfo.length; ++n) { in toString()
183 int front = layerInfo[n].frontDepth; in toString()
184 int back = layerInfo[n].backDepth; in toString()
[all …]
DRefocusFilter.java102 LayerInfo layerInfo = blurStack.getLayerInfo(targetLayer); in processLayersFromBackToFocus() local
103 setTargetLayer(layerInfo); in processLayersFromBackToFocus()
108 int dilationRadius = getKernelRadius(layerInfo.backDepth, blurStack); in processLayersFromBackToFocus()
145 LayerInfo layerInfo = blurStack.getLayerInfo(targetLayer); in processLayersFromFrontToFocus() local
146 setTargetLayer(layerInfo); in processLayersFromFrontToFocus()
151 int dilationRadius = getKernelRadius(layerInfo.frontDepth, blurStack); in processLayersFromFrontToFocus()
199 protected abstract void setTargetLayer(LayerInfo layerInfo); in setTargetLayer() argument
/frameworks/native/services/surfaceflinger/Scheduler/
DLayerHistory.cpp72 std::shared_ptr<LayerInfo> layerInfo; in insert() local
77 layerInfo = layerInfoIterator->second; in insert()
79 mActiveLayerInfos.insert({layerHandle->mId, layerInfo}); in insert()
83 layerInfo = layerInfoIterator->second; in insert()
91 layerInfo->setLastPresentTime(presentTime); in insert()
92 layerInfo->setHDRContent(isHdr); in insert()
96 std::shared_ptr<LayerInfo> layerInfo; in setVisibility() local
101 layerInfo = layerInfoIterator->second; in setVisibility()
104 mActiveLayerInfos.insert({layerHandle->mId, layerInfo}); in setVisibility()
109 layerInfo = layerInfoIterator->second; in setVisibility()
[all …]
/frameworks/native/services/surfaceflinger/
DLayer.cpp1877 void Layer::writeToProto(LayerProto* layerInfo, LayerVector::StateSet stateSet, in writeToProto() argument
1887 layerInfo->set_id(sequence); in writeToProto()
1888 layerInfo->set_name(getName().c_str()); in writeToProto()
1889 layerInfo->set_type(String8(getTypeId())); in writeToProto()
1892 layerInfo->add_children(child->sequence); in writeToProto()
1898 layerInfo->add_relatives(strongRelative->sequence); in writeToProto()
1903 [&]() { return layerInfo->mutable_transparent_region(); }); in writeToProto()
1905 [&]() { return layerInfo->mutable_visible_region(); }); in writeToProto()
1907 [&]() { return layerInfo->mutable_damage_region(); }); in writeToProto()
1909 layerInfo->set_layer_stack(getLayerStack()); in writeToProto()
[all …]
DLayer.h441 void writeToProto(LayerProto* layerInfo, LayerVector::StateSet stateSet,
444 void writeToProto(LayerProto* layerInfo, const sp<DisplayDevice>& displayDevice,
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/f32/
DRefocusFilterF32.java104 protected void setTargetLayer(LayerInfo layerInfo) { in setTargetLayer() argument
105 scriptC.invoke_SetTargetLayer(layerInfo.frontDepth, layerInfo.backDepth); in setTargetLayer()
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/d1new/
DRefocusFilterd1new.java106 protected void setTargetLayer(LayerInfo layerInfo) { in setTargetLayer() argument
107 scriptC.invoke_SetTargetLayer(layerInfo.frontDepth, layerInfo.backDepth); in setTargetLayer()