Package tv.hd3g.fflauncher.recipes
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
ConstructorsConstructorDescriptionGOPStatItem(int gopFrameCount, long gopDataSize, int bFramesCount, long iFrameDataSize, long bFramesDataSize, List<FFprobeVideoFrame> videoFrames) Creates an instance of aGOPStatItemrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of thebFramesCountrecord component.longReturns the value of thebFramesDataSizerecord component.final booleanIndicates whether some other object is "equal to" this one.longReturns the value of thegopDataSizerecord component.intReturns the value of thegopFrameCountrecord component.final inthashCode()Returns a hash code value for this object.longReturns the value of theiFrameDataSizerecord component.intlongfinal StringtoString()Returns a string representation of this record class.Returns the value of thevideoFramesrecord component.
-
Constructor Details
-
GOPStatItem
public GOPStatItem(int gopFrameCount, long gopDataSize, int bFramesCount, long iFrameDataSize, long bFramesDataSize, List<FFprobeVideoFrame> videoFrames) Creates an instance of aGOPStatItemrecord class.- Parameters:
gopFrameCount- the value for thegopFrameCountrecord componentgopDataSize- the value for thegopDataSizerecord componentbFramesCount- the value for thebFramesCountrecord componentiFrameDataSize- the value for theiFrameDataSizerecord componentbFramesDataSize- the value for thebFramesDataSizerecord componentvideoFrames- the value for thevideoFramesrecord component
-
-
Method Details
-
pFramesCount
public int pFramesCount() -
pFramesDataSize
public long pFramesDataSize() -
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. -
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. -
equals
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 withObjects::equals(Object,Object); primitive components are compared with '=='. -
gopFrameCount
public int gopFrameCount()Returns the value of thegopFrameCountrecord component.- Returns:
- the value of the
gopFrameCountrecord component
-
gopDataSize
public long gopDataSize()Returns the value of thegopDataSizerecord component.- Returns:
- the value of the
gopDataSizerecord component
-
bFramesCount
public int bFramesCount()Returns the value of thebFramesCountrecord component.- Returns:
- the value of the
bFramesCountrecord component
-
iFrameDataSize
public long iFrameDataSize()Returns the value of theiFrameDataSizerecord component.- Returns:
- the value of the
iFrameDataSizerecord component
-
bFramesDataSize
public long bFramesDataSize()Returns the value of thebFramesDataSizerecord component.- Returns:
- the value of the
bFramesDataSizerecord component
-
videoFrames
Returns the value of thevideoFramesrecord component.- Returns:
- the value of the
videoFramesrecord component
-