[]
        
(Showing Draft Content)

CSJ2K.j2k.entropy.encoder.LayersInfo.addOptPoint

addOptPoint Method

addOptPoint(float, int)

Adds a new optimization point, with target bitrate 'brate' and with 'elyrs' (unoptimized) extra layers after it. The target bitrate 'brate' must be larger than the previous optimization point. The arguments are checked and IllegalArgumentException is thrown if they are not correct.

Declaration
public virtual void addOptPoint(float brate, int elyrs)
Parameters
Type Name Description
float brate

The target bitrate for the optimized layer.

int elyrs

The number of extra (unoptimized) layers to add after the optimized layer.