#define FILTERSIZE 11
#define COLS 256
void test(const float *in,
        float *out,
        int id)
{
    float chnWeight[] = {0.1f,.2f,.3f,.4f,.5f,.6f,.5f,.4f,.3f,.2f,.1f};

    int channel_size_half = FILTERSIZE >> 1;

    for(int colIdx=channel_size_half; colIdx < COLS-channel_size_half; colIdx++)
    {
        float smoothVal = 0.f;
        for(int ic = 0; ic < FILTERSIZE; ic++)
        {
            int inddet = colIdx + ic - channel_size_half;
            smoothVal += in[inddet] * chnWeight[ic];
        }
        *out++ = smoothVal;
    }
}
