com.coremedia.iso.boxes.fragment
Class SampleFlags

java.lang.Object
  extended by com.coremedia.iso.boxes.fragment.SampleFlags

public class SampleFlags
extends Object

bit(6) reserved=0; unsigned int(2) sample_depends_on; unsigned int(2) sample_is_depended_on; unsigned int(2) sample_has_redundancy; bit(3) sample_padding_value; bit(1) sample_is_difference_sample; // i.e. when 1 signals a non-key or non-sync sample unsigned int(16) sample_degradation_priority;


Constructor Summary
SampleFlags()
           
SampleFlags(ByteBuffer bb)
           
 
Method Summary
 boolean equals(Object o)
           
 void getContent(ByteBuffer os)
           
 int getReserved()
           
 int getSampleDegradationPriority()
           
 int getSampleDependsOn()
           
 int getSampleHasRedundancy()
           
 int getSampleIsDependedOn()
           
 int getSamplePaddingValue()
           
 int hashCode()
           
 boolean isSampleIsDifferenceSample()
           
 void setReserved(int reserved)
           
 void setSampleDegradationPriority(int sampleDegradationPriority)
           
 void setSampleDependsOn(int sampleDependsOn)
          sample_depends_on takes one of the following four values:
 void setSampleHasRedundancy(int sampleHasRedundancy)
          sample_has_redundancy takes one of the following four values:
 void setSampleIsDependedOn(int sampleIsDependedOn)
          sample_is_depended_on takes one of the following four values:
 void setSampleIsDifferenceSample(boolean sampleIsDifferenceSample)
           
 void setSamplePaddingValue(int samplePaddingValue)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SampleFlags

public SampleFlags()

SampleFlags

public SampleFlags(ByteBuffer bb)
Method Detail

getContent

public void getContent(ByteBuffer os)

getReserved

public int getReserved()

setReserved

public void setReserved(int reserved)

getSampleDependsOn

public int getSampleDependsOn()
See Also:
setSampleDependsOn(int)

setSampleDependsOn

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
 


getSampleIsDependedOn

public int getSampleIsDependedOn()
See Also:
setSampleIsDependedOn(int)

setSampleIsDependedOn

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
 


getSampleHasRedundancy

public int getSampleHasRedundancy()
See Also:
setSampleHasRedundancy(int)

setSampleHasRedundancy

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
 


getSamplePaddingValue

public int getSamplePaddingValue()

setSamplePaddingValue

public void setSamplePaddingValue(int samplePaddingValue)

isSampleIsDifferenceSample

public boolean isSampleIsDifferenceSample()

setSampleIsDifferenceSample

public void setSampleIsDifferenceSample(boolean sampleIsDifferenceSample)

getSampleDegradationPriority

public int getSampleDegradationPriority()

setSampleDegradationPriority

public void setSampleDegradationPriority(int sampleDegradationPriority)

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2012. All Rights Reserved.