📄 hpdz_dequant_local.h
字号:
/*****************************************************************************/
/* Copyright 1998, Hewlett-Packard Company */
/* All rights reserved */
/* File: "hpdz_dequant_local.h" */
/* Description: Private definitions for "hpdz_dequant.c" */
/* Author: David Taubman */
/* Affiliation: Hewlett-Packard and */
/* The University of New South Wales, Australia */
/* Version: VM9.0 */
/* Last Revised: 18 April, 2001 */
/*****************************************************************************/
/*****************************************************************************/
/* Modified to include TCQ */
/* Copyright 1999 Science Applications International Corporation (SAIC). */
/* Copyright 1995 University of Arizona, Arizona Board of Regents. */
/* All Rights Reserved for modified parts. */
/*****************************************************************************/
/*****************************************************************************/
/* Modified for general wavelet decompositions. */
/* Copyright 2000 Science Applications International Corporation (SAIC). */
/* Copyright 1995 University of Arizona, Arizona Board of Regents. */
/* All Rights Reserved for modified parts. */
/*****************************************************************************/
/*****************************************************************************/
/* Modified for general offset and scalar quantization. */
/* Copyright 2000 The MITRE Corporation. */
/* All Rights Reserved for modified parts. */
/*****************************************************************************/
#ifndef HPDZ_DEQUANT_LOCAL_H
#define HPDZ_DEQUANT_LOCAL_H
#define HPDZ_MEM_KEY "QUANTIZATION OBJECT MEMORY"
/*****************************************************************************/
/* hpdz_band_info */
/*****************************************************************************/
typedef
struct hpdz_band_info {
float scale; /* Scaling factor for floating point data. */
ifc_int left_shift; /* Left shift for fixed-point data. May be -ve. */
int extra_lsbs; /* SAIC */
/* MITRE General Offset/SQ Begin */
double nz;
/* MITRE General Offset/SQ End */
} hpdz_band_info, *hpdz_band_info_ptr;
/*****************************************************************************/
/* hpdz_level_info */
/*****************************************************************************/
typedef
struct hpdz_level_info {
int min_band;
int max_band;
hpdz_band_info_ptr bands;
} hpdz_level_info, *hpdz_level_info_ptr;
/*****************************************************************************/
/* hpdz_component_info */
/*****************************************************************************/
typedef
struct hpdz_component_info {
int num_levels;
hpdz_level_info_ptr levels;
} hpdz_component_info, *hpdz_component_info_ptr;
/*****************************************************************************/
/* hpdz_quantizer_obj */
/*****************************************************************************/
typedef
struct hpdz_dequantizer_obj {
dequantizer_obj base;
int num_components;
hpdz_component_info_ptr components;
decoder_ref decoder;
reverse_info_ref info;
ifc_int three_eighths_mag; /* Zero unless using the `-Q3_8' option. */
/* SAIC General Decomp. Begin */
char *wt_output_file;
float **wt_output;
int *min_band;
int *max_band;
canvas_dims **band_dims;
int **current_band_line;
int **valid_band;
/* SAIC General Decomp. End */
} hpdz_dequantizer_obj, *hpdz_dequantizer_ref;
#endif /* HPDZ_DEQUANT_LOCAL_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -