Interface PreprocessingConfig.ColorOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
PreprocessingConfig.Color, PreprocessingConfig.Color.Builder
Enclosing class:
PreprocessingConfig

public static interface PreprocessingConfig.ColorOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Control brightness of the video.
    double
    Control black and white contrast of the video.
    double
    Control color saturation of the video.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getSaturation

      double getSaturation()
       Control color saturation of the video. Enter a value between -1 and 1,
       where -1 is fully desaturated and 1 is maximum saturation. 0 is no
       change. The default is 0.
       
      double saturation = 1;
      Returns:
      The saturation.
    • getContrast

      double getContrast()
       Control black and white contrast of the video. Enter a value between -1
       and 1, where -1 is minimum contrast and 1 is maximum contrast. 0 is no
       change. The default is 0.
       
      double contrast = 2;
      Returns:
      The contrast.
    • getBrightness

      double getBrightness()
       Control brightness of the video. Enter a value between -1 and 1, where -1
       is minimum brightness and 1 is maximum brightness. 0 is no change. The
       default is 0.
       
      double brightness = 3;
      Returns:
      The brightness.