/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/mp4/parser/ |
D | viddec_mp4_decodevideoobjectplane.c | 8 mp4_VideoObjectLayer_t *vol = &(pInfo->VisualObject.VideoObject); in mp4_DecodeVideoObjectPlane() local 13 if (vol->short_video_header) in mp4_DecodeVideoObjectPlane() 15 vop_time = vol->vop_sync_time + in mp4_DecodeVideoObjectPlane() 20 vol->vop_sync_time += 256 * 1001; in mp4_DecodeVideoObjectPlane() 28 …vop_time = vol->vop_sync_time_b + vop->modulo_time_base * vol->vop_time_increment_resolution + vop… in mp4_DecodeVideoObjectPlane() 32 if (gvop->time_base > vol->vop_sync_time) in mp4_DecodeVideoObjectPlane() 33 vol->vop_sync_time = gvop->time_base; in mp4_DecodeVideoObjectPlane() 35 …vop_time = vol->vop_sync_time + vop->modulo_time_base * vol->vop_time_increment_resolution + vop->… in mp4_DecodeVideoObjectPlane() 37 if (vol->vop_sync_time_b < vol->vop_sync_time) in mp4_DecodeVideoObjectPlane() 38 vol->vop_sync_time_b = vol->vop_sync_time; in mp4_DecodeVideoObjectPlane() [all …]
|
D | viddec_mp4_shortheader.c | 70 mp4_VideoObjectLayer_t *vol = &(pInfo->VisualObject.VideoObject); in mp4_Parse_VideoObject_svh() local 79 vol->short_video_header = 1; in mp4_Parse_VideoObject_svh() 80 vol->video_object_layer_shape = MP4_SHAPE_TYPE_RECTANGULAR; in mp4_Parse_VideoObject_svh() 81 vol->obmc_disable = 1; in mp4_Parse_VideoObject_svh() 82 vol->quant_type = 0; in mp4_Parse_VideoObject_svh() 83 vol->resync_marker_disable = 1; in mp4_Parse_VideoObject_svh() 84 vol->data_partitioned = 0; in mp4_Parse_VideoObject_svh() 85 vol->reversible_vlc = 0; in mp4_Parse_VideoObject_svh() 86 vol->interlaced = 0; in mp4_Parse_VideoObject_svh() 87 vol->complexity_estimation_disable = 1; in mp4_Parse_VideoObject_svh() [all …]
|
D | viddec_fw_mp4_workload.c | 10 mp4_VideoObjectLayer_t *vol = &(parser->info.VisualObject.VideoObject); in viddec_fw_mp4_populate_attr() local 14 attr->cont_size.width = vol->video_object_layer_width; in viddec_fw_mp4_populate_attr() 15 attr->cont_size.height = vol->video_object_layer_height; in viddec_fw_mp4_populate_attr() 18 switch(vol->VideoObjectPlane.vop_coding_type) in viddec_fw_mp4_populate_attr() 36 attr->mpeg4.top_field_first = vol->VideoObjectPlane.top_field_first; in viddec_fw_mp4_populate_attr() 46 mp4_VideoObjectLayer_t *vol = &(parser->info.VisualObject.VideoObject); in viddec_fw_mp4_insert_vol_workitem() local 51 viddec_fw_mp4_set_reversible_vlc(&vol_info, vol->reversible_vlc); in viddec_fw_mp4_insert_vol_workitem() 52 viddec_fw_mp4_set_data_partitioned(&vol_info, vol->data_partitioned); in viddec_fw_mp4_insert_vol_workitem() 53 viddec_fw_mp4_set_resync_marker_disable(&vol_info, vol->resync_marker_disable); in viddec_fw_mp4_insert_vol_workitem() 54 viddec_fw_mp4_set_quarter_sample(&vol_info, vol->quarter_sample); in viddec_fw_mp4_insert_vol_workitem() [all …]
|
/hardware/qcom/audio/legacy/alsa_sound/ |
D | ALSAMixer.cpp | 276 long vol = minVol + volume * (maxVol - minVol); in setMasterVolume() local 277 if (vol > maxVol) vol = maxVol; in setMasterVolume() 278 if (vol < minVol) vol = minVol; in setMasterVolume() 280 info->volume = vol; in setMasterVolume() 281 snd_mixer_selem_set_playback_volume_all (info->elem, vol); in setMasterVolume() 295 long vol = minVol + gain * (maxVol - minVol); in setMasterGain() local 296 if (vol > maxVol) vol = maxVol; in setMasterGain() 297 if (vol < minVol) vol = minVol; in setMasterGain() 299 info->volume = vol; in setMasterGain() 300 snd_mixer_selem_set_capture_volume_all (info->elem, vol); in setMasterGain() [all …]
|
D | AudioStreamOutALSA.cpp | 73 int vol; in setVolume() local 85 vol = lrint((volume * 0x2000)+0.5); in setVolume() 90 ALOGV("Setting LPA volume to %d (available range is 0 to 100)\n", vol); in setVolume() 91 mHandle->module->setLpaVolume(vol); in setVolume() 97 ALOGV("Setting Compressed volume to %d (available range is 0 to 100)\n", vol); in setVolume() 98 mHandle->module->setCompressedVolume(vol); in setVolume()
|
D | alsa_default.cpp | 80 static void s_set_volte_volume(int vol); 1573 void s_set_voice_volume(int vol) in getUCMDevice() 1576 ALOGV("s_set_voice_volume: volume %d", vol); in getUCMDevice() 1578 control.set("Voice Rx Volume", vol, 0); in getUCMDevice() 1585 err = csd_volume(vol); in getUCMDevice() 1594 void s_set_volte_volume(int vol) in getUCMDevice() 1596 ALOGV("s_set_volte_volume: volume %d", vol); in getUCMDevice() 1598 control.set("VoLTE Rx Volume", vol, 0); in getUCMDevice() 1602 void s_set_voip_volume(int vol) in getUCMDevice() 1604 ALOGV("s_set_voip_volume: volume %d", vol); in getUCMDevice() [all …]
|
D | AudioHardwareALSA.cpp | 270 int vol = lrint(v * 100.0); in setVoiceVolume() local 275 vol = 100 - vol; in setVoiceVolume() 279 mALSADevice->setVoipVolume(vol); in setVoiceVolume() 282 mALSADevice->setVoiceVolume(vol); in setVoiceVolume() 284 mALSADevice->setVoLTEVolume(vol); in setVoiceVolume() 296 int vol; in setFmVolume() local 305 vol = lrint((value * 0x2000) + 0.5); in setFmVolume() 308 ALOGV("Setting FM volume to %d (available range is 0 to 0x2000)\n", vol); in setFmVolume() 310 mALSADevice->setFmVolume(vol); in setFmVolume()
|
/hardware/qcom/audio/hal/audio_extn/ |
D | hfp.c | 72 int32_t vol, ret = 0; in hfp_set_volume() local 90 vol = lrint((value * 0x2000) + 0.5); in hfp_set_volume() 98 ALOGD("%s: Setting HFP volume to %d \n", __func__, vol); in hfp_set_volume() 105 if(mixer_ctl_set_value(ctl, 0, vol) < 0) { in hfp_set_volume() 106 ALOGE("%s: Couldn't set HFP Volume: [%d]", __func__, vol); in hfp_set_volume() 285 float vol; in audio_extn_hfp_set_parameters() local 326 if (sscanf(value, "%f", &vol) != 1){ in audio_extn_hfp_set_parameters() 331 ALOGD("%s: set_hfp_volume usecase, Vol: [%f]", __func__, vol); in audio_extn_hfp_set_parameters() 332 hfp_set_volume(adev, vol); in audio_extn_hfp_set_parameters()
|
D | ext_speaker.c | 152 void audio_extn_extspk_set_voice_vol(void* extn, float vol) in audio_extn_extspk_set_voice_vol() argument 157 data->set_voice_vol(vol); in audio_extn_extspk_set_voice_vol()
|
D | audio_extn.h | 34 void audio_extn_extspk_set_voice_vol(void* extn, float vol);
|
/hardware/qcom/audio/msm8909/hal/audio_extn/ |
D | hfp.c | 91 int32_t vol, ret = 0; in hfp_set_volume() local 106 vol = lrint((value * 0x2000) + 0.5); in hfp_set_volume() 113 ALOGD("%s: Setting HFP volume to %d \n", __func__, vol); in hfp_set_volume() 120 if(mixer_ctl_set_value(ctl, 0, vol) < 0) { in hfp_set_volume() 121 ALOGE("%s: Couldn't set HFP Volume: [%d]", __func__, vol); in hfp_set_volume() 311 float vol; in audio_extn_hfp_set_parameters() local 352 if (sscanf(value, "%f", &vol) != 1){ in audio_extn_hfp_set_parameters() 357 ALOGD("%s: set_hfp_volume usecase, Vol: [%f]", __func__, vol); in audio_extn_hfp_set_parameters() 358 hfp_set_volume(adev, vol); in audio_extn_hfp_set_parameters()
|
D | fm.c | 70 int32_t vol, ret = 0; in fm_set_volume() local 84 vol = lrint((value * 0x2000) + 0.5); in fm_set_volume() 92 ALOGD("%s: Setting FM volume to %d \n", __func__, vol); in fm_set_volume() 99 mixer_ctl_set_value(ctl, 0, vol); in fm_set_volume() 221 float vol =0.0; in audio_extn_fm_set_parameters() local 275 if (sscanf(value, "%f", &vol) != 1){ in audio_extn_fm_set_parameters() 281 fm_set_volume(adev, vol); in audio_extn_fm_set_parameters()
|
/hardware/bsp/intel/peripheral/libupm/examples/c++/ |
D | wt5001.cxx | 97 uint8_t vol = 0; in main() local 98 if (mp3->getVolume(&vol)) in main() 99 cout << "The current volume is: " << int(vol) << endl; in main()
|
/hardware/bsp/intel/peripheral/libupm/examples/java/ |
D | WT5001Sample.java | 90 short vol[] = new short[1]; in main() local 91 if (mp3.getVolume(vol)) in main() 92 System.out.println("The current volume is: " + vol[0]); in main()
|
/hardware/bsp/intel/peripheral/libupm/examples/python/ |
D | wt5001.py | 66 vol = upmWt5001.uint8Array(0) variable 67 myMP3Player.getVolume(vol) 68 print "The current volume is: " + str(vol.__getitem__(0))
|
/hardware/bsp/intel/peripheral/libupm/examples/javascript/ |
D | wt5001.js | 85 var vol = new MP3Player.uint8Array(0); variable 86 myMP3Player.getVolume(vol); 87 console.log("The current volume is: " + vol.getitem(0));
|
/hardware/bsp/intel/peripheral/libupm/src/buzzer/ |
D | buzzer.cxx | 48 void Buzzer::setVolume(float vol){ in setVolume() argument 49 m_volume = vol; in setVolume()
|
D | buzzer.h | 103 void setVolume(float vol);
|
/hardware/bsp/intel/peripheral/libupm/src/wt5001/ |
D | wt5001.h | 222 bool setVolume(uint8_t vol); 293 bool getVolume(uint8_t *vol);
|
D | wt5001.cxx | 282 bool WT5001::setVolume(uint8_t vol) in setVolume() argument 284 if (vol > WT5001_MAX_VOLUME) in setVolume() 302 pkt[3] = vol; in setVolume() 430 bool WT5001::getVolume(uint8_t *vol) in getVolume() argument 446 int rv = readData((char *)vol, 1); in getVolume()
|
D | javaupm_wt5001.i | 7 %apply uint8_t *OUTPUT { uint8_t *vol };
|
/hardware/qcom/audio/msm8909/hal/ |
D | voice.c | 347 int vol, err = 0; in voice_set_volume() local 357 vol = lrint(volume * 100.0); in voice_set_volume() 362 vol = 100 - vol; in voice_set_volume() 364 err = platform_set_voice_volume(adev->platform, vol); in voice_set_volume()
|
/hardware/qcom/audio/hal/ |
D | voice.c | 367 int vol, err = 0; in voice_set_volume() local 377 vol = lrint(volume * 100.0); in voice_set_volume() 382 vol = 100 - vol; in voice_set_volume() 384 err = platform_set_voice_volume(adev->platform, vol); in voice_set_volume()
|
/hardware/intel/common/libmix/mix_audio/src/ |
D | mixaudio.c | 1151 struct snd_sst_vol vol = {0}; in mix_audio_get_volume_default() local 1160 vol.stream_id = mix->streamID; in mix_audio_get_volume_default() 1168 retVal = ioctl(mix->fileDescriptor, SNDRV_SST_GET_VOL, &vol); in mix_audio_get_volume_default() 1169 g_debug("SNDRV_SST_GET_VOL returned %d. vol=%d", retVal, vol.volume); in mix_audio_get_volume_default() 1186 *currvol = (maxvol!=0)?((vol.volume * 100) / maxvol):0; in mix_audio_get_volume_default() 1188 *currvol = vol.volume; in mix_audio_get_volume_default() 1373 struct snd_sst_vol vol = {0}; in mix_audio_set_volume_default() local 1375 vol.ramp_duration = msecs; in mix_audio_set_volume_default() 1376 vol.ramp_type = ramptype; // TODO: confirm the mappings between Mix and SST. in mix_audio_set_volume_default() 1386 vol.stream_id = mix->streamID; in mix_audio_set_volume_default() [all …]
|
/hardware/qcom/audio/msm8909/hal/voice_extn/ |
D | compress_voip.c | 715 int vol, err = 0; in voice_extn_compress_voip_set_volume() local 725 vol = lrint(volume * 100.0); in voice_extn_compress_voip_set_volume() 731 vol = 100 - vol; in voice_extn_compress_voip_set_volume() 733 err = voip_set_volume(adev, vol); in voice_extn_compress_voip_set_volume()
|