Doxygen Source Code Documentation
        
Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals   Search   
prototypes.h
Go to the documentation of this file.00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 
00023 
00024 
00025 
00026 
00027 
00028 
00029 
00030 
00031 
00032 
00033 
00034 
00035 
00036 
00037 
00038 
00039 
00040 
00041 
00042 
00043 
00044 
00045 
00046 
00047 
00048 
00049 
00050 
00051 
00052 
00053 
00054 
00055 
00056 
00057 
00058 
00059 
00060 
00061 
00062 
00063 
00064 
00065 
00066 
00067 
00068 
00069 
00070 
00071 
00072 
00073 
00074 
00075 
00076 
00077 
00078 
00079 #include "general.h"
00080 #include "ansi.h"
00081 #include "frame.h"
00082 
00083 
00084 
00085 
00086 
00087 
00088 int     GetBQScale _ANSI_ARGS_((void));
00089 int     GetPQScale _ANSI_ARGS_((void));
00090 void    ResetBFrameStats _ANSI_ARGS_((void));
00091 void    ResetPFrameStats _ANSI_ARGS_((void));
00092 void    SetSearchRange _ANSI_ARGS_((int pixelsP, int pixelsB));
00093 void    ResetIFrameStats _ANSI_ARGS_((void));
00094 void    SetPixelSearch _ANSI_ARGS_((char *searchType));
00095 void    SetIQScale _ANSI_ARGS_((int qI));
00096 void    SetPQScale _ANSI_ARGS_((int qP));
00097 void    SetBQScale _ANSI_ARGS_((int qB));
00098 float   EstimateSecondsPerIFrame _ANSI_ARGS_((void));
00099 float   EstimateSecondsPerPFrame _ANSI_ARGS_((void));
00100 float   EstimateSecondsPerBFrame _ANSI_ARGS_((void));
00101 void    SetGOPSize _ANSI_ARGS_((int size));
00102 void    SetStatFileName _ANSI_ARGS_((char *fileName));
00103 void    SetSlicesPerFrame _ANSI_ARGS_((int number));
00104 void    SetBlocksPerSlice _ANSI_ARGS_((void));
00105 
00106 
00107 void DCTFrame _ANSI_ARGS_((MpegFrame * mf));
00108 
00109 void PPMtoYCC _ANSI_ARGS_((MpegFrame * mf));
00110 
00111 void    MotionSearchPreComputation _ANSI_ARGS_((MpegFrame *frame));
00112 boolean PMotionSearch _ANSI_ARGS_((LumBlock currentBlock, MpegFrame *prev,
00113                                    int by, int bx, int *motionY, int *motionX));
00114 void    ComputeHalfPixelData _ANSI_ARGS_((MpegFrame *frame));
00115 void mp_validate_size _ANSI_ARGS_((int *x, int *y));
00116 
00117 
00118 void    BlockToData _ANSI_ARGS_((uint8 **data, Block block, int by, int bx));
00119 void    AddMotionBlock _ANSI_ARGS_((Block block, uint8 **prev, int by, int bx,
00120                        int my, int mx));
00121 void    AddBMotionBlock _ANSI_ARGS_((Block block, uint8 **prev, uint8 **next,
00122                                      int by, int bx, int mode,
00123                                      int fmy, int fmx, int bmy, int bmx));
00124 
00125 void    BlockifyFrame _ANSI_ARGS_((MpegFrame *frame));
00126 
00127 
00128 
00129 extern void     SetFCode _ANSI_ARGS_((void));
00130 
00131 
00132 
00133 int     FType_Type _ANSI_ARGS_((int frameNum));
00134 int     FType_FutureRef _ANSI_ARGS_((int currFrameNum));
00135 int     FType_PastRef _ANSI_ARGS_((int currFrameNum));
00136 void    SetFramePattern _ANSI_ARGS_((char *pattern));
00137 void    ComputeFrameTable _ANSI_ARGS_((void));
00138 
00139 
00140 void    ShowPMVHistogram _ANSI_ARGS_((FILE *fpointer));
00141 void    ShowBBMVHistogram _ANSI_ARGS_((FILE *fpointer));
00142 void    ShowBFMVHistogram _ANSI_ARGS_((FILE *fpointer));
00143 
00144 
00145 void    Specifics_Init _ANSI_ARGS_((void));
00146 int     SpecLookup _ANSI_ARGS_((int fn, int typ, int num, 
00147                                 BlockMV **info, int start_qs));
00148 int SpecTypeLookup _ANSI_ARGS_((int fn));
00149 
00150 
00151 
00152 void pnm_promoteformat _ANSI_ARGS_(( xel** xels, int cols, int rows, xelval maxval,
00153 int format, xelval newmaxval, int newformat ));
00154 void pnm_promoteformatrow _ANSI_ARGS_(( xel* xelrow, int cols, xelval maxval, 
00155 int format, xelval newmaxval, int newformat ));