Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/tests/
DNV12Compressor.cpp319 size_t jpegBufferSize, size_t *width /*out*/, size_t *height /*out*/) { in getJpegImageDimensions() argument
321 (jpegBufferSize == 0u)) { in getJpegImageDimensions()
328 for (currentPos = 0; currentPos <= jpegBufferSize - kMarkerLength; currentPos++) { in getJpegImageDimensions()
348 status_t NV12Compressor::getExifOrientation(uint8_t *jpegBuffer, size_t jpegBufferSize, in getExifOrientation() argument
350 if ((jpegBuffer == nullptr) || (exifValue == nullptr) || (jpegBufferSize == 0u)) { in getExifOrientation()
355 exif_data_load_data(exifData.get(), jpegBuffer, jpegBufferSize); in getExifOrientation()
DNV12Compressor.h56 size_t jpegBufferSize, android::camera3::ExifOrientation *exifValue /*out*/);
62 static android::status_t getJpegImageDimensions(uint8_t *jpegBuffer, size_t jpegBufferSize,
/frameworks/av/services/camera/libcameraservice/common/
DDepthPhotoProcessor.cpp78 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/services/camera/libcameraservice/device3/
DCamera3Device.cpp610 ssize_t jpegBufferSize = scaleFactor * (maxJpegBufferSize - kMinJpegBufferSize) + in getJpegBufferSize() local
612 if (jpegBufferSize > maxJpegBufferSize) { in getJpegBufferSize()
613 jpegBufferSize = maxJpegBufferSize; in getJpegBufferSize()
616 return jpegBufferSize; in getJpegBufferSize()