Merge "Camera: Append non-partial results" into pi-dev am: 908fd8653f
am: 327e5312b8
Change-Id: I650a15c5f678c2e5e7f2a4e753819b2abe4d5e4b
This commit is contained in:
commit
02fb8a2946
1 changed files with 4 additions and 0 deletions
|
@ -1013,6 +1013,10 @@ bool CameraHidlTest::DeviceCb::processCaptureResultLocked(const CaptureResult& r
|
|||
|
||||
isPartialResult =
|
||||
(results.partialResult < request->numPartialResults);
|
||||
} else if (resultSize > 0) {
|
||||
request->collectedResult.append(reinterpret_cast<const camera_metadata_t*>(
|
||||
resultMetadata.data()));
|
||||
isPartialResult = false;
|
||||
}
|
||||
|
||||
hasInputBufferInRequest = request->hasInputBuffer;
|
||||
|
|
Loading…
Reference in a new issue