init_rs.h
NULL
((void*)0)
rs
rs
= NULL
rs rs mm mm = symsize
rs rs nn nn = (1 << symsize) - 1
rs rs pad pad = pad decode_rs_8 decode_rs_ccsds encode_rs_8 encode_rs_ccsds init_rs_char
rs rs alpha_to alpha_to = (data_t*)malloc(sizeof(data_t) * (rs->nn + 1))
rs rs index_of index_of = (data_t*)malloc(sizeof(data_t) * (rs->nn + 1))
sr
sr
= 1
for
if
rs rs genpoly genpoly = (data_t*)malloc(sizeof(data_t) * (nroots + 1))
rs rs fcr fcr = fcr gr::satellites::decode_rs_impl::decode_rs_impl gr::satellites::encode_rs_impl::encode_rs_impl init_rs_char gr::satellites::decode_rs::make gr::satellites::encode_rs::make
rs rs prim prim = prim gr::satellites::decode_rs_impl::decode_rs_impl gr::satellites::encode_rs_impl::encode_rs_impl for init_rs_char gr::satellites::decode_rs::make gr::satellites::encode_rs::make
rs rs nroots nroots = nroots gr::satellites::decode_rs_impl::decode_rs_impl gr::satellites::encode_rs_impl::encode_rs_impl if init_rs_char gr::satellites::decode_rs::make gr::satellites::encode_rs::make
rs rs iprim iprim = iprim / prim for
done done __pad0__ __pad0__
if
(symsize< 0||(unsigned) symsize > 8 *sizeof(data_t))
if
symsize< 0|| unsigned) symsize > 8 *sizeof(data_t
if
(fcr< 0||fcr >=(1<< symsize)) goto done
if
fcr< 0||fcr > (1<< symsize)
if
(prim<=0||prim >=(1<< symsize)) goto done
if
prim<=0||prim >= 1<< symsize
if
(nroots< 0||nroots >=(1<< symsize)) goto done
if
nroots< 0||nroots > (1<< symsize)
if
(pad< 0||pad >=((1<< symsize) - 1 - nroots)) goto done
if
pad< 0||pad > ((1<< symsize) - 1 - nroots)
nroots
if
(rs==NULL) goto done
if
rs =NULL
NULL
if
(rs->alpha_to==NULL)
if
rs-> alpha_to =NULL
NULL
for
(i=0;i< rs->nn;i++)
for
i 0;i< rs->nn;i++
rs::alpha_to
i
rs::index_of
rs::nn
sr
if
(sr !=1)
if
sr ! 1
rs::alpha_to
rs::index_of
NULL
sr
for
(iprim=1;(iprim % prim) !=0;iprim+=rs->nn)
for
iprim 1;(iprim % prim) !=0;iprim+=rs->nn
iprim
prim