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_EXHAUSTIVE 0
|
|
#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
|
|
#define PSEARCH_LOGARITHMIC 2
|
|
#define PSEARCH_SUBSAMPLE 0
|
|
#define PSEARCH_TWOLEVEL 3
|
|
#define VALID_MOTION |
( |
y, |
|
|
x |
|
) |
|
|
|
Value: (((y) >= leftMY) && ((y) < rightMY) && \
((x) >= leftMX) && ((x) < rightMX) )
Definition at line 102 of file search.h. |
Function Documentation
char* BSearchName _ANSI_ARGS_ |
( |
(void) |
|
) |
|
|
void SetBSearchAlg _ANSI_ARGS_ |
( |
(char *alg) |
|
) |
|
|
Variable Documentation