Свойство | Type | Description | |
---|---|---|---|
encSpec | CSJ2K.j2k.encoder.EncoderSpecs | ||
num_Layers | int | ||
src | CodedCBlkDataSrcEnc |
Méthode | Description | |
---|---|---|
PostCompRateAllocator ( CodedCBlkDataSrcEnc src, int nl, CSJ2K.j2k.codestream.writer.CodestreamWriter bw, CSJ2K.j2k.encoder.EncoderSpecs encSpec ) : System |
Initializes the source of entropy coded data.
|
|
createInstance ( CodedCBlkDataSrcEnc src, CSJ2K.j2k.util.ParameterList pl, float rate, CSJ2K.j2k.codestream.writer.CodestreamWriter bw, CSJ2K.j2k.encoder.EncoderSpecs encSpec ) : |
Creates a PostCompRateAllocator object for the appropriate rate allocation parameters in the parameter list 'pl', having 'src' as the source of entropy coded data, 'rate' as the target bitrate and 'bw' as the bit stream writer object.
|
|
initialize ( ) : void |
Initializes the rate allocation points, taking into account header overhead and such. This method must be called after the header has been simulated but before calling the runAndWrite() one. The header must be rewritten after a call to this method since the number of layers may change.
|
|
runAndWrite ( ) : void |
Runs the rate allocation algorithm and writes the data to the bit stream. This must be called after the initialize() method.
|
Méthode | Description | |
---|---|---|
parseAlayers ( System params_Renamed, float rate ) : CSJ2K.j2k.entropy.encoder.LayersInfo |
Convenience method that parses the 'Alayers' option.
|
public PostCompRateAllocator ( CodedCBlkDataSrcEnc src, int nl, CSJ2K.j2k.codestream.writer.CodestreamWriter bw, CSJ2K.j2k.encoder.EncoderSpecs encSpec ) : System | ||
src | CodedCBlkDataSrcEnc | The source of entropy coded data. /// /// |
nl | int | |
bw | CSJ2K.j2k.codestream.writer.CodestreamWriter | The packet bit stream writer. /// /// |
encSpec | CSJ2K.j2k.encoder.EncoderSpecs | |
Résultat | System |
public static createInstance ( CodedCBlkDataSrcEnc src, CSJ2K.j2k.util.ParameterList pl, float rate, CSJ2K.j2k.codestream.writer.CodestreamWriter bw, CSJ2K.j2k.encoder.EncoderSpecs encSpec ) : |
||
src | CodedCBlkDataSrcEnc | The source of entropy coded data. /// /// |
pl | CSJ2K.j2k.util.ParameterList | The parameter lis (or options). /// /// |
rate | float | The target bitrate for the rate allocation /// /// |
bw | CSJ2K.j2k.codestream.writer.CodestreamWriter | The bit stream writer object, where the bit stream data will /// be written. /// /// |
encSpec | CSJ2K.j2k.encoder.EncoderSpecs | |
Résultat |
protected EncoderSpecs,CSJ2K.j2k.encoder encSpec | ||
Résultat | CSJ2K.j2k.encoder.EncoderSpecs |