Home
last modified time | relevance | path

Searched refs:exifOrientation (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/services/camera/libcameraservice/tests/
DDepthProcessorTest.cpp217 for (auto exifOrientation : exifOrientations) { in TEST() local
219 generateColorJpegBuffer(jpegQuality, exifOrientation, /*includeExif*/ true, in TEST()
221 if (exifOrientation != ExifOrientation::ORIENTATION_UNDEFINED) { in TEST()
225 ASSERT_EQ(exifOrientation, jpegExifOrientation); in TEST()
264 if (exifOrientation == ORIENTATION_UNDEFINED) { in TEST()
269 ASSERT_EQ(depthJpegExifOrientation, exifOrientation); in TEST()
276 if (exifOrientation == ORIENTATION_UNDEFINED) { in TEST()
281 ASSERT_EQ(confidenceJpegExifOrientation, exifOrientation); in TEST()
300 auto exifOrientation = ExifOrientation::ORIENTATION_0_DEGREES; in TEST() local
317 generateColorJpegBuffer(jpegQuality, exifOrientation, /*includeExif*/ true, in TEST()
[all …]
/frameworks/av/services/camera/libcameraservice/common/
DDepthPhotoProcessor.cpp114 const size_t maxOutSize, uint8_t jpegQuality, ExifOrientation exifOrientation, in encodeGrayscaleJpeg() argument
204 if (exifOrientation != ExifOrientation::ORIENTATION_UNDEFINED) { in encodeGrayscaleJpeg()
209 utils->setOrientationValue(exifOrientation); in encodeGrayscaleJpeg()
335 ExifOrientation exifOrientation, std::vector<std::unique_ptr<Item>> *items /*out*/, in processDepthMapFrame() argument
352 if (exifOrientation == ExifOrientation::ORIENTATION_0_DEGREES) { in processDepthMapFrame()
394 inputFrame.mJpegQuality, exifOrientation, actualJpegSize); in processDepthMapFrame()
403 inputFrame.mJpegQuality, exifOrientation, actualJpegSize); in processDepthMapFrame()
429 ExifOrientation exifOrientation = getExifOrientation( in processDepthPhotoFrame() local
433 cameraParams->depth_map = processDepthMapFrame(inputFrame, exifOrientation, &items, in processDepthPhotoFrame()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java1876 int exifOrientation = exif.getAttributeInt(ExifInterface.TAG_ORIENTATION, in verifyJpegKeys() local
1878 if (exifOrientation == ExifInterface.ORIENTATION_UNDEFINED) { in verifyJpegKeys()
1912 private static int getExifOrientationInDegree(int exifOrientation, in getExifOrientationInDegree() argument
1914 switch (exifOrientation) { in getExifOrientationInDegree()
2025 int exifOrientation = exif.getAttributeInt(ExifInterface.TAG_ORIENTATION, in verifyJpegExifExtraTags() local
2035 exifOrientation >= ORIENTATION_MIN && exifOrientation <= ORIENTATION_MAX); in verifyJpegExifExtraTags()
2042 boolean deviceRotatedImage = exifOrientation == ExifInterface.ORIENTATION_UNDEFINED; in verifyJpegExifExtraTags()
2053 requestedOrientation, getExifOrientationInDegree(exifOrientation, in verifyJpegExifExtraTags()