Home
last modified time | relevance | path

Searched refs:layerInfo (Results 1 – 9 of 9) 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/
DLayerProtoHelper.cpp365 void LayerProtoHelper::writeSnapshotToProto(perfetto::protos::LayerProto* layerInfo, in writeSnapshotToProto() argument
373 [&]() { return layerInfo->mutable_active_buffer(); }); in writeSnapshotToProto()
375 layerInfo->mutable_buffer_transform()); in writeSnapshotToProto()
377 layerInfo->set_invalidate(snapshot.contentDirty); in writeSnapshotToProto()
378 layerInfo->set_is_protected(snapshot.hasProtectedContent); in writeSnapshotToProto()
379 layerInfo->set_dataspace(dataspaceDetails(static_cast<android_dataspace>(snapshot.dataspace))); in writeSnapshotToProto()
380 layerInfo->set_curr_frame(requestedState.bufferData->frameNumber); in writeSnapshotToProto()
381 layerInfo->set_requested_corner_radius(requestedState.cornerRadius); in writeSnapshotToProto()
382 layerInfo->set_corner_radius( in writeSnapshotToProto()
384 layerInfo->set_background_blur_radius(snapshot.backgroundBlurRadius); in writeSnapshotToProto()
[all …]
DLayer.cpp2209 void Layer::writeToProtoDrawingState(perfetto::protos::LayerProto* layerInfo) { in writeToProtoDrawingState() argument
2214 [&]() { return layerInfo->mutable_active_buffer(); }); in writeToProtoDrawingState()
2216 layerInfo->mutable_buffer_transform()); in writeToProtoDrawingState()
2218 layerInfo->set_invalidate(contentDirty); in writeToProtoDrawingState()
2219 layerInfo->set_is_protected(isProtected()); in writeToProtoDrawingState()
2220 layerInfo->set_dataspace(dataspaceDetails(static_cast<android_dataspace>(getDataSpace()))); in writeToProtoDrawingState()
2221 layerInfo->set_queued_frames(getQueuedFrameCount()); in writeToProtoDrawingState()
2222 layerInfo->set_curr_frame(mCurrentFrameNumber); in writeToProtoDrawingState()
2223 layerInfo->set_requested_corner_radius(getDrawingState().cornerRadius); in writeToProtoDrawingState()
2224 layerInfo->set_corner_radius( in writeToProtoDrawingState()
[all …]
DLayer.h658 void writeToProtoDrawingState(perfetto::protos::LayerProto* layerInfo);
662 void writeToProtoCommonState(perfetto::protos::LayerProto* layerInfo, LayerVector::StateSet,
/frameworks/native/services/surfaceflinger/tests/unittests/
DLayerInfoTest.cpp48 layerInfo.mFrameTimes = frameTimes; in setFrameTimes()
52 layerInfo.mLastRefreshRate.reported = fps; in setLastRefreshRate()
53 layerInfo.mLastRefreshRate.calculated = fps; in setLastRefreshRate()
56 auto calculateAverageFrameTime() { return layerInfo.calculateAverageFrameTime(); } in calculateAverageFrameTime()
58 LayerInfo layerInfo{"TestLayerInfo", 0, LayerHistory::LayerVoteType::Heuristic}; member in android::scheduler::LayerInfoTest
202 layerInfo.setLayerVote(vote); in TEST_F()
205 layerInfo.getRefreshRateVote(*mScheduler->refreshRateSelector(), systemTime()); in TEST_F()
218 layerInfo.setLayerVote(vote); in TEST_F()
221 layerInfo.getRefreshRateVote(*mScheduler->refreshRateSelector(), systemTime()); in TEST_F()
236 layerInfo.setLayerVote(vote); in TEST_F()
[all …]
/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()
/frameworks/native/services/surfaceflinger/tests/tracing/
DTransactionTraceTestSuite.cpp166 LayerInfo layerInfo = getLayerInfoFromProto(layer); in getLayerInfosFromProto() local
168 uint64_t layerId = layerInfo.name.find("(Mirror)") == std::string::npos in getLayerInfosFromProto()
172 snapshotIdToLayerId[layerInfo.id] = layerId; in getLayerInfosFromProto()
177 layers.push_back(layerInfo); in getLayerInfosFromProto()