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  

search.h File Reference

#include "ansi.h"

Go to the source code of this file.


Defines

#define PSEARCH_SUBSAMPLE   0
#define PSEARCH_EXHAUSTIVE   1
#define PSEARCH_LOGARITHMIC   2
#define PSEARCH_TWOLEVEL   3
#define BSEARCH_EXHAUSTIVE   0
#define BSEARCH_CROSS2   1
#define BSEARCH_SIMPLE   2
#define COMPUTE_MOTION_BOUNDARY(by, bx, stepSize, leftMY, leftMX, rightMY, rightMX)
#define VALID_MOTION(y, x)

Functions

void SetPSearchAlg _ANSI_ARGS_ ((char *alg))
char *BSearchName _ANSI_ARGS_ ((void))
int32 PLogarithmicSearch _ANSI_ARGS_ ((LumBlock currentBlock, MpegFrame *prev, int by, int bx, int *motionY, int *motionX, int searchRange))
int32 PLocalSearch _ANSI_ARGS_ ((LumBlock currentBlock, MpegFrame *prev, int by, int bx, int *motionY, int *motionX, int32 bestSoFar, int searchRange))
boolean PMotionSearch _ANSI_ARGS_ ((LumBlock currentBlock, MpegFrame *prev, int by, int bx, int *motionY, int *motionX))

Variables

int psearchAlg

Define Documentation

#define BSEARCH_CROSS2   1
 

Definition at line 82 of file search.h.

#define BSEARCH_EXHAUSTIVE   0
 

Definition at line 81 of file search.h.

#define BSEARCH_SIMPLE   2
 

Definition at line 83 of file search.h.

#define COMPUTE_MOTION_BOUNDARY by,
bx,
stepSize,
leftMY,
leftMX,
rightMY,
rightMX   
 

Value:

leftMY = -2*DCTSIZE*by;              \
    leftMX = -2*DCTSIZE*bx;                                                  \
                                             \
    rightMY = 2*(Fsize_y - (by+2)*DCTSIZE + 1) - 1;                          \
    rightMX = 2*(Fsize_x - (bx+2)*DCTSIZE + 1) - 1;                          \
                                                                             \
    if ( stepSize == 2 ) {                                                   \
        rightMY++;                                                           \
        rightMX++;                                                           \
    }

Definition at line 90 of file search.h.

#define PSEARCH_EXHAUSTIVE   1
 

Definition at line 77 of file search.h.

#define PSEARCH_LOGARITHMIC   2
 

Definition at line 78 of file search.h.

#define PSEARCH_SUBSAMPLE   0
 

Definition at line 76 of file search.h.

#define PSEARCH_TWOLEVEL   3
 

Definition at line 79 of file search.h.

#define VALID_MOTION y,
 
 

Value:

(((y) >= leftMY) && ((y) < rightMY) &&   \
     ((x) >= leftMX) && ((x) < rightMX) )

Definition at line 102 of file search.h.


Function Documentation

boolean PMotionSearch _ANSI_ARGS_ (LumBlock currentBlock, MpegFrame *prev, int by, int bx, int *motionY, int *motionX  
 

int32 PTwoLevelSearch _ANSI_ARGS_ (LumBlock currentBlock, MpegFrame *prev, int by, int bx, int *motionY, int *motionX, int32 bestSoFar, int searchRange  
 

int32 PSubSampleSearch _ANSI_ARGS_ (LumBlock currentBlock, MpegFrame *prev, int by, int bx, int *motionY, int *motionX, int searchRange  
 

char* BSearchName _ANSI_ARGS_ (void)   
 

void SetBSearchAlg _ANSI_ARGS_ (char *alg)   
 


Variable Documentation

int psearchAlg
 

Definition at line 140 of file search.h.

 

Powered by Plone

This site conforms to the following standards: