Record Class FFprobeBaseFrame

java.lang.Object
java.lang.Record
tv.hd3g.fflauncher.ffprobecontainer.FFprobeBaseFrame

public record FFprobeBaseFrame(FFprobeCodecType mediaType, int streamIndex, boolean keyFrame, long pts, float ptsTime, long pktDts, float pktDtsTime, long bestEffortTimestamp, float bestEffortTimestampTime, int pktDuration, float pktDurationTime, long pktPos, int pktSize) extends Record
  • Constructor Summary

    Constructors
    Constructor
    Description
    FFprobeBaseFrame(FFprobeCodecType mediaType, int streamIndex, boolean keyFrame, long pts, float ptsTime, long pktDts, float pktDtsTime, long bestEffortTimestamp, float bestEffortTimestampTime, int pktDuration, float pktDurationTime, long pktPos, int pktSize)
    Creates an instance of a FFprobeBaseFrame record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Returns the value of the bestEffortTimestamp record component.
    float
    Returns the value of the bestEffortTimestampTime record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    boolean
    Returns the value of the keyFrame record component.
    Returns the value of the mediaType record component.
    long
    Returns the value of the pktDts record component.
    float
    Returns the value of the pktDtsTime record component.
    int
    Returns the value of the pktDuration record component.
    float
    Returns the value of the pktDurationTime record component.
    long
    Returns the value of the pktPos record component.
    int
    Returns the value of the pktSize record component.
    long
    pts()
    Returns the value of the pts record component.
    float
    Returns the value of the ptsTime record component.
    int
    Returns the value of the streamIndex record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • FFprobeBaseFrame

      public FFprobeBaseFrame(FFprobeCodecType mediaType, int streamIndex, boolean keyFrame, long pts, float ptsTime, long pktDts, float pktDtsTime, long bestEffortTimestamp, float bestEffortTimestampTime, int pktDuration, float pktDurationTime, long pktPos, int pktSize)
      Creates an instance of a FFprobeBaseFrame record class.
      Parameters:
      mediaType - the value for the mediaType record component
      streamIndex - the value for the streamIndex record component
      keyFrame - the value for the keyFrame record component
      pts - the value for the pts record component
      ptsTime - the value for the ptsTime record component
      pktDts - the value for the pktDts record component
      pktDtsTime - the value for the pktDtsTime record component
      bestEffortTimestamp - the value for the bestEffortTimestamp record component
      bestEffortTimestampTime - the value for the bestEffortTimestampTime record component
      pktDuration - the value for the pktDuration record component
      pktDurationTime - the value for the pktDurationTime record component
      pktPos - the value for the pktPos record component
      pktSize - the value for the pktSize record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • mediaType

      public FFprobeCodecType mediaType()
      Returns the value of the mediaType record component.
      Returns:
      the value of the mediaType record component
    • streamIndex

      public int streamIndex()
      Returns the value of the streamIndex record component.
      Returns:
      the value of the streamIndex record component
    • keyFrame

      public boolean keyFrame()
      Returns the value of the keyFrame record component.
      Returns:
      the value of the keyFrame record component
    • pts

      public long pts()
      Returns the value of the pts record component.
      Returns:
      the value of the pts record component
    • ptsTime

      public float ptsTime()
      Returns the value of the ptsTime record component.
      Returns:
      the value of the ptsTime record component
    • pktDts

      public long pktDts()
      Returns the value of the pktDts record component.
      Returns:
      the value of the pktDts record component
    • pktDtsTime

      public float pktDtsTime()
      Returns the value of the pktDtsTime record component.
      Returns:
      the value of the pktDtsTime record component
    • bestEffortTimestamp

      public long bestEffortTimestamp()
      Returns the value of the bestEffortTimestamp record component.
      Returns:
      the value of the bestEffortTimestamp record component
    • bestEffortTimestampTime

      public float bestEffortTimestampTime()
      Returns the value of the bestEffortTimestampTime record component.
      Returns:
      the value of the bestEffortTimestampTime record component
    • pktDuration

      public int pktDuration()
      Returns the value of the pktDuration record component.
      Returns:
      the value of the pktDuration record component
    • pktDurationTime

      public float pktDurationTime()
      Returns the value of the pktDurationTime record component.
      Returns:
      the value of the pktDurationTime record component
    • pktPos

      public long pktPos()
      Returns the value of the pktPos record component.
      Returns:
      the value of the pktPos record component
    • pktSize

      public int pktSize()
      Returns the value of the pktSize record component.
      Returns:
      the value of the pktSize record component