Searched refs:surfaceType (Results 1 – 5 of 5) sorted by relevance
/frameworks/av/camera/camera2/ |
D | OutputConfiguration.cpp | 100 int surfaceType = SURFACE_TYPE_UNKNOWN; in readFromParcel() local 101 if ((err = parcel->readInt32(&surfaceType)) != OK) { in readFromParcel() 130 if (isDeferred && surfaceType != SURFACE_TYPE_SURFACE_VIEW && in readFromParcel() 131 surfaceType != SURFACE_TYPE_SURFACE_TEXTURE) { in readFromParcel() 144 mSurfaceType = surfaceType; in readFromParcel()
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | LegacyCameraDevice.java | 345 int surfaceType = detectSurfaceType(output); in configureOutputs() local 349 Size[] sizes = streamConfigurations.getOutputSizes(surfaceType); in configureOutputs() 351 if (surfaceType == ImageFormat.PRIVATE) { in configureOutputs() 357 } else if (surfaceType == LegacyMetadataMapper.HAL_PIXEL_FORMAT_BLOB) { in configureOutputs() 370 surfaceType, reason)); in configureOutputs() 650 int surfaceType = nativeDetectSurfaceType(surface); in detectSurfaceType() local 654 if ((surfaceType >= LegacyMetadataMapper.HAL_PIXEL_FORMAT_RGBA_8888 && in detectSurfaceType() 655 surfaceType <= LegacyMetadataMapper.HAL_PIXEL_FORMAT_BGRA_8888)) { in detectSurfaceType() 656 surfaceType = ImageFormat.PRIVATE; in detectSurfaceType() 659 return LegacyExceptionUtils.throwOnError(surfaceType); in detectSurfaceType()
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | OutputConfiguration.java | 420 int surfaceType = source.readInt(); in OutputConfiguration() local 441 mSurfaceType = surfaceType; in OutputConfiguration()
|
/frameworks/native/opengl/libagl/ |
D | egl.cpp | 1274 EGLint surfaceType; in createWindowSurface() local 1275 if (getConfigAttrib(dpy, config, EGL_SURFACE_TYPE, &surfaceType) == EGL_FALSE) in createWindowSurface() 1278 if (!(surfaceType & EGL_WINDOW_BIT)) in createWindowSurface() 1323 EGLint surfaceType; in createPixmapSurface() local 1324 if (getConfigAttrib(dpy, config, EGL_SURFACE_TYPE, &surfaceType) == EGL_FALSE) in createPixmapSurface() 1327 if (!(surfaceType & EGL_PIXMAP_BIT)) in createPixmapSurface() 1367 EGLint surfaceType; in createPbufferSurface() local 1368 if (getConfigAttrib(dpy, config, EGL_SURFACE_TYPE, &surfaceType) == EGL_FALSE) in createPbufferSurface() 1371 if (!(surfaceType & EGL_PBUFFER_BIT)) in createPbufferSurface()
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | CameraDeviceClient.cpp | 472 int surfaceType = outputConfiguration.getSurfaceType(); in createStream() local 473 bool validSurfaceType = ((surfaceType == OutputConfiguration::SURFACE_TYPE_SURFACE_VIEW) || in createStream() 474 (surfaceType == OutputConfiguration::SURFACE_TYPE_SURFACE_TEXTURE)); in createStream() 478 __FUNCTION__, bufferProducers[0].get(), surfaceType); in createStream() 570 int width, height, format, surfaceType; in createDeferredSurfaceStreamLocked() local 583 surfaceType = outputConfiguration.getSurfaceType(); in createDeferredSurfaceStreamLocked() 588 if (surfaceType == OutputConfiguration::SURFACE_TYPE_SURFACE_VIEW) { in createDeferredSurfaceStreamLocked()
|