comparison cook.c @ 5350:503498b93901 libavcodec

cosmetics: adding some white space to align the arguments of a couple of functions
author mhoffman
date Tue, 17 Jul 2007 00:36:47 +0000
parents 8627a229d2d2
children 7e4703e16bbd
comparison
equal deleted inserted replaced
5349:6a4286208743 5350:503498b93901
632 if(index==7) { 632 if(index==7) {
633 memset(subband_coef_index, 0, sizeof(subband_coef_index)); 633 memset(subband_coef_index, 0, sizeof(subband_coef_index));
634 memset(subband_coef_sign, 0, sizeof(subband_coef_sign)); 634 memset(subband_coef_sign, 0, sizeof(subband_coef_sign));
635 } 635 }
636 q->scalar_dequant(q, index, quant_index_table[band], 636 q->scalar_dequant(q, index, quant_index_table[band],
637 subband_coef_index, subband_coef_sign, 637 subband_coef_index, subband_coef_sign,
638 &mlt_buffer[band * SUBBAND_SIZE]); 638 &mlt_buffer[band * SUBBAND_SIZE]);
639 } 639 }
640 640
641 if(q->total_subbands*SUBBAND_SIZE >= q->samples_per_channel){ 641 if(q->total_subbands*SUBBAND_SIZE >= q->samples_per_channel){
642 return; 642 return;
643 } /* FIXME: should this be removed, or moved into loop above? */ 643 } /* FIXME: should this be removed, or moved into loop above? */
752 752
753 /* Apply gain profile */ 753 /* Apply gain profile */
754 for (i = 0; i < 8; i++) { 754 for (i = 0; i < 8; i++) {
755 if (gains_ptr->now[i] || gains_ptr->now[i + 1]) 755 if (gains_ptr->now[i] || gains_ptr->now[i + 1])
756 q->interpolate(q, &buffer1[q->gain_size_factor * i], 756 q->interpolate(q, &buffer1[q->gain_size_factor * i],
757 gains_ptr->now[i], gains_ptr->now[i + 1]); 757 gains_ptr->now[i], gains_ptr->now[i + 1]);
758 } 758 }
759 759
760 /* Save away the current to be previous block. */ 760 /* Save away the current to be previous block. */
761 memcpy(previous_buffer, buffer0, sizeof(float)*q->samples_per_channel); 761 memcpy(previous_buffer, buffer0, sizeof(float)*q->samples_per_channel);
762 } 762 }