Home
last modified time | relevance | path

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

1234567

/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp840 struct v4l2_control control; in venc_open() local
1001 control.id = V4L2_CID_MPEG_VIDC_VIDEO_SECURE; in venc_open()
1002 control.value = 1; in venc_open()
1004 ret=ioctl(m_nDriver_fd, VIDIOC_S_CTRL,&control); in venc_open()
1015 control.id = V4L2_CID_MPEG_VIDEO_HEADER_MODE; in venc_open()
1016 control.value = V4L2_MPEG_VIDEO_HEADER_MODE_SEPARATE; in venc_open()
1018 …INT_LOW("Calling IOCTL to disable seq_hdr in sync_frame id=%d, val=%d", control.id, control.value); in venc_open()
1020 if (ioctl(m_nDriver_fd, VIDIOC_S_CTRL, &control)) in venc_open()
1044 control.id = V4L2_CID_MPEG_VIDC_VIDEO_NUM_P_FRAMES; in venc_open()
1045 control.value = 0x7fffffff; in venc_open()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp228 struct v4l2_control control; in venc_dev() local
626 struct v4l2_control control; in handle_input_extradata() local
628 memset(&control, 0, sizeof(control)); in handle_input_extradata()
629 control.id = V4L2_CID_MPEG_VIDC_VIDEO_EXTRADATA; in handle_input_extradata()
630 if (ioctl(m_nDriver_fd, VIDIOC_G_CTRL, &control) < 0) { in handle_input_extradata()
634 if (!(control.value == V4L2_MPEG_VIDC_EXTRADATA_YUV_STATS || in handle_input_extradata()
635 control.value == V4L2_MPEG_VIDC_EXTRADATA_VQZIP_SEI || in handle_input_extradata()
636 control.value == V4L2_MPEG_VIDC_EXTRADATA_FRAME_QP || in handle_input_extradata()
637 control.value == V4L2_MPEG_VIDC_EXTRADATA_INPUT_CROP)) { in handle_input_extradata()
718 if (control.value == V4L2_MPEG_VIDC_EXTRADATA_YUV_STATS || in handle_input_extradata()
[all …]
/hardware/qcom/media/msm8974/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/libhardware/modules/camera/3_4/metadata/
Dno_effect_control_delegate_test.cpp27 NoEffectControlDelegate<int32_t> control(value); in TEST() local
29 ASSERT_EQ(control.GetValue(&actual), 0); in TEST()
35 NoEffectControlDelegate<int32_t> control(value); in TEST() local
37 ASSERT_EQ(control.SetValue(new_value), 0); in TEST()
39 ASSERT_EQ(control.GetValue(&actual), 0); in TEST()
Dignored_control_delegate_test.cpp27 IgnoredControlDelegate<int32_t> control(value); in TEST() local
29 ASSERT_EQ(control.GetValue(&actual), 0); in TEST()
35 IgnoredControlDelegate<int32_t> control(value); in TEST() local
37 ASSERT_EQ(control.SetValue(new_value), 0); in TEST()
39 ASSERT_EQ(control.GetValue(&actual), 0); in TEST()
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_sock.c125 char control[CMSG_SPACE(sizeof(int))]; in mm_camera_socket_sendmsg() local
147 msgh.msg_control = control; in mm_camera_socket_sendmsg()
148 msgh.msg_controllen = sizeof(control); in mm_camera_socket_sendmsg()
187 char control[CMSG_SPACE(sizeof(int) * numfds)]; in mm_camera_socket_bundle_sendmsg() local
210 msgh.msg_control = control; in mm_camera_socket_bundle_sendmsg()
211 msgh.msg_controllen = sizeof(control); in mm_camera_socket_bundle_sendmsg()
250 char control[CMSG_SPACE(sizeof(int))]; in mm_camera_socket_recvmsg() local
262 msgh.msg_control = control; in mm_camera_socket_recvmsg()
263 msgh.msg_controllen = sizeof(control); in mm_camera_socket_recvmsg()
/hardware/qcom/data/ipacfg-mgr/msm8998/hal/inc/
DCtUpdateAmbassador.h41 using ::android::hardware::tetheroffload::control::V1_0::ITetheringOffloadCallback;
42 using ::android::hardware::tetheroffload::control::V1_0::NetworkProtocol;
43 using HALIpAddrPortPair = ::android::hardware::tetheroffload::control::V1_0::IPv4AddrPortPair;
44 using HALNatTimeoutUpdate = ::android::hardware::tetheroffload::control::V1_0::NatTimeoutUpdate;
DHAL.h63 using ::android::hardware::tetheroffload::control::V1_0::IOffloadControl;
65 using ::android::hardware::tetheroffload::control::V1_0::ITetheringOffloadCallback;
DIpaEventRelay.h41 using ::android::hardware::tetheroffload::control::V1_0::ITetheringOffloadCallback;
/hardware/libhardware/modules/camera/3_4/
Dv4l2_wrapper.cpp244 v4l2_ext_control control; in GetControl() local
246 memset(&control, 0, sizeof(control)); in GetControl()
249 control.id = control_id; in GetControl()
252 controls.controls = &control; in GetControl()
258 *value = control.value; in GetControl()
260 v4l2_control control{control_id, 0}; in GetControl() local
261 if (IoctlLocked(VIDIOC_G_CTRL, &control) < 0) { in GetControl()
265 *value = control.value; in GetControl()
282 v4l2_ext_control control; in SetControl() local
284 memset(&control, 0, sizeof(control)); in SetControl()
[all …]
/hardware/qcom/data/ipacfg-mgr/msm8998/hal/src/
DCtUpdateAmbassador.cpp45 using ::android::hardware::tetheroffload::control::V1_0::ITetheringOffloadCallback;
46 using ::android::hardware::tetheroffload::control::V1_0::NetworkProtocol;
47 using HALIpAddrPortPair = ::android::hardware::tetheroffload::control::V1_0::IPv4AddrPortPair;
48 using HALNatTimeoutUpdate = ::android::hardware::tetheroffload::control::V1_0::NatTimeoutUpdate;
/hardware/intel/common/libva/debian.upstream/
DMakefile.am5 control.in \
17 control \
/hardware/intel/img/hwcomposer/merrifield/common/observers/
DVsyncEventObserver.cpp72 control(false); in deinitialize()
87 bool VsyncEventObserver::control(bool enabled) in control() function in android::intel::VsyncEventObserver
96 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
/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
/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 …]
/hardware/interfaces/camera/metadata/3.2/
Dtypes.hal158 * <p>The mode control selects how the image data is converted from the
194 /** android.control.aeAntibandingMode [dynamic, enum, public]
201 /** android.control.aeExposureCompensation [dynamic, int32, public]
208 /** android.control.aeLock [dynamic, enum, public]
215 /** android.control.aeMode [dynamic, enum, public]
222 /** android.control.aeRegions [dynamic, int32[], public]
228 /** android.control.aeTargetFpsRange [dynamic, int32[], public]
236 /** android.control.aePrecaptureTrigger [dynamic, enum, public]
243 /** android.control.afMode [dynamic, enum, public]
250 /** android.control.afRegions [dynamic, int32[], public]
[all …]
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp1165 struct v4l2_control control; in enable_downscalar() local
1181 memset(&control, 0x0, sizeof(struct v4l2_control)); in enable_downscalar()
1182 control.id = V4L2_CID_MPEG_VIDC_VIDEO_KEEP_ASPECT_RATIO; in enable_downscalar()
1183 control.value = 1; in enable_downscalar()
1184 rc = ioctl(drv_ctx.video_driver_fd, VIDIOC_S_CTRL, &control); in enable_downscalar()
1196 struct v4l2_control control; in disable_downscalar() local
2218 struct v4l2_control control; in component_init() local
2573 control.id = V4L2_CID_MPEG_VIDC_VIDEO_CONCEAL_COLOR; in component_init()
2574 control.value = m_conceal_color; in component_init()
2575 ret = ioctl(drv_ctx.video_driver_fd, VIDIOC_S_CTRL, &control); in component_init()
[all …]
/hardware/intel/img/hwcomposer/merrifield/ips/common/
DVsyncControl.h32 bool control(int disp, bool enabled);
/hardware/intel/img/hwcomposer/moorefield_hdmi/include/
DIVsyncControl.h29 virtual bool control(int disp, bool enabled) = 0;
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/
DVsyncControl.h32 bool control(int disp, bool enabled);
/hardware/intel/img/hwcomposer/merrifield/include/
DIVsyncControl.h29 virtual bool control(int disp, bool enabled) = 0;
/hardware/qcom/audio/legacy/libalsa-intf/
Dalsa_pcm.c400 sync_ptr->c.control.appl_ptr); in pcm_avail()
403 long avail = sync_ptr->s.status.hw_ptr - sync_ptr->c.control.appl_ptr; in pcm_avail()
408 …long avail = sync_ptr->s.status.hw_ptr - sync_ptr->c.control.appl_ptr + ((pcm->flags & PCM_MONO) ?… in pcm_avail()
461 …appl_ptr = (pcm->flags & PCM_MONO) ? sync_ptr->c.control.appl_ptr*2 : sync_ptr->c.control.appl_ptr… in dst_address()
497 …nsigned int tmp = (pcm->flags & PCM_MONO) ? sync_ptr->c.control.appl_ptr*2 : sync_ptr->c.control.a… in mmap_transfer_capture()
539 pcm->sync_ptr->c.control.appl_ptr += frames; in pcm_write_mmap()
550 bytes_written = pcm->sync_ptr->c.control.appl_ptr - pcm->sync_ptr->s.status.hw_ptr; in pcm_write_mmap()
/hardware/interfaces/tetheroffload/control/1.0/
DAndroid.bp4 name: "android.hardware.tetheroffload.control@1.0",

1234567