Home
last modified time | relevance | path

Searched refs:control (Results 1 – 25 of 80) sorted by relevance

1234

/hardware/qcom/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp839 struct v4l2_control control; in venc_open() local
1000 control.id = V4L2_CID_MPEG_VIDC_VIDEO_SECURE; in venc_open()
1001 control.value = 1; in venc_open()
1003 ret=ioctl(m_nDriver_fd, VIDIOC_S_CTRL,&control); in venc_open()
1014 control.id = V4L2_CID_MPEG_VIDEO_HEADER_MODE; in venc_open()
1015 control.value = V4L2_MPEG_VIDEO_HEADER_MODE_SEPARATE; in venc_open()
1017 …INT_LOW("Calling IOCTL to disable seq_hdr in sync_frame id=%d, val=%d", control.id, control.value); in venc_open()
1019 if (ioctl(m_nDriver_fd, VIDIOC_S_CTRL, &control)) in venc_open()
1043 control.id = V4L2_CID_MPEG_VIDC_VIDEO_NUM_P_FRAMES; in venc_open()
1044 control.value = 0x7fffffff; in venc_open()
[all …]
/hardware/qcom/media/mm-video-legacy/vidc/venc/src/
Dvideo_encoder_device_copper.cpp1709 struct v4l2_control control; in venc_set_session_qp() local
1711 control.id = V4L2_CID_MPEG_VIDEO_H264_I_FRAME_QP; in venc_set_session_qp()
1712 control.value = i_frame_qp; in venc_set_session_qp()
1714 printf("Calling IOCTL set control for id=%d, val=%d\n", control.id, control.value); in venc_set_session_qp()
1715 rc = ioctl(m_nDriver_fd, VIDIOC_S_CTRL, &control); in venc_set_session_qp()
1720 printf("Success IOCTL set control for id=%d, value=%d\n", control.id, control.value); in venc_set_session_qp()
1721 session_qp.iframeqp = control.value; in venc_set_session_qp()
1723 control.id = V4L2_CID_MPEG_VIDEO_H264_P_FRAME_QP; in venc_set_session_qp()
1724 control.value = p_frame_qp; in venc_set_session_qp()
1726 printf("Calling IOCTL set control for id=%d, val=%d\n", control.id, control.value); in venc_set_session_qp()
[all …]
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_sock.c124 char control[CMSG_SPACE(sizeof(int))]; in mm_camera_socket_sendmsg() local
146 msgh.msg_control = control; in mm_camera_socket_sendmsg()
147 msgh.msg_controllen = sizeof(control); in mm_camera_socket_sendmsg()
186 char control[CMSG_SPACE(sizeof(int))]; in mm_camera_socket_recvmsg() local
198 msgh.msg_control = control; in mm_camera_socket_recvmsg()
199 msgh.msg_controllen = sizeof(control); in mm_camera_socket_recvmsg()
Dmm_camera.c1847 struct v4l2_control control; in mm_camera_util_s_ctrl() local
1849 memset(&control, 0, sizeof(control)); in mm_camera_util_s_ctrl()
1850 control.id = id; in mm_camera_util_s_ctrl()
1852 control.value = *value; in mm_camera_util_s_ctrl()
1854 rc = ioctl(fd, VIDIOC_S_CTRL, &control); in mm_camera_util_s_ctrl()
1859 *value = control.value; in mm_camera_util_s_ctrl()
1881 struct v4l2_control control; in mm_camera_util_g_ctrl() local
1883 memset(&control, 0, sizeof(control)); in mm_camera_util_g_ctrl()
1884 control.id = id; in mm_camera_util_g_ctrl()
1886 control.value = *value; in mm_camera_util_g_ctrl()
[all …]
/hardware/qcom/audio/legacy/alsa_sound/
Dalsa_default.cpp239 ALSAControl control("/dev/snd/controlC0"); in setHDMIChannelCount() local
257 control.set("HDMI_RX Channels", channel_cnt_str); in setHDMIChannelCount()
1058 ALSAControl control("/dev/snd/controlC0"); in s_set_fm_vol() local
1059 control.set("Internal FM RX Volume",value,0); in s_set_fm_vol()
1069 ALSAControl control("/dev/snd/controlC0"); in s_set_lpa_vol() local
1070 control.set("LPA RX Volume",value,0); in s_set_lpa_vol()
1577 ALSAControl control("/dev/snd/controlC0"); in getUCMDevice() local
1578 control.set("Voice Rx Volume", vol, 0); in getUCMDevice()
1597 ALSAControl control("/dev/snd/controlC0"); in getUCMDevice() local
1598 control.set("VoLTE Rx Volume", vol, 0); in getUCMDevice()
[all …]
DAudioUsbALSA.cpp537 musbRecordingHandle->sync_ptr->c.control.appl_ptr += frames; in RecordingThreadEntry()
549 mproxyRecordingHandle->sync_ptr->c.control.appl_ptr += frames; in RecordingThreadEntry()
559 …bytes_written = mproxyRecordingHandle->sync_ptr->c.control.appl_ptr - mproxyRecordingHandle->sync_… in RecordingThreadEntry()
922 mproxyPlaybackHandle->sync_ptr->c.control.appl_ptr += frames; in PlaybackThreadEntry()
997 musbPlaybackHandle->sync_ptr->c.control.appl_ptr += usbframes; in PlaybackThreadEntry()
1008 …bytes_written = musbPlaybackHandle->sync_ptr->c.control.appl_ptr - musbPlaybackHandle->sync_ptr->s… in PlaybackThreadEntry()
1009 …ALOGE("Appl ptr %d , hw_ptr %d, difference %d",musbPlaybackHandle->sync_ptr->c.control.appl_ptr, m… in PlaybackThreadEntry()
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/observers/
DVsyncEventObserver.cpp71 control(false); in deinitialize()
86 bool VsyncEventObserver::control(bool enabled) in control() function in android::intel::VsyncEventObserver
95 bool ret = mVsyncControl->control(mDevice, enabled); in control()
DSoftVsyncObserver.cpp67 control(false); in deinitialize()
91 bool SoftVsyncObserver::control(bool enabled) in control() function in android::intel::SoftVsyncObserver
DVsyncEventObserver.h35 bool control(bool enabled);
DSoftVsyncObserver.h35 virtual bool control(bool enabled);
/hardware/intel/img/hwcomposer/merrifield/common/observers/
DVsyncEventObserver.cpp71 control(false); in deinitialize()
86 bool VsyncEventObserver::control(bool enabled) in control() function in android::intel::VsyncEventObserver
95 bool ret = mVsyncControl->control(mDevice, enabled); in control()
DSoftVsyncObserver.cpp71 control(false); in deinitialize()
95 bool SoftVsyncObserver::control(bool enabled) in control() function in android::intel::SoftVsyncObserver
DVsyncEventObserver.h35 bool control(bool enabled);
DSoftVsyncObserver.h35 virtual bool control(bool enabled);
/hardware/intel/common/libva/debian.upstream/
DMakefile.am5 control.in \
17 control \
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_msm8974.cpp1590 struct v4l2_control control; in component_init() local
1902 control.id = V4L2_CID_MPEG_VIDC_VIDEO_CONCEAL_COLOR; in component_init()
1903 control.value = m_conceal_color; in component_init()
1904 ret = ioctl(drv_ctx.video_driver_fd, VIDIOC_S_CTRL, &control); in component_init()
1947 control.id = V4L2_CID_MPEG_VIDC_VIDEO_SECURE; in component_init()
1948 control.value = 1; in component_init()
1950 ret=ioctl(drv_ctx.video_driver_fd, VIDIOC_S_CTRL,&control); in component_init()
1957 control.id = V4L2_CID_MPEG_VIDC_VIDEO_MVC_BUFFER_LAYOUT; in component_init()
1958 control.value = V4L2_MPEG_VIDC_VIDEO_MVC_TOP_BOTTOM; in component_init()
1959 ret=ioctl(drv_ctx.video_driver_fd, VIDIOC_S_CTRL,&control); in component_init()
[all …]
/hardware/qcom/audio/legacy/libalsa-intf/
Dalsa_pcm.c404 sync_ptr->c.control.appl_ptr); in pcm_avail()
407 long avail = sync_ptr->s.status.hw_ptr - sync_ptr->c.control.appl_ptr; in pcm_avail()
412 …long avail = sync_ptr->s.status.hw_ptr - sync_ptr->c.control.appl_ptr + ((pcm->flags & PCM_MONO) ?… in pcm_avail()
465 …appl_ptr = (pcm->flags & PCM_MONO) ? sync_ptr->c.control.appl_ptr*2 : sync_ptr->c.control.appl_ptr… in dst_address()
501 …nsigned int tmp = (pcm->flags & PCM_MONO) ? sync_ptr->c.control.appl_ptr*2 : sync_ptr->c.control.a… in mmap_transfer_capture()
543 pcm->sync_ptr->c.control.appl_ptr += frames; in pcm_write_mmap()
554 bytes_written = pcm->sync_ptr->c.control.appl_ptr - pcm->sync_ptr->s.status.hw_ptr; in pcm_write_mmap()
Daplay.c329 pcm->sync_ptr->c.control.appl_ptr); in play_file()
361 pcm->sync_ptr->c.control.appl_ptr += frames; in play_file()
376 pcm->sync_ptr->c.control.appl_ptr); in play_file()
419 if (pcm->sync_ptr->s.status.hw_ptr >= pcm->sync_ptr->c.control.appl_ptr) { in play_file()
422 pcm->sync_ptr->c.control.appl_ptr); in play_file()
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/
DVsyncControl.h32 bool control(int disp, bool enabled);
DVsyncControl.cpp46 bool VsyncControl::control(int disp, bool enabled) in control() function in android::intel::VsyncControl
/hardware/intel/img/hwcomposer/merrifield/ips/common/
DVsyncControl.h32 bool control(int disp, bool enabled);
DVsyncControl.cpp46 bool VsyncControl::control(int disp, bool enabled) in control() function in android::intel::VsyncControl
/hardware/intel/img/hwcomposer/merrifield/include/
DIVsyncControl.h29 virtual bool control(int disp, bool enabled) = 0;
/hardware/intel/img/hwcomposer/moorefield_hdmi/include/
DIVsyncControl.h29 virtual bool control(int disp, bool enabled) = 0;
/hardware/mediatek/libmtkplayer/
DREADME6 libmtkplayer.so is used to control FM audio data flow.

1234