Searched refs:SurfaceUtils (Results 1 – 9 of 9) sorted by relevance
36 public class SurfaceUtils { class137 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()
27 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()
29 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()
20 import android.hardware.camera2.utils.SurfaceUtils;36 SurfaceUtils.isFlexibleConsumer(surface); in testInvalidSurfaceException()
28 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()
40 import android.hardware.camera2.utils.SurfaceUtils;702 SurfaceUtils.checkConstrainedHighSpeedSurfaces(surfaces, /*fpsRange*/null, config); in createCaptureSessionInternal()
25 import android.hardware.camera2.utils.SurfaceUtils;202 format = SurfaceUtils.getSurfaceFormat(surface); in ImageWriter()210 Size surfSize = SurfaceUtils.getSurfaceSize(surface); in ImageWriter()
27 import android.hardware.camera2.utils.SurfaceUtils;714 long reqSurfaceId = SurfaceUtils.getSurfaceId(s); in convertSurfaceToStreamId()720 if (reqSurfaceId == SurfaceUtils.getSurfaceId(outSurface)) { in convertSurfaceToStreamId()
244 "SurfaceUtils.cpp",