|  | 
                  
                  
                    
                    
                    
                    
    
            Doxygen Source Code DocumentationMain Page   Alphabetical List   Data Structures   File List   Data Fields   Globals   Search
 
 bframe.c File Reference#include "all.h"#include <sys/param.h>#include <assert.h>#include "mtypes.h"#include "bitio.h"#include "frames.h"#include "prototypes.h"#include "fsize.h"#include "param.h"#include "mheaders.h"#include "postdct.h"#include "rate.h"#include "opts.h"
Go to the source code of this file. 
|  |  | 
 Defines |  | #define | NO_MOTION   0 |  | #define | MOTION   1 |  | #define | SKIP   2 |  | 
 Functions |  | boolean MotionSufficient | _ANSI_ARGS_ ((MpegFrame *curr, LumBlock currBlock, MpegFrame *prev, MpegFrame *next, int by, int bx, int mode, int fmy, int fmx, int bmy, int bmx)) |  | void ComputeBMotionBlock | _ANSI_ARGS_ ((MpegFrame *prev, MpegFrame *next, int by, int bx, int mode, int fmy, int fmx, int bmy, int bmx, Block motionBlock, int type)) |  | void ComputeBDiffDCTs | _ANSI_ARGS_ ((MpegFrame *current, MpegFrame *prev, MpegFrame *next, int by, int bx, int mode, int fmy, int fmx, int bmy, int bmx, int *pattern)) |  | boolean DoBIntraCode | _ANSI_ARGS_ ((MpegFrame *current, MpegFrame *prev, MpegFrame *next, int by, int bx, int mode, int fmy, int fmx, int bmy, int bmx)) |  | int ComputeBlockColorDiff | _ANSI_ARGS_ ((Block current, Block motionBlock)) |  | void | GenBFrame (bb, curr, prev, next) BitBucket *bb |  | 
 Variables |  | int | numBIBlocks = 0 |  | int | numBBBlocks = 0 |  | int | numBSkipped = 0 |  | int | numBIBits = 0 |  | int | numBBBits = 0 |  | int | numFrames = 0 |  | int | numFrameBits = 0 |  | int32 | totalTime = 0 |  | int | qscaleB |  | float | totalSNR = 0.0 |  | float | totalPSNR = 0.0 |  | int | numBFOBlocks = 0 |  | int | numBBABlocks = 0 |  | int | numBINBlocks = 0 |  | int | numBFOBits = 0 |  | int | numBBABits = 0 |  | int | numBINBits = 0 |  | Block ** | dct |  | Block ** | dctr |  | Block ** | dctb |  | dct_data_type ** | dct_data |  | MpegFrame * | curr |  | MpegFrame * | prev |  | MpegFrame * | next |  | int32 | totalBits |  | FILE * | fpointer |  | int | by |  | int | bx |  | int | mode |  | int | fmy |  | int | fmx |  | int | bmy |  | int | bmx |  | LumBlock | motionBlock |  | int | type |  | int * | pattern |  | LumBlock | currBlock |  
 Define Documentation
 
 
 
 Function Documentation
 
 
 
  
    | 
        
          | void ComputeBDiffDCTs _ANSI_ARGS_ | ( | (MpegFrame *current, MpegFrame *prev, MpegFrame *next, int by, int bx, int mode, int fmy, int fmx, int bmy, int bmx, int *pattern) |  | ) |  [static] |  |  
 
  
    | 
        
          | void ComputeBMotionBlock _ANSI_ARGS_ | ( | (MpegFrame *prev, MpegFrame *next, int by, int bx, int mode, int fmy, int fmx, int bmy, int bmx, Block motionBlock, int type) |  | ) |  [static] |  |  
 
  
    | 
        
          | boolean MotionSufficient _ANSI_ARGS_ | ( | (MpegFrame *curr, LumBlock currBlock, MpegFrame *prev, MpegFrame *next, int by, int bx, int mode, int fmy, int fmx, int bmy, int bmx) |  | ) |  [static] |  |  
 
 Variable Documentation
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
  
    | 
        
          | int numBBABits = 0  [static] |  |  
 
  
    | 
        
          | int numBBABlocks = 0  [static] |  |  
 
  
    | 
        
          | int numBBBits = 0  [static] |  |  
 
  
    | 
        
          | int numBBBlocks = 0  [static] |  |  
 
  
    | 
        
          | int numBFOBits = 0  [static] |  |  
 
  
    | 
        
          | int numBFOBlocks = 0  [static] |  |  
 
  
    | 
        
          | int numBIBits = 0  [static] |  |  
 
  
    | 
        
          | int numBIBlocks = 0  [static] |  |  
 
  
    | 
        
          | int numBINBits = 0  [static] |  |  
 
  
    | 
        
          | int numBINBlocks = 0  [static] |  |  
 
  
    | 
        
          | int numBSkipped = 0  [static] |  |  
 
  
    | 
        
          | int numFrameBits = 0  [static] |  |  
 
  
    | 
        
          | int numFrames = 0  [static] |  |  
 
 
 
 
 
  
    | 
        
          | float totalPSNR = 0.0  [static] |  |  
 
  
    | 
        
          | float totalSNR = 0.0  [static] |  |  
 
  
    | 
        
          | int32 totalTime = 0  [static] |  |  
 |