1
/****************************************************************************/
2
/* MPEG4 Visual Texture Coding (VTC) Mode Software */
4
/* This software was jointly developed by the following participants: */
6
/* Single-quant, multi-quant and flow control */
7
/* are provided by Sarnoff Corporation */
8
/* Iraj Sodagar (iraj@sarnoff.com) */
9
/* Hung-Ju Lee (hjlee@sarnoff.com) */
10
/* Paul Hatrack (hatrack@sarnoff.com) */
11
/* Shipeng Li (shipeng@sarnoff.com) */
12
/* Bing-Bing Chai (bchai@sarnoff.com) */
13
/* B.S. Srinivas (bsrinivas@sarnoff.com) */
15
/* Bi-level is provided by Texas Instruments */
16
/* Jie Liang (liang@ti.com) */
18
/* Shape Coding is provided by OKI Electric Industry Co., Ltd. */
19
/* Zhixiong Wu (sgo@hlabs.oki.co.jp) */
20
/* Yoshihiro Ueda (yueda@hlabs.oki.co.jp) */
21
/* Toshifumi Kanamaru (kanamaru@hlabs.oki.co.jp) */
23
/* OKI, Sharp, Sarnoff, TI and Microsoft contributed to bitstream */
24
/* exchange and bug fixing. */
27
/* In the course of development of the MPEG-4 standard, this software */
28
/* module is an implementation of a part of one or more MPEG-4 tools as */
29
/* specified by the MPEG-4 standard. */
31
/* The copyright of this software belongs to ISO/IEC. ISO/IEC gives use */
32
/* of the MPEG-4 standard free license to use this software module or */
33
/* modifications thereof for hardware or software products claiming */
34
/* conformance to the MPEG-4 standard. */
36
/* Those intending to use this software module in hardware or software */
37
/* products are advised that use may infringe existing patents. The */
38
/* original developers of this software module and their companies, the */
39
/* subsequent editors and their companies, and ISO/IEC have no liability */
40
/* and ISO/IEC have no liability for use of this software module or */
41
/* modification thereof in an implementation. */
43
/* Permission is granted to MPEG members to use, copy, modify, */
44
/* and distribute the software modules ( or portions thereof ) */
45
/* for standardization activity within ISO/IEC JTC1/SC29/WG11. */
47
/* Copyright 1995, 1996, 1997, 1998 ISO/IEC */
48
/****************************************************************************/
50
/****************************************************************************/
51
/* Texas Instruments Predictive Embedded Zerotree (PEZW) Image Codec */
52
/* Developed by Jie Liang (liang@ti.com) */
54
/* Copyright 1996, 1997, 1998 Texas Instruments */
55
/****************************************************************************/
57
/****************************************************************************
59
Author: Jie Liang (liang@ti.com)
60
Functions: header file that defines global variables that are the
61
interface of PEZW module and other parts of MPEG4 code.
62
Revisions: v1.0 (10/04/98)
63
*****************************************************************************/
71
/* data type used for store wavelet coefficients */
74
/* interface with PEZW modules */
76
/* the pointers to bitstream buffers for different
77
spatial and SNR levels */
78
extern unsigned char ***PEZW_bitstream;
80
/* the initial size allocated to each buffer
81
(each spatial layer, at each bitplane has its buffer)
82
when the encoding is done this buffer contains
83
the length of each buffer */
84
extern int **Init_Bufsize;
87
extern int **decoded_bytes;
89
/* effective bits in last byte of the bitstream buffer */
90
extern unsigned char **bits_to_go_inBuffer;
92
/* maxmum number of bitplane */
93
extern int Max_Bitplane;
95
/* the minumum bitplane to code */
96
extern int Min_Bitplane;
98
/* spatial decoding levels offset */
99
extern int spatial_leveloff;
101
/* reate control parameters */
102
extern unsigned char **reach_budget;
104
/* decoding parameters imported form main.c.
105
they should be defined before calling PEZW decoder. */
106
extern int PEZW_target_spatial_levels;
107
extern int PEZW_target_snr_levels;
108
extern int PEZW_target_bitrate;