Lines Matching defs:output
314 * Configure the device with a set of output surfaces.
330 Surface output = outputs.valueAt(i);
331 if (output == null) {
335 if (!output.isValid()) {
336 Log.e(TAG, "configureOutputs - invalid output surfaces are not allowed");
344 Size s = getSurfaceSize(output);
345 int surfaceType = detectSurfaceType(output);
347 boolean flexibleConsumer = isFlexibleConsumer(output);
354 // IMPLEMENTATION_DEFINED output sizes, and is publicly visible in the
364 sizedSurfaces.add(new Pair<>(output, s));
374 sizedSurfaces.add(new Pair<>(output, s));
377 setSurfaceDimens(output, s.getWidth(), s.getHeight());
379 Log.e(TAG, "Surface bufferqueue is abandoned, cannot configure as output: ", e);
588 public static boolean isFlexibleConsumer(Surface output) {
589 int usageFlags = detectSurfaceUsageFlags(output);
601 public static boolean isPreviewConsumer(Surface output) {
602 int usageFlags = detectSurfaceUsageFlags(output);
611 surfaceFormat = detectSurfaceType(output);
619 public static boolean isVideoEncoderConsumer(Surface output) {
620 int usageFlags = detectSurfaceUsageFlags(output);
629 surfaceFormat = detectSurfaceType(output);