Searched refs:surfaceType (Results 1 – 7 of 7) sorted by relevance
/frameworks/av/camera/camera2/ |
D | OutputConfiguration.cpp | 104 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/ |
D | LegacyCameraDevice.java | 387 int surfaceType = detectSurfaceType(output); in configureOutputs() local 391 Size[] sizes = streamConfigurations.getOutputSizes(surfaceType); in configureOutputs() 393 if (surfaceType == ImageFormat.PRIVATE) { in configureOutputs() 399 } else if (surfaceType == LegacyMetadataMapper.HAL_PIXEL_FORMAT_BLOB) { in configureOutputs() 412 surfaceType, reason)); in configureOutputs() 698 int surfaceType = nativeDetectSurfaceType(surface); in detectSurfaceType() local 702 if ((surfaceType >= LegacyMetadataMapper.HAL_PIXEL_FORMAT_RGBA_8888 && in detectSurfaceType() 703 surfaceType <= LegacyMetadataMapper.HAL_PIXEL_FORMAT_BGRA_8888)) { in detectSurfaceType() 704 surfaceType = ImageFormat.PRIVATE; in detectSurfaceType() 707 return LegacyExceptionUtils.throwOnError(surfaceType); in detectSurfaceType()
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | OutputConfiguration.java | 538 int surfaceType = source.readInt(); in OutputConfiguration() local 562 mSurfaceType = surfaceType; in OutputConfiguration()
|
/frameworks/av/camera/include/camera/camera2/ |
D | OutputConfiguration.h | 74 int surfaceType = OutputConfiguration::SURFACE_TYPE_UNKNOWN, int width = 0,
|
/frameworks/native/opengl/libagl/ |
D | egl.cpp | 1294 EGLint surfaceType; in createWindowSurface() local 1295 if (getConfigAttrib(dpy, config, EGL_SURFACE_TYPE, &surfaceType) == EGL_FALSE) in createWindowSurface() 1298 if (!(surfaceType & EGL_WINDOW_BIT)) in createWindowSurface() 1343 EGLint surfaceType; in createPixmapSurface() local 1344 if (getConfigAttrib(dpy, config, EGL_SURFACE_TYPE, &surfaceType) == EGL_FALSE) in createPixmapSurface() 1347 if (!(surfaceType & EGL_PIXMAP_BIT)) in createPixmapSurface() 1387 EGLint surfaceType; in createPbufferSurface() local 1388 if (getConfigAttrib(dpy, config, EGL_SURFACE_TYPE, &surfaceType) == EGL_FALSE) in createPbufferSurface() 1391 if (!(surfaceType & EGL_PBUFFER_BIT)) in createPbufferSurface()
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | CameraDeviceClient.cpp | 518 bool deferredConsumer, int surfaceType) const { in checkSurfaceTypeLocked() 528 bool validSurfaceType = ((surfaceType == OutputConfiguration::SURFACE_TYPE_SURFACE_VIEW) || in checkSurfaceTypeLocked() 529 (surfaceType == OutputConfiguration::SURFACE_TYPE_SURFACE_TEXTURE)); in checkSurfaceTypeLocked() 532 ALOGE("%s: Target surface has invalid surfaceType = %d.", __FUNCTION__, surfaceType); in checkSurfaceTypeLocked() 693 auto surfaceType = it.getSurfaceType(); in isSessionConfigurationSupported() local 695 if (surfaceType == OutputConfiguration::SURFACE_TYPE_SURFACE_VIEW) { in isSessionConfigurationSupported() 1019 int width, height, format, surfaceType; in createDeferredSurfaceStreamLocked() local 1032 surfaceType = outputConfiguration.getSurfaceType(); in createDeferredSurfaceStreamLocked() 1037 if (surfaceType == OutputConfiguration::SURFACE_TYPE_SURFACE_VIEW) { in createDeferredSurfaceStreamLocked()
|
D | CameraDeviceClient.h | 245 int surfaceType) const;
|