21.07.2015 Views

"TMS320C55x DSP Library DSPLIB Programmer's Reference"

"TMS320C55x DSP Library DSPLIB Programmer's Reference"

"TMS320C55x DSP Library DSPLIB Programmer's Reference"

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

firlatpbuffer [nh]nxnhoflagDelay bufferIn the case of multiple-buffering schemes, this arrayshould be initialized to 0 for the first block only. Betweenconsecutive blocks, the delay buffer preserves the previousr output elements needed.pbuffer: procession buffer of nh length in order:e′0[n–1]e′1[n–1]..e′nh–2[n–1]e′nh–1[n–1]Number of real elements in vector x (input samples)Number of coefficientsOverflow error flag If oflag = 1, a 32-bit data overflow has occurred in anintermediate or final resultIf oflag = 0, a 32-bit overflow has not occurred.DescriptionComputes a real lattice FIR filter implementation using coefficient stored invector h. The real data input is stored in vector x. The filter output result isstored in vector r. This function retains the address of the delay filter memoryd containing the previous delayed values to allow consecutive processing ofblocks. This function can be used for both block-by-block and sample-bysamplefiltering (nx=1)Algorithme 0 [n] e 0 [n] x[n],e i [n] e i1 [n] hie i1 [n 1],e i [n] h i e i1 [n] e i1 [n 1],y[n] e N [n]i 1, 2, , Ni 1, 2, , NOverflow Handling MethodologyNo scaling implemented for overflow prevention.Special Requirements noneImplementation Notes noneExampleSee examples/firlat subdirectoryFunction Descriptions4-45

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!