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 35 36 37 38
|
/* ----------------------------- MNI Header -----------------------------------
@NAME : globals.h
@INPUT :
@OUTPUT :
@RETURNS :
@DESCRIPTION: Declarations form global variables used internally by the
Berkeley MPEG decoding engine (except for those specific
to image dithering, which are declared in dither.h).
@METHOD :
@GLOBALS : ditherType
input
[shmemFlag]
totNumFrames
@CALLS :
@CREATED : Greg Ward, 94/6/16
@MODIFIED :
---------------------------------------------------------------------------- */
#ifndef __GLOBALS_H
#define __GLOBALS_H
#include <stdio.h>
#include "mpeg.h"
#if (!ENABLE_DITHER)
# define DoDitherImage(l,Cr,Cb,disp,h,w) ColorDitherImage(l,Cr,Cb,disp,h,w)
#endif
extern DitherEnum ditherType;
extern FILE *input;
extern Boolean EOF_flag;
extern unsigned int curBits;
extern int bitOffset, bufLength;
extern unsigned int *bitBuffer;
#endif
|