/hardware/qcom/sdm845/display/libhistogram/ |
D | ringbuffer_test.cpp | 95 std::array<uint64_t, HIST_V_SIZE> bins; member in RingbufferTestCases 110 std::tie(numFrames, bins) = rb->collect_ringbuffer_all(); in TEST_F() 112 EXPECT_THAT(bins, Each(0)); in TEST_F() 129 std::tie(numFrames, bins) = rb->collect_ringbuffer_all(); in TEST_F() 131 ASSERT_THAT(bins.size(), Eq(HIST_V_SIZE)); in TEST_F() 132 for (auto i = 0u; i < bins.size(); i++) { in TEST_F() 133 EXPECT_THAT(bins[i], Eq(toMs(3ms) * i)); in TEST_F() 152 std::tie(numFrames, bins) = rb->collect_ringbuffer_all(); in TEST_F() 154 EXPECT_THAT(bins, Each(fill_frame0)); in TEST_F() 157 std::tie(numFrames, bins) = rb->collect_ringbuffer_all(); in TEST_F() [all …]
|
D | ringbuffer.cpp | 40 uint64_t& count, std::array<uint64_t, HIST_V_SIZE>& bins) const { in update_cumulative() 50 for (auto i = 0u; i < bins.size(); i++) { in update_cumulative() 52 …if (CC_UNLIKELY((bins[i] + increment < bins[i]) || (increment < ringbuffer.front().histogram.data[… in update_cumulative() 53 bins[i] = std::numeric_limits<uint64_t>::max(); in update_cumulative() 55 bins[i] += increment; in update_cumulative() 116 std::array<uint64_t, HIST_V_SIZE> bins; in collect_max() local 117 bins.fill(0); in collect_max() 126 bins[i] += it->histogram.data[i] * delta.count(); in collect_max() 129 return { collect_first, bins }; in collect_max()
|
D | histogram_collector.cpp | 297 std::array<uint64_t, numBuckets> bins; in rebucketTo8Buckets() local 298 bins.fill(0); in rebucketTo8Buckets() 300 bins[i / bucket_compression] += frame[i]; in rebucketTo8Buckets() 301 return bins; in rebucketTo8Buckets()
|
D | ringbuffer.h | 69 …void update_cumulative(nsecs_t now, uint64_t& count, std::array<uint64_t, HIST_V_SIZE>& bins) cons…
|
/hardware/google/pixel/health/ |
D | CycleCountBackupRestore.cpp | 92 void CycleCountBackupRestore::Read(const std::string &path, int *bins) { in Read() argument 107 bins[i] = std::stoi(counts[i]); in Read() 112 void CycleCountBackupRestore::Write(int *bins, const std::string &path) { in Write() argument 119 str_data += std::to_string(bins[i]); in Write()
|
/hardware/google/pixel/health/include/pixelhealth/ |
D | CycleCountBackupRestore.h | 49 void Read(const std::string &path, int *bins); 50 void Write(int *bins, const std::string &path);
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/common/src/ |
D | extra_data_handler.cpp | 52 OMX_U32 rem_bits = num_bits, bins = 0, shift = 0; in d_u() local 57 bins <<= shift; in d_u() 59 bins |= ((rbsp_buf[byte_ptr] << shift) & 0xFF) >> shift; in d_u() 69 bins <<= rem_bits; in d_u() 70 bins |= ((rbsp_buf[byte_ptr] << (8-bit_ptr)) & 0xFF) >> (8-rem_bits); in d_u() 82 … DEBUG_PRINT_LOW("In %s() bin/num_bits : %x/%u", __func__, (unsigned)bins, (unsigned int)num_bits); in d_u() 83 return bins; in d_u()
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/common/src/ |
D | extra_data_handler.cpp | 50 OMX_U32 rem_bits = num_bits, bins = 0, shift = 0; in d_u() local 55 bins <<= shift; in d_u() 57 bins |= ((rbsp_buf[byte_ptr] << shift) & 0xFF) >> shift; in d_u() 66 bins <<= rem_bits; in d_u() 67 bins |= ((rbsp_buf[byte_ptr] << (8-bit_ptr)) & 0xFF) >> (8-rem_bits); in d_u() 77 DEBUG_PRINT_LOW("\nIn %s() bin/num_bits : %x/%d", __func__, bins, num_bits); in d_u() 78 return bins; in d_u()
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/common/src/ |
D | extra_data_handler.cpp | 52 OMX_U32 rem_bits = num_bits, bins = 0, shift = 0; in d_u() local 57 bins <<= shift; in d_u() 59 bins |= ((rbsp_buf[byte_ptr] << shift) & 0xFF) >> shift; in d_u() 69 bins <<= rem_bits; in d_u() 70 bins |= ((rbsp_buf[byte_ptr] << (8-bit_ptr)) & 0xFF) >> (8-rem_bits); in d_u() 82 … DEBUG_PRINT_LOW("In %s() bin/num_bits : %x/%u", __func__, (unsigned)bins, (unsigned int)num_bits); in d_u() 83 return bins; in d_u()
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/common/src/ |
D | extra_data_handler.cpp | 56 OMX_U32 rem_bits = num_bits, bins = 0, shift = 0; in d_u() local 61 bins <<= shift; in d_u() 63 bins |= ((rbsp_buf[byte_ptr] << shift) & 0xFF) >> shift; in d_u() 73 bins <<= rem_bits; in d_u() 74 bins |= ((rbsp_buf[byte_ptr] << (8-bit_ptr)) & 0xFF) >> (8-rem_bits); in d_u() 86 … DEBUG_PRINT_LOW("In %s() bin/num_bits : %x/%u", __func__, (unsigned)bins, (unsigned int)num_bits); in d_u() 87 return bins; in d_u()
|
/hardware/interfaces/neuralnetworks/1.2/ |
D | types.hal | 4123 * regions of interest and pooling bins.
|