19.02.2013 Views

2010318163752818

2010318163752818

2010318163752818

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

ISO/IEC 14496-3:2005(E)<br />

where n is the split vector number, m is the index of the candidate split vector , sp is the starting LSP order of the nth<br />

split vector and dim is the dimension of the n-th split vector. (lsp_tbl[][][] is shown in Annex 2.E)<br />

Table 2.A.1 — Starting order and dimension of the first stage LSP vector<br />

Split vector number: n Starting LSP order: sp Dimension of the vector: dim<br />

0 0 10<br />

In the second stage, above-mentioned two quantization methods, which are two-split vector quantizer, are applied<br />

respectively. Total quantization errors in the second stage are calculated for all combinations of the first stage<br />

candidates and the second stage candidates and the one which has the minimum error is selected. As a result,<br />

indices of the first stage are determined and corresponding indices and signs for the second stage are stored in<br />

LSP2 and LSP3. The flag which indicates the selected quantization method is also stored in LSP4. The<br />

quantization error in the second stage err2_total is given by:<br />

VQ without interframe prediction:<br />

err2_ total = err2[ 0] + err2[<br />

1]<br />

{ }<br />

dim−1<br />

2<br />

[ ] ( [ ] [ ] [ ][ ][ ] ) [ ]<br />

err2 n = ∑ lsp_res sp + i −sign n ⋅d_ tbl n m i ⋅ w sp + i n = 01 ,<br />

i = 0<br />

[ + ] = [ + ] − [ + ]<br />

lsp_res sp i lsp sp i lsp_ first sp i<br />

where lsp_first[] is the quantized LSP vector of the first stage, n is the split vector number, m is the index of the<br />

candidate split vector , sp is the starting LSP order of the n-th split vector and dim is the dimension of the n-th split<br />

vector. (d_tbl[][][] is shown in Annex 2.E.)<br />

VQ with interframe prediction:<br />

err2_ total = err2[ 0] + err2[<br />

1]<br />

{ }<br />

dim−1<br />

2<br />

[ ] ( [ ] [ ] [ ][ ][ ] ) [ ]<br />

err2 n = ∑ lsp_ pres sp + i −sign n ⋅pd_tbl n m i ⋅ w sp + i n = 01 ,<br />

i=<br />

0<br />

[ + ] = [ + ] −<br />

{ ( 1 −ratio_ predict ) ⋅ lsp_ first[ sp + i] + ratio_ predict ⋅ lsp_ previous[ sp + i]<br />

}<br />

lsp_ pres sp i lsp sp i<br />

where lsp_first[] is the quantized LSP vector of the first stage, n is the split vector number, m is the index of the<br />

candidate split vector , sp is the starting LSP order of the n-th split vector, dim is the dimension of the n-th split<br />

vector and ratio_predict = 0.7. (pd_tbl[][][] is shown in Annex 2.E.)<br />

Table 2.A.2 — Starting order and dimension of the second stage LSP vector<br />

Split vector number: n Starting LSP order: sp Dimension of the vector: dim<br />

0 0 5<br />

1 5 5<br />

© ISO/IEC 2005 — All rights reserved 63

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

Saved successfully!

Ooh no, something went wrong!