// // Copyright (c) James Jackson-South and contributors. // Licensed under the Apache License, Version 2.0. // namespace ImageSharp.Formats.Jpg { /// /// Conains the definition of /// internal unsafe partial struct JpegScanDecoder { /// /// Contains pointers to the memory regions of so they can be easily passed around to pointer based utility methods of /// public struct DataPointers { /// /// Pointer to /// public Block8x8F* Block; /// /// Pointer to as int* /// public int* Unzig; /// /// Pointer to as Scan* /// public ComponentScan* ComponentScan; /// /// Pointer to /// public int* Dc; /// /// Initializes a new instance of the struct. /// /// The pointer pointing to public DataPointers(ComputationData* basePtr) { this.Block = &basePtr->Block; this.Unzig = basePtr->Unzig.Data; this.ComponentScan = (ComponentScan*)basePtr->ScanData; this.Dc = basePtr->Dc; } } } }