~ubuntu-branches/ubuntu/hoary/kdemultimedia/hoary

« back to all changes in this revision

Viewing changes to mpeglib/lib/mpegplay/jrevdct.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Schulze
  • Date: 2003-01-22 15:00:51 UTC
  • Revision ID: james.westby@ubuntu.com-20030122150051-uihwkdoxf15mi1tn
Tags: upstream-2.2.2
ImportĀ upstreamĀ versionĀ 2.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
  definittion for reverse dct
 
3
  Copyright (C) 1999  Martin Vogt
 
4
 
 
5
  This program is free software; you can redistribute it and/or modify
 
6
  it under the terms of the GNU Library General Public License as published by
 
7
  the Free Software Foundation.
 
8
 
 
9
  For more information look at the file COPYRIGHT in this package
 
10
 
 
11
 */
 
12
 
 
13
 
 
14
#ifndef __JREVDCT_H
 
15
#define __JREVDCT_H
 
16
 
 
17
extern "C" {
 
18
#include <string.h>
 
19
}
 
20
 
 
21
#include "proto.h"
 
22
 
 
23
 
 
24
#ifndef XMD_H
 
25
typedef int INT32;
 
26
typedef short INT16;
 
27
typedef char INT8;
 
28
#endif
 
29
typedef unsigned int UINT32;
 
30
typedef unsigned short UINT16;
 
31
typedef unsigned char UINT8;
 
32
 
 
33
 
 
34
 
 
35
/* Definition of Contant integer scale factor. */
 
36
 
 
37
#define CONST_BITS 13
 
38
 
 
39
/* Misc DCT definitions */
 
40
#define DCTSIZE         8       /* The basic DCT block is 8x8 samples */
 
41
#define DCTSIZE2        64      /* DCTSIZE squared; # of elements in a block */
 
42
 
 
43
#define GLOBAL                  /* a function referenced thru EXTERNs */
 
44
  
 
45
typedef short DCTELEM;
 
46
typedef DCTELEM DCTBLOCK[DCTSIZE2];
 
47
 
 
48
 
 
49
/* jrevdct.c */
 
50
void init_pre_idct (void);
 
51
void j_rev_dct_sparse (DCTBLOCK data , int pos);
 
52
void j_rev_dct (DCTBLOCK data);
 
53
void j_rev_dct_sparse (DCTBLOCK data , int pos);
 
54
void j_rev_dct (DCTBLOCK data);
 
55
 
 
56
 
 
57
#endif