Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Documentation

Doxygen Source Code Documentation


Main 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
MpegFramecurr
MpegFrameprev
MpegFramenext
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

#define MOTION   1
 

Definition at line 175 of file bframe.c.

Referenced by motion_fi_16x8(), motion_fi_dmv(), motion_fi_field(), motion_fr_frame(), motion_mp1(), and motion_reuse().

#define NO_MOTION   0
 

Definition at line 174 of file bframe.c.

#define SKIP   2
 

Definition at line 176 of file bframe.c.

Referenced by mri_warp3D_cubic(), mri_warp3D_linear(), mri_warp3D_NN(), and mri_warp3D_quintic().


Function Documentation

int ComputeBlockColorDiff _ANSI_ARGS_ (Block current, Block motionBlock   [static]
 

boolean DoBIntraCode _ANSI_ARGS_ (MpegFrame *current, MpegFrame *prev, MpegFrame *next, int by, int bx, int mode, int fmy, int fmx, int bmy, int bmx   [static]
 

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]
 

void GenBFrame bb   ,
curr   ,
prev   ,
next   
 


Variable Documentation

int * bmx
 

Definition at line 1056 of file bsearch.c.

int * bmy
 

Definition at line 1055 of file bsearch.c.

int bx
 

Definition at line 643 of file subsample.c.

int by
 

Definition at line 642 of file subsample.c.

MpegFrame* curr
 

Definition at line 216 of file bframe.c.

Referenced by recvDecodingTables(), RIC_ToRespPhase(), and sendMTFValues().

LumBlock currBlock
 

Definition at line 1292 of file bframe.c.

Block** dct
 

Definition at line 172 of file bframe.c.

dct_data_type** dct_data
 

Definition at line 173 of file bframe.c.

Block ** dctb
 

Definition at line 172 of file bframe.c.

Block ** dctr
 

Definition at line 172 of file bframe.c.

int * fmx
 

Definition at line 1053 of file bsearch.c.

int * fmy
 

Definition at line 1052 of file bsearch.c.

FILE * fpointer
 

Definition at line 998 of file readframe.c.

int mode
 

Definition at line 1296 of file bframe.c.

LumBlock motionBlock
 

Definition at line 477 of file block.c.

MpegFrame * next
 

Definition at line 1049 of file bsearch.c.

int numBBABits = 0 [static]
 

Definition at line 165 of file bframe.c.

int numBBABlocks = 0 [static]
 

Definition at line 162 of file bframe.c.

int numBBBits = 0 [static]
 

Definition at line 153 of file bframe.c.

int numBBBlocks = 0 [static]
 

Definition at line 150 of file bframe.c.

int numBFOBits = 0 [static]
 

Definition at line 164 of file bframe.c.

int numBFOBlocks = 0 [static]
 

Definition at line 161 of file bframe.c.

int numBIBits = 0 [static]
 

Definition at line 152 of file bframe.c.

int numBIBlocks = 0 [static]
 

Definition at line 149 of file bframe.c.

int numBINBits = 0 [static]
 

Definition at line 166 of file bframe.c.

int numBINBlocks = 0 [static]
 

Definition at line 163 of file bframe.c.

int numBSkipped = 0 [static]
 

Definition at line 151 of file bframe.c.

int numFrameBits = 0 [static]
 

Definition at line 155 of file bframe.c.

int numFrames = 0 [static]
 

Definition at line 154 of file bframe.c.

int* pattern
 

Definition at line 1141 of file bframe.c.

MpegFrame * prev
 

Definition at line 754 of file psearch.c.

int qscaleB [static]
 

Definition at line 157 of file bframe.c.

int32 totalBits
 

Definition at line 911 of file bframe.c.

float totalPSNR = 0.0 [static]
 

Definition at line 159 of file bframe.c.

float totalSNR = 0.0 [static]
 

Definition at line 158 of file bframe.c.

int32 totalTime = 0 [static]
 

Definition at line 156 of file bframe.c.

int type
 

Definition at line 846 of file mpeg_encodedir/frame.c.

 

Powered by Plone

This site conforms to the following standards: