📄 ippcompress.h
字号:
/* //////////////////////////////// "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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -