|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jcodec.containers.mp4.boxes.channel.ChannelUtils
public class ChannelUtils
This class is part of JCodec ( www.jcodec.org ) This software is distributed under FreeBSD License
| Constructor Summary | |
|---|---|
ChannelUtils()
|
|
| Method Summary | |
|---|---|
static Label[] |
getLabels(AudioSampleEntry se)
|
static Label[] |
getLabels(ChannelBox box)
|
static Label[] |
getLabels(TrakBox trakBox)
|
static Label[] |
getLabelsByBitmap(long channelBitmap)
enum
{
kCAFChannelBit_Left = (1<<0),
kCAFChannelBit_Right = (1<<1),
kCAFChannelBit_Center = (1<<2),
kCAFChannelBit_LFEScreen = (1<<3),
kCAFChannelBit_LeftSurround = (1<<4), // WAVE: "Back Left"
kCAFChannelBit_RightSurround = (1<<5), // WAVE: "Back Right"
kCAFChannelBit_LeftCenter = (1<<6),
kCAFChannelBit_RightCenter = (1<<7),
kCAFChannelBit_CenterSurround = (1<<8), // WAVE: "Back Center"
kCAFChannelBit_LeftSurroundDirect = (1<<9), // WAVE: "Side Left"
kCAFChannelBit_RightSurroundDirect = (1<<10), // WAVE: "Side Right"
kCAFChannelBit_TopCenterSurround = (1<<11),
kCAFChannelBit_VerticalHeightLeft = (1<<12), // WAVE: "Top Front Left"
kCAFChannelBit_VerticalHeightCenter = (1<<13), // WAVE: "Top Front Center"
kCAFChannelBit_VerticalHeightRight = (1<<14), // WAVE: "Top Front Right"
kCAFChannelBit_TopBackLeft = (1<<15),
kCAFChannelBit_TopBackCenter = (1<<16),
kCAFChannelBit_TopBackRight = (1<<17)
};
|
static void |
setLabel(TrakBox trakBox,
int channel,
Label label)
|
static void |
setLabels(Label[] labels,
ChannelBox channel)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChannelUtils()
| Method Detail |
|---|
public static Label[] getLabels(AudioSampleEntry se)
public static Label[] getLabels(TrakBox trakBox)
public static void setLabel(TrakBox trakBox,
int channel,
Label label)
public static void setLabels(Label[] labels,
ChannelBox channel)
public static Label[] getLabels(ChannelBox box)
public static Label[] getLabelsByBitmap(long channelBitmap)
enum
{
kCAFChannelBit_Left = (1<<0),
kCAFChannelBit_Right = (1<<1),
kCAFChannelBit_Center = (1<<2),
kCAFChannelBit_LFEScreen = (1<<3),
kCAFChannelBit_LeftSurround = (1<<4), // WAVE: "Back Left"
kCAFChannelBit_RightSurround = (1<<5), // WAVE: "Back Right"
kCAFChannelBit_LeftCenter = (1<<6),
kCAFChannelBit_RightCenter = (1<<7),
kCAFChannelBit_CenterSurround = (1<<8), // WAVE: "Back Center"
kCAFChannelBit_LeftSurroundDirect = (1<<9), // WAVE: "Side Left"
kCAFChannelBit_RightSurroundDirect = (1<<10), // WAVE: "Side Right"
kCAFChannelBit_TopCenterSurround = (1<<11),
kCAFChannelBit_VerticalHeightLeft = (1<<12), // WAVE: "Top Front Left"
kCAFChannelBit_VerticalHeightCenter = (1<<13), // WAVE: "Top Front Center"
kCAFChannelBit_VerticalHeightRight = (1<<14), // WAVE: "Top Front Right"
kCAFChannelBit_TopBackLeft = (1<<15),
kCAFChannelBit_TopBackCenter = (1<<16),
kCAFChannelBit_TopBackRight = (1<<17)
};
channelBitmap -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||