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  

vp_rle.c File Reference

#include "vp_global.h"

Go to the source code of this file.


Functions

void EncodeScanline ANSI_ARGS ((vpContext *vpc, void *voxels, MinMaxOctree *octree, MMOctreeLevel level_stack[VP_MAX_OCTREE_LEVELS]))
void InitRLE ANSI_ARGS ((vpContext *vpc))
void CacheVoxel ANSI_ARGS ((vpContext *vpc, double opacity, void *rawvoxel))
void CacheLength ANSI_ARGS ((vpContext *vpc, int length))
void CountNonZeroVoxel ANSI_ARGS ((RunData *rundata, int index, int end_of_scan, vpContext *vpc))
RLEVoxels *CreateEmptyRLEVoxels ANSI_ARGS ((vpContext *vpc, int ilen, int jlen, int klen))
RLEVoxels *CreateRLEVoxelsFromRunData ANSI_ARGS ((vpContext *vpc, int ilen, int jlen, int klen, int non_zero_count, RunData *run_data, int rle_bytes_per_voxel))
void StoreNonZeroVoxel ANSI_ARGS ((void *voxel, int rle_bytes_per_voxel, void *data, unsigned char *lengths, RunData *rundata, int index))
void PadScanlines ANSI_ARGS ((int ilen, int jlen, int klen, RunData *run_data, unsigned char *lengths))
void DestroyConstructionBuffer ANSI_ARGS ((vpContext *vpc, ConstructionBuffer *cbuf))
void DestroyGBuffer ANSI_ARGS ((vpContext *vpc, GBuffer *gbuf))
vpResult ComputeScanOffsets ANSI_ARGS ((vpContext *vpc, RLEVoxels *rle_voxels))
vpResult vpClassifyScalars (vpc, scalar_data, length, scalar_field, grad_field, norm_field) vpContext *vpc

Variables

unsigned char * scalar_data
int length
int scalar_field
int grad_field
int norm_field
void * voxels
MinMaxOctreeoctree
MMOctreeLevel level_stack [VP_MAX_OCTREE_LEVELS]
double opacity
void * rawvoxel
int index
int end_of_scan
vpContextvpc
int ilen
int jlen
int klen
int non_zero_count
RunDatarun_data
int rle_bytes_per_voxel
void * data
unsigned char * lengths
RunDatarundata
int data_count
int run_count
RLEVoxelsrle_voxels
ConstructionBuffercbuf
GBuffergbuf

Function Documentation

vpResult ComputeScanOffsets ANSI_ARGS (vpContext *vpc, RLEVoxels *rle_voxels   [static]
 

void DestroyGBuffer ANSI_ARGS (vpContext *vpc, GBuffer *gbuf   [static]
 

void DestroyConstructionBuffer ANSI_ARGS (vpContext *vpc, ConstructionBuffer *cbuf   [static]
 

void PadScanlines ANSI_ARGS (int ilen, int jlen, int klen, RunData *run_data, unsigned char *lengths   [static]
 

void StoreNonZeroVoxel ANSI_ARGS (void *voxel, int rle_bytes_per_voxel, void *data, unsigned char *lengths, RunData *rundata, int index   [static]
 

RLEVoxels* CreateRLEVoxelsFromRunData ANSI_ARGS (vpContext *vpc, int ilen, int jlen, int klen, int non_zero_count, RunData *run_data, int rle_bytes_per_voxel   [static]
 

RLEVoxels* CreateEmptyRLEVoxels ANSI_ARGS (vpContext *vpc, int ilen, int jlen, int klen   [static]
 

void CountNonZeroVoxel ANSI_ARGS (RunData *rundata, int index, int end_of_scan, vpContext *vpc   [static]
 

void CacheLength ANSI_ARGS (vpContext *vpc, int length   [static]
 

void CacheVoxel ANSI_ARGS (vpContext *vpc, double opacity, void *rawvoxel   [static]
 

void InitRLE ANSI_ARGS (vpContext *vpc   [static]
 

void EncodeScanline ANSI_ARGS (vpContext *vpc, void *voxels, MinMaxOctree *octree, MMOctreeLevel level_stack[VP_MAX_OCTREE_LEVELS])    [static]
 

vpResult vpClassifyScalars vpc   ,
scalar_data   ,
length   ,
scalar_field   ,
grad_field   ,
norm_field   
 


Variable Documentation

ConstructionBuffer* cbuf
 

Definition at line 1048 of file vp_rle.c.

Referenced by comblock(), comlen(), hilbertdelay_V2(), main(), MCW_textwin_alter(), new_MCW_textwin_2001(), NI_write_columns(), NI_write_element(), NOTES_make_widgets(), NUD_print_CB(), SUMA_cmap_wid_input(), SUMA_input(), SUMA_ReadCharStdin(), SUMA_ReadNumStdin(), SUMA_StretchToFitLeCerveau(), and thd_complexscan().

void* data
 

Definition at line 840 of file vp_rle.c.

int data_count
 

Definition at line 944 of file vp_rle.c.

int end_of_scan
 

Definition at line 487 of file vp_rle.c.

GBuffer* gbuf
 

Definition at line 1093 of file vp_rle.c.

Referenced by new_MCW_grapher(), and NI_val_to_text().

int grad_field
 

Definition at line 363 of file vp_shade.c.

int ilen
 

Definition at line 943 of file vp_rle.c.

Referenced by B2F_read_opts(), BUCK_read_opts(), MCW_file_expand(), SC_read_opts(), TCAT_read_opts(), and THD_set_dataset_attributes().

int index
 

Definition at line 843 of file vp_rle.c.

int jlen
 

Definition at line 943 of file vp_rle.c.

int klen
 

Definition at line 943 of file vp_rle.c.

int length
 

Definition at line 361 of file vp_shade.c.

unsigned char * lengths
 

Definition at line 919 of file vp_rle.c.

MMOctreeLevel level_stack[VP_MAX_OCTREE_LEVELS]
 

Definition at line 235 of file vp_rle.c.

int non_zero_count
 

Definition at line 780 of file vp_rle.c.

int norm_field
 

Definition at line 364 of file vp_shade.c.

MinMaxOctree* octree
 

Definition at line 234 of file vp_rle.c.

double opacity
 

Definition at line 408 of file vp_rle.c.

void* rawvoxel
 

Definition at line 409 of file vp_rle.c.

int rle_bytes_per_voxel
 

Definition at line 946 of file vp_rle.c.

RLEVoxels* rle_voxels
 

Definition at line 1290 of file vp_rle.c.

int run_count
 

Definition at line 945 of file vp_rle.c.

RunData * run_data
 

Definition at line 918 of file vp_rle.c.

RunData* rundata
 

Definition at line 842 of file vp_rle.c.

unsigned char * scalar_data
 

Definition at line 360 of file vp_shade.c.

int scalar_field
 

Definition at line 362 of file vp_shade.c.

void* voxels
 

Definition at line 233 of file vp_rle.c.

vpContext* vpc
 

Definition at line 489 of file vp_rle.c.

 

Powered by Plone

This site conforms to the following standards: