Searched refs:useSurfaceMode (Results 1 – 1 of 1) sorted by relevance
149 private boolean useSurfaceMode; field in HardwareVideoEncoder210 useSurfaceMode = canUseSurface(); in initEncode()219 + "kbps. Fps: " + settings.maxFramerate + " Use surface mode: " + useSurfaceMode); in initEncode()235 final int colorFormat = useSurfaceMode ? surfaceColorFormat : yuvColorFormat; in initEncodeInternal()263 if (useSurfaceMode) { in initEncodeInternal()344 if (frameWidth != width || frameHeight != height || shouldUseSurfaceMode != useSurfaceMode) { in encode()380 if (useSurfaceMode) { in encode()494 useSurfaceMode = newUseSurfaceMode; in resetCodec()