Searched refs:depthPhotoBuffer (Results 1 – 3 of 3) sorted by relevance
/frameworks/av/services/camera/libcameraservice/tests/ |
D | DepthProcessorTest.cpp | 94 std::vector<uint8_t> depthPhotoBuffer(inputFrame.mMaxJpegSize); in TEST() local 100 ASSERT_NE(processDepthPhotoFrame(inputFrame, depthPhotoBuffer.size(), depthPhotoBuffer.data(), in TEST() 105 ASSERT_NE(processDepthPhotoFrame(inputFrame, depthPhotoBuffer.size(), depthPhotoBuffer.data(), in TEST() 111 ASSERT_NE(processDepthPhotoFrame(inputFrame, depthPhotoBuffer.size(), nullptr, in TEST() 114 ASSERT_NE(processDepthPhotoFrame(inputFrame, depthPhotoBuffer.size(), depthPhotoBuffer.data(), in TEST() 140 std::vector<uint8_t> depthPhotoBuffer(inputFrame.mMaxJpegSize); in TEST() local 142 ASSERT_EQ(processDepthPhotoFrame(inputFrame, depthPhotoBuffer.size(), depthPhotoBuffer.data(), in TEST() 144 ASSERT_TRUE((actualDepthPhotoSize > 0) && (depthPhotoBuffer.size() >= actualDepthPhotoSize)); in TEST() 151 ASSERT_EQ(NV12Compressor::findJpegSize(depthPhotoBuffer.data(), actualDepthPhotoSize, in TEST() 155 ASSERT_EQ(NV12Compressor::findJpegSize(depthPhotoBuffer.data() + mainJpegSize, in TEST() [all …]
|
/frameworks/av/services/camera/libcameraservice/fuzzer/ |
D | DepthProcessorFuzzer.cpp | 43 std::vector<uint8_t> depthPhotoBuffer(inputFrame.mMaxJpegSize); in LLVMFuzzerTestOneInput() local 57 depthPhotoBuffer.size(), in LLVMFuzzerTestOneInput() 58 depthPhotoBuffer.data(), in LLVMFuzzerTestOneInput()
|
/frameworks/av/services/camera/libcameraservice/common/ |
D | DepthPhotoProcessor.cpp | 418 void* depthPhotoBuffer /*out*/, size_t* depthPhotoActualSize /*out*/) { in processDepthPhotoFrame() argument 420 (depthPhotoBuffer == nullptr) || (depthPhotoActualSize == nullptr)) { in processDepthPhotoFrame() 513 memcpy(depthPhotoBuffer, outputJpegStream.str().c_str(), *depthPhotoActualSize); in processDepthPhotoFrame()
|