LibSWIFFT  1.2.0
Macros | Typedefs
swifft_common.h File Reference

LibSWIFFT public C definitions. More...

#include <stdint.h>
#include "libswifft/common.h"
Include dependency graph for swifft_common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MAX_SWIFFT_VECTOR_LOG2_SIZE   5
 Maximum log base-2 size of SWIFFT vector, used for defining alignment. More...
 
#define MAX_SWIFFT_VECTOR_SIZE   (1 << MAX_SWIFFT_VECTOR_LOG2_SIZE)
 Maximum size of SWIFFT vector, used for defining alignment. More...
 
#define SWIFFT_ALIGNMENT   (sizeof(int16_t)*MAX_SWIFFT_VECTOR_SIZE)
 Alignment of SWIFFT vector, good for the maximum SWIFFT vector size. More...
 
#define SWIFFT_ALIGN   __attribute__ ((aligned (SWIFFT_ALIGNMENT)))
 Align attribute for SWIFFT vector. More...
 
#define SWIFFT_INPUT_BLOCK_SIZE   256
 The size in bytes of SWIFFT input. More...
 
#define SWIFFT_OUTPUT_BLOCK_SIZE   128
 The size in bytes of SWIFFT output block. More...
 
#define SWIFFT_COMPACT_BLOCK_SIZE   64
 The size in bytes of SWIFFT compact-form. More...
 

Typedefs

typedef unsigned char BitSequence
 Basic buffer type. More...
 

Detailed Description

LibSWIFFT public C definitions.

Macro Definition Documentation

◆ MAX_SWIFFT_VECTOR_LOG2_SIZE

#define MAX_SWIFFT_VECTOR_LOG2_SIZE   5

Maximum log base-2 size of SWIFFT vector, used for defining alignment.

◆ MAX_SWIFFT_VECTOR_SIZE

#define MAX_SWIFFT_VECTOR_SIZE   (1 << MAX_SWIFFT_VECTOR_LOG2_SIZE)

Maximum size of SWIFFT vector, used for defining alignment.

◆ SWIFFT_ALIGN

#define SWIFFT_ALIGN   __attribute__ ((aligned (SWIFFT_ALIGNMENT)))

Align attribute for SWIFFT vector.

◆ SWIFFT_ALIGNMENT

#define SWIFFT_ALIGNMENT   (sizeof(int16_t)*MAX_SWIFFT_VECTOR_SIZE)

Alignment of SWIFFT vector, good for the maximum SWIFFT vector size.

◆ SWIFFT_COMPACT_BLOCK_SIZE

#define SWIFFT_COMPACT_BLOCK_SIZE   64

The size in bytes of SWIFFT compact-form.

◆ SWIFFT_INPUT_BLOCK_SIZE

#define SWIFFT_INPUT_BLOCK_SIZE   256

The size in bytes of SWIFFT input.

◆ SWIFFT_OUTPUT_BLOCK_SIZE

#define SWIFFT_OUTPUT_BLOCK_SIZE   128

The size in bytes of SWIFFT output block.

Typedef Documentation

◆ BitSequence

typedef unsigned char BitSequence

Basic buffer type.