finishLengthCalculation Method
In This Topic
Terminates the calculation of the required length for each coding pass. This method must be called just after the 'terminate()' one has been called for each terminated MQ segment.
The values in 'rates' must have been compensated for any offset due to previous terminated segments, so that the correct index to the stored coded data is used.
Syntax
'Declaration
Public Overridable Sub finishLengthCalculation( _
ByVal () As Integer, _
ByVal As Integer _
)
public virtual void finishLengthCalculation(
int[] ,
int
)
Parameters
- rates
- The array containing the values returned by 'getNumCodedBytes()' for each coding pass.
- n
- The index in the 'rates' array of the last terminated length.
See Also