Home
last modified time | relevance | path

Searched refs:pcm (Results 1 – 25 of 41) sorted by relevance

12

/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/a2dp_codec/sbclib/include/
H A Dsbc_encoder.h52 void Get8SubbandSamplingPointInternal(const uint8_t* pcm, int16_t(*x)[BUFFER_SIZE],
54 void Get8SubbandSamplingPoint16(const uint8_t* pcm, int16_t(*x)[BUFFER_SIZE],
56 void Get8SubbandSamplingPoint8(const uint8_t* pcm, int16_t(*x)[BUFFER_SIZE],
58 int Get8SubbandSamplingPoint(const uint8_t* pcm, int16_t(*x)[BUFFER_SIZE],
60 int Get4SubbandSamplingPoint(const uint8_t* pcm, int16_t x[2][BUFFER_SIZE],
/ohos5.0/drivers/peripheral/audio/supportlibs/adm_adapter/src/
H A Daudio_interface_lib_common.c44 static int32_t AudioGetAllCardList(AudioPcmType pcm, OpCode cmd, const struct HdfIoService *service…
698 if (pcm == PCM_CAPTURE) { in AudioMixerCtlElemList()
815 (void)pcm; in AudioGetAllCardList()
835 if (pcm == PCM_CAPTURE) { in AudioMixerCtlElemRoute()
867 return g_AudioMixerOpsTbl[i].func(pcm, i, service, data); in AudioMixerCtlElemRoute()
1323 return (pcm == PCM_CAPTURE) ? AudioCtlCaptureGetElemProp(service, cmd, infoData) : in AudioMixerCtlGetElemProp()
1351 return (pcm == PCM_CAPTURE) ? AudioCtlCaptureSetElemProp(service, cmd, infoData) : in AudioMixerCtlSetElemProp()
1358 AudioPcmType stream = (pcm == PCM_CAPTURE) ? PCM_CAPTURE : PCM_RENDER; in AudioMixerCtlElem()
1371 AudioPcmType stream = (pcm == PCM_CAPTURE) ? PCM_CAPTURE : PCM_RENDER; in AudioMixerCtlGetElem()
1382 AudioPcmType pcm, const struct HdfIoService *service, struct AudioMixerCtlElemInfo *infoData) in AudioMixerCtlSetElem() argument
[all …]
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/a2dp_codec/sbclib/src/
H A Dsbc_encoder.cpp419 #define PCM(i) (bigEndian ? UnalignedBigEndian(pcm + (i) * VALUE_2) : UnalignedLittleEndian(pcm + (… in Get4SubbandSamplingPoint()
444 pcm += VALUE_16 * channels; in Get4SubbandSamplingPoint()
452 #define PCM(i) (bigEndian ? UnalignedBigEndian(pcm + (i) * VALUE_2) : UnalignedLittleEndian(pcm + (… in Get8SubbandSamplingPointInternal()
480 pcm += VALUE_16 * channels; in Get8SubbandSamplingPointInternal()
488 #define PCM(i) (bigEndian ? UnalignedBigEndian(pcm + (i) * VALUE_2) : UnalignedLittleEndian(pcm + (… in Get8SubbandSamplingPoint16()
530 pcm += VALUE_32 * channels; in Get8SubbandSamplingPoint16()
539 #define PCM(i) (bigEndian ? UnalignedBigEndian(pcm + (i) * VALUE_2) : UnalignedLittleEndian(pcm + (… in Get8SubbandSamplingPoint8()
569 int Encoder::Get8SubbandSamplingPoint(const uint8_t *pcm, int16_t (*x)[BUFFER_SIZE], in Get8SubbandSamplingPoint() argument
584 Get8SubbandSamplingPointInternal(pcm, x, samples, channels, bigEndian); in Get8SubbandSamplingPoint()
586 Get8SubbandSamplingPoint16(pcm, x, samples, channels, bigEndian); in Get8SubbandSamplingPoint()
[all …]
/ohos5.0/drivers/peripheral/audio/supportlibs/alsa_adapter/src/
H A Dalsa_snd_render.c450 static int32_t QueryChmaps(snd_pcm_t *pcm) in QueryChmaps() argument
455 snd_pcm_chmap_query_t **hwChmap = snd_pcm_query_chmaps(pcm); in QueryChmaps()
474 static int32_t SetChmap(snd_pcm_t *pcm, struct AudioPcmHwParams *hwRenderParams) in SetChmap() argument
487 if (snd_pcm_set_chmap(pcm, chmap) < 0) { in SetChmap()
494 chmap = snd_pcm_get_chmap(pcm); in SetChmap()
559 snd_pcm_state_t state = snd_pcm_state(pcm); in RenderWritei()
561 ret = snd_pcm_prepare(pcm); in RenderWritei()
572 long frames = snd_pcm_writei(pcm, dataBuf, sbufFrameSize); in RenderWritei()
577 snd_pcm_wait(pcm, PCM_WAIT_TIMEOUT_MS); in RenderWritei()
585 snd_pcm_prepare(pcm); in RenderWritei()
[all …]
H A Dalsa_snd_capture.c529 static int32_t CapturePcmReadi(snd_pcm_t *pcm, uint64_t *frameCnt, char *dataBuf, snd_pcm_uframes_t… in CapturePcmReadi() argument
532 CHECK_NULL_PTR_RETURN_DEFAULT(pcm); in CapturePcmReadi()
543 long frames = snd_pcm_readi(pcm, dataBuf, bufSize); in CapturePcmReadi()
551 ret = snd_pcm_prepare(pcm); in CapturePcmReadi()
561 ret = snd_pcm_recover(pcm, frames, 0); // 0 for open capture recover log. in CapturePcmReadi()
567 ret = snd_pcm_start(pcm); in CapturePcmReadi()
/ohos5.0/drivers/interface/intelligent_voice/engine/v1_2/
H A DIIntellVoiceEngineAdapter.idl35 …APIs provided by the intelligent voice engine adapter for obtaining wakeup pcm and evaluating wake…
49 * The operations include obtaining wakeup pcm and evaluating wakeup word.
56 * @brief obtains wakeup pcm.
57 * @param data Indicates wakeup pcm.
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/minimp3_adapter/
H A Dminimp3_wrapper.c30 … Minimp3WrapperMp3dSample *pcm, Minimp3WrapperMp3decFrameInfo *info) in Minimp3WrapperMp3decDecodeFrame() argument
32 return mp3dec_decode_frame(dec, mp3, mp3Bytes, pcm, info); in Minimp3WrapperMp3decDecodeFrame()
H A Dminimp3_wrapper.h37 Minimp3WrapperMp3dSample *pcm, Minimp3WrapperMp3decFrameInfo *info);
52 … Minimp3WrapperMp3dSample *pcm, Minimp3WrapperMp3decFrameInfo *info);
H A Dminimp3_decoder_plugin.h38 Mp3DecoderSample *pcm; member
/ohos5.0/base/powermgr/thermal_manager/services/native/include/thermal_policy/
H A Dthermal_policy.h49 void SetPolicyMap(PolicyConfigMap& pcm);
/ohos5.0/drivers/peripheral/audio/supportlibs/adm_adapter/include/
H A Daudio_interface_lib_mixer.h74 typedef int32_t (*AudioMixer)(AudioPcmType pcm, OpCode cmd, const struct HdfIoService *service, voi…
/ohos5.0/base/powermgr/thermal_manager/services/native/src/thermal_policy/
H A Dthermal_policy.cpp62 void ThermalPolicy::SetPolicyMap(PolicyConfigMap& pcm) in SetPolicyMap() argument
64 clusterPolicyMap_ = pcm; in SetPolicyMap()
/ohos5.0/drivers/peripheral/audio/test/audio_utils/audio_mixer/
H A Daudio_mixer.h163 int32_t GetLibsoHandle(AudioPcmType pcm);
H A Daudio_mixer.c160 int32_t GetLibsoHandle(AudioPcmType pcm) in GetLibsoHandle() argument
164 g_pcmT = pcm; in GetLibsoHandle()
165 switch (pcm) { in GetLibsoHandle()
/ohos5.0/drivers/interface/bluetooth/a2dp/v1_1/
H A DBluetoothAudioTypes.idl49 /** audio pcm encoding sample rate */
/ohos5.0/docs/zh-cn/application-dev/media/audio/
H A Dusing-audiocapturer-for-recording.md67 let filePath = path + '/StarWars10s-2C-48000-4SW.pcm';
156 let filePath = path + '/StarWars10s-2C-48000-4SW.pcm';
/ohos5.0/drivers/interface/bluetooth/a2dp/v2_0/
H A DBluetoothAudioTypes.idl94 /** audio pcm encoding config */
/ohos5.0/docs/zh-cn/application-dev/media/avcodec/
H A Davcodec-support-formats.md110 | wav | - | G711mu(pcm-mulaw) | - |
/ohos5.0/docs/en/application-dev/media/audio/
H A Dusing-audiocapturer-for-recording.md68 let filePath = path + '/StarWars10s-2C-48000-4SW.pcm';
157 let filePath = path + '/StarWars10s-2C-48000-4SW.pcm';
/ohos5.0/docs/zh-cn/readme/
H A DAI业务子系统.md162 * @param audioInput pcm data.
171 * @param audioInput pcm data.
/ohos5.0/foundation/ai/ai_engine/
H A DREADME_zh.md162 * @param audioInput pcm data.
171 * @param audioInput pcm data.
/ohos5.0/base/security/selinux_adapter/sepolicy/ohos_policy/ai/intelligent_voice_framework/system/
H A Dintell_voice_service.te145 # avc: denied { add_name } for pid=627 comm="IPC_2_7260" name="2023_07_16_16_09_16_.pcm" scontex…
184 …m="IPC_2_7119" path="/data/data/intell_voice/pcm_data/2023_07_16_16_41_33_.pcm" dev="sdd78" ino=11…
185 …tell_voice_se" path="/data/data/intell_voice/pcm_data/2023_07_16_17_05_39_.pcm" dev="sdd78" ino=11…
186 …tell_voice_se" path="/data/data/intell_voice/pcm_data/2023_07_16_17_05_39_.pcm" dev="sdd78" ino=11…
187 # avc: denied { create } for pid=587 comm="intell_voice_se" name="2023_07_16_16_30_28_.pcm" scon…
/ohos5.0/base/security/selinux_adapter/sepolicy/ohos_policy/drivers/peripheral/intelligent_voice/vendor/
H A Dintell_voice_host.te77 …4551" path="/data/service/el0/intellligent_voice/wakeup/vpr/vpr/enroll/tmp/pcm" dev="sdd78" ino=34…
83 # avc: denied { read } for pid=25908 comm="IPC_1_25919" name="pcm" dev="sdd78" ino=3458 scontext…
102 # avc: denied { unlink } for pid=5173 comm="IPC_0_5184" name="tmp.pcm" dev="sdd78" ino=10211 sco…
/ohos5.0/docs/en/application-dev/media/avcodec/
H A Davcodec-support-formats.md109 | wav | - | G711mu(pcm-mulaw) | - |
/ohos5.0/docs/en/readme/
H A Dai.md155 * @param audioInput pcm data.
164 * @param audioInput pcm data.

12