FileDocCategorySizeDatePackage
MutableFrameFormat.javaAPI DocAndroid 5.1 API2575Thu Mar 12 22:22:30 GMT 2015android.filterfw.core

MutableFrameFormat

public class MutableFrameFormat extends android.filterfw.core.FrameFormat
hide

Fields Summary
Constructors Summary
public MutableFrameFormat()

        super();
    
public MutableFrameFormat(int baseType, int target)

        super(baseType, target);
    
Methods Summary
public voidsetBaseType(int baseType)

        mBaseType = baseType;
        mBytesPerSample = bytesPerSampleOf(baseType);
    
public voidsetBytesPerSample(int bytesPerSample)

        mBytesPerSample = bytesPerSample;
        mSize = SIZE_UNKNOWN;
    
public voidsetDimensionCount(int count)

        mDimensions = new int[count];
    
public voidsetDimensions(int[] dimensions)

        mDimensions = (dimensions == null) ? null : Arrays.copyOf(dimensions, dimensions.length);
        mSize = SIZE_UNKNOWN;
    
public voidsetDimensions(int size)

        int[] dimensions = new int[1];
        dimensions[0] = size;
        mDimensions = dimensions;
        mSize = SIZE_UNKNOWN;
    
public voidsetDimensions(int width, int height)

        int[] dimensions = new int[2];
        dimensions[0] = width;
        dimensions[1] = height;
        mDimensions = dimensions;
        mSize = SIZE_UNKNOWN;
    
public voidsetDimensions(int width, int height, int depth)

        int[] dimensions = new int[3];
        dimensions[0] = width;
        dimensions[1] = height;
        dimensions[2] = depth;
        mDimensions = dimensions;
        mSize = SIZE_UNKNOWN;
    
public voidsetMetaValue(java.lang.String key, java.lang.Object value)

        if (mMetaData == null) {
            mMetaData = new KeyValueMap();
        }
        mMetaData.put(key, value);
    
public voidsetObjectClass(java.lang.Class objectClass)

        mObjectClass = objectClass;
    
public voidsetTarget(int target)

        mTarget = target;