[FFmpeg-soc] [soc]: r2673 - mlp/mlpdec.c
ramiro
subversion at mplayerhq.hu
Thu Jul 3 15:15:46 CEST 2008
Author: ramiro
Date: Thu Jul 3 15:15:46 2008
New Revision: 2673
Log:
Give functions more descriptive names.
Modified:
mlp/mlpdec.c
Modified: mlp/mlpdec.c
==============================================================================
--- mlp/mlpdec.c (original)
+++ mlp/mlpdec.c Thu Jul 3 15:15:46 2008
@@ -848,7 +848,7 @@ static const int8_t noise_table[256] = {
/** Generate two channels of noise, used in the matrix when
* restart_sync_word == 0x31ea. */
-static void generate_noise_1(MLPDecodeContext *m, unsigned int substr)
+static void generate_2_noise_channels(MLPDecodeContext *m, unsigned int substr)
{
SubStream *s = &m->substream[substr];
unsigned int i;
@@ -868,7 +868,7 @@ static void generate_noise_1(MLPDecodeCo
/** Generate a block of noise, used when restart_sync_word == 0x31eb. */
-static void generate_noise_2(MLPDecodeContext *m, unsigned int substr)
+static void fill_noise_buffer(MLPDecodeContext *m, unsigned int substr)
{
SubStream *s = &m->substream[substr];
unsigned int i;
@@ -895,10 +895,10 @@ static void rematrix_channels(MLPDecodeC
maxchan = s->max_matrix_channel;
if (s->restart_sync_word == 0x31ea) {
- generate_noise_1(m, substr);
+ generate_2_noise_channels(m, substr);
maxchan += 2;
} else {
- generate_noise_2(m, substr);
+ fill_noise_buffer(m, substr);
}
for (mat = 0; mat < s->num_primitive_matrices; mat++) {
More information about the FFmpeg-soc
mailing list