Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/api1/client2/
DJpegProcessor.cpp338 size_t JpegProcessor::findJpegSize(uint8_t* jpegBuffer, size_t maxSize) { in findJpegSize() argument
342 uint8_t *header = jpegBuffer + (maxSize - sizeof(struct camera2_jpeg_blob)); in findJpegSize()
349 uint8_t *end = jpegBuffer + offset; in findJpegSize()
350 if (checkJpegStart(jpegBuffer) && checkJpegEnd(end)) { in findJpegSize()
362 if ( !checkJpegStart(jpegBuffer) ) { in findJpegSize()
370 segment_t *segment = (segment_t*)(jpegBuffer + size); in findJpegSize()
389 if ( checkJpegEnd(jpegBuffer + size) ) { in findJpegSize()
DJpegProcessor.h79 size_t findJpegSize(uint8_t* jpegBuffer, size_t maxSize);
/frameworks/base/media/jni/
Dandroid_media_ImageWriter.cpp790 uint8_t* jpegBuffer = buffer->data; in Image_getJpegSize() local
797 uint8_t* header = jpegBuffer + (width - sizeof(struct camera3_jpeg_blob)); in Image_getJpegSize()
Dandroid_media_ImageReader.cpp339 uint8_t* jpegBuffer = buffer->data; in Image_getJpegSize() local
346 uint8_t* header = jpegBuffer + (width - sizeof(struct camera3_jpeg_blob)); in Image_getJpegSize()