Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/tests/
DDepthProcessorTest.cpp52 void generateColorJpegBuffer(int jpegQuality, ExifOrientation orientationValue, bool includeExif, in generateColorJpegBuffer()
119 generateColorJpegBuffer(jpegQuality, ExifOrientation::ORIENTATION_UNDEFINED, in TEST()
163 generateColorJpegBuffer(jpegQuality, ExifOrientation::ORIENTATION_UNDEFINED, in TEST()
214 ExifOrientation exifOrientations[] = { ExifOrientation::ORIENTATION_UNDEFINED, in TEST()
215 ExifOrientation::ORIENTATION_0_DEGREES, ExifOrientation::ORIENTATION_90_DEGREES, in TEST()
216 ExifOrientation::ORIENTATION_180_DEGREES, ExifOrientation::ORIENTATION_270_DEGREES }; in TEST()
221 if (exifOrientation != ExifOrientation::ORIENTATION_UNDEFINED) { in TEST()
222 auto jpegExifOrientation = ExifOrientation::ORIENTATION_UNDEFINED; in TEST()
261 auto depthJpegExifOrientation = ExifOrientation::ORIENTATION_UNDEFINED; in TEST()
267 ASSERT_EQ(depthJpegExifOrientation, ExifOrientation::ORIENTATION_0_DEGREES); in TEST()
[all …]
DNV12Compressor.cpp52 int quality, android::camera3::ExifOrientation exifValue) { in compressWithExifOrientation()
349 ExifOrientation *exifValue /*out*/) { in getExifOrientation()
366 case ExifOrientation::ORIENTATION_0_DEGREES: in getExifOrientation()
367 case ExifOrientation::ORIENTATION_90_DEGREES: in getExifOrientation()
368 case ExifOrientation::ORIENTATION_180_DEGREES: in getExifOrientation()
369 case ExifOrientation::ORIENTATION_270_DEGREES: in getExifOrientation()
370 *exifValue = static_cast<ExifOrientation> (orientationValue); in getExifOrientation()
DNV12Compressor.h44 android::camera3::ExifOrientation exifValue);
56 size_t jpegBufferSize, android::camera3::ExifOrientation *exifValue /*out*/);
/frameworks/av/services/camera/libcameraservice/common/
DDepthPhotoProcessor.cpp78 ExifOrientation getExifOrientation(const unsigned char *jpegBuffer, size_t jpegBufferSize) { in getExifOrientation()
80 return ExifOrientation::ORIENTATION_UNDEFINED; in getExifOrientation()
90 return ExifOrientation::ORIENTATION_0_DEGREES; in getExifOrientation()
94 ExifOrientation ret; in getExifOrientation()
96 case ExifOrientation::ORIENTATION_0_DEGREES: in getExifOrientation()
97 case ExifOrientation::ORIENTATION_90_DEGREES: in getExifOrientation()
98 case ExifOrientation::ORIENTATION_180_DEGREES: in getExifOrientation()
99 case ExifOrientation::ORIENTATION_270_DEGREES: in getExifOrientation()
100 ret = static_cast<ExifOrientation> (orientationValue); in getExifOrientation()
105 ret = ExifOrientation::ORIENTATION_0_DEGREES; in getExifOrientation()
[all …]
/frameworks/av/services/camera/libcameraservice/utils/
DExifUtils.h35 enum ExifOrientation : uint16_t { enum
168 virtual bool setOrientationValue(ExifOrientation orientationValue) = 0;
DExifUtils.cpp158 virtual bool setOrientationValue(ExifOrientation orientationValue);
638 ExifOrientation value = ExifOrientation::ORIENTATION_0_DEGREES; in setOrientation()
641 value = ExifOrientation::ORIENTATION_90_DEGREES; in setOrientation()
644 value = ExifOrientation::ORIENTATION_180_DEGREES; in setOrientation()
647 value = ExifOrientation::ORIENTATION_270_DEGREES; in setOrientation()
655 bool ExifUtilsImpl::setOrientationValue(ExifOrientation orientationValue) { in setOrientationValue()