locked
Calculation of average DC at __CalDCOffsetToXmm0() RRS feed

  • Question

  •  

    Hi,

     

    I'm just wondering if there is a special reason to use xmm0 twice to calculate DCOffset of a signal block?

    I thought that DCOffset of a signal block would be like (sum(xmm0)+sum(xmm1)+...+sum(xmm6))/28 (sum(xmm#) means summation of four complex signals) 

    But in SORA, to my understanding, it is (sum(xmm0)*2+sum(xmm1)+...+sum(xmm6))/32

     

    Thanks

    Dongho

    Wednesday, May 11, 2011 1:29 AM

All replies

  • Hi Dongho,

    I think it's an approximation. The purpose is to save computational cost. Divided by 32 is much cheaper than divided by 28 in terms of computational cost. 

    -Jiansong

    Monday, May 16, 2011 9:48 AM