Searched refs:vol (Results 1 - 25 of 39) sorted by relevance

12

/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/mp4/parser/
H A Dviddec_mp4_decodevideoobjectplane.c8 mp4_VideoObjectLayer_t *vol = &(pInfo->VisualObject.VideoObject); local
13 if (vol->short_video_header)
15 vop_time = vol->vop_sync_time +
20 vol->vop_sync_time += 256 * 1001;
28 vop_time = vol->vop_sync_time_b + vop->modulo_time_base * vol->vop_time_increment_resolution + vop->vop_time_increment;
32 if (gvop->time_base > vol->vop_sync_time)
33 vol->vop_sync_time = gvop->time_base;
35 vop_time = vol->vop_sync_time + vop->modulo_time_base * vol
[all...]
H A Dviddec_mp4_shortheader.c70 mp4_VideoObjectLayer_t *vol = &(pInfo->VisualObject.VideoObject); local
79 vol->short_video_header = 1;
80 vol->video_object_layer_shape = MP4_SHAPE_TYPE_RECTANGULAR;
81 vol->obmc_disable = 1;
82 vol->quant_type = 0;
83 vol->resync_marker_disable = 1;
84 vol->data_partitioned = 0;
85 vol->reversible_vlc = 0;
86 vol->interlaced = 0;
87 vol
[all...]
H A Dviddec_fw_mp4_workload.c10 mp4_VideoObjectLayer_t *vol = &(parser->info.VisualObject.VideoObject); local
14 attr->cont_size.width = vol->video_object_layer_width;
15 attr->cont_size.height = vol->video_object_layer_height;
18 switch(vol->VideoObjectPlane.vop_coding_type)
36 attr->mpeg4.top_field_first = vol->VideoObjectPlane.top_field_first;
46 mp4_VideoObjectLayer_t *vol = &(parser->info.VisualObject.VideoObject); local
51 viddec_fw_mp4_set_reversible_vlc(&vol_info, vol->reversible_vlc);
52 viddec_fw_mp4_set_data_partitioned(&vol_info, vol->data_partitioned);
53 viddec_fw_mp4_set_resync_marker_disable(&vol_info, vol->resync_marker_disable);
54 viddec_fw_mp4_set_quarter_sample(&vol_info, vol
162 mp4_VideoObjectLayer_t *vol = &(parser->info.VisualObject.VideoObject); local
208 mp4_VideoObjectLayer_t *vol = &(parser->info.VisualObject.VideoObject); local
[all...]
/hardware/qcom/audio/legacy/alsa_sound/
H A DALSAMixer.cpp276 long vol = minVol + volume * (maxVol - minVol); local
277 if (vol > maxVol) vol = maxVol;
278 if (vol < minVol) vol = minVol;
280 info->volume = vol;
281 snd_mixer_selem_set_playback_volume_all (info->elem, vol);
295 long vol = minVol + gain * (maxVol - minVol); local
296 if (vol > maxVol) vol
317 long vol = minVol + left * (maxVol - minVol); local
340 long vol = minVol + gain * (maxVol - minVol); local
[all...]
H A DAudioStreamOutALSA.cpp73 int vol; local
85 vol = lrint((volume * 0x2000)+0.5);
90 ALOGV("Setting LPA volume to %d (available range is 0 to 100)\n", vol);
91 mHandle->module->setLpaVolume(vol);
97 ALOGV("Setting Compressed volume to %d (available range is 0 to 100)\n", vol);
98 mHandle->module->setCompressedVolume(vol);
H A Dalsa_default.cpp80 static void s_set_volte_volume(int vol);
1573 void s_set_voice_volume(int vol) argument
1576 ALOGV("s_set_voice_volume: volume %d", vol);
1578 control.set("Voice Rx Volume", vol, 0);
1585 err = csd_volume(vol);
1594 void s_set_volte_volume(int vol) argument
1596 ALOGV("s_set_volte_volume: volume %d", vol);
1598 control.set("VoLTE Rx Volume", vol, 0);
1602 void s_set_voip_volume(int vol) argument
1604 ALOGV("s_set_voip_volume: volume %d", vol);
[all...]
H A DAudioHardwareALSA.cpp270 int vol = lrint(v * 100.0); local
275 vol = 100 - vol;
279 mALSADevice->setVoipVolume(vol);
282 mALSADevice->setVoiceVolume(vol);
284 mALSADevice->setVoLTEVolume(vol);
296 int vol; local
305 vol = lrint((value * 0x2000) + 0.5);
308 ALOGV("Setting FM volume to %d (available range is 0 to 0x2000)\n", vol);
310 mALSADevice->setFmVolume(vol);
[all...]
/hardware/bsp/intel/peripheral/libupm/src/buzzer/
H A Dbuzzer.cxx48 void Buzzer::setVolume(float vol){ argument
49 m_volume = vol;
H A Dbuzzer.h101 * @param vol Value to set the volume to, from 0.0 to 1.0
103 void setVolume(float vol);
/hardware/bsp/intel/peripheral/libupm/examples/c++/
H A Dwt5001.cxx97 uint8_t vol = 0; local
98 if (mp3->getVolume(&vol))
99 cout << "The current volume is: " << int(vol) << endl;
/hardware/bsp/intel/peripheral/libupm/examples/java/
H A DWT5001Sample.java90 short vol[] = new short[1];
91 if (mp3.getVolume(vol))
92 System.out.println("The current volume is: " + vol[0]);
/hardware/bsp/intel/peripheral/libupm/examples/javascript/
H A Dwt5001.js85 var vol = new MP3Player.uint8Array(0);
86 myMP3Player.getVolume(vol);
87 console.log("The current volume is: " + vol.getitem(0));
/hardware/bsp/intel/peripheral/libupm/examples/python/
H A 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/src/wt5001/
H A Djavaupm_wt5001.i7 %apply uint8_t *OUTPUT { uint8_t *vol };
H A Dwt5001.h222 bool setVolume(uint8_t vol);
290 * @param vol Volume
293 bool getVolume(uint8_t *vol);
H A Dwt5001.cxx282 bool WT5001::setVolume(uint8_t vol) argument
284 if (vol > WT5001_MAX_VOLUME)
302 pkt[3] = vol;
430 bool WT5001::getVolume(uint8_t *vol) argument
446 int rv = readData((char *)vol, 1);
/hardware/qcom/audio/msm8909/hal/audio_extn/
H A Dfm.c70 int32_t vol, ret = 0; local
84 vol = lrint((value * 0x2000) + 0.5);
92 ALOGD("%s: Setting FM volume to %d \n", __func__, vol);
99 mixer_ctl_set_value(ctl, 0, vol);
221 float vol =0.0; local
275 if (sscanf(value, "%f", &vol) != 1){
281 fm_set_volume(adev, vol);
H A Dhfp.c91 int32_t vol, ret = 0; local
106 vol = lrint((value * 0x2000) + 0.5);
113 ALOGD("%s: Setting HFP volume to %d \n", __func__, vol);
120 if(mixer_ctl_set_value(ctl, 0, vol) < 0) {
121 ALOGE("%s: Couldn't set HFP Volume: [%d]", __func__, vol);
311 float vol; local
352 if (sscanf(value, "%f", &vol) != 1){
357 ALOGD("%s: set_hfp_volume usecase, Vol: [%f]", __func__, vol);
358 hfp_set_volume(adev, vol);
/hardware/qcom/audio/hal/audio_extn/
H A Dhfp.c72 int32_t vol, ret = 0; local
90 vol = lrint((value * 0x2000) + 0.5);
98 ALOGD("%s: Setting HFP volume to %d \n", __func__, vol);
105 if(mixer_ctl_set_value(ctl, 0, vol) < 0) {
106 ALOGE("%s: Couldn't set HFP Volume: [%d]", __func__, vol);
285 float vol; local
326 if (sscanf(value, "%f", &vol) != 1){
331 ALOGD("%s: set_hfp_volume usecase, Vol: [%f]", __func__, vol);
332 hfp_set_volume(adev, vol);
H A Dext_speaker.c152 void audio_extn_extspk_set_voice_vol(void* extn, float vol) argument
157 data->set_voice_vol(vol);
H A Daudio_extn.h34 void audio_extn_extspk_set_voice_vol(void* extn, float vol);
/hardware/qcom/audio/hal/
H A Dvoice.c367 int vol, err = 0; local
377 vol = lrint(volume * 100.0);
382 vol = 100 - vol;
384 err = platform_set_voice_volume(adev->platform, vol);
/hardware/qcom/audio/msm8909/hal/
H A Dvoice.c347 int vol, err = 0; local
357 vol = lrint(volume * 100.0);
362 vol = 100 - vol;
364 err = platform_set_voice_volume(adev->platform, vol);
/hardware/intel/common/libmix/mix_audio/src/
H A Dmixaudio.c1151 struct snd_sst_vol vol = {0}; local
1160 vol.stream_id = mix->streamID;
1168 retVal = ioctl(mix->fileDescriptor, SNDRV_SST_GET_VOL, &vol);
1169 g_debug("SNDRV_SST_GET_VOL returned %d. vol=%d", retVal, vol.volume);
1186 *currvol = (maxvol!=0)?((vol.volume * 100) / maxvol):0;
1188 *currvol = vol.volume;
1373 struct snd_sst_vol vol = {0}; local
1375 vol.ramp_duration = msecs;
1376 vol
[all...]
/hardware/qcom/audio/msm8909/hal/voice_extn/
H A Dcompress_voip.c715 int vol, err = 0; local
725 vol = lrint(volume * 100.0);
731 vol = 100 - vol;
733 err = voip_set_volume(adev, vol);

Completed in 491 milliseconds

12