Mercurial > libavcodec.hg
comparison alac.c @ 5504:06956c599c4d libavcodec
Rename function
author | vitor |
---|---|
date | Tue, 07 Aug 2007 12:44:23 +0000 |
parents | 2433e0070455 |
children | 5d1dd4849a15 |
comparison
equal
deleted
inserted
replaced
5503:f5c43e693810 | 5504:06956c599c4d |
---|---|
397 buffer_out++; | 397 buffer_out++; |
398 } | 398 } |
399 } | 399 } |
400 } | 400 } |
401 | 401 |
402 static void deinterlace_16(int32_t *buffer[MAX_CHANNELS], | 402 static void reconstruct_stereo_16(int32_t *buffer[MAX_CHANNELS], |
403 int16_t *buffer_out, | 403 int16_t *buffer_out, |
404 int numchannels, int numsamples, | 404 int numchannels, int numsamples, |
405 uint8_t interlacing_shift, | 405 uint8_t interlacing_shift, |
406 uint8_t interlacing_leftweight) | 406 uint8_t interlacing_leftweight) |
407 { | 407 { |
596 } | 596 } |
597 | 597 |
598 switch(alac->setinfo_sample_size) { | 598 switch(alac->setinfo_sample_size) { |
599 case 16: | 599 case 16: |
600 if (channels == 2) { | 600 if (channels == 2) { |
601 deinterlace_16(alac->outputsamples_buffer, | 601 reconstruct_stereo_16(alac->outputsamples_buffer, |
602 (int16_t*)outbuffer, | 602 (int16_t*)outbuffer, |
603 alac->numchannels, | 603 alac->numchannels, |
604 outputsamples, | 604 outputsamples, |
605 interlacing_shift, | 605 interlacing_shift, |
606 interlacing_leftweight); | 606 interlacing_leftweight); |