comparison acelp_filters.c @ 7641:73f5625538d3 libavcodec

Document code, do not document difference to a irrelevant reference implementation.
author michael
date Thu, 21 Aug 2008 21:33:31 +0000
parents 4bcced60f596
children 8c5d7ede9c96
comparison
equal deleted inserted replaced
7640:4bcced60f596 7641:73f5625538d3
90 int i, k; 90 int i, k;
91 91
92 memset(fc_out, 0, subframe_size * sizeof(int16_t)); 92 memset(fc_out, 0, subframe_size * sizeof(int16_t));
93 93
94 /* Since there are few pulses over an entire subframe (i.e. almost 94 /* Since there are few pulses over an entire subframe (i.e. almost
95 all fc_in[i] are zero) it is faster to swap two loops and process 95 all fc_in[i] are zero) it is faster to loop over fc_in first. */
96 non-zero samples only. */
97 for(i=0; i<subframe_size; i++) 96 for(i=0; i<subframe_size; i++)
98 { 97 {
99 if(fc_in[i]) 98 if(fc_in[i])
100 { 99 {
101 for(k=0; k<i; k++) 100 for(k=0; k<i; k++)