Home
last modified time | relevance | path

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

/frameworks/av/camera/camera2/
DOutputConfiguration.cpp104 int surfaceType = SURFACE_TYPE_UNKNOWN; in readFromParcel() local
105 if ((err = parcel->readInt32(&surfaceType)) != OK) { in readFromParcel()
134 if (isDeferred && surfaceType != SURFACE_TYPE_SURFACE_VIEW && in readFromParcel()
135 surfaceType != SURFACE_TYPE_SURFACE_TEXTURE) { in readFromParcel()
150 mSurfaceType = surfaceType; in readFromParcel()
182 int rotation, const String16& physicalCameraId, int surfaceSetID, int surfaceType, in OutputConfiguration() argument
184 : mGbps(gbps), mRotation(rotation), mSurfaceSetID(surfaceSetID), mSurfaceType(surfaceType), in OutputConfiguration()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyCameraDevice.java388 int surfaceType = detectSurfaceType(output); in configureOutputs() local
392 Size[] sizes = streamConfigurations.getOutputSizes(surfaceType); in configureOutputs()
394 if (surfaceType == ImageFormat.PRIVATE) { in configureOutputs()
400 } else if (surfaceType == LegacyMetadataMapper.HAL_PIXEL_FORMAT_BLOB) { in configureOutputs()
413 surfaceType, reason)); in configureOutputs()
707 int surfaceType = nativeDetectSurfaceType(surface); in detectSurfaceType() local
711 if ((surfaceType >= LegacyMetadataMapper.HAL_PIXEL_FORMAT_RGBA_8888 && in detectSurfaceType()
712 surfaceType <= LegacyMetadataMapper.HAL_PIXEL_FORMAT_BGRA_8888)) { in detectSurfaceType()
713 surfaceType = ImageFormat.PRIVATE; in detectSurfaceType()
716 return LegacyExceptionUtils.throwOnError(surfaceType); in detectSurfaceType()
/frameworks/av/camera/include/camera/camera2/
DOutputConfiguration.h74 int surfaceType = OutputConfiguration::SURFACE_TYPE_UNKNOWN, int width = 0,
/frameworks/base/core/java/android/hardware/camera2/params/
DOutputConfiguration.java538 int surfaceType = source.readInt(); in OutputConfiguration() local
562 mSurfaceType = surfaceType; in OutputConfiguration()
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.cpp554 bool deferredConsumer, int surfaceType) { in checkSurfaceType() argument
564 bool validSurfaceType = ((surfaceType == OutputConfiguration::SURFACE_TYPE_SURFACE_VIEW) || in checkSurfaceType()
565 (surfaceType == OutputConfiguration::SURFACE_TYPE_SURFACE_TEXTURE)); in checkSurfaceType()
568 ALOGE("%s: Target surface has invalid surfaceType = %d.", __FUNCTION__, surfaceType); in checkSurfaceType()
719 auto surfaceType = it.getSurfaceType(); in convertToHALStreamCombination() local
721 if (surfaceType == OutputConfiguration::SURFACE_TYPE_SURFACE_VIEW) { in convertToHALStreamCombination()
1091 int width, height, format, surfaceType; in createDeferredSurfaceStreamLocked() local
1104 surfaceType = outputConfiguration.getSurfaceType(); in createDeferredSurfaceStreamLocked()
1109 if (surfaceType == OutputConfiguration::SURFACE_TYPE_SURFACE_VIEW) { in createDeferredSurfaceStreamLocked()
DCameraDeviceClient.h272 int surfaceType);