Home
last modified time | relevance | path

Searched refs:jpegBuffer (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/services/camera/libcameraservice/api1/client2/
DJpegProcessor.cpp368 size_t JpegProcessor::findJpegSize(uint8_t* jpegBuffer, size_t maxSize) { in findJpegSize() argument
372 uint8_t *header = jpegBuffer + (maxSize - sizeof(struct camera2_jpeg_blob)); in findJpegSize()
379 uint8_t *end = jpegBuffer + offset; in findJpegSize()
380 if (checkJpegStart(jpegBuffer) && checkJpegEnd(end)) { in findJpegSize()
392 if ( !checkJpegStart(jpegBuffer) ) { in findJpegSize()
400 segment_t *segment = (segment_t*)(jpegBuffer + size); in findJpegSize()
419 if ( checkJpegEnd(jpegBuffer + size) ) { in findJpegSize()
DJpegProcessor.h85 size_t findJpegSize(uint8_t* jpegBuffer, size_t maxSize);
/frameworks/av/media/ndk/
DNdkImage.cpp390 uint8_t* jpegBuffer = mLockedBuffer->data; in getJpegSize() local
393 uint8_t* header = jpegBuffer + (width - sizeof(struct camera3_jpeg_blob)); in getJpegSize()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCamera2StillCaptureTest.java457 byte[] jpegBuffer = getDataFromImage(jpegImage); in fullRawCaptureTestByCamera()
461 dumpFile(jpegFileName, jpegBuffer); in fullRawCaptureTestByCamera()
/frameworks/base/media/jni/
Dandroid_media_Utils.cpp617 uint8_t* jpegBuffer = buffer->data; in Image_getJpegSize() local
624 uint8_t* header = jpegBuffer + (width - sizeof(struct camera3_jpeg_blob)); in Image_getJpegSize()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java1784 byte[] jpegBuffer = getDataFromImage(image); in verifyJpegKeys()
1787 dumpFile(jpegFilename, jpegBuffer); in verifyJpegKeys()