This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

how to create a new data structure or pass a data structure from GPP to DSP ?

Hello Experts,

                     I am using Codec engine for AMR encoder. My problem is i have a data structure, 


typedef struct

{

   Word32 old_exc[L_SUBFR + PIT_MAX + L_INTERPOL];

   Word32 *exc;

   Word32 lsp_old[M];

   Word32 mem_syn[M];

   Word32 sharp;

   Word32 old_T0;

   Word32 T0_lagBuff;

   Word32 inBackgroundNoise;

   Word32 voicedHangover;

   Word32 ltpGainHistory[9];

   Word32 excEnergyHist[9];

   Word16 prev_bf;

   Word16 prev_pdf;

   Word16 state;

   Word16 nodataSeed;

   Bgn_scdState * background_state;

   Cb_gain_averageState * Cb_gain_averState;

   lsp_avgState * lsp_avg_st;

   D_plsfState * lsfState;

   ec_gain_pitchState * ec_gain_p_st;

   ec_gain_codeState * ec_gain_c_st;

   gc_predState * pred_state;

   ph_dispState * ph_disp_st;

   dtx_decState * dtxDecoderState;

} Decoder_amrState;

 

------- My Question is 

1. How do i create a new data structure in DSP side or how to pass a data structure from GPP to DSP ?

 

Thank you

Raju.