Package org.mp4parser.boxes.webm
Class SMPTE2086MasteringDisplayMetadataBox
java.lang.Object
org.mp4parser.support.AbstractBox
org.mp4parser.support.AbstractFullBox
org.mp4parser.boxes.webm.SMPTE2086MasteringDisplayMetadataBox
- All Implemented Interfaces:
Box,FullBox,ParsableBox
-
Field Summary
Fields inherited from class org.mp4parser.support.AbstractFullBox
flags, versionFields inherited from class org.mp4parser.support.AbstractBox
content, type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void_parseDetails(ByteBuffer content) Parse the box's fields and child boxes if any.protected voidgetContent(ByteBuffer byteBuffer) Write the box's content into the givenByteBuffer.protected longGet the box's content size without its header.longlongintintintintintintintintvoidsetLuminanceMax(long luminanceMax) voidsetLuminanceMin(long luminanceMin) voidsetPrimaryBChromaticity_x(int primaryBChromaticity_x) voidsetPrimaryBChromaticity_y(int primaryBChromaticity_y) voidsetPrimaryGChromaticity_x(int primaryGChromaticity_x) voidsetPrimaryGChromaticity_y(int primaryGChromaticity_y) voidsetPrimaryRChromaticity_x(int primaryRChromaticity_x) voidsetPrimaryRChromaticity_y(int primaryRChromaticity_y) voidsetWhitePointChromaticity_x(int whitePointChromaticity_x) voidsetWhitePointChromaticity_y(int whitePointChromaticity_y) Methods inherited from class org.mp4parser.support.AbstractFullBox
getFlags, getVersion, parseVersionAndFlags, setFlags, setVersion, writeVersionAndFlagsMethods inherited from class org.mp4parser.support.AbstractBox
getBox, getSize, getType, getUserType, isParsed, parse, parseDetailsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.mp4parser.ParsableBox
parse
-
Constructor Details
-
SMPTE2086MasteringDisplayMetadataBox
public SMPTE2086MasteringDisplayMetadataBox()
-
-
Method Details
-
getPrimaryRChromaticity_x
public int getPrimaryRChromaticity_x() -
setPrimaryRChromaticity_x
public void setPrimaryRChromaticity_x(int primaryRChromaticity_x) -
getPrimaryRChromaticity_y
public int getPrimaryRChromaticity_y() -
setPrimaryRChromaticity_y
public void setPrimaryRChromaticity_y(int primaryRChromaticity_y) -
getPrimaryGChromaticity_x
public int getPrimaryGChromaticity_x() -
setPrimaryGChromaticity_x
public void setPrimaryGChromaticity_x(int primaryGChromaticity_x) -
getPrimaryGChromaticity_y
public int getPrimaryGChromaticity_y() -
setPrimaryGChromaticity_y
public void setPrimaryGChromaticity_y(int primaryGChromaticity_y) -
getPrimaryBChromaticity_x
public int getPrimaryBChromaticity_x() -
setPrimaryBChromaticity_x
public void setPrimaryBChromaticity_x(int primaryBChromaticity_x) -
getPrimaryBChromaticity_y
public int getPrimaryBChromaticity_y() -
setPrimaryBChromaticity_y
public void setPrimaryBChromaticity_y(int primaryBChromaticity_y) -
getWhitePointChromaticity_x
public int getWhitePointChromaticity_x() -
setWhitePointChromaticity_x
public void setWhitePointChromaticity_x(int whitePointChromaticity_x) -
getWhitePointChromaticity_y
public int getWhitePointChromaticity_y() -
setWhitePointChromaticity_y
public void setWhitePointChromaticity_y(int whitePointChromaticity_y) -
getLuminanceMax
public long getLuminanceMax() -
setLuminanceMax
public void setLuminanceMax(long luminanceMax) -
getLuminanceMin
public long getLuminanceMin() -
setLuminanceMin
public void setLuminanceMin(long luminanceMin) -
getContentSize
protected long getContentSize()Description copied from class:AbstractBoxGet the box's content size without its header. This must be the exact number of bytes thatgetContent(ByteBuffer)writes.- Specified by:
getContentSizein classAbstractBox- Returns:
- Gets the box's content size in bytes
- See Also:
-
getContent
Description copied from class:AbstractBoxWrite the box's content into the givenByteBuffer. This must include flags and version in case of a full box.byteBufferhas been initialized withgetSize()bytes.- Specified by:
getContentin classAbstractBox- Parameters:
byteBuffer- the sink for the box's content
-
_parseDetails
Description copied from class:AbstractBoxParse the box's fields and child boxes if any.- Specified by:
_parseDetailsin classAbstractBox- Parameters:
content- the box's raw content beginning after the 4-cc field.
-