Doxygen Source Code Documentation
postdct.h
Go to the documentation of this file.00001 /*===========================================================================* 00002 * postdct.h * 00003 * * 00004 * MPEG post-DCT processing * 00005 * * 00006 *===========================================================================*/ 00007 00008 /* 00009 * Copyright (c) 1995 The Regents of the University of California. 00010 * All rights reserved. 00011 * 00012 * Permission to use, copy, modify, and distribute this software and its 00013 * documentation for any purpose, without fee, and without written agreement is 00014 * hereby granted, provided that the above copyright notice and the following 00015 * two paragraphs appear in all copies of this software. 00016 * 00017 * IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR 00018 * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT 00019 * OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF 00020 * CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 00021 * 00022 * THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES, 00023 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY 00024 * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS 00025 * ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATION TO 00026 * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. 00027 */ 00028 00029 00030 00031 int Mpost_QuantZigBlock _ANSI_ARGS_((Block in, FlatBlock out, int qscale, 00032 int iblock)); 00033 void Mpost_UnQuantZigBlock _ANSI_ARGS_((FlatBlock in, Block out, 00034 int qscale, boolean iblock)); 00035 void Mpost_RLEHuffIBlock _ANSI_ARGS_((FlatBlock in, BitBucket *out)); 00036 void Mpost_RLEHuffPBlock _ANSI_ARGS_((FlatBlock in, BitBucket *out)); 00037 00038 #define MPOST_ZERO 0 00039 #define MPOST_NON_ZERO 1 00040 #define MPOST_OVERFLOW (-1)