Mercurial > libavcodec.hg
comparison qdm2.c @ 6903:0f63fc62ea8b libavcodec
consistency cosmetics: indices --> indexes
author | diego |
---|---|
date | Mon, 26 May 2008 23:14:25 +0000 |
parents | 5b3acf9fd50a |
children | e943e1409077 |
comparison
equal
deleted
inserted
replaced
6902:b6e110c575ff | 6903:0f63fc62ea8b |
---|---|
1429 GetBitContext gb; | 1429 GetBitContext gb; |
1430 | 1430 |
1431 if (q->sub_packet_list_B[0].packet == NULL) | 1431 if (q->sub_packet_list_B[0].packet == NULL) |
1432 return; | 1432 return; |
1433 | 1433 |
1434 /* reset minimum indices for FFT coefficients */ | 1434 /* reset minimum indexes for FFT coefficients */ |
1435 q->fft_coefs_index = 0; | 1435 q->fft_coefs_index = 0; |
1436 for (i=0; i < 5; i++) | 1436 for (i=0; i < 5; i++) |
1437 q->fft_coefs_min_index[i] = -1; | 1437 q->fft_coefs_min_index[i] = -1; |
1438 | 1438 |
1439 /* process subpackets ordered by type, largest type first */ | 1439 /* process subpackets ordered by type, largest type first */ |
1479 for (j=0; j < 4; j++) | 1479 for (j=0; j < 4; j++) |
1480 qdm2_fft_decode_tones(q, j, &gb, unknown_flag); | 1480 qdm2_fft_decode_tones(q, j, &gb, unknown_flag); |
1481 } | 1481 } |
1482 } // Loop on B packets | 1482 } // Loop on B packets |
1483 | 1483 |
1484 /* calculate maximum indices for FFT coefficients */ | 1484 /* calculate maximum indexes for FFT coefficients */ |
1485 for (i = 0, j = -1; i < 5; i++) | 1485 for (i = 0, j = -1; i < 5; i++) |
1486 if (q->fft_coefs_min_index[i] >= 0) { | 1486 if (q->fft_coefs_min_index[i] >= 0) { |
1487 if (j >= 0) | 1487 if (j >= 0) |
1488 q->fft_coefs_max_index[j] = q->fft_coefs_min_index[i]; | 1488 q->fft_coefs_max_index[j] = q->fft_coefs_min_index[i]; |
1489 j = i; | 1489 j = i; |