#ifndef _DVBT_SIGNAUXTESTS_H #define _DVBT_SIGNAUXTESTS_H /* ======== */ /* INCLUDES */ /* ======== */ /* =============== */ /* DEFINES / ENUMS */ /* =============== */ /* ========== */ /* STRUCTURES */ /* ========== */ typedef struct { int i; double *nacc; /*Accumulateur */ double *diff; /*Differentiateur */ double *prev; /*Valeurs précédentes */ int stages; /*Nombre d'étages */ /*!< \~english . \~french . */ } DVBTSignauxtests; /* ====================== */ /* PROTOTYPES / FUNCTIONS */ /* ====================== */ DVBTSignauxtests *CreateDVBTSignauxtests (void); void FreeDVBTSignauxtests (DVBTSignauxtests * DS); void UseDVBTSignauxtests (DVBTSignauxtests * DS, int const source_reelle[], int const source_imaginaire[], int surechantillonage, int echantillon); double *UpsamplingDVBTSignauxtests (int const sig[], int fact_surechantillon, int echantillon); double *conv (double const filtre[], double const signal[], int taille_entree, int taille_filtre); void FrequencyTransposition (double const signal_reel[], double tk, int taille_signal); double *RaisedCosineSQRT (double nb_periodes, double nb_points, double roll_off); void ResetDVBTSignauxtests (DVBTSignauxtests * DS); double CicInterpolate (DVBTSignauxtests * DS, double in, int dump); void CicNum_stages (DVBTSignauxtests * DS, int n); #endif