public class RateShareEntry extends GroupEntry
Each sample of a track may be associated to (zero or) one of a number of sample group descriptions, each of which defines a record of rate-share information. Typically the same rate-share information applies to many consecutive samples and it may therefore be enough to define two or three sample group descriptions that can be used at different time intervals.
The grouping type 'rash' (short for rate share) is defined as the grouping criterion for rate share information. Zero or one sample-to-group box ('sbgp') for the grouping type 'rash' can be contained in the sample table box ('stbl') of a track. It shall reside in a hint track, if a hint track is used, otherwise in a media track.
Target rate share may be specified for several operation points that are defined in terms of the total available bitrate, i.e., the bitrate that should be shared. If only one operation point is defined, the target rate share applies to all available bitrates. If several operation points are defined, then each operation point specifies a target rate share. Target rate share values specified for the first and the last operation points also specify the target rate share values at lower and higher available bitrates, respectively. The target rate share between two operation points is specified to be in the range between the target rate shares of those operation points. One possibility is to estimate with linear interpolation.
Modifier and Type | Class and Description |
---|---|
static class |
RateShareEntry.Entry |
Constructor and Description |
---|
RateShareEntry() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
ByteBuffer |
get() |
short |
getDiscardPriority() |
List<RateShareEntry.Entry> |
getEntries() |
int |
getMaximumBitrate() |
int |
getMinimumBitrate() |
short |
getOperationPointCut() |
short |
getTargetRateShare() |
String |
getType() |
int |
hashCode() |
void |
parse(ByteBuffer byteBuffer) |
void |
setDiscardPriority(short discardPriority) |
void |
setEntries(List<RateShareEntry.Entry> entries) |
void |
setMaximumBitrate(int maximumBitrate) |
void |
setMinimumBitrate(int minimumBitrate) |
void |
setOperationPointCut(short operationPointCut) |
void |
setTargetRateShare(short targetRateShare) |
size
public static final String TYPE
public String getType()
getType
in class GroupEntry
public void parse(ByteBuffer byteBuffer)
parse
in class GroupEntry
public ByteBuffer get()
get
in class GroupEntry
public short getOperationPointCut()
public void setOperationPointCut(short operationPointCut)
public short getTargetRateShare()
public void setTargetRateShare(short targetRateShare)
public List<RateShareEntry.Entry> getEntries()
public void setEntries(List<RateShareEntry.Entry> entries)
public int getMaximumBitrate()
public void setMaximumBitrate(int maximumBitrate)
public int getMinimumBitrate()
public void setMinimumBitrate(int minimumBitrate)
public short getDiscardPriority()
public void setDiscardPriority(short discardPriority)
Copyright © 2017. All rights reserved.