gitscheme.h

来自「Intel的IPP库的应用例程」· C头文件 代码 · 共 41 行

H
41
字号
/* //////////////////////////////// "gitscheme.h" /////////////////////////////
//
//                  INTEL CORPORATION PROPRIETARY INFORMATION
//     This software is supplied under the terms of a license agreement or
//     nondisclosure agreement with Intel Corporation and may not be copied
//     or disclosed except in accordance with the terms of that agreement.
//          Copyright(c) 2006 Intel Corporation. All Rights Reserved.
//
//
//            Sample of IPP DC ( data compression ) domain functions usage
//
*/

#if !defined( __GIT_SCHEME__ )

#define __GIT_SCHEME__

#include "all.h"

typedef struct _git_state gitState;

struct _git_state {
    Ipp8u             * mainstream;
    int                 blocksize;
    Ipp8u             * pBwtAddBuffer;
    int                 bwtBufferSize;
    Ipp8u             * pGITState;
    int                 gitStateSize;
    IppGITStrategyHint  strategyHint;
};

int Compress2StateInitAlloc( gitState **ppState, int blocksize, IppGITStrategyHint strategyHint );
int Decompress2StateInitAlloc( gitState **ppState, int blocksize, IppGITStrategyHint strategyHint );

int Compress2( Ipp8u **ppSrc, int SrcLen, Ipp8u **ppDst, int *pDstLen, gitState *pState );
int Decompress2( Ipp8u **ppSrc, int SrcLen, Ipp8u **ppDst, int *pDstLen, gitState *pState );

void Free2State( gitState *pState );

#endif /* __BWT_SCHEME__ */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?