Home
last modified time | relevance | path

Searched refs:mCroppingType (Results 1 – 14 of 14) sorted by relevance

/hardware/interfaces/camera/device/default/
DExternalCameraDevice.cpp150 session = createSession(in_callback, mCfg, mSupportedFormats, mCroppingType, in open()
228 mCroppingType = VERTICAL; in initSupportedFormatsLocked()
232 mCroppingType = HORIZONTAL; in initSupportedFormatsLocked()
244 mCroppingType = HORIZONTAL; in initSupportedFormatsLocked()
247 mCroppingType = VERTICAL; in initSupportedFormatsLocked()
251 mCroppingType = HORIZONTAL; in initSupportedFormatsLocked()
254 mCroppingType = VERTICAL; in initSupportedFormatsLocked()
258 mCroppingType = HORIZONTAL; in initSupportedFormatsLocked()
261 mCroppingType = VERTICAL; in initSupportedFormatsLocked()
DExternalCameraDeviceSession.cpp122 mCroppingType(croppingType), in ExternalCameraDeviceSession()
222 mOutputThread = std::make_shared<OutputThread>(/*parent=*/thiz, mCroppingType, in initOutputThread()
345 float desiredAr = (mCroppingType == VERTICAL) ? kMaxAspectRatio : kMinAspectRatio; in configureStreams()
350 if ((mCroppingType == VERTICAL && aspectRatio < desiredAr) || in configureStreams()
351 (mCroppingType == HORIZONTAL && aspectRatio > desiredAr)) { in configureStreams()
356 uint32_t dim = (mCroppingType == VERTICAL) ? stream.width : stream.height; in configureStreams()
365 uint32_t dim = (mCroppingType == VERTICAL) ? fmt.width : fmt.height; in configureStreams()
380 uint32_t dim = (mCroppingType == VERTICAL) ? fmt.width : fmt.height; in configureStreams()
383 if ((mCroppingType == VERTICAL && aspectRatio < desiredAr) || in configureStreams()
384 (mCroppingType == HORIZONTAL && aspectRatio > desiredAr)) { in configureStreams()
[all …]
DExternalCameraOfflineSession.h106 const CroppingType mCroppingType; variable
DExternalCameraDeviceSession.h209 const CroppingType mCroppingType; variable
314 const CroppingType mCroppingType; variable
DExternalCameraDevice.h133 CroppingType mCroppingType; variable
DExternalCameraOfflineSession.cpp62 : mCroppingType(croppingType), in ExternalCameraOfflineSession()
311 mOutputThread = std::make_shared<OutputThread>(/*parent=*/thiz, mCroppingType, mChars, in initOutputThread()
/hardware/interfaces/camera/device/3.4/default/
DExternalCameraDevice.cpp164 callback, mCfg, mSupportedFormats, mCroppingType, in open()
970 mCroppingType = VERTICAL; in initSupportedFormatsLocked()
974 mCroppingType = HORIZONTAL; in initSupportedFormatsLocked()
987 mCroppingType = HORIZONTAL; in initSupportedFormatsLocked()
990 mCroppingType = VERTICAL; in initSupportedFormatsLocked()
995 mCroppingType = HORIZONTAL; in initSupportedFormatsLocked()
999 mCroppingType = VERTICAL; in initSupportedFormatsLocked()
1003 mCroppingType = HORIZONTAL; in initSupportedFormatsLocked()
1006 mCroppingType = VERTICAL; in initSupportedFormatsLocked()
DExternalCameraDeviceSession.cpp103 mCroppingType(croppingType), in ExternalCameraDeviceSession()
184 mOutputThread = new OutputThread(this, mCroppingType, mCameraCharacteristics); in initOutputThread()
268 (mCroppingType == VERTICAL) ? "vertical" : "horizontal", in dumpState()
924 mParent(parent), mCroppingType(ct), mCameraCharacteristics(chars) {} in OutputThread()
950 ret = getCropRect(mCroppingType, inSz, outSz, &inputCrop); in cropAndScaleLocked()
965 if ((mCroppingType == VERTICAL && inSz.width == outSz.width) || in cropAndScaleLocked()
966 (mCroppingType == HORIZONTAL && inSz.height == outSz.height)) { in cropAndScaleLocked()
2359 float desiredAr = (mCroppingType == VERTICAL) ? kMaxAspectRatio : kMinAspectRatio; in configureStreams()
2364 if ((mCroppingType == VERTICAL && aspectRatio < desiredAr) || in configureStreams()
2365 (mCroppingType == HORIZONTAL && aspectRatio > desiredAr)) { in configureStreams()
[all …]
/hardware/interfaces/camera/device/3.4/default/include/ext_device_v3_4_impl/
DExternalCameraDevice_3_4.h155 CroppingType mCroppingType; member
DExternalCameraDeviceSession.h162 const CroppingType mCroppingType; member
326 const CroppingType mCroppingType; member
/hardware/interfaces/camera/device/3.6/default/
DExternalCameraOfflineSession.cpp60 mCroppingType(croppingType), mChars(chars), mCameraId(cameraId), in ExternalCameraOfflineSession()
89 mOutputThread = new OutputThread(this, mCroppingType, mChars, in initOutputThread()
DExternalCameraDeviceSession.cpp314 mCroppingType, mCameraCharacteristics, mCameraId, in switchToOffline()
/hardware/interfaces/camera/device/3.5/default/
DExternalCameraDeviceSession.cpp258 this, mCroppingType, mCameraCharacteristics, mBufferRequestThread); in initOutputThread()
/hardware/interfaces/camera/device/3.6/default/include/ext_device_v3_6_impl/
DExternalCameraOfflineSession.h172 const CroppingType mCroppingType; member