/aosp12/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
H A D | BlurStack.java | 69 private LayerInfo[] layerInfo; 96 public LayerInfo getLayerInfo(int layer) { in getLayerInfo() 272 layerInfo = new LayerInfo[numLayers]; in generateOneLayerForEachDepth() 277 layerInfo[layer] = new LayerInfo(depth); in generateOneLayerForEachDepth() 322 layerInfo = new LayerInfo[numLayers]; in groupDepthLevelsIntoLayers() 356 ArrayList<LayerInfo> layerInfo = in groupDepthLevelsBehindFocus() 366 layerInfo.add(new LayerInfo(d)); in groupDepthLevelsBehindFocus() 383 layerInfo.add(new LayerInfo(d)); in groupDepthLevelsBehindFocus() 402 ArrayList<LayerInfo> layerInfo = in groupDepthLevelsInFrontOfFocus() 413 layerInfo.add(new LayerInfo(d)); in groupDepthLevelsInFrontOfFocus() [all …]
|
H A D | LayerInfo.java | 7 public class LayerInfo { class 11 LayerInfo(int depth) { in LayerInfo() method in LayerInfo 16 LayerInfo(int front, int back) { in LayerInfo() method in LayerInfo
|
H A D | RefocusFilter.java | 102 LayerInfo layerInfo = blurStack.getLayerInfo(targetLayer); in processLayersFromBackToFocus() 145 LayerInfo layerInfo = blurStack.getLayerInfo(targetLayer); in processLayersFromFrontToFocus() 193 LayerInfo focalLayer); in initializeScriptAndBuffers() 199 protected abstract void setTargetLayer(LayerInfo layerInfo); in setTargetLayer()
|
H A D | layer_info.rsh | 5 typedef struct LayerInfo {
|
H A D | layer_info_fast.rsh | 5 typedef struct LayerInfo {
|
H A D | pixel_format_f32.rsh | 38 // in LayerInfo below.
|
/aosp12/frameworks/native/services/surfaceflinger/Scheduler/ |
H A D | LayerInfo.cpp | 37 bool LayerInfo::sTraceEnabled = false; 39 LayerInfo::LayerInfo(const std::string& name, uid_t ownerUid, in LayerInfo() function in android::scheduler::LayerInfo 76 bool LayerInfo::isFrequent(nsecs_t now) const { in isFrequent() 102 bool LayerInfo::isAnimating(nsecs_t now) const { in isAnimating() 106 bool LayerInfo::hasEnoughDataForHeuristic() const { in hasEnoughDataForHeuristic() 186 std::optional<Fps> LayerInfo::calculateRefreshRateIfPossible( in calculateRefreshRateIfPossible() 221 LayerInfo::LayerVote LayerInfo::getRefreshRateVote(const RefreshRateConfigs& refreshRateConfigs, in getRefreshRateVote() 268 LayerInfo::RefreshRateHistory::HeuristicTraceTagData 269 LayerInfo::RefreshRateHistory::makeHeuristicTraceTagData() const { in makeHeuristicTraceTagData() 278 void LayerInfo::RefreshRateHistory::clear() { in clear() [all …]
|
H A D | LayerInfo.h | 47 class LayerInfo { 125 LayerInfo(const std::string& name, uid_t ownerUid, LayerHistory::LayerVoteType defaultVote); 127 LayerInfo(const LayerInfo&) = delete; 128 LayerInfo& operator=(const LayerInfo&) = delete;
|
H A D | LayerHistory.cpp | 42 bool isLayerActive(const LayerInfo& info, nsecs_t threshold) { in isLayerActive() 61 void trace(const LayerInfo& info, LayerHistory::LayerVoteType type, int fps) { in trace() 80 LayerInfo::setTraceEnabled(mTraceEnabled); in LayerHistory() 90 auto info = std::make_unique<LayerInfo>(layer->getName(), layer->getOwnerUid(), type); in registerLayer() 123 const auto layerProps = LayerInfo::LayerProps{ in record()
|
H A D | LayerHistory.h | 39 class LayerInfo; variable 81 using LayerPair = std::pair<Layer*, std::unique_ptr<LayerInfo>>;
|
/aosp12/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/f32/ |
H A D | ImageBuffersForRenderScriptF32.java | 11 import com.android.rs.refocus.LayerInfo; 69 public void initializeRenderScript(LayerInfo focalLayer, in initializeRenderScript()
|
H A D | RefocusFilterF32.java | 6 import com.android.rs.refocus.LayerInfo; 45 LayerInfo focalLayer) { in initializeScriptAndBuffers() 104 protected void setTargetLayer(LayerInfo layerInfo) { in setTargetLayer()
|
/aosp12/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/d1new/ |
H A D | ImageBuffersForRenderScriptd1new.java | 11 import com.android.rs.refocus.LayerInfo; 92 public void initializeRenderScript(LayerInfo focalLayer, in initializeRenderScript()
|
H A D | RefocusFilterd1new.java | 5 import com.android.rs.refocus.LayerInfo; 46 LayerInfo focalLayer) { in initializeScriptAndBuffers() 106 protected void setTargetLayer(LayerInfo layerInfo) { in setTargetLayer()
|
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/ |
H A D | LayerInfoTest.cpp | 30 using FrameTimeData = LayerInfo::FrameTimeData; 43 LayerInfo layerInfo{"TestLayerInfo", 0, LayerHistory::LayerVoteType::Heuristic};
|
H A D | LayerHistoryTest.cpp | 46 static constexpr auto PRESENT_TIME_HISTORY_SIZE = LayerInfo::HISTORY_SIZE; 47 static constexpr auto MAX_FREQUENT_LAYER_PERIOD_NS = LayerInfo::kMaxPeriodForFrequentLayerNs; 48 static constexpr auto FREQUENT_LAYER_WINDOW_SIZE = LayerInfo::kFrequentLayerWindowSize; 49 static constexpr auto PRESENT_TIME_HISTORY_DURATION = LayerInfo::HISTORY_DURATION; 51 LayerInfo::RefreshRateHistory::HISTORY_DURATION;
|
/aosp12/frameworks/native/services/surfaceflinger/ |
H A D | Android.bp | 176 "Scheduler/LayerInfo.cpp",
|
H A D | Layer.h | 147 using FrameRate = scheduler::LayerInfo::FrameRate; 148 using FrameRateCompatibility = scheduler::LayerInfo::FrameRateCompatibility;
|