Searched refs:surfaceType (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/java/android/hardware/camera2/utils/ |
D | SurfaceUtils.java | 150 int surfaceType = nativeDetectSurfaceType(surface); in getSurfaceFormat() local 151 if (surfaceType == BAD_VALUE) throw new IllegalArgumentException("Surface was abandoned"); in getSurfaceFormat() 155 if ((surfaceType >= PixelFormat.RGBA_8888 in getSurfaceFormat() 156 && surfaceType <= BGRA_8888)) { in getSurfaceFormat() 157 surfaceType = ImageFormat.PRIVATE; in getSurfaceFormat() 159 return surfaceType; in getSurfaceFormat() 173 int surfaceType = nativeDetectSurfaceType(surface); in detectSurfaceFormat() local 174 if (surfaceType == BAD_VALUE) throw new IllegalArgumentException("Surface was abandoned"); in detectSurfaceFormat() 176 return surfaceType; in detectSurfaceFormat()
|
/frameworks/av/camera/camera2/ |
D | OutputConfiguration.cpp | 168 int surfaceType = SURFACE_TYPE_UNKNOWN; in readFromParcel() local 169 if ((err = parcel->readInt32(&surfaceType)) != OK) { in readFromParcel() 198 if (isDeferred && surfaceType != SURFACE_TYPE_SURFACE_VIEW && in readFromParcel() 199 surfaceType != SURFACE_TYPE_SURFACE_TEXTURE) { in readFromParcel() 280 mSurfaceType = surfaceType; in readFromParcel() 338 int rotation, const std::string& physicalCameraId, int surfaceSetID, int surfaceType, in OutputConfiguration() argument 340 : mGbps(gbps), mRotation(rotation), mSurfaceSetID(surfaceSetID), mSurfaceType(surfaceType), in OutputConfiguration()
|
/frameworks/av/services/camera/libcameraservice/utils/ |
D | SessionConfigurationUtils.cpp | 857 auto surfaceType = it.getSurfaceType(); in convertToHALStreamCombination() local 858 switch (surfaceType) { in convertToHALStreamCombination() 966 bool deferredConsumer, int surfaceType, bool isConfigurationComplete) { in checkSurfaceType() argument 978 (surfaceType == OutputConfiguration::SURFACE_TYPE_SURFACE_VIEW) || in checkSurfaceType() 979 (surfaceType == OutputConfiguration::SURFACE_TYPE_SURFACE_TEXTURE)); in checkSurfaceType() 982 "surfaceType = %d.", surfaceType); in checkSurfaceType() 988 (surfaceType == OutputConfiguration::SURFACE_TYPE_MEDIA_RECORDER) || in checkSurfaceType() 989 (surfaceType == OutputConfiguration::SURFACE_TYPE_MEDIA_CODEC) || in checkSurfaceType() 990 (surfaceType == OutputConfiguration::SURFACE_TYPE_IMAGE_READER)); in checkSurfaceType() 993 "surfaceType = %d.", surfaceType); in checkSurfaceType()
|
D | SessionConfigurationUtils.h | 146 bool deferredConsumer, int surfaceType, bool isConfigurationComplete);
|
/frameworks/av/camera/include/camera/camera2/ |
D | OutputConfiguration.h | 108 int surfaceType = SURFACE_TYPE_UNKNOWN, int width = 0,
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | OutputConfiguration.java | 1504 int surfaceType = source.readInt(); in OutputConfiguration() local 1542 mSurfaceType = surfaceType; in OutputConfiguration()
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | CameraDeviceClient.cpp | 1062 int width, height, format, surfaceType; in createDeferredSurfaceStreamLocked() local 1080 surfaceType = outputConfiguration.getSurfaceType(); in createDeferredSurfaceStreamLocked() 1086 if (surfaceType == OutputConfiguration::SURFACE_TYPE_SURFACE_VIEW) { in createDeferredSurfaceStreamLocked()
|