SASC
DVBSoftCAM

parallel_032_int.h File Reference

#include "parallel_std_def.h"

Go to the source code of this file.

Defines

#define GROUP_PARALLELISM   32
#define FF0()   0x0
#define FF1()   0xffffffff
#define BYTES_PER_BATCH   4
#define B_FFN_ALL_29()   0x29292929
#define B_FFN_ALL_02()   0x02020202
#define B_FFN_ALL_04()   0x04040404
#define B_FFN_ALL_10()   0x10101010
#define B_FFN_ALL_40()   0x40404040
#define B_FFN_ALL_80()   0x80808080
#define M_EMPTY()

Typedefs

typedef unsigned int group
typedef unsigned int batch

Functions

static void FFTABLEIN (unsigned char *tab, int g, unsigned char *data)
static void FFTABLEOUT (unsigned char *data, unsigned char *tab, int g)
static void FFTABLEOUTXORNBY (int n, unsigned char *data, unsigned char *tab, int g)

Define Documentation

#define B_FFN_ALL_02 ( )    0x02020202

Definition at line 49 of file parallel_032_int.h.

#define B_FFN_ALL_04 ( )    0x04040404

Definition at line 50 of file parallel_032_int.h.

#define B_FFN_ALL_10 ( )    0x10101010

Definition at line 51 of file parallel_032_int.h.

#define B_FFN_ALL_29 ( )    0x29292929

Definition at line 48 of file parallel_032_int.h.

#define B_FFN_ALL_40 ( )    0x40404040

Definition at line 52 of file parallel_032_int.h.

#define B_FFN_ALL_80 ( )    0x80808080

Definition at line 53 of file parallel_032_int.h.

#define BYTES_PER_BATCH   4

Definition at line 47 of file parallel_032_int.h.

#define FF0 ( )    0x0

Definition at line 24 of file parallel_032_int.h.

#define FF1 ( )    0xffffffff

Definition at line 25 of file parallel_032_int.h.

#define GROUP_PARALLELISM   32

Definition at line 23 of file parallel_032_int.h.

#define M_EMPTY (   void)

Definition at line 55 of file parallel_032_int.h.


Typedef Documentation

typedef unsigned int batch

Definition at line 46 of file parallel_032_int.h.

typedef unsigned int group

Definition at line 22 of file parallel_032_int.h.


Function Documentation

static void FFTABLEIN ( unsigned char *  tab,
int  g,
unsigned char *  data 
) [inline, static]

Definition at line 29 of file parallel_032_int.h.

References data.

                                                                            {
  *(((int *)tab)+g)=*((int *)data);
  *(((int *)tab)+32+g)=*(((int *)data)+1);
}
static void FFTABLEOUT ( unsigned char *  data,
unsigned char *  tab,
int  g 
) [inline, static]

Definition at line 34 of file parallel_032_int.h.

                                                                             {
  *((int *)data)=*(((int *)tab)+g);
  *(((int *)data)+1)=*(((int *)tab)+32+g);
}
static void FFTABLEOUTXORNBY ( int  n,
unsigned char *  data,
unsigned char *  tab,
int  g 
) [inline, static]

Definition at line 39 of file parallel_032_int.h.

References j.

                                                                                          {
  int j;
  for(j=0;j<n;j++){
    *(data+j)^=*(tab+4*(g+(j>=4?32-1:0))+j);
  }
}
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines