ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/freemol/trunk/src/mpeg_encode/src/postdct.h
Revision: 22
Committed: Mon Jul 7 22:16:37 2008 UTC (11 years, 3 months ago) by wdelano
File size: 1750 byte(s)
Log Message:
initial checkin of mpeg_encode source
Line User Rev File contents
1 wdelano 22 /*===========================================================================*
2     * postdct.h *
3     * *
4     * MPEG post-DCT processing *
5     * *
6     *===========================================================================*/
7    
8     /*
9     * Copyright (c) 1995 The Regents of the University of California.
10     * All rights reserved.
11     *
12     * Permission to use, copy, modify, and distribute this software and its
13     * documentation for any purpose, without fee, and without written agreement is
14     * hereby granted, provided that the above copyright notice and the following
15     * two paragraphs appear in all copies of this software.
16     *
17     * IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR
18     * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT
19     * OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF
20     * CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
21     *
22     * THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
23     * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
24     * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
25     * ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATION TO
26     * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
27     */
28    
29    
30    
31     int Mpost_QuantZigBlock _ANSI_ARGS_((Block in, FlatBlock out, int qscale,
32     int iblock));
33     void Mpost_UnQuantZigBlock _ANSI_ARGS_((FlatBlock in, Block out,
34     int qscale, boolean iblock));
35     void Mpost_RLEHuffIBlock _ANSI_ARGS_((FlatBlock in, BitBucket *out));
36     void Mpost_RLEHuffPBlock _ANSI_ARGS_((FlatBlock in, BitBucket *out));
37    
38     #define MPOST_ZERO 0
39     #define MPOST_NON_ZERO 1
40     #define MPOST_OVERFLOW (-1)