www.pudn.com > g729Decoder.rar > STRUCT.h


;========================================================================== 
;  File Name 
;  ---------- 
;  STRUCT.ASM 
; 
;  Brief Description of the Code: 
;  ------------------------------ 
;  Structure use in G.729A 
; 
;  Ref 
;  ------ 
;========================================================================== 
;  Requirement 
;  ----------- 
;  G729ASpeech variable must start at address xxxx xxxx 0000 0000 due to the 
;  use of circular addressing. 
;-------------------------------------------------------------------------- 
 
       .include  const.h 
 
 
 
G729ASpeech        .struct 
speech_buf         .word   L_TOTAL 
PreHPF_u1          .word   2 
PreHPF_u2          .word   2 
wsp_un             .word   M * 2        ; see wegt_sig 
L_exc_err          .word   4 * 2 
Lar                .word   2                                    ; perceptual weighting 
lsp_coef           .word   M 
lsp_coef_q         .word   M 
prev_lsp_vec       .word   M * 4 
bflat              .word   1                                    ; perceptual weighting 
sharp              .word   1 
past_qua_eng       .word   4 
mem_syn            .word   M 
mem_w              .word   M      
mem_w0             .word   M 
mem_zero           .word   M 
mem_err            .word   M                                    ; wsp_buf must be after mem_err 
wsp_buf            .word   L_FRAME + PIT_MAX                    ; also use for error 
exc_buf            .word   L_FRAME + PIT_MAX + L_INTERPOL 
G729ASpeechLen     .endstruct 
 
Str_Conv           .struct 
ptr_x              .word   1 
ptr_h              .word   1 
ptr_y              .word   1 
Str_Conv_Len       .endstruct 
 
Str_Norm_Corr      .struct 
ptr_exc            .word   1 
ptr_xn             .word   1 
ptr_h              .word   1 
t_min              .word   1 
t_max              .word   1 
ptr_corr           .word   1 
Str_Norm_Corr_Len  .endstruct 
 
 
Str_Pitch_fr3      .struct 
ptr_exc            .word   1 
ptr_xn             .word   1 
prt_h              .word   1 
t0_min             .word   1 
t0_max             .word   1 
i_subfr            .word   1 
ptr_pit_frac       .word   1 
Str_Pitch_fr3_Len  .endstruct 
 
 
Str_Lag_max        .struct 
ptr_signal         .word   1 
lag_max            .word   1 
lag_min            .word   1 
ptr_cor_max        .word   1 
Str_Lag_max_Len    .endstruct 
 
Str_G729ADec       .struct 
prm                .word   PRM_SIZE + 1 
status             .word   1 
old_T0             .word   1 
T0_first           .word   1 
sharp              .word   1 
prev_ma            .word   1 
voicing            .word   1 
gain_prec          .word   1 
past_qua_eng       .word   4 
prev_lsp_vec       .word   M * 4 
lsp_coef           .word   M 
lsp_coef_q         .word   M 
mem_syn            .word   M 
mem_step           .word   M 
PostHPF_buf        .word   5 
apond2             .word   LONG_H_ST 
pst_out            .word   L_FRAME 
synth_buf          .word   L_FRAME + M 
res2               .word   SIZ_RES2 
exc_buf            .word   L_FRAME + PIT_MAX + L_INTERPOL 
StrLen_G729ADec    .endstruct