/// <summary>The cumulative wall time for this compressor, for each /// component. /// </summary> //private long[] time; /// <summary> Creates a new compressor object with the given index. /// /// </summary> /// <param name="idx">The index of this compressor. /// /// </param> internal Compressor(StdEntropyCoder enclosingInstance, int idx) { InitBlock(enclosingInstance); this.idx = idx; #if DO_TIMING time = new long[Enclosing_Instance.src.NumComps]; #endif }
private void InitBlock(StdEntropyCoder enclosingInstance) { this.enclosingInstance = enclosingInstance; }