init_vlc(vlc, VLCBITS, n, table_bits, 1, 1, table_codes, 4, 4);
- run_table = para_malloc(n * sizeof (uint16_t));
- level_table = para_malloc(n * sizeof (uint16_t));
- int_table = para_malloc(n * sizeof (uint16_t));
+ run_table = para_malloc(n * sizeof(uint16_t));
+ level_table = para_malloc(n * sizeof(uint16_t));
+ int_table = para_malloc(n * sizeof(uint16_t));
i = 2;
level = 1;
k = 0;
if (s->use_noise_coding) {
PARA_INFO_LOG("using noise coding\n");
init_vlc(&s->hgain_vlc, HGAINVLCBITS,
- sizeof (ff_wma_hgain_huffbits), ff_wma_hgain_huffbits,
+ sizeof(ff_wma_hgain_huffbits), ff_wma_hgain_huffbits,
1, 1, ff_wma_hgain_huffcodes, 2, 2);
}
if (s->use_exp_vlc) {
PARA_INFO_LOG("using exp_vlc\n");
init_vlc(&s->exp_vlc, EXPVLCBITS,
- sizeof (ff_wma_scale_huffbits), ff_wma_scale_huffbits,
+ sizeof(ff_wma_scale_huffbits), ff_wma_scale_huffbits,
1, 1, ff_wma_scale_huffcodes, 4, 4);
} else {
PARA_INFO_LOG("using curve\n");
out + n, 0, block_len, 1);
memcpy(out + n + block_len, in + n + block_len,
- n * sizeof (float));
+ n * sizeof(float));
}
out += s->block_len;
n = (s->block_len - block_len) / 2;
bsize = s->frame_len_bits - s->next_block_len_bits;
- memcpy(out, in, n * sizeof (float));
+ memcpy(out, in, n * sizeof(float));
vector_fmul_reverse_c(out + n, in + n, s->windows[bsize],
block_len);
- memset(out + n + block_len, 0, n * sizeof (float));
+ memset(out + n + block_len, 0, n * sizeof(float));
}
}
if (s->channel_coded[ch])
imdct(s->mdct_ctx[bsize], s->output, s->coefs[ch]);
else if (!(s->ms_stereo && ch == 1))
- memset(s->output, 0, sizeof (s->output));
+ memset(s->output, 0, sizeof(s->output));
/* multiply by the window and add in the frame */
index = (s->frame_len / 2) + s->block_pos - n4;
}
/* prepare for next block */
memmove(&s->frame_out[ch][0], &s->frame_out[ch][s->frame_len],
- s->frame_len * sizeof (float));
+ s->frame_len * sizeof(float));
}
return 0;
}