Enum Class HelperCaptureFormat

java.lang.Object
java.lang.Enum<HelperCaptureFormat>
com.digimarc.capture.camera.HelperCaptureFormat
All Implemented Interfaces:
Serializable, Comparable<HelperCaptureFormat>, Constable

public enum HelperCaptureFormat extends Enum<HelperCaptureFormat>
The HelperCaptureFormat enum provides a list of supported image pixel format
  • Enum Constant Details

    • YUV420

      public static final HelperCaptureFormat YUV420
      Interleaved YUV. This is the standard format for Camera1 and Camera2 capture.
    • ARGB8888

      public static final HelperCaptureFormat ARGB8888
      32-bit RGB bitmap format.
    • YUV420P

      public static final HelperCaptureFormat YUV420P
      Planar YUV.
    • SENSOR_RAW

      @Deprecated public static final HelperCaptureFormat SENSOR_RAW
      Deprecated.
      Sensor Raw capture.

      This data format is deprecated and will be removed in a future SDK version.

  • Method Details

    • values

      public static HelperCaptureFormat[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static HelperCaptureFormat valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null