Home
last modified time | relevance | path

Searched refs:vol (Results 1 – 25 of 40) sorted by relevance

12

/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/mp4/parser/
Dviddec_mp4_decodevideoobjectplane.c8 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 …]
Dviddec_mp4_shortheader.c70 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 …]
Dviddec_fw_mp4_workload.c10 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/
DALSAMixer.cpp276 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 …]
DAudioStreamOutALSA.cpp73 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()
Dalsa_default.cpp80 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 …]
DAudioHardwareALSA.cpp270 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/
Dhfp.c72 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()
Dext_speaker.c152 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()
Daudio_extn.h34 void audio_extn_extspk_set_voice_vol(void* extn, float vol);
/hardware/qcom/audio/msm8909/hal/audio_extn/
Dhfp.c91 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()
Dfm.c70 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++/
Dwt5001.cxx97 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/
DWT5001Sample.java90 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/
Dwt5001.py66 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/
Dwt5001.js85 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/
Dbuzzer.cxx48 void Buzzer::setVolume(float vol){ in setVolume() argument
49 m_volume = vol; in setVolume()
Dbuzzer.h103 void setVolume(float vol);
/hardware/bsp/intel/peripheral/libupm/src/wt5001/
Dwt5001.h222 bool setVolume(uint8_t vol);
293 bool getVolume(uint8_t *vol);
Dwt5001.cxx282 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()
Djavaupm_wt5001.i7 %apply uint8_t *OUTPUT { uint8_t *vol };
/hardware/qcom/audio/msm8909/hal/
Dvoice.c347 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/
Dvoice.c367 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/
Dmixaudio.c1151 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/
Dcompress_voip.c715 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()

12