/// <summary>
 /// Initializes a new instance of the <see cref="DataPointers" /> struct.
 /// </summary>
 /// <param name="basePtr">The pointer pointing to <see cref="ComputationData"/></param>
 public DataPointers(ComputationData *basePtr)
 {
     this.Block         = &basePtr->Block;
     this.Unzig         = basePtr->Unzig.Data;
     this.ComponentScan = (OrigComponentScan *)basePtr->ScanData;
     this.Dc            = basePtr->Dc;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DataPointers" /> struct.
 /// </summary>
 /// <param name="dataPtr">Pointer to <see cref="ComputationData"/></param>
 internal DataPointers(ComputationData *dataPtr)
 {
     this.Block = &dataPtr->Block;
     this.Temp1 = &dataPtr->Temp1;
     this.Temp2 = &dataPtr->Temp2;
     this.QuantiazationTable = &dataPtr->QuantiazationTable;
     this.Unzig = dataPtr->Unzig.Data;
 }
Exemple #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DataPointers" /> struct.
 /// </summary>
 /// <param name="basePtr">The pointer pointing to <see cref="ComputationData"/></param>
 public DataPointers(ComputationData *basePtr)
 {
     this.Block = &basePtr->Block;
     this.Temp1 = &basePtr->Temp1;
     this.Temp2 = &basePtr->Temp2;
     this.QuantiazationTable = &basePtr->QuantiazationTable;
     this.Unzig = basePtr->Unzig.Data;
     this.Scan  = (Scan *)basePtr->ScanData;
     this.Dc    = basePtr->Dc;
 }