|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlame.blade.BE_CONFIG.STRUCT_FORMAT.STRUCT_LHV1
public static class BE_CONFIG.STRUCT_FORMAT.STRUCT_LHV1
The STRUCT_LHV1
class is the Java symmetric representation of the
structure data type of the LHV1
field of the
STRUCT_FORMAT
structure.
struct
{
// STRUCTURE INFORMATION
DWORD dwStructVersion;
DWORD dwStructSize;
// BASIC ENCODER SETTINGS
DWORD dwSampleRate; // SAMPLERATE OF INPUT FILE
DWORD dwReSampleRate; // DOWNSAMPLERATE, 0=ENCODER DECIDES
LONG nMode; // BE_MP3_MODE_STEREO, BE_MP3_MODE_DUALCHANNEL, BE_MP3_MODE_MONO
DWORD dwBitrate; // CBR bitrate, VBR min bitrate
DWORD dwMaxBitrate; // CBR ignored, VBR Max bitrate
LONG nPreset; // Quality preset, use one of the settings of the LAME_QUALITY_PRESET enum
DWORD dwMpegVersion; // FUTURE USE, MPEG-1 OR MPEG-2
DWORD dwPsyModel; // FUTURE USE, SET TO 0
DWORD dwEmphasis; // FUTURE USE, SET TO 0
// BIT STREAM SETTINGS
BOOL bPrivate; // Set Private Bit (TRUE/FALSE)
BOOL bCRC; // Insert CRC (TRUE/FALSE)
BOOL bCopyright; // Set Copyright Bit (TRUE/FALSE)
BOOL bOriginal; // Set Original Bit (TRUE/FALSE)
// VBR STUFF
BOOL bWriteVBRHeader; // WRITE XING VBR HEADER (TRUE/FALSE)
BOOL bEnableVBR; // USE VBR ENCODING (TRUE/FALSE)
INT nVBRQuality; // VBR QUALITY 0..9
DWORD dwVbrAbr_bps; // Use ABR in stead of nVBRQuality
VBRMETHOD nVbrMethod;
BOOL bNoRes; // Disable Bit resorvoir (TRUE/FALSE)
// MISC SETTINGS
BOOL bStrictIso; // Use strict ISO encoding rules (TRUE/FALSE)
WORD nQuality; // Quality Setting, HIGH BYTE should be NOT LOW byte, otherwhise quality=5
// FUTURE USE, SET TO 0, align strucutre to 331 bytes
BYTE btReserved[255-4*sizeof(DWORD) - sizeof( WORD )];
}
BE_CONFIG.STRUCT_FORMAT
Field Summary | |
---|---|
protected int |
bCopyright
|
protected int |
bCRC
|
protected int |
bEnableVBR
|
protected int |
bNoRes
|
protected int |
bOriginal
|
protected int |
bPrivate
|
protected int |
bStrictIso
|
protected byte[] |
btReserved
|
protected int |
bWriteVBRHeader
|
protected int |
dwBitrate
|
protected int |
dwEmphasis
|
protected int |
dwMaxBitrate
|
protected int |
dwMpegVersion
|
protected int |
dwPsyModel
|
protected int |
dwReSampleRate
|
protected int |
dwSampleRate
|
protected int |
dwStructSize
|
protected int |
dwStructVersion
|
protected int |
dwVbrAbr_bps
|
protected int |
nMode
|
protected int |
nPreset
|
protected short |
nQuality
|
protected int |
nVbrMethod
|
protected int |
nVBRQuality
|
Constructor Summary | |
---|---|
BE_CONFIG.STRUCT_FORMAT.STRUCT_LHV1()
|
Method Summary | |
---|---|
byte[] |
getBtReserved()
Returns the current value of btReserved attribute. |
int |
getDwBitrate()
Returns the current value of dwBitrate attribute. |
int |
getDwEmphasis()
Returns the current value of dwEmphasis attribute. |
int |
getDwMaxBitrate()
Returns the current value of dwMaxBitrate attribute. |
int |
getDwMpegVersion()
Returns the current value of dwMpegVersion attribute. |
int |
getDwPsyModel()
Returns the current value of dwPsyModel attribute. |
int |
getDwReSampleRate()
Returns the current value of dwReSampleRate attribute. |
int |
getDwSampleRate()
Returns the current value of dwSampleRate attribute. |
int |
getDwStructSize()
Returns the current value of dwStructSize attribute. |
int |
getDwStructVersion()
Returns the current value of dwStructVersion attribute. |
int |
getDwVbrAbr_bps()
Returns the current value of dwVbrAbr_bps attribute. |
int |
getNMode()
Returns the current value of nMode attribute. |
int |
getNPreset()
Returns the current value of nPreset attribute. |
short |
getNQuality()
Returns the current value of nQuality attribute. |
int |
getNVbrMethod()
Returns the current value of nVbrMethod attribute. |
int |
getNVBRQuality()
Returns the current value of nVBRQuality attribute. |
boolean |
isBCopyright()
Returns the current value of bCopyright attribute. |
boolean |
isBCRC()
Returns the current value of bCRC attribute. |
boolean |
isBEnableVBR()
Returns the current value of bEnableVBR attribute. |
boolean |
isBNoRes()
Returns the current value of bNoRes attribute. |
boolean |
isBOriginal()
Returns the current value of bOriginal attribute. |
boolean |
isBPrivate()
Returns the current value of bPrivate attribute. |
boolean |
isBStrictIso()
Returns the current value of bStrictIso attribute. |
boolean |
isBWriteVBRHeader()
Returns the current value of bWriteVBRHeader attribute. |
void |
setBCopyright(boolean bCopyright)
Sets the value of the bCopyright attribute. |
void |
setBCRC(boolean bCRC)
Sets the value of the bCRC attribute. |
void |
setBEnableVBR(boolean bEnableVBR)
Sets the value of the bEnableVBR attribute. |
void |
setBNoRes(boolean bNoRes)
Sets the value of the bNoRes attribute. |
void |
setBOriginal(boolean bOriginal)
Sets the value of the bOriginal attribute. |
void |
setBPrivate(boolean bPrivate)
Sets the value of the bPrivate attribute. |
void |
setBStrictIso(boolean bStrictIso)
Sets the value of the bStrictIso attribute. |
void |
setBtReserved(byte[] btReserved)
Sets the value of the btReserved attribute. |
void |
setBWriteVBRHeader(boolean bWriteVBRHeader)
Sets the value of the bWriteVBRHeader attribute. |
void |
setDwBitrate(int dwBitrate)
Sets the value of the dwBitrate attribute. |
void |
setDwEmphasis(int dwEmphasis)
Sets the value of the dwEmphasis attribute. |
void |
setDwMaxBitrate(int dwMaxBitrate)
Sets the value of the dwMaxBitrate attribute. |
void |
setDwMpegVersion(int dwMpegVersion)
Sets the value of the dwMpegVersion attribute. |
void |
setDwPsyModel(int dwPsyModel)
Sets the value of the dwPsyModel attribute. |
void |
setDwReSampleRate(int dwReSampleRate)
Sets the value of the dwReSampleRate attribute. |
void |
setDwSampleRate(int dwSampleRate)
Sets the value of the dwSampleRate attribute. |
void |
setDwStructSize(int dwStructSize)
Sets the value of the dwStructSize attribute. |
void |
setDwStructVersion(int dwStructVersion)
Sets the value of the dwStructVersion attribute. |
void |
setDwVbrAbr_bps(int dwVbrAbr_bps)
Sets the value of the dwVbrAbr_bps attribute. |
void |
setNMode(int nMode)
Sets the value of the nMode attribute. |
void |
setNPreset(int nPreset)
Sets the value of the nPreset attribute. |
void |
setNQuality(short nQuality)
Sets the value of the nQuality attribute. |
void |
setNVbrMethod(int nVbrMethod)
Sets the value of the nVbrMethod attribute. |
void |
setNVBRQuality(int nVBRQuality)
Sets the value of the nVBRQuality attribute. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int dwStructVersion
protected int dwStructSize
protected int dwSampleRate
protected int dwReSampleRate
protected int nMode
protected int dwBitrate
protected int dwMaxBitrate
protected int nPreset
protected int dwMpegVersion
protected int dwPsyModel
protected int dwEmphasis
protected int bPrivate
protected int bCRC
protected int bCopyright
protected int bOriginal
protected int bWriteVBRHeader
protected int bEnableVBR
protected int nVBRQuality
protected int dwVbrAbr_bps
protected int nVbrMethod
protected int bNoRes
protected int bStrictIso
protected short nQuality
protected byte[] btReserved
Constructor Detail |
---|
public BE_CONFIG.STRUCT_FORMAT.STRUCT_LHV1()
Method Detail |
---|
public int getDwStructVersion()
dwStructVersion
attribute.
dwStructVersion
public void setDwStructVersion(int dwStructVersion)
dwStructVersion
attribute.
dwStructVersion
- the new valuepublic int getDwStructSize()
dwStructSize
attribute.
dwStructSize
public void setDwStructSize(int dwStructSize)
dwStructSize
attribute.
dwStructSize
- the new valuepublic int getDwSampleRate()
dwSampleRate
attribute.
dwSampleRate
public void setDwSampleRate(int dwSampleRate)
dwSampleRate
attribute.
dwSampleRate
- the new valuepublic int getDwReSampleRate()
dwReSampleRate
attribute.
dwReSampleRate
public void setDwReSampleRate(int dwReSampleRate)
dwReSampleRate
attribute.
dwReSampleRate
- the new valuepublic int getNMode()
nMode
attribute.
nMode
public void setNMode(int nMode)
nMode
attribute.
nMode
- the new valuepublic int getDwBitrate()
dwBitrate
attribute.
dwBitrate
public void setDwBitrate(int dwBitrate)
dwBitrate
attribute.
dwBitrate
- the new valuepublic int getDwMaxBitrate()
dwMaxBitrate
attribute.
dwMaxBitrate
public void setDwMaxBitrate(int dwMaxBitrate)
dwMaxBitrate
attribute.
dwMaxBitrate
- the new valuepublic int getNPreset()
nPreset
attribute.
nPreset
public void setNPreset(int nPreset)
nPreset
attribute.
nPreset
- the new valuepublic int getDwMpegVersion()
dwMpegVersion
attribute.
dwMpegVersion
public void setDwMpegVersion(int dwMpegVersion)
dwMpegVersion
attribute.
dwMpegVersion
- the new valuepublic int getDwPsyModel()
dwPsyModel
attribute.
dwPsyModel
public void setDwPsyModel(int dwPsyModel)
dwPsyModel
attribute.
dwPsyModel
- the new valuepublic int getDwEmphasis()
dwEmphasis
attribute.
dwEmphasis
public void setDwEmphasis(int dwEmphasis)
dwEmphasis
attribute.
dwEmphasis
- the new valuepublic boolean isBPrivate()
bPrivate
attribute.
bPrivate
public void setBPrivate(boolean bPrivate)
bPrivate
attribute.
bPrivate
- the new valuepublic boolean isBCRC()
bCRC
attribute.
bCRC
public void setBCRC(boolean bCRC)
bCRC
attribute.
bCRC
- the new valuepublic boolean isBCopyright()
bCopyright
attribute.
bCopyright
public void setBCopyright(boolean bCopyright)
bCopyright
attribute.
bCopyright
- the new valuepublic boolean isBOriginal()
bOriginal
attribute.
bOriginal
public void setBOriginal(boolean bOriginal)
bOriginal
attribute.
bOriginal
- the new valuepublic boolean isBWriteVBRHeader()
bWriteVBRHeader
attribute.
bWriteVBRHeader
public void setBWriteVBRHeader(boolean bWriteVBRHeader)
bWriteVBRHeader
attribute.
bWriteVBRHeader
- the new valuepublic boolean isBEnableVBR()
bEnableVBR
attribute.
bEnableVBR
public void setBEnableVBR(boolean bEnableVBR)
bEnableVBR
attribute.
bEnableVBR
- the new valuepublic int getNVBRQuality()
nVBRQuality
attribute.
nVBRQuality
public void setNVBRQuality(int nVBRQuality)
nVBRQuality
attribute.
nVBRQuality
- the new valuepublic int getDwVbrAbr_bps()
dwVbrAbr_bps
attribute.
dwVbrAbr_bps
public void setDwVbrAbr_bps(int dwVbrAbr_bps)
dwVbrAbr_bps
attribute.
dwVbrAbr_bps
- the new valuepublic int getNVbrMethod()
nVbrMethod
attribute.
nVbrMethod
public void setNVbrMethod(int nVbrMethod)
nVbrMethod
attribute.
nVbrMethod
- the new valuepublic boolean isBNoRes()
bNoRes
attribute.
bNoRes
public void setBNoRes(boolean bNoRes)
bNoRes
attribute.
bNoRes
- the new valuepublic boolean isBStrictIso()
bStrictIso
attribute.
bStrictIso
public void setBStrictIso(boolean bStrictIso)
bStrictIso
attribute.
bStrictIso
- the new valuepublic short getNQuality()
nQuality
attribute.
nQuality
public void setNQuality(short nQuality)
nQuality
attribute.
nQuality
- the new valuepublic byte[] getBtReserved()
btReserved
attribute.
btReserved
public void setBtReserved(byte[] btReserved)
btReserved
attribute.
btReserved
- the new value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |