Home
last modified time | relevance | path

Searched refs:pcm_count (Results 1 – 25 of 42) sorted by relevance

12

/dports/audio/libsndfile/libsndfile-1.0.31/src/
H A Dima_oki_adpcm.c131 state->pcm_count = 2 * k ; in ima_oki_adpcm_decode_block()
146 if (state->pcm_count % 2 == 1) in ima_oki_adpcm_encode_block()
147 state->pcm [state->pcm_count ++] = 0 ; in ima_oki_adpcm_encode_block()
149 for (k = 0 ; k < state->pcm_count / 2 ; k++) in ima_oki_adpcm_encode_block()
245 adpcm.pcm_count = ARRAY_LEN (test_pcm) ; in test_oki_adpcm_block()
270 adpcm.pcm_count = 13 ; in test_oki_adpcm_block()
274 if (adpcm.pcm_count != 2 * ARRAY_LEN (test_codes)) in test_oki_adpcm_block()
275 …{ printf ("\n\nLine %d : %d * 2 != %d\n\n", __LINE__, adpcm.pcm_count, 2 * ARRAY_LEN (test_codes))… in test_oki_adpcm_block()
H A Dtest_ima_oki_adpcm.c109 adpcm.pcm_count = ARRAY_LEN (test_pcm) ; in test_oki_adpcm_block()
133 adpcm.pcm_count = 13 ; in test_oki_adpcm_block()
137 if (adpcm.pcm_count != 2 * ARRAY_LEN (test_codes)) in test_oki_adpcm_block()
138 …{ printf ("\n\nLine %d : %d * 2 != %d\n\n", __LINE__, adpcm.pcm_count, 2 * ARRAY_LEN (test_codes))… in test_oki_adpcm_block()
H A Dvox_adpcm.c142 memcpy (&(ptr [indx]), pvox->pcm, pvox->pcm_count * sizeof (short)) ; in vox_read_block()
143 indx += pvox->pcm_count ; in vox_read_block()
272 { pvox->pcm_count = (len - indx > IMA_OKI_ADPCM_PCM_LEN) ? IMA_OKI_ADPCM_PCM_LEN : len - indx ; in vox_write_block()
274 memcpy (pvox->pcm, &(ptr [indx]), pvox->pcm_count * sizeof (short)) ; in vox_write_block()
281 indx += pvox->pcm_count ; in vox_write_block()
/dports/multimedia/v4l_compat/linux-5.13-rc2/sound/isa/msnd/
H A Dmsnd.c357 unsigned int pcm_count) in snd_msnd_play_reset_queue() argument
363 chip->playLimit = pcm_count * (pcm_periods - 1); in snd_msnd_play_reset_queue()
368 chip->play_period_bytes = pcm_count; in snd_msnd_play_reset_queue()
371 writew(PCTODSP_BASED((u32)(pcm_count * n)), in snd_msnd_play_reset_queue()
385 unsigned int pcm_count) in snd_msnd_capture_reset_queue() argument
394 chip->captureLimit = pcm_count * (pcm_periods - 1); in snd_msnd_capture_reset_queue()
408 chip->capturePeriodBytes = pcm_count; in snd_msnd_capture_reset_queue()
414 u32 tmp = pcm_count * n; in snd_msnd_capture_reset_queue()
417 writew(pcm_count, pDAQ + DAQDS_wSize); in snd_msnd_capture_reset_queue()
521 unsigned int pcm_periods = pcm_size / pcm_count; in snd_msnd_playback_prepare()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/sound/isa/msnd/
H A Dmsnd.c357 unsigned int pcm_count) in snd_msnd_play_reset_queue() argument
363 chip->playLimit = pcm_count * (pcm_periods - 1); in snd_msnd_play_reset_queue()
368 chip->play_period_bytes = pcm_count; in snd_msnd_play_reset_queue()
371 writew(PCTODSP_BASED((u32)(pcm_count * n)), in snd_msnd_play_reset_queue()
385 unsigned int pcm_count) in snd_msnd_capture_reset_queue() argument
394 chip->captureLimit = pcm_count * (pcm_periods - 1); in snd_msnd_capture_reset_queue()
408 chip->capturePeriodBytes = pcm_count; in snd_msnd_capture_reset_queue()
414 u32 tmp = pcm_count * n; in snd_msnd_capture_reset_queue()
417 writew(pcm_count, pDAQ + DAQDS_wSize); in snd_msnd_capture_reset_queue()
521 unsigned int pcm_periods = pcm_size / pcm_count; in snd_msnd_playback_prepare()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/sound/isa/msnd/
H A Dmsnd.c357 unsigned int pcm_count) in snd_msnd_play_reset_queue() argument
363 chip->playLimit = pcm_count * (pcm_periods - 1); in snd_msnd_play_reset_queue()
368 chip->play_period_bytes = pcm_count; in snd_msnd_play_reset_queue()
371 writew(PCTODSP_BASED((u32)(pcm_count * n)), in snd_msnd_play_reset_queue()
385 unsigned int pcm_count) in snd_msnd_capture_reset_queue() argument
394 chip->captureLimit = pcm_count * (pcm_periods - 1); in snd_msnd_capture_reset_queue()
408 chip->capturePeriodBytes = pcm_count; in snd_msnd_capture_reset_queue()
414 u32 tmp = pcm_count * n; in snd_msnd_capture_reset_queue()
417 writew(pcm_count, pDAQ + DAQDS_wSize); in snd_msnd_capture_reset_queue()
521 unsigned int pcm_periods = pcm_size / pcm_count; in snd_msnd_playback_prepare()
[all …]
/dports/audio/deadbeef/deadbeef-0.7.2/plugins/gme/game-music-emu-0.6pre/gme/
H A DGym_Emu.cpp267 void Gym_Emu::run_pcm( byte const pcm_in [], int pcm_count ) in run_pcm() argument
285 int rate_count = pcm_count; in run_pcm()
287 if ( !prev_pcm_count && next_pcm_count && pcm_count < next_pcm_count ) in run_pcm()
290 start = next_pcm_count - pcm_count; in run_pcm()
292 else if ( prev_pcm_count && !next_pcm_count && pcm_count < prev_pcm_count ) in run_pcm()
306 for ( int i = 0; i < pcm_count; i++ ) in run_pcm()
/dports/multimedia/musikcube/musikcube-0.96.7/src/plugins/gmedecoder/gme/
H A DGym_Emu.cpp267 void Gym_Emu::run_pcm( byte const pcm_in [], int pcm_count ) in run_pcm() argument
285 int rate_count = pcm_count; in run_pcm()
287 if ( !prev_pcm_count && next_pcm_count && pcm_count < next_pcm_count ) in run_pcm()
290 start = next_pcm_count - pcm_count; in run_pcm()
292 else if ( prev_pcm_count && !next_pcm_count && pcm_count < prev_pcm_count ) in run_pcm()
306 for ( int i = 0; i < pcm_count; i++ ) in run_pcm()
/dports/multimedia/v4l_compat/linux-5.13-rc2/sound/soc/qcom/qdsp6/
H A Dq6asm-dai.c58 unsigned int pcm_count; member
191 prtd->pcm_count, 0, 0, 0); in event_handler()
197 prtd->pcm_irq_pos += prtd->pcm_count; in event_handler()
201 prtd->pcm_count, 0, 0, 0); in event_handler()
206 prtd->pcm_irq_pos += prtd->pcm_count; in event_handler()
527 prtd->pcm_count, 0, 0, 0); in compress_event_handler()
528 prtd->bytes_sent += prtd->pcm_count; in compress_event_handler()
574 if (avail > prtd->pcm_count) { in compress_event_handler()
575 bytes_to_write = prtd->pcm_count; in compress_event_handler()
901 prtd->pcm_count = runtime->fragment_size; in q6asm_dai_compr_set_params()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/sound/soc/qcom/qdsp6/
H A Dq6asm-dai.c58 unsigned int pcm_count; member
191 prtd->pcm_count, 0, 0, 0); in event_handler()
197 prtd->pcm_irq_pos += prtd->pcm_count; in event_handler()
201 prtd->pcm_count, 0, 0, 0); in event_handler()
206 prtd->pcm_irq_pos += prtd->pcm_count; in event_handler()
527 prtd->pcm_count, 0, 0, 0); in compress_event_handler()
528 prtd->bytes_sent += prtd->pcm_count; in compress_event_handler()
574 if (avail > prtd->pcm_count) { in compress_event_handler()
575 bytes_to_write = prtd->pcm_count; in compress_event_handler()
901 prtd->pcm_count = runtime->fragment_size; in q6asm_dai_compr_set_params()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/sound/soc/qcom/qdsp6/
H A Dq6asm-dai.c58 unsigned int pcm_count; member
191 prtd->pcm_count, 0, 0, 0); in event_handler()
197 prtd->pcm_irq_pos += prtd->pcm_count; in event_handler()
201 prtd->pcm_count, 0, 0, 0); in event_handler()
206 prtd->pcm_irq_pos += prtd->pcm_count; in event_handler()
527 prtd->pcm_count, 0, 0, 0); in compress_event_handler()
528 prtd->bytes_sent += prtd->pcm_count; in compress_event_handler()
574 if (avail > prtd->pcm_count) { in compress_event_handler()
575 bytes_to_write = prtd->pcm_count; in compress_event_handler()
901 prtd->pcm_count = runtime->fragment_size; in q6asm_dai_compr_set_params()
[all …]
/dports/games/iortcw/iortcw-1.51c/MP/code/opus-1.2.1/src/
H A Dopus_decoder.c615 int pcm_count=0; in opus_decode_native() local
618 ret = opus_decode_frame(st, NULL, 0, pcm+pcm_count*st->channels, frame_size-pcm_count, 0); in opus_decode_native()
621 pcm_count += ret; in opus_decode_native()
622 } while (pcm_count < frame_size); in opus_decode_native()
623 celt_assert(pcm_count == frame_size); in opus_decode_native()
624 if (OPUS_CHECK_ARRAY(pcm, pcm_count*st->channels)) in opus_decode_native()
625 OPUS_PRINT_INT(pcm_count); in opus_decode_native()
626 st->last_packet_duration = pcm_count; in opus_decode_native()
627 return pcm_count; in opus_decode_native()
/dports/games/iortcw/iortcw-1.51c/SP/code/opus-1.2.1/src/
H A Dopus_decoder.c615 int pcm_count=0; in opus_decode_native() local
618 ret = opus_decode_frame(st, NULL, 0, pcm+pcm_count*st->channels, frame_size-pcm_count, 0); in opus_decode_native()
621 pcm_count += ret; in opus_decode_native()
622 } while (pcm_count < frame_size); in opus_decode_native()
623 celt_assert(pcm_count == frame_size); in opus_decode_native()
624 if (OPUS_CHECK_ARRAY(pcm, pcm_count*st->channels)) in opus_decode_native()
625 OPUS_PRINT_INT(pcm_count); in opus_decode_native()
626 st->last_packet_duration = pcm_count; in opus_decode_native()
627 return pcm_count; in opus_decode_native()
/dports/devel/godot/godot-3.2.3-stable/thirdparty/opus/
H A Dopus_decoder.c615 int pcm_count=0; in opus_decode_native() local
618 ret = opus_decode_frame(st, NULL, 0, pcm+pcm_count*st->channels, frame_size-pcm_count, 0); in opus_decode_native()
621 pcm_count += ret; in opus_decode_native()
622 } while (pcm_count < frame_size); in opus_decode_native()
623 celt_assert(pcm_count == frame_size); in opus_decode_native()
624 if (OPUS_CHECK_ARRAY(pcm, pcm_count*st->channels)) in opus_decode_native()
625 OPUS_PRINT_INT(pcm_count); in opus_decode_native()
626 st->last_packet_duration = pcm_count; in opus_decode_native()
627 return pcm_count; in opus_decode_native()
/dports/devel/godot-tools/godot-3.2.3-stable/thirdparty/opus/
H A Dopus_decoder.c615 int pcm_count=0; in opus_decode_native() local
618 ret = opus_decode_frame(st, NULL, 0, pcm+pcm_count*st->channels, frame_size-pcm_count, 0); in opus_decode_native()
621 pcm_count += ret; in opus_decode_native()
622 } while (pcm_count < frame_size); in opus_decode_native()
623 celt_assert(pcm_count == frame_size); in opus_decode_native()
624 if (OPUS_CHECK_ARRAY(pcm, pcm_count*st->channels)) in opus_decode_native()
625 OPUS_PRINT_INT(pcm_count); in opus_decode_native()
626 st->last_packet_duration = pcm_count; in opus_decode_native()
627 return pcm_count; in opus_decode_native()
/dports/lang/spidermonkey60/firefox-60.9.0/media/libopus/src/
H A Dopus_decoder.c615 int pcm_count=0; in opus_decode_native() local
618 ret = opus_decode_frame(st, NULL, 0, pcm+pcm_count*st->channels, frame_size-pcm_count, 0); in opus_decode_native()
621 pcm_count += ret; in opus_decode_native()
622 } while (pcm_count < frame_size); in opus_decode_native()
623 celt_assert(pcm_count == frame_size); in opus_decode_native()
624 if (OPUS_CHECK_ARRAY(pcm, pcm_count*st->channels)) in opus_decode_native()
625 OPUS_PRINT_INT(pcm_count); in opus_decode_native()
626 st->last_packet_duration = pcm_count; in opus_decode_native()
627 return pcm_count; in opus_decode_native()
/dports/devel/godot2-tools/godot-2.1.6-stable/thirdparty/opus/
H A Dopus_decoder.c615 int pcm_count=0; in opus_decode_native() local
618 ret = opus_decode_frame(st, NULL, 0, pcm+pcm_count*st->channels, frame_size-pcm_count, 0); in opus_decode_native()
621 pcm_count += ret; in opus_decode_native()
622 } while (pcm_count < frame_size); in opus_decode_native()
623 celt_assert(pcm_count == frame_size); in opus_decode_native()
624 if (OPUS_CHECK_ARRAY(pcm, pcm_count*st->channels)) in opus_decode_native()
625 OPUS_PRINT_INT(pcm_count); in opus_decode_native()
626 st->last_packet_duration = pcm_count; in opus_decode_native()
627 return pcm_count; in opus_decode_native()
/dports/devel/godot2/godot-2.1.6-stable/thirdparty/opus/
H A Dopus_decoder.c615 int pcm_count=0; in opus_decode_native() local
618 ret = opus_decode_frame(st, NULL, 0, pcm+pcm_count*st->channels, frame_size-pcm_count, 0); in opus_decode_native()
621 pcm_count += ret; in opus_decode_native()
622 } while (pcm_count < frame_size); in opus_decode_native()
623 celt_assert(pcm_count == frame_size); in opus_decode_native()
624 if (OPUS_CHECK_ARRAY(pcm, pcm_count*st->channels)) in opus_decode_native()
625 OPUS_PRINT_INT(pcm_count); in opus_decode_native()
626 st->last_packet_duration = pcm_count; in opus_decode_native()
627 return pcm_count; in opus_decode_native()
/dports/www/firefox-legacy/firefox-52.8.0esr/media/libopus/src/
H A Dopus_decoder.c615 int pcm_count=0;
618 ret = opus_decode_frame(st, NULL, 0, pcm+pcm_count*st->channels, frame_size-pcm_count, 0);
621 pcm_count += ret;
622 } while (pcm_count < frame_size);
623 celt_assert(pcm_count == frame_size);
624 if (OPUS_CHECK_ARRAY(pcm, pcm_count*st->channels))
625 OPUS_PRINT_INT(pcm_count);
626 st->last_packet_duration = pcm_count;
627 return pcm_count;
/dports/multimedia/v4l_compat/linux-5.13-rc2/sound/soc/intel/boards/
H A Dskl_hda_dsp_generic.c86 ret = skl_hda_hdmi_add_pcm(card, ctx->pcm_count); in skl_hda_add_dai_link()
94 ctx->pcm_count++; in skl_hda_add_dai_link()
226 ctx->pcm_count = hda_soc_card.num_links; in skl_hda_audio_probe()
/dports/multimedia/libv4l/linux-5.13-rc2/sound/soc/intel/boards/
H A Dskl_hda_dsp_generic.c86 ret = skl_hda_hdmi_add_pcm(card, ctx->pcm_count); in skl_hda_add_dai_link()
94 ctx->pcm_count++; in skl_hda_add_dai_link()
226 ctx->pcm_count = hda_soc_card.num_links; in skl_hda_audio_probe()
/dports/multimedia/v4l-utils/linux-5.13-rc2/sound/soc/intel/boards/
H A Dskl_hda_dsp_generic.c86 ret = skl_hda_hdmi_add_pcm(card, ctx->pcm_count); in skl_hda_add_dai_link()
94 ctx->pcm_count++; in skl_hda_add_dai_link()
226 ctx->pcm_count = hda_soc_card.num_links; in skl_hda_audio_probe()
/dports/www/firefox-esr/firefox-91.8.0/media/libopus/src/
H A Dopus_decoder.c644 int pcm_count=0; in opus_decode_native() local
647 ret = opus_decode_frame(st, NULL, 0, pcm+pcm_count*st->channels, frame_size-pcm_count, 0); in opus_decode_native()
650 pcm_count += ret; in opus_decode_native()
651 } while (pcm_count < frame_size); in opus_decode_native()
652 celt_assert(pcm_count == frame_size); in opus_decode_native()
653 if (OPUS_CHECK_ARRAY(pcm, pcm_count*st->channels)) in opus_decode_native()
654 OPUS_PRINT_INT(pcm_count); in opus_decode_native()
655 st->last_packet_duration = pcm_count; in opus_decode_native()
656 return pcm_count; in opus_decode_native()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/opus/src/src/
H A Dopus_decoder.c644 int pcm_count=0; in opus_decode_native() local
647 ret = opus_decode_frame(st, NULL, 0, pcm+pcm_count*st->channels, frame_size-pcm_count, 0); in opus_decode_native()
650 pcm_count += ret; in opus_decode_native()
651 } while (pcm_count < frame_size); in opus_decode_native()
652 celt_assert(pcm_count == frame_size); in opus_decode_native()
653 if (OPUS_CHECK_ARRAY(pcm, pcm_count*st->channels)) in opus_decode_native()
654 OPUS_PRINT_INT(pcm_count); in opus_decode_native()
655 st->last_packet_duration = pcm_count; in opus_decode_native()
656 return pcm_count; in opus_decode_native()
/dports/www/firefox/firefox-99.0/media/libopus/src/
H A Dopus_decoder.c644 int pcm_count=0; in opus_decode_native() local
647 ret = opus_decode_frame(st, NULL, 0, pcm+pcm_count*st->channels, frame_size-pcm_count, 0); in opus_decode_native()
650 pcm_count += ret; in opus_decode_native()
651 } while (pcm_count < frame_size); in opus_decode_native()
652 celt_assert(pcm_count == frame_size); in opus_decode_native()
653 if (OPUS_CHECK_ARRAY(pcm, pcm_count*st->channels)) in opus_decode_native()
654 OPUS_PRINT_INT(pcm_count); in opus_decode_native()
655 st->last_packet_duration = pcm_count; in opus_decode_native()
656 return pcm_count; in opus_decode_native()

12