Overload | Description |
---|---|
CBlkRateDistStats Constructor() | Creates a new CBlkRateDistStats object without allocating any space for 'truncRates', 'truncSlopes', 'truncDists' and 'truncIdxs' or 'data'. |
CBlkRateDistStats Constructor(Int32,Int32,Int32,Byte[],Int32[],Double[],Boolean[],Int32,Boolean) | Creates a new CBlkRateDistStats object and initializes the valid truncation points, their rates and their slopes, from the 'rates' and 'dist' arrays. The 'rates', 'dist' and 'termp' arrays must contain the rate (in bytes), the reduction in distortion (from nothing coded) and the flag indicating if termination is used, respectively, for each truncation point.
The valid truncation points are selected by taking them as lying on a convex hull. This is done by calling the method selectConvexHull(). Note that the arrays 'rates' and 'termp' are copied, not referenced, so they can be modified after a call to this constructor. |