Ignore:
Timestamp:
10/06/06 17:14:05 (18 years ago)
Author:
zorg
Message:

Separated public interface from private headers
Use opaque objects whenever possible
Some (useless?) cosmetics on libmpcdec
Remove sv5-6 outdated support
Added libwavformat for upcoming mpcdec
New layout
Work in progress...

File:
1 moved

Legend:

Unmodified
Added
Removed
  • libmpcdec/branches/zorg/src/requant.h

    r63 r68  
    3232  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    3333*/
    34 
    3534/// \file requant.h
    3635/// Requantization function definitions.
     36#ifndef _MPCDEC_REQUANT_H_
     37#define _MPCDEC_REQUANT_H_
     38#ifdef WIN32
     39#pragma once
     40#endif
    3741
    38 #ifndef _mpcdec_requant_h
    39 #define _mpcdec_requant_h_
     42#include <mpcdec/mpc_types.h>
    4043
    41 #include "mpcdec.h"
     44#ifdef __cplusplus
     45extern "C" {
     46#endif
     47
    4248
    4349/* C O N S T A N T S */
    44 extern const mpc_uint32_t Res_bit [18];         // bits per sample for chosen quantizer
    45 extern const MPC_SAMPLE_FORMAT __Cc    [1 + 18];     // coefficients for requantization
    46 extern const mpc_int32_t          __Dc    [1 + 18];     // offset for requantization
     50const mpc_uint32_t      Res_bit [18];     ///< Bits per sample for chosen quantizer
     51const MPC_SAMPLE_FORMAT __Cc    [1 + 18]; ///< Requantization coefficients
     52const mpc_int32_t       __Dc    [1 + 18]; ///< Requantization offset
    4753
    48 #define Cc      (__Cc + 1)
    49 #define Dc      (__Dc + 1)
     54#define Cc (__Cc + 1)
     55#define Dc (__Dc + 1)
    5056
    51 #endif // _mpcdec_requant_h_
     57
     58#ifdef __cplusplus
     59}
     60#endif
     61#endif
Note: See TracChangeset for help on using the changeset viewer.