Methods Summary |
---|
public boolean | equals(java.lang.Object o)
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
SampleFlags that = (SampleFlags) o;
if (reserved != that.reserved) return false;
if (sampleDegradationPriority != that.sampleDegradationPriority) return false;
if (sampleDependsOn != that.sampleDependsOn) return false;
if (sampleHasRedundancy != that.sampleHasRedundancy) return false;
if (sampleIsDependedOn != that.sampleIsDependedOn) return false;
if (sampleIsDifferenceSample != that.sampleIsDifferenceSample) return false;
if (samplePaddingValue != that.samplePaddingValue) return false;
return true;
|
public void | getContent(java.nio.ByteBuffer os)
BitWriterBuffer bitWriterBuffer = new BitWriterBuffer(os);
bitWriterBuffer.writeBits(reserved, 6);
bitWriterBuffer.writeBits(sampleDependsOn, 2);
bitWriterBuffer.writeBits(sampleIsDependedOn, 2);
bitWriterBuffer.writeBits(sampleHasRedundancy, 2);
bitWriterBuffer.writeBits(samplePaddingValue, 3);
bitWriterBuffer.writeBits(this.sampleIsDifferenceSample ? 1 : 0, 1);
bitWriterBuffer.writeBits(sampleDegradationPriority, 16);
|
public int | getReserved()
return reserved;
|
public int | getSampleDegradationPriority()
return sampleDegradationPriority;
|
public int | getSampleDependsOn()
return sampleDependsOn;
|
public int | getSampleHasRedundancy()
return sampleHasRedundancy;
|
public int | getSampleIsDependedOn()
return sampleIsDependedOn;
|
public int | getSamplePaddingValue()
return samplePaddingValue;
|
public int | hashCode()
int result = reserved;
result = 31 * result + sampleDependsOn;
result = 31 * result + sampleIsDependedOn;
result = 31 * result + sampleHasRedundancy;
result = 31 * result + samplePaddingValue;
result = 31 * result + (sampleIsDifferenceSample ? 1 : 0);
result = 31 * result + sampleDegradationPriority;
return result;
|
public boolean | isSampleIsDifferenceSample()
return sampleIsDifferenceSample;
|
public void | setReserved(int reserved)
this.reserved = reserved;
|
public void | setSampleDegradationPriority(int sampleDegradationPriority)
this.sampleDegradationPriority = sampleDegradationPriority;
|
public void | setSampleDependsOn(int sampleDependsOn)sample_depends_on takes one of the following four values:
0: the dependency of this sample is unknown;
1: this sample does depend on others (not an I picture);
2: this sample does not depend on others (I picture);
3: reserved
this.sampleDependsOn = sampleDependsOn;
|
public void | setSampleHasRedundancy(int sampleHasRedundancy)sample_has_redundancy takes one of the following four values:
0: it is unknown whether there is redundant coding in this sample;
1: there is redundant coding in this sample;
2: there is no redundant coding in this sample;
3: reserved
this.sampleHasRedundancy = sampleHasRedundancy;
|
public void | setSampleIsDependedOn(int sampleIsDependedOn)sample_is_depended_on takes one of the following four values:
0: the dependency of other samples on this sample is unknown;
1: other samples may depend on this one (not disposable);
2: no other sample depends on this one (disposable);
3: reserved
this.sampleIsDependedOn = sampleIsDependedOn;
|
public void | setSampleIsDifferenceSample(boolean sampleIsDifferenceSample)
this.sampleIsDifferenceSample = sampleIsDifferenceSample;
|
public void | setSamplePaddingValue(int samplePaddingValue)
this.samplePaddingValue = samplePaddingValue;
|
public java.lang.String | toString()
return "SampleFlags{" +
"reserved=" + reserved +
", sampleDependsOn=" + sampleDependsOn +
", sampleHasRedundancy=" + sampleHasRedundancy +
", samplePaddingValue=" + samplePaddingValue +
", sampleIsDifferenceSample=" + sampleIsDifferenceSample +
", sampleDegradationPriority=" + sampleDegradationPriority +
'}";
|