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  

block.c File Reference

#include "all.h"
#include "mtypes.h"
#include "frames.h"
#include "bitio.h"
#include "prototypes.h"
#include "fsize.h"
#include "opts.h"
#include "postdct.h"

Go to the source code of this file.


Defines

#define ABS(x)   ((x < 0) ? (-x) : x)
#define TRUNCATE_UINT8(x)   ((x < 0) ? 0 : ((x > 255) ? 255 : x))
#define ADD_ADD_DIFF(d, l, a, b, c, i)

Functions

boolean ComputeDiffDCTBlock (current, dest, motionBlock) Block current

Variables

Block ** dct
Block ** dctb
Block ** dctr
boolean dest
boolean motionBlock
MpegFrameprev
int by
int bx
int my
int mx
int * pattern
int32 bestSoFar
MpegFrameprevFrame
LumBlock blockSoFar
uint8 ** next
int mode
int fmy
int fmx
int bmy
int bmx
Block block

Define Documentation

#define ABS      ((x < 0) ? (-x) : x)
 

Definition at line 127 of file block.c.

#define ADD_ADD_DIFF d,
l,
a,
b,
c,
i   
 

Value:

l = ((a[i]+b[i]+1)>>1)-c[i];        \
    d += ABS(l)

#define TRUNCATE_UINT8      ((x < 0) ? 0 : ((x > 255) ? 255 : x))
 

Definition at line 129 of file block.c.


Function Documentation

boolean ComputeDiffDCTBlock current   ,
dest   ,
motionBlock   
 


Variable Documentation

int32 bestSoFar
 

Definition at line 646 of file subsample.c.

Block block
 

Definition at line 965 of file block.c.

LumBlock blockSoFar
 

Definition at line 730 of file block.c.

int bmx
 

Definition at line 929 of file block.c.

int bmy
 

Definition at line 928 of file block.c.

int bx
 

Definition at line 967 of file block.c.

int by
 

Definition at line 966 of file block.c.

Block** dct
 

Definition at line 136 of file block.c.

Block ** dctb
 

Definition at line 136 of file block.c.

Block ** dctr
 

Definition at line 136 of file block.c.

void dest
 

Definition at line 344 of file mfwddct.c.

int fmx
 

Definition at line 927 of file block.c.

int fmy
 

Definition at line 926 of file block.c.

int mode
 

Definition at line 925 of file block.c.

LumBlock motionBlock
 

Definition at line 477 of file block.c.

int mx
 

Definition at line 645 of file subsample.c.

int my
 

Definition at line 846 of file block.c.

uint8** next
 

Definition at line 922 of file block.c.

int* pattern
 

Definition at line 198 of file block.c.

uint8** prev
 

Definition at line 921 of file block.c.

MpegFrame * prevFrame
 

Definition at line 641 of file subsample.c.

 

Powered by Plone

This site conforms to the following standards: