Lines Matching refs:appSegmentBuffer
636 mPendingInputFrames[frameNumber].appSegmentBuffer = imgBuffer; in compilePendingInputLocked()
791 (it.second.appSegmentBuffer.data != nullptr || it.second.exifError) && in getNextReadyInputLocked()
832 (inputFrame.appSegmentBuffer.data != nullptr || inputFrame.exifError) && in processInputFrame()
970 appSegmentSize = findAppSegmentsSize(inputFrame.appSegmentBuffer.data, in processAppSegment()
971 inputFrame.appSegmentBuffer.width * inputFrame.appSegmentBuffer.height, in processAppSegment()
982 exifUtils->initialize(inputFrame.appSegmentBuffer.data, app1Size); in processAppSegment()
1013 uint8_t* appSegmentBuffer = new uint8_t[appSegmentBufferSize]; in processAppSegment() local
1014 memcpy(appSegmentBuffer, kExifApp1Marker, sizeof(kExifApp1Marker)); in processAppSegment()
1015 memcpy(appSegmentBuffer + sizeof(kExifApp1Marker), newApp1Segment, newApp1Length); in processAppSegment()
1017 memcpy(appSegmentBuffer + sizeof(kExifApp1Marker) + newApp1Length, in processAppSegment()
1018 inputFrame.appSegmentBuffer.data + app1Size, appSegmentSize - app1Size); in processAppSegment()
1021 sp<ABuffer> aBuffer = new ABuffer(appSegmentBuffer, appSegmentBufferSize); in processAppSegment()
1024 delete[] appSegmentBuffer; in processAppSegment()
1033 __FUNCTION__, frameNumber, appSegmentSize, inputFrame.appSegmentBuffer.width, in processAppSegment()
1034 inputFrame.appSegmentBuffer.height, app1Size); in processAppSegment()
1038 mAppSegmentConsumer->unlockBuffer(inputFrame.appSegmentBuffer); in processAppSegment()
1039 inputFrame.appSegmentBuffer.data = nullptr; in processAppSegment()
1195 if (inputFrame->appSegmentBuffer.data != nullptr) { in releaseInputFrameLocked()
1196 mAppSegmentConsumer->unlockBuffer(inputFrame->appSegmentBuffer); in releaseInputFrameLocked()
1197 inputFrame->appSegmentBuffer.data = nullptr; in releaseInputFrameLocked()
1415 size_t HeicCompositeStream::findAppSegmentsSize(const uint8_t* appSegmentBuffer, in findAppSegmentsSize() argument
1417 if (appSegmentBuffer == nullptr || app1SegmentSize == nullptr) { in findAppSegmentsSize()
1419 __FUNCTION__, appSegmentBuffer, app1SegmentSize); in findAppSegmentsSize()
1425 const uint8_t *header = appSegmentBuffer + (maxSize - sizeof(struct CameraBlob)); in findAppSegmentsSize()
1442 if (memcmp(appSegmentBuffer, app1Marker, sizeof(app1Marker))) { in findAppSegmentsSize()
1444 appSegmentBuffer[0], appSegmentBuffer[1]); in findAppSegmentsSize()
1449 uint16_t app1Size = (static_cast<uint16_t>(appSegmentBuffer[totalSize]) << 8) + in findAppSegmentsSize()
1450 appSegmentBuffer[totalSize+1]; in findAppSegmentsSize()
1456 if (appSegmentBuffer[totalSize] != 0xFF || in findAppSegmentsSize()
1457 appSegmentBuffer[totalSize+1] <= 0xE1 || in findAppSegmentsSize()
1458 appSegmentBuffer[totalSize+1] > 0xEF) { in findAppSegmentsSize()
1461 appSegmentBuffer[totalSize], appSegmentBuffer[totalSize+1]); in findAppSegmentsSize()
1466 uint16_t appnSize = (static_cast<uint16_t>(appSegmentBuffer[totalSize]) << 8) + in findAppSegmentsSize()
1467 appSegmentBuffer[totalSize+1]; in findAppSegmentsSize()