diff options
Diffstat (limited to 'converter/ppm/ppmtompeg/headers/frames.h')
-rw-r--r-- | converter/ppm/ppmtompeg/headers/frames.h | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/converter/ppm/ppmtompeg/headers/frames.h b/converter/ppm/ppmtompeg/headers/frames.h index 2ec11d69..88638690 100644 --- a/converter/ppm/ppmtompeg/headers/frames.h +++ b/converter/ppm/ppmtompeg/headers/frames.h @@ -1,8 +1,8 @@ /*===========================================================================* - * frames.h - * - * stuff dealing with frames - * + * frames.h + * + * stuff dealing with frames + * *===========================================================================*/ #ifndef FRAMES_INCLUDED @@ -72,7 +72,7 @@ typedef struct FrameTableStruct { int number; int bFrameNumber; /* actual frame number, if a b-frame */ - + } FrameTable; @@ -125,6 +125,8 @@ MotionToFrameCoord(int const by, *xP = bx * DCTSIZE + mx; } + + #define COORD_IN_FRAME(fy,fx, type) \ ((type == LUM_BLOCK) ? \ ((fy >= 0) && (fx >= 0) && (fy < Fsize_y) && (fx < Fsize_x)) : \ @@ -175,6 +177,7 @@ encodeMotionVector(int const x, } + #define DoQuant(bit, src, dest) \ if (pattern & bit) { \ switch (Mpost_QuantZigBlock(src, dest, QScale, FALSE)) { \ @@ -234,13 +237,13 @@ float BFrameTotalTime(void); void -ShowPFrameSummary(unsigned int const inputFrameBits, - unsigned int const totalBits, +ShowPFrameSummary(unsigned int const inputFrameBits, + unsigned int const totalBits, FILE * const fpointer); void -ShowBFrameSummary(unsigned int const inputFrameBits, - unsigned int const totalBits, +ShowBFrameSummary(unsigned int const inputFrameBits, + unsigned int const totalBits, FILE * const fpointer); /*==================* @@ -291,7 +294,7 @@ extern int TIME_RATE; * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. */ -/* +/* * $Header: /n/picasso/project/mpeg/mpeg_dist/mpeg_encode/headers/RCS/frames.h,v 1.13 1995/08/15 23:43:04 smoot Exp $ * $Log: frames.h,v $ * Revision 1.13 1995/08/15 23:43:04 smoot |