Lines Matching refs:waves_info

1318         for (sb = 0; sb < ctx->waves_info->num_tone_bands; sb++) {
1329 for (sb = 0; sb < ctx->waves_info->num_tone_bands; sb++) {
1362 for (sb = 0; sb < ctx->waves_info->num_tone_bands; sb++)
1367 for (sb = 0; sb < ctx->waves_info->num_tone_bands; sb++)
1374 for (sb = 0; sb < ctx->waves_info->num_tone_bands; sb++)
1383 for (sb = 0; sb < ctx->waves_info->num_tone_bands; sb++)
1390 for (sb = 0; sb < ctx->waves_info->num_tone_bands; sb++)
1392 if (ctx->waves_info->tones_index + dst[sb].num_wavs > 48) {
1395 ctx->waves_info->tones_index + dst[sb].num_wavs,
1399 dst[sb].start_index = ctx->waves_info->tones_index;
1400 ctx->waves_info->tones_index += dst[sb].num_wavs;
1424 for (sb = 0; sb < ctx->waves_info->num_tone_bands; sb++) {
1427 iwav = &ctx->waves_info->waves[dst[sb].start_index];
1449 for (sb = 0; sb < ctx->waves_info->num_tone_bands; sb++) {
1452 iwav = &ctx->waves_info->waves[ref[sb].start_index];
1453 owav = &ctx->waves_info->waves[dst[sb].start_index];
1485 for (sb = 0; sb < ctx->waves_info->num_tone_bands; sb++) {
1488 wsrc = &ctx->waves_info->waves[dst[sb].start_index];
1489 wref = &ctx->waves_info->waves[ref[sb].start_index];
1513 for (sb = 0; sb < ctx->waves_info->num_tone_bands; sb++) {
1516 if (ctx->waves_info->amplitude_mode)
1518 ctx->waves_info->waves[dst[sb].start_index + i].amp_sf = get_bits(gb, 6);
1520 ctx->waves_info->waves[dst[sb].start_index].amp_sf = get_bits(gb, 6);
1524 for (sb = 0; sb < ctx->waves_info->num_tone_bands; sb++) {
1527 if (ctx->waves_info->amplitude_mode)
1529 ctx->waves_info->waves[dst[sb].start_index + i].amp_sf =
1533 ctx->waves_info->waves[dst[sb].start_index].amp_sf =
1539 for (sb = 0; sb < ctx->waves_info->num_tone_bands; sb++) {
1547 ctx->waves_info->waves[refwaves[dst[sb].start_index + i]].amp_sf : 34;
1548 ctx->waves_info->waves[dst[sb].start_index + i].amp_sf = (pred + delta) & 0x3F;
1553 for (sb = 0; sb < ctx->waves_info->num_tone_bands; sb++) {
1557 ctx->waves_info->waves[dst[sb].start_index + i].amp_sf =
1559 ? ctx->waves_info->waves[refwaves[dst[sb].start_index + i]].amp_sf
1582 for (sb = 0; sb < ctx->waves_info->num_tone_bands; sb++) {
1585 wparam = &ctx->waves_info->waves[dst[sb].start_index];
1610 ctx->waves_info->tones_present = get_bits1(gb);
1611 if (!ctx->waves_info->tones_present)
1614 memset(ctx->waves_info->waves, 0, sizeof(ctx->waves_info->waves));
1616 ctx->waves_info->amplitude_mode = get_bits1(gb);
1617 if (!ctx->waves_info->amplitude_mode) {
1622 ctx->waves_info->num_tone_bands =
1627 get_subband_flags(gb, ctx->waves_info->tone_sharing, ctx->waves_info->num_tone_bands);
1628 get_subband_flags(gb, ctx->waves_info->tone_master, ctx->waves_info->num_tone_bands);
1629 get_subband_flags(gb, ctx->waves_info->invert_phase, ctx->waves_info->num_tone_bands);
1632 ctx->waves_info->tones_index = 0;
1635 for (i = 0; i < ctx->waves_info->num_tone_bands; i++)
1636 band_has_tones[i] = !ch_num ? 1 : !ctx->waves_info->tone_sharing[i];
1649 for (i = 0; i < ctx->waves_info->num_tone_bands; i++) {
1650 if (ctx->waves_info->tone_sharing[i])
1653 if (ctx->waves_info->tone_master[i])