SAF
Loading...
Searching...
No Matches
tvconv_internal.h File Reference

A time-varying multi-channel convolver. More...

#include <stdio.h>
#include <math.h>
#include <string.h>
#include <assert.h>
#include "tvconv.h"
#include "saf.h"
#include "saf_externals.h"

Go to the source code of this file.

Data Structures

struct  tvconv_data
 Main structure for tvconv
More...
 

Macros

#define MIN_FRAME_SIZE   ( 512 )
 
#define MAX_FRAME_SIZE   ( 8192 )
 
#define NUM_DIMENSIONS   ( 3 )
 

Typedefs

typedef float vectorND[NUM_DIMENSIONS]
 Structure for a vector.
 

Functions

void tvconv_setCodecStatus (void *const hTVCnv, CODEC_STATUS newStatus)
 Sets codec status (see CODEC_STATUS enum)
 
void tvconv_findNearestNeigbour (void *const hTVCnv)
 Finds the index holding the nearest neigbour to the selected position.
 
void tvconv_setMinMaxDimensions (void *const hTVCnv)
 Sets the smallest and the highest position of each dimension from the list of positions.
 

Detailed Description

A time-varying multi-channel convolver.

Author
Rapolas Daugintis
Date
13.07.2021

Definition in file tvconv_internal.h.

Macro Definition Documentation

◆ MAX_FRAME_SIZE

#define MAX_FRAME_SIZE   ( 8192 )

Definition at line 44 of file tvconv_internal.h.

◆ MIN_FRAME_SIZE

#define MIN_FRAME_SIZE   ( 512 )

Definition at line 43 of file tvconv_internal.h.

◆ NUM_DIMENSIONS

#define NUM_DIMENSIONS   ( 3 )

Definition at line 45 of file tvconv_internal.h.

Typedef Documentation

◆ vectorND

typedef float vectorND[NUM_DIMENSIONS]

Structure for a vector.

Definition at line 52 of file tvconv_internal.h.

Function Documentation

◆ tvconv_findNearestNeigbour()

void tvconv_findNearestNeigbour ( void *const hTVCnv)

Finds the index holding the nearest neigbour to the selected position.

Definition at line 37 of file tvconv_internal.c.

◆ tvconv_setCodecStatus()

void tvconv_setCodecStatus ( void *const hTVCnv,
CODEC_STATUS newStatus )

Sets codec status (see CODEC_STATUS enum)

Definition at line 26 of file tvconv_internal.c.

◆ tvconv_setMinMaxDimensions()

void tvconv_setMinMaxDimensions ( void *const hTVCnv)

Sets the smallest and the highest position of each dimension from the list of positions.

Definition at line 59 of file tvconv_internal.c.