Home
last modified time | relevance | path

Searched refs:SurfaceUtils (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/utils/
DSurfaceUtils.java36 public class SurfaceUtils { class
137 int surfaceFormat = SurfaceUtils.getSurfaceFormat(surface); in checkHighSpeedSurfaceFormat()
178 Size surfaceSize = SurfaceUtils.getSurfaceSize(surface); in checkConstrainedHighSpeedSurfaces()
185 if (!SurfaceUtils.isSurfaceForPreview(surface) && in checkConstrainedHighSpeedSurfaces()
186 !SurfaceUtils.isSurfaceForHwVideoEncoder(surface)) { in checkConstrainedHighSpeedSurfaces()
190 if (SurfaceUtils.isSurfaceForPreview(surface) && in checkConstrainedHighSpeedSurfaces()
191 SurfaceUtils.isSurfaceForHwVideoEncoder(surface)) { in checkConstrainedHighSpeedSurfaces()
202 SurfaceUtils.isSurfaceForPreview(iterator.next()); in checkConstrainedHighSpeedSurfaces()
204 SurfaceUtils.isSurfaceForPreview(iterator.next()); in checkConstrainedHighSpeedSurfaces()
/frameworks/base/core/java/android/hardware/camera2/params/
DOutputConfiguration.java27 import android.hardware.camera2.utils.SurfaceUtils;
261 mConfiguredSize = SurfaceUtils.getSurfaceSize(surface); in OutputConfiguration()
262 mConfiguredFormat = SurfaceUtils.getSurfaceFormat(surface); in OutputConfiguration()
263 mConfiguredDataspace = SurfaceUtils.getSurfaceDataspace(surface); in OutputConfiguration()
460 Size surfaceSize = SurfaceUtils.getSurfaceSize(surface); in addSurface()
467 if (mConfiguredFormat != SurfaceUtils.getSurfaceFormat(surface)) { in addSurface()
474 mConfiguredDataspace != SurfaceUtils.getSurfaceDataspace(surface)) { in addSurface()
558 mConfiguredFormat = SurfaceUtils.getSurfaceFormat(mSurfaces.get(0)); in OutputConfiguration()
559 mConfiguredDataspace = SurfaceUtils.getSurfaceDataspace(mSurfaces.get(0)); in OutputConfiguration()
DStreamConfigurationMap.java29 import android.hardware.camera2.utils.SurfaceUtils;
552 Size surfaceSize = SurfaceUtils.getSurfaceSize(surface); in isOutputSupportedFor()
553 int surfaceFormat = SurfaceUtils.getSurfaceFormat(surface); in isOutputSupportedFor()
554 int surfaceDataspace = SurfaceUtils.getSurfaceDataspace(surface); in isOutputSupportedFor()
557 boolean isFlexible = SurfaceUtils.isFlexibleConsumer(surface); in isOutputSupportedFor()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DSurfaceUtilsTest.java20 import android.hardware.camera2.utils.SurfaceUtils;
36 SurfaceUtils.isFlexibleConsumer(surface); in testInvalidSurfaceException()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraConstrainedHighSpeedCaptureSessionImpl.java28 import android.hardware.camera2.utils.SurfaceUtils;
89 SurfaceUtils.checkConstrainedHighSpeedSurfaces(outputSurfaces, fpsRange, config); in createHighSpeedRequestList()
112 if (outputSurfaces.size() == 1 && SurfaceUtils.isSurfaceForHwVideoEncoder(firstSurface)) { in createHighSpeedRequestList()
141 if (!SurfaceUtils.isSurfaceForHwVideoEncoder(recordingSurface)) { in createHighSpeedRequestList()
DCameraDeviceImpl.java40 import android.hardware.camera2.utils.SurfaceUtils;
702 SurfaceUtils.checkConstrainedHighSpeedSurfaces(surfaces, /*fpsRange*/null, config); in createCaptureSessionInternal()
/frameworks/base/media/java/android/media/
DImageWriter.java25 import android.hardware.camera2.utils.SurfaceUtils;
202 format = SurfaceUtils.getSurfaceFormat(surface); in ImageWriter()
210 Size surfSize = SurfaceUtils.getSurfaceSize(surface); in ImageWriter()
/frameworks/base/core/java/android/hardware/camera2/
DCaptureRequest.java27 import android.hardware.camera2.utils.SurfaceUtils;
714 long reqSurfaceId = SurfaceUtils.getSurfaceId(s); in convertSurfaceToStreamId()
720 if (reqSurfaceId == SurfaceUtils.getSurfaceId(outSurface)) { in convertSurfaceToStreamId()
/frameworks/av/media/libstagefright/
DAndroid.bp244 "SurfaceUtils.cpp",