view segmentino/build/linux/amd64/atlas/atlas_cmvT.h @ 48:69251e11a913

Rename SongParts/songpartitioner to Segmentino throughout
author Chris Cannam
date Thu, 13 Jun 2013 09:43:01 +0100
parents songparts/build/linux/amd64/atlas/atlas_cmvT.h@f44aa6d29642
children
line wrap: on
line source
#ifndef ATLAS_MVT_H
#define ATLAS_MVT_H

#include "atlas_misc.h"

#define ATL_mvTMU 2
#define ATL_mvTNU 8
#ifndef ATL_L1mvelts
   #define ATL_L1mvelts ((3*ATL_L1elts)>>2)
#endif
#ifndef ATL_mvNNU
   #include "atlas_cmvN.h"
#endif

#define ATL_GetPartMVT(A_, lda_, mb_, nb_) \
{ \
   *(mb_) = (ATL_L1mvelts - (ATL_mvTMU<<1)) / ((ATL_mvTMU<<1)+1); \
   if (*(mb_) > ATL_mvTNU) *(mb_) = (*(mb_)/ATL_mvTNU)*ATL_mvTNU; \
   else (*mb_) = ATL_mvTNU; \
   *(nb_) = ATL_mvTMU; \
}

#endif