Home
last modified time | relevance | path

Searched refs:depth16Buffer (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/services/camera/libcameraservice/fuzzer/
DDepthProcessorFuzzer.cpp31 …st uint8_t* data, size_t size, std::array<uint16_t, kTestBufferDepthSize> *depth16Buffer /*out*/) { in generateDepth16Buffer() argument
33 for (size_t i = 0; i < depth16Buffer->size(); i++) { in generateDepth16Buffer()
34 (*depth16Buffer)[i] = dataProvider.ConsumeIntegral<uint16_t>(); in generateDepth16Buffer()
46 std::array<uint16_t, kTestBufferDepthSize> depth16Buffer; in LLVMFuzzerTestOneInput() local
47 generateDepth16Buffer(data, size, &depth16Buffer); in LLVMFuzzerTestOneInput()
51 inputFrame.mDepthMapBuffer = depth16Buffer.data(); in LLVMFuzzerTestOneInput()
/frameworks/av/services/camera/libcameraservice/tests/
DDepthProcessorTest.cpp71 void generateDepth16Buffer(std::array<uint16_t, kTestBufferDepthSize> *depth16Buffer /*out*/) { in generateDepth16Buffer() argument
72 ASSERT_NE(depth16Buffer, nullptr); in generateDepth16Buffer()
75 for (size_t i = 0; i < depth16Buffer->size(); i++) { in generateDepth16Buffer()
76 (*depth16Buffer)[i] = uniDist(gen); in generateDepth16Buffer()
91 std::array<uint16_t, kTestBufferDepthSize> depth16Buffer; in TEST() local
92 generateDepth16Buffer(&depth16Buffer); in TEST()
108 inputFrame.mDepthMapBuffer = depth16Buffer.data(); in TEST()
125 std::array<uint16_t, kTestBufferDepthSize> depth16Buffer; in TEST() local
126 generateDepth16Buffer(&depth16Buffer); in TEST()
136 inputFrame.mDepthMapBuffer = depth16Buffer.data(); in TEST()
[all …]