Searched refs:jpegBuffer (Results 1 – 10 of 10) sorted by relevance
/frameworks/av/services/camera/libcameraservice/tests/ |
D | NV12Compressor.cpp | 271 status_t NV12Compressor::findJpegSize(uint8_t *jpegBuffer, size_t maxSize, size_t *size /*out*/) { in findJpegSize() argument 272 if ((size == nullptr) || (jpegBuffer == nullptr)) { in findJpegSize() 276 if (checkJpegStart(jpegBuffer) == 0) { in findJpegSize() 283 segment_t *segment = (segment_t*)(jpegBuffer + *size); in findJpegSize() 300 if (checkJpegEnd(jpegBuffer + *size)) { in findJpegSize() 318 status_t NV12Compressor::getJpegImageDimensions(uint8_t *jpegBuffer, in getJpegImageDimensions() argument 320 if ((jpegBuffer == nullptr) || (width == nullptr) || (height == nullptr) || in getJpegImageDimensions() 329 if (checkStartOfFrame(jpegBuffer + currentPos)) { in getJpegImageDimensions() 341 sof_t *startOfFrame = reinterpret_cast<sof_t *> (jpegBuffer + currentPos); in getJpegImageDimensions() 348 status_t NV12Compressor::getExifOrientation(uint8_t *jpegBuffer, size_t jpegBufferSize, in getExifOrientation() argument [all …]
|
D | NV12Compressor.h | 52 static android::status_t findJpegSize(uint8_t *jpegBuffer, size_t maxSize, 55 static android::status_t getExifOrientation(uint8_t *jpegBuffer, 62 static android::status_t getJpegImageDimensions(uint8_t *jpegBuffer, size_t jpegBufferSize,
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | JpegProcessor.cpp | 346 size_t JpegProcessor::findJpegSize(uint8_t* jpegBuffer, size_t maxSize) { in findJpegSize() argument 350 uint8_t *header = jpegBuffer + (maxSize - sizeof(struct camera2_jpeg_blob)); in findJpegSize() 357 uint8_t *end = jpegBuffer + offset; in findJpegSize() 358 if (checkJpegStart(jpegBuffer) && checkJpegEnd(end)) { in findJpegSize() 370 if ( !checkJpegStart(jpegBuffer) ) { in findJpegSize() 378 segment_t *segment = (segment_t*)(jpegBuffer + size); in findJpegSize() 397 if ( checkJpegEnd(jpegBuffer + size) ) { in findJpegSize()
|
D | JpegProcessor.h | 59 static size_t findJpegSize(uint8_t* jpegBuffer, size_t maxSize);
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | DepthCompositeStream.cpp | 144 mPendingInputFrames[imgBuffer.timestamp].jpegBuffer = imgBuffer; in compilePendingInputLocked() 225 (it.second.jpegBuffer.data != nullptr) && (it.first < *currentTs)) { in getNextReadyInputLocked() 257 auto jpegSize = android::camera2::JpegProcessor::findJpegSize(inputFrame.jpegBuffer.data, in processInputFrame() 258 inputFrame.jpegBuffer.width); in processInputFrame() 261 jpegSize = inputFrame.jpegBuffer.width; in processInputFrame() 313 depthPhoto.mMainJpegBuffer = reinterpret_cast<const char*> (inputFrame.jpegBuffer.data); in processInputFrame() 402 if (inputFrame->jpegBuffer.data != nullptr) { in releaseInputFrameLocked() 403 mBlobConsumer->unlockBuffer(inputFrame->jpegBuffer); in releaseInputFrameLocked() 404 inputFrame->jpegBuffer.data = nullptr; in releaseInputFrameLocked()
|
D | DepthCompositeStream.h | 77 CpuConsumer::LockedBuffer jpegBuffer; member
|
/frameworks/av/services/camera/libcameraservice/common/ |
D | DepthPhotoProcessor.cpp | 78 ExifOrientation getExifOrientation(const unsigned char *jpegBuffer, size_t jpegBufferSize) { in getExifOrientation() argument 79 if ((jpegBuffer == nullptr) || (jpegBufferSize == 0)) { in getExifOrientation() 84 exif_data_load_data(exifData, jpegBuffer, jpegBufferSize); in getExifOrientation()
|
/frameworks/av/media/ndk/ |
D | NdkImage.cpp | 375 uint8_t* jpegBuffer = mLockedBuffer->data; in getJpegSize() local 378 uint8_t* header = jpegBuffer + (width - sizeof(struct camera3_jpeg_blob)); in getJpegSize()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | Camera2StillCaptureTest.java | 457 byte[] jpegBuffer = getDataFromImage(jpegImage); in fullRawCaptureTestByCamera() 461 dumpFile(jpegFileName, jpegBuffer); in fullRawCaptureTestByCamera()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | CameraTestUtils.java | 1856 byte[] jpegBuffer = getDataFromImage(image); in verifyJpegKeys() 1859 dumpFile(jpegFilename, jpegBuffer); in verifyJpegKeys()
|