Record Class GOPStatItem

java.lang.Object
java.lang.Record
tv.hd3g.fflauncher.recipes.GOPStatItem

public record GOPStatItem(int gopFrameCount, long gopDataSize, int bFramesCount, long iFrameDataSize, long bFramesDataSize, List<FFprobeVideoFrame> videoFrames) extends Record
  • Constructor Summary

    Constructors
    Constructor
    Description
    GOPStatItem(int gopFrameCount, long gopDataSize, int bFramesCount, long iFrameDataSize, long bFramesDataSize, List<FFprobeVideoFrame> videoFrames)
    Creates an instance of a GOPStatItem record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the value of the bFramesCount record component.
    long
    Returns the value of the bFramesDataSize record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    long
    Returns the value of the gopDataSize record component.
    int
    Returns the value of the gopFrameCount record component.
    final int
    Returns a hash code value for this object.
    long
    Returns the value of the iFrameDataSize record component.
    int
     
    long
     
    final String
    Returns a string representation of this record class.
    Returns the value of the videoFrames record component.

    Methods inherited from class java.lang.Object

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

    • GOPStatItem

      public GOPStatItem(int gopFrameCount, long gopDataSize, int bFramesCount, long iFrameDataSize, long bFramesDataSize, List<FFprobeVideoFrame> videoFrames)
      Creates an instance of a GOPStatItem record class.
      Parameters:
      gopFrameCount - the value for the gopFrameCount record component
      gopDataSize - the value for the gopDataSize record component
      bFramesCount - the value for the bFramesCount record component
      iFrameDataSize - the value for the iFrameDataSize record component
      bFramesDataSize - the value for the bFramesDataSize record component
      videoFrames - the value for the videoFrames record component
  • Method Details

    • pFramesCount

      public int pFramesCount()
    • pFramesDataSize

      public long pFramesDataSize()
    • 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.
    • gopFrameCount

      public int gopFrameCount()
      Returns the value of the gopFrameCount record component.
      Returns:
      the value of the gopFrameCount record component
    • gopDataSize

      public long gopDataSize()
      Returns the value of the gopDataSize record component.
      Returns:
      the value of the gopDataSize record component
    • bFramesCount

      public int bFramesCount()
      Returns the value of the bFramesCount record component.
      Returns:
      the value of the bFramesCount record component
    • iFrameDataSize

      public long iFrameDataSize()
      Returns the value of the iFrameDataSize record component.
      Returns:
      the value of the iFrameDataSize record component
    • bFramesDataSize

      public long bFramesDataSize()
      Returns the value of the bFramesDataSize record component.
      Returns:
      the value of the bFramesDataSize record component
    • videoFrames

      public List<FFprobeVideoFrame> videoFrames()
      Returns the value of the videoFrames record component.
      Returns:
      the value of the videoFrames record component