Home
last modified time | relevance | path

Searched refs:max_frames (Results 1 – 10 of 10) sorted by relevance

/hardware/qcom/sdm845/display/libhistogram/
Dringbuffer.cpp100 histogram::Ringbuffer::Sample histogram::Ringbuffer::collect_max(uint32_t max_frames) const { in collect_max()
102 return collect_max(max_frames, lk); in collect_max()
106 nsecs_t timestamp, uint32_t max_frames) const { in collect_max_after()
108 return collect_max_after(timestamp, max_frames, lk); in collect_max_after()
112 uint32_t max_frames, std::unique_lock<std::mutex> const&) const { in collect_max() argument
113 auto collect_first = std::min(static_cast<size_t>(max_frames), ringbuffer.size()); in collect_max()
133 nsecs_t timestamp, uint32_t max_frames, std::unique_lock<std::mutex> const& lk) const { in collect_max_after() argument
139 static_cast<std::ptrdiff_t>(max_frames)); in collect_max_after()
Dringbuffer.h58 Sample collect_max(uint32_t max_frames) const;
59 Sample collect_max_after(nsecs_t timestamp, uint32_t max_frames) const;
67 Sample collect_max(uint32_t max_frames, std::unique_lock<std::mutex> const&) const;
68 …Sample collect_max_after(nsecs_t timestamp, uint32_t max_frames, std::unique_lock<std::mutex> cons…
Dhistogram_collector.h40 void start(uint64_t max_frames);
45 HWC2::Error collect(uint64_t max_frames,
Dhistogram_collector.cpp330 uint64_t max_frames, in collect() argument
347 if (max_frames == 0 && timestamp == 0) { in collect()
349 } else if (max_frames == 0) { in collect()
352 std::tie(num_frames, samples) = histogram->collect_max(max_frames); in collect()
354 std::tie(num_frames, samples) = histogram->collect_max_after(timestamp, max_frames); in collect()
381 void histogram::HistogramCollector::start(uint64_t max_frames) { in start() argument
391 …histogram = histogram::Ringbuffer::create(max_frames, std::make_unique<histogram::DefaultTimeKeepe… in start()
/hardware/qcom/sdm845/display/sdm/libs/hwc2/
Dhwc_display_primary.h88 …layedContentSamplingEnabled(int32_t enabled, uint8_t component_mask, uint64_t max_frames) override;
91 virtual HWC2::Error GetDisplayedContentSample(uint64_t max_frames,
Dhwc_display_primary.cpp846 …:SetDisplayedContentSamplingEnabled(int32_t enabled, uint8_t component_mask, uint64_t max_frames) { in SetDisplayedContentSamplingEnabled() argument
859 if (start && max_frames == 0) { in SetDisplayedContentSamplingEnabled()
862 histogram.start(max_frames); in SetDisplayedContentSamplingEnabled()
875 HWC2::Error HWCDisplayPrimary::GetDisplayedContentSample(uint64_t max_frames, in GetDisplayedContentSample() argument
881 histogram.collect(max_frames, timestamp, samples_size, samples, numFrames); in GetDisplayedContentSample()
Dhwc_display.h379 …r SetDisplayedContentSamplingEnabled(int32_t enabled, uint8_t component_mask, uint64_t max_frames);
383 virtual HWC2::Error GetDisplayedContentSample(uint64_t max_frames,
Dhwc_session.cpp537 uint64_t max_frames) { in SetDisplayedContentSamplingEnabled() argument
544 enabled, component_mask, max_frames); in SetDisplayedContentSamplingEnabled()
558 hwc2_device_t* device, hwc2_display_t display, uint64_t max_frames, uint64_t timestamp, in GetDisplayedContentSample() argument
564 max_frames, timestamp, numFrames, samples_size, samples); in GetDisplayedContentSample()
Dhwc_display.cpp2404 uint8_t component_mask, uint64_t max_frames) { in SetDisplayedContentSamplingEnabled() argument
2416 HWC2::Error HWCDisplay::GetDisplayedContentSample(uint64_t max_frames, in GetDisplayedContentSample() argument
/hardware/libhardware/include/hardware/
Dhwcomposer2.h2625 uint64_t max_frames);
2664 uint64_t max_frames, uint64_t timestamp,