Home
last modified time | relevance | path

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

/frameworks/av/camera/camera2/
DOutputConfiguration.cpp100 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/
DLegacyCameraDevice.java366 int surfaceType = detectSurfaceType(output); in configureOutputs() local
370 Size[] sizes = streamConfigurations.getOutputSizes(surfaceType); in configureOutputs()
372 if (surfaceType == ImageFormat.PRIVATE) { in configureOutputs()
378 } else if (surfaceType == LegacyMetadataMapper.HAL_PIXEL_FORMAT_BLOB) { in configureOutputs()
391 surfaceType, reason)); in configureOutputs()
671 int surfaceType = nativeDetectSurfaceType(surface); in detectSurfaceType() local
675 if ((surfaceType >= LegacyMetadataMapper.HAL_PIXEL_FORMAT_RGBA_8888 && in detectSurfaceType()
676 surfaceType <= LegacyMetadataMapper.HAL_PIXEL_FORMAT_BGRA_8888)) { in detectSurfaceType()
677 surfaceType = ImageFormat.PRIVATE; in detectSurfaceType()
680 return LegacyExceptionUtils.throwOnError(surfaceType); in detectSurfaceType()
/frameworks/base/core/java/android/hardware/camera2/params/
DOutputConfiguration.java421 int surfaceType = source.readInt(); in OutputConfiguration() local
444 mSurfaceType = surfaceType; in OutputConfiguration()
/frameworks/native/opengl/libagl/
Degl.cpp1292 EGLint surfaceType; in createWindowSurface() local
1293 if (getConfigAttrib(dpy, config, EGL_SURFACE_TYPE, &surfaceType) == EGL_FALSE) in createWindowSurface()
1296 if (!(surfaceType & EGL_WINDOW_BIT)) in createWindowSurface()
1341 EGLint surfaceType; in createPixmapSurface() local
1342 if (getConfigAttrib(dpy, config, EGL_SURFACE_TYPE, &surfaceType) == EGL_FALSE) in createPixmapSurface()
1345 if (!(surfaceType & EGL_PIXMAP_BIT)) in createPixmapSurface()
1385 EGLint surfaceType; in createPbufferSurface() local
1386 if (getConfigAttrib(dpy, config, EGL_SURFACE_TYPE, &surfaceType) == EGL_FALSE) in createPbufferSurface()
1389 if (!(surfaceType & EGL_PBUFFER_BIT)) in createPbufferSurface()
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.cpp474 int surfaceType = outputConfiguration.getSurfaceType(); in createStream() local
475 bool validSurfaceType = ((surfaceType == OutputConfiguration::SURFACE_TYPE_SURFACE_VIEW) || in createStream()
476 (surfaceType == OutputConfiguration::SURFACE_TYPE_SURFACE_TEXTURE)); in createStream()
480 __FUNCTION__, bufferProducers[0].get(), surfaceType); in createStream()
572 int width, height, format, surfaceType; in createDeferredSurfaceStreamLocked() local
585 surfaceType = outputConfiguration.getSurfaceType(); in createDeferredSurfaceStreamLocked()
590 if (surfaceType == OutputConfiguration::SURFACE_TYPE_SURFACE_VIEW) { in createDeferredSurfaceStreamLocked()