• Home
  • Raw
  • Download

Lines Matching refs:appSegmentBuffer

548             mPendingInputFrames[imgBuffer.timestamp].appSegmentBuffer = imgBuffer;  in compilePendingInputLocked()
679 bool appSegmentReady = (it.second.appSegmentBuffer.data != nullptr) && in getNextReadyInputLocked()
718 bool appSegmentReady = inputFrame.appSegmentBuffer.data != nullptr && in processInputFrame()
852 auto appSegmentSize = findAppSegmentsSize(inputFrame.appSegmentBuffer.data, in processAppSegment()
853 inputFrame.appSegmentBuffer.width * inputFrame.appSegmentBuffer.height, in processAppSegment()
856 appSegmentSize, inputFrame.appSegmentBuffer.width, in processAppSegment()
857 inputFrame.appSegmentBuffer.height, app1Size); in processAppSegment()
864 auto exifRes = exifUtils->initialize(inputFrame.appSegmentBuffer.data, app1Size); in processAppSegment()
895 uint8_t* appSegmentBuffer = new uint8_t[appSegmentBufferSize]; in processAppSegment() local
896 memcpy(appSegmentBuffer, kExifApp1Marker, sizeof(kExifApp1Marker)); in processAppSegment()
897 memcpy(appSegmentBuffer + sizeof(kExifApp1Marker), newApp1Segment, newApp1Length); in processAppSegment()
899 memcpy(appSegmentBuffer + sizeof(kExifApp1Marker) + newApp1Length, in processAppSegment()
900 inputFrame.appSegmentBuffer.data + app1Size, appSegmentSize - app1Size); in processAppSegment()
903 sp<ABuffer> aBuffer = new ABuffer(appSegmentBuffer, appSegmentBufferSize); in processAppSegment()
906 delete[] appSegmentBuffer; in processAppSegment()
1060 if (inputFrame->appSegmentBuffer.data != nullptr) { in releaseInputFrameLocked()
1061 mAppSegmentConsumer->unlockBuffer(inputFrame->appSegmentBuffer); in releaseInputFrameLocked()
1062 inputFrame->appSegmentBuffer.data = nullptr; in releaseInputFrameLocked()
1261 size_t HeicCompositeStream::findAppSegmentsSize(const uint8_t* appSegmentBuffer, in findAppSegmentsSize() argument
1263 if (appSegmentBuffer == nullptr || app1SegmentSize == nullptr) { in findAppSegmentsSize()
1265 __FUNCTION__, appSegmentBuffer, app1SegmentSize); in findAppSegmentsSize()
1271 const uint8_t *header = appSegmentBuffer + (maxSize - sizeof(struct CameraBlob)); in findAppSegmentsSize()
1288 if (memcmp(appSegmentBuffer, app1Marker, sizeof(app1Marker))) { in findAppSegmentsSize()
1290 appSegmentBuffer[0], appSegmentBuffer[1]); in findAppSegmentsSize()
1295 uint16_t app1Size = (static_cast<uint16_t>(appSegmentBuffer[totalSize]) << 8) + in findAppSegmentsSize()
1296 appSegmentBuffer[totalSize+1]; in findAppSegmentsSize()
1302 if (appSegmentBuffer[totalSize] != 0xFF || in findAppSegmentsSize()
1303 appSegmentBuffer[totalSize+1] <= 0xE1 || in findAppSegmentsSize()
1304 appSegmentBuffer[totalSize+1] > 0xEF) { in findAppSegmentsSize()
1307 appSegmentBuffer[totalSize], appSegmentBuffer[totalSize+1]); in findAppSegmentsSize()
1312 uint16_t appnSize = (static_cast<uint16_t>(appSegmentBuffer[totalSize]) << 8) + in findAppSegmentsSize()
1313 appSegmentBuffer[totalSize+1]; in findAppSegmentsSize()