|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MultiXferItem
Specifies an element of a transfer array that is used when reading one or more channels from an interlaced data stream.
Interleaved-essence: An essence format that combines two or more channels of audio or video data into a single essence stream.
MultiXferItem
,
EssenceAccess
Method Summary | |
---|---|
byte[] |
getBuffer()
Returns the data buffer of this item. |
int |
getBuflen()
Deprecated. Java class-based representation of arrays instead, e.g. call getBuffer() .length . |
AUID |
getMediaKind()
Returns the type of essence of this data item. |
int |
getNumSamples()
Returns the number of samples of this data item to transfer. |
short |
getSubTrackNum()
Returns the physical input-output track number of this data item, also known as "physical". |
void |
setBuffer(byte[] buffer)
Sets the data buffer of this item. |
void |
setBuflen(int buflen)
Deprecated. Buffer length is set by setBuffer(byte[]) . |
void |
setMediaKind(AUID mediaKind)
Sets the essence type definition of this data item. |
void |
setNumSamples(int numSamples)
Sets the number of samples of this data item to transfer. |
void |
setSubTrackNum(short subTrackNum)
Sets the physical input-output track number of this data item, also known as "physical". |
Method Detail |
---|
@DataBuffer byte[] getBuffer()
Returns the data buffer of this item.
void setBuffer(@DataBuffer byte[] buffer) throws NullPointerException
Sets the data buffer of this item.
buffer
- Data buffer of this item.
NullPointerException
- The given data buffer is null
.@Deprecated @UInt32 int getBuflen()
getBuffer()
.length
.
Returns the length of the data buffer of this item.
@Deprecated void setBuflen(@UInt32 int buflen)
setBuffer(byte[])
.
Provided to set the length of the data buffer of this item but this feature is unnecessary with Java's class-based representation of arrays. This method does nothing.
buflen
- Value is ignored.AUID getMediaKind()
Returns the type of essence of this data item.
void setMediaKind(AUID mediaKind) throws NullPointerException
Sets the essence type definition of this data item.
mediaKind
- Type of essence represented by this item.
NullPointerException
- The given media kind is null
.@UInt32 int getNumSamples()
Returns the number of samples of this data item to transfer.
void setNumSamples(@UInt32 int numSamples) throws IllegalArgumentException
Sets the number of samples of this data item to transfer.
numSamples
- Number of samples of this data item to transfer.
IllegalArgumentException
- The given number of samples is negative.@Int16 short getSubTrackNum()
Returns the physical input-output track number of this data item, also known as "physical".
void setSubTrackNum(@Int16 short subTrackNum)
Sets the physical input-output track number of this data item, also known as "physical".
subTrackNum
- Physical input-output track number of this data item.
|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |