File: bitIn.h

package info (click to toggle)
vic 2.8ucl4-2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 5,864 kB
  • ctags: 9,033
  • sloc: ansic: 56,989; cpp: 44,560; tcl: 5,550; sh: 1,382; perl: 1,329; makefile: 357
file content (34 lines) | stat: -rw-r--r-- 504 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef BITIO_UWE_H
#define BITIO_UWE_H

#include <stdio.h>

#include "defs.h"

#define BUFSIZE 32768


#define GOB_EMPTY    0
#define GOB_PENDING  1
#define GOB_COMPLETE 2
#define GOB_LOADED   3


typedef struct BitstreamStruct {
  int ValidBits;
  unsigned long Cache;
  unsigned char *ByteBuffer;
  unsigned char *BufferPtr;
  unsigned char *GOBend;
  int EOB;
  int BufState;
  int BufferAllocated;
} Bitstream;



/* Include prototype file */
#include "bitIn.p"

#endif   /* #ifndef BITIO_UWE_H */