Home
last modified time | relevance | path

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

/hardware/qcom/sm8150/display/libhistogram/
Dhistogram_collector.cpp94 uint64_t max_frames, in collect() argument
111 if (max_frames == 0 && timestamp == 0) { in collect()
113 } else if (max_frames == 0) { in collect()
116 std::tie(num_frames, samples) = histogram->collect_max(max_frames); in collect()
118 std::tie(num_frames, samples) = histogram->collect_max_after(timestamp, max_frames); in collect()
145 void histogram::HistogramCollector::start(uint64_t max_frames) { in start() argument
152 …histogram = histogram::Ringbuffer::create(max_frames, std::make_unique<histogram::DefaultTimeKeepe… in start()
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.h44 void start(uint64_t max_frames);
51 HWC2::Error collect(uint64_t max_frames,
/hardware/qcom/sm7250/display/libhistogram/
Dhistogram_collector.cpp93 uint64_t max_frames, uint64_t timestamp, in collect() argument
107 if (max_frames == 0 && timestamp == 0) { in collect()
109 } else if (max_frames == 0) { in collect()
112 std::tie(num_frames, samples) = histogram->collect_max(max_frames); in collect()
114 std::tie(num_frames, samples) = histogram->collect_max_after(timestamp, max_frames); in collect()
140 void histogram::HistogramCollector::start(uint64_t max_frames) { in start() argument
148 histogram::Ringbuffer::create(max_frames, std::make_unique<histogram::DefaultTimeKeeper>()); in start()
Dringbuffer.h57 Sample collect_max(uint32_t max_frames) const;
58 Sample collect_max_after(nsecs_t timestamp, uint32_t max_frames) const;
66 Sample collect_max(uint32_t max_frames, std::unique_lock<std::mutex> const &) const;
67 Sample collect_max_after(nsecs_t timestamp, uint32_t max_frames,
Dringbuffer.cpp110 histogram::Ringbuffer::Sample histogram::Ringbuffer::collect_max(uint32_t max_frames) const { in collect_max()
112 return collect_max(max_frames, lk); in collect_max()
116 uint32_t max_frames) const { in collect_max_after()
118 return collect_max_after(timestamp, max_frames, lk); in collect_max_after()
122 uint32_t max_frames, std::unique_lock<std::mutex> const &) const { in collect_max() argument
123 auto collect_first = std::min(static_cast<size_t>(max_frames), ringbuffer.size()); in collect_max()
144 nsecs_t timestamp, uint32_t max_frames, std::unique_lock<std::mutex> const &lk) const { in collect_max_after() argument
150 static_cast<std::ptrdiff_t>(max_frames)); in collect_max_after()
Dhistogram_collector.h43 void start(uint64_t max_frames);
50 HWC2::Error collect(uint64_t max_frames, uint64_t timestamp,
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_display_builtin.h107 …layedContentSamplingEnabled(int32_t enabled, uint8_t component_mask, uint64_t max_frames) override;
110 virtual HWC2::Error GetDisplayedContentSample(uint64_t max_frames,
Dhwc_display_builtin.cpp936 …:SetDisplayedContentSamplingEnabled(int32_t enabled, uint8_t component_mask, uint64_t max_frames) { in SetDisplayedContentSamplingEnabled() argument
949 if (start && max_frames == 0) { in SetDisplayedContentSamplingEnabled()
953 histogram.start(max_frames); in SetDisplayedContentSamplingEnabled()
968 HWC2::Error HWCDisplayBuiltIn::GetDisplayedContentSample(uint64_t max_frames, in GetDisplayedContentSample() argument
974 histogram.collect(max_frames, timestamp, samples_size, samples, numFrames); in GetDisplayedContentSample()
Dhwc_display.h360 …r SetDisplayedContentSamplingEnabled(int32_t enabled, uint8_t component_mask, uint64_t max_frames);
364 virtual HWC2::Error GetDisplayedContentSample(uint64_t max_frames,
Dhwc_session.cpp697 uint64_t max_frames) { in SetDisplayedContentSamplingEnabled() argument
704 enabled, component_mask, max_frames); in SetDisplayedContentSamplingEnabled()
718 hwc2_device_t* device, hwc2_display_t display, uint64_t max_frames, uint64_t timestamp, in GetDisplayedContentSample() argument
724 max_frames, timestamp, numFrames, samples_size, samples); in GetDisplayedContentSample()
Dhwc_display.cpp2553 uint8_t component_mask, uint64_t max_frames) { in SetDisplayedContentSamplingEnabled() argument
2565 HWC2::Error HWCDisplay::GetDisplayedContentSample(uint64_t max_frames, in GetDisplayedContentSample() argument
/hardware/qcom/sm7250/display/composer/
Dhwc_display_builtin.h181 uint64_t max_frames);
185 uint64_t max_frames, uint64_t timestamp, uint64_t *numFrames,
Dhwc_display_builtin.cpp1358 uint64_t max_frames) { in SetDisplayedContentSamplingEnabled() argument
1371 if (start && max_frames == 0) { in SetDisplayedContentSamplingEnabled()
1376 histogram.start(max_frames); in SetDisplayedContentSamplingEnabled()
1395 uint64_t max_frames, uint64_t timestamp, uint64_t *numFrames, in GetDisplayedContentSample() argument
1399 histogram.collect(max_frames, timestamp, samples_size, samples, numFrames); in GetDisplayedContentSample()
Dhwc_display.h475 uint64_t max_frames);
479 uint64_t max_frames, uint64_t timestamp, uint64_t *numFrames,
Dhwc_session.h310 uint8_t component_mask, uint64_t max_frames);
313 int32_t GetDisplayedContentSample(hwc2_display_t display, uint64_t max_frames, uint64_t timestamp,
Dhwc_session.cpp697 uint64_t max_frames) { in SetDisplayedContentSamplingEnabled() argument
703 component_mask, max_frames); in SetDisplayedContentSamplingEnabled()
713 int32_t HWCSession::GetDisplayedContentSample(hwc2_display_t display, uint64_t max_frames, in GetDisplayedContentSample() argument
717 return CallDisplayFunction(display, &HWCDisplay::GetDisplayedContentSample, max_frames, timestamp, in GetDisplayedContentSample()
Dhwc_display.cpp2475 uint64_t max_frames) { in SetDisplayedContentSamplingEnabled() argument
2486 uint64_t max_frames, uint64_t timestamp, uint64_t *numFrames, in GetDisplayedContentSample() argument
/hardware/google/graphics/common/libhwc2.1/
DExynosHWC.h151 uint64_t max_frames);
153 uint64_t max_frames, uint64_t timestamp,
/hardware/libhardware/include_all/hardware/
Dhwcomposer2.h2799 uint64_t max_frames);
2838 uint64_t max_frames, uint64_t timestamp,
/hardware/libhardware/include/hardware/
Dhwcomposer2.h2799 uint64_t max_frames);
2838 uint64_t max_frames, uint64_t timestamp,