ippcompress.h
来自「intel的ipp性能库的示例代码」· C头文件 代码 · 共 54 行
H
54 行
/* //////////////////////////////// "ippcompress.c" /////////////////////////////
//
// 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) 2005 Intel Corporation. All Rights Reserved.
//
//
// Sample of IPP DC ( data compression ) domain functions usage
//
*/
#if !defined( __IPPCOMPRESS_H__ )
#define __IPPCOMPRESS_H__
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <malloc.h>
#include <time.h>
#include "ippdc.h"
#include "ippcore.h"
#include "ipp_zlib.h"
/**************************[ Prototypes ]**************************/
void usage(char * );
int readBlockFromFile ( FILE *in, Ipp8u **block, int blocksize );
int writeBlockToFile ( FILE *to, Ipp8u *block, int blocksize );
IppStatus DoTheForwardBWT( Ipp8u * pSrc, int SrcLen, Ipp8u *pDst, int *pDstLen );
IppStatus DoTheInverseBWT( Ipp8u * pSrc, int SrcLen, Ipp8u *pDst, int *pDstLen );
IppStatus DoTheForwardMTF( Ipp8u * pSrc, int SrcLen, Ipp8u *pDst, int *pDstLen );
IppStatus DoTheInverseMTF( Ipp8u * pSrc, int SrcLen, Ipp8u *pDst, int *pDstLen );
IppStatus EncodeRLE( Ipp8u * pSrc, int SrcLen, Ipp8u *pDst, int *pDstLen );
IppStatus DecodeRLE( Ipp8u * pSrc, int SrcLen, Ipp8u *pDst, int *pDstLen );
IppStatus EncodeHuffman( Ipp8u * pSrc, int SrcLen, Ipp8u *pDst, int *pDstLen );
IppStatus DecodeHuffman( Ipp8u * pSrc, int SrcLen, Ipp8u *pDst, int *pDstLen );
IppStatus EncodeGIT ( Ipp8u * pSrc, int SrcLen, Ipp8u *pDst, int *pDstLen );
IppStatus DecodeGIT ( Ipp8u * pSrc, int SrcLen, Ipp8u *pDst, int *pDstLen );
/******************************************************************/
#endif /* __IPP_COMPRESS_H__ */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?