enchtbl.h

来自「这是在PCA下的基于IPP库示例代码例子,在网上下了IPP的库之后,设置相关参数」· C头文件 代码 · 共 66 行

H
66
字号
/*////               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) 2001-2005 Intel Corporation. All Rights Reserved.//*/#ifndef __ENCHTBL_H__#define __ENCHTBL_H__#ifndef __IPPJ_H__#include "ippj.h"#endif#ifndef __JPEGBASE_H__#include "jpegbase.h"#endifclass CJPEGEncoderHuffmanTable{private:  IppiEncodeHuffmanSpec* m_table;public:  int                    m_id;  int                    m_hclass;  Ipp8u                  m_bits[16];  Ipp8u                  m_vals[256];  CJPEGEncoderHuffmanTable(void);  virtual ~CJPEGEncoderHuffmanTable(void);  JERRCODE Create(void);  JERRCODE Destroy(void);  JERRCODE Init(int id,int hclass,Ipp8u* bits,Ipp8u* vals);  operator IppiEncodeHuffmanSpec*(void) { return m_table; }};class CJPEGEncoderHuffmanState{private:  IppiEncodeHuffmanState* m_state;public:  CJPEGEncoderHuffmanState(void);  virtual ~CJPEGEncoderHuffmanState(void);  JERRCODE Create(void);  JERRCODE Destroy(void);  JERRCODE Init(void);  operator IppiEncodeHuffmanState*(void) { return m_state; }};#endif // __ENCHTBL_H__

⌨️ 快捷键说明

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