📄 spihtpack.h
字号:
#ifndef SPIHTPACK_H
#define SPIHTPACK_H
#include "spiht.h"
/* spiht_common.c */
#define QCCSPIHT_LICENSE "\n******************************************************************************\n The Set Partitioning In Hierarchical Trees (SPIHT) algorithm is protected\n by US Patent #5,764,807 (issued June 9, 1998) and other international\n patents and patents pending. An implementation of the SPIHT algorithm is\n included herein (utility programs spihtencode and spihtdecode, and spiht.c\n in the QccPackSPIHT module of the QccPack library) with the permission of\n PrimaComp, Inc., exclusive holder of patent rights. PrimaComp has graciously\n granted a license with certain restrictions governing the terms and\n conditions for use, copying, distribution, and modification of the SPIHT\n algorithm implementation contained herein. Specifically, only use in\n academic and non-commercial research is permitted, while all commercial\n use is prohibited. Refer to the file LICENSE-SPIHT for more details.\n******************************************************************************"
#define QCCSPIHT_MAJORVERSION 0
#define QCCSPIHT_MINORVERSION 46
#define QCCSPIHT_COPYRIGHT "Copyright (C) 1997-2004 James E. Fowler"
#define QCCSPIHT_DATE "13-jan-2004"
void QccSPIHTHeader(void);
int QccSPIHTDecodeHeader(QccBitBuffer *buffer,
int *num_levels,
int *num_rows,
int *num_cols,
double *image_mean,
int *max_coefficient_bits,
int *arithmetic_coded);
int QccSPIHTDecode(QccBitBuffer *buffer,
QccIMGImageComponent *image,
const QccIMGImageComponent *mask,
int num_levels,
const QccWAVWavelet *wavelet,
const QccWAVPerceptualWeights *perceptual_weights,
double image_mean,
int max_coefficient_bits,
int target_bit_cnt,
int arithmetic_coded);
int QccSPIHTDecode2(QccBitBuffer *buffer,
QccWAVSubbandPyramid *image_subband_pyramid,
QccWAVSubbandPyramid *mask_subband_pyramid,
int max_coefficient_bits,
int target_bit_cnt,
int arithmetic_coded);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -