Searched refs:exifOrientation (Results 1 – 3 of 3) sorted by relevance
/frameworks/av/services/camera/libcameraservice/tests/ |
D | DepthProcessorTest.cpp | 166 for (auto exifOrientation : exifOrientations) { in TEST() local 168 generateColorJpegBuffer(jpegQuality, exifOrientation, /*includeExif*/ true, in TEST() 170 if (exifOrientation != ExifOrientation::ORIENTATION_UNDEFINED) { in TEST() 174 ASSERT_EQ(exifOrientation, jpegExifOrientation); in TEST() 213 if (exifOrientation == ORIENTATION_UNDEFINED) { in TEST() 218 ASSERT_EQ(depthJpegExifOrientation, exifOrientation); in TEST() 225 if (exifOrientation == ORIENTATION_UNDEFINED) { in TEST() 230 ASSERT_EQ(confidenceJpegExifOrientation, exifOrientation); in TEST() 239 auto exifOrientation = ExifOrientation::ORIENTATION_0_DEGREES; in TEST() local 256 generateColorJpegBuffer(jpegQuality, exifOrientation, /*includeExif*/ true, in TEST() [all …]
|
/frameworks/av/services/camera/libcameraservice/common/ |
D | DepthPhotoProcessor.cpp | 114 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/ |
D | CameraTestUtils.java | 1876 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()
|