[]
        
(Showing Draft Content)

CSJ2K.j2k.entropy.encoder.PostCompRateAllocator.createInstance

createInstance Method

createInstance(CodedCBlkDataSrcEnc, ParameterList, float, CodestreamWriter, EncoderSpecs)

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.

Declaration
public static PostCompRateAllocator createInstance(CodedCBlkDataSrcEnc src, ParameterList pl, float rate, CodestreamWriter bw, EncoderSpecs encSpec)
Public Shared Function createInstance(src As CodedCBlkDataSrcEnc, pl As ParameterList, rate As Single, bw As CodestreamWriter, encSpec As EncoderSpecs) As PostCompRateAllocator
Parameters
Type Name Description
CodedCBlkDataSrcEnc src

The source of entropy coded data.

ParameterList pl

The parameter lis (or options).

float rate

The target bitrate for the rate allocation

CodestreamWriter bw

The bit stream writer object, where the bit stream data will be written.

EncoderSpecs encSpec
Returns
Type Description
PostCompRateAllocator