Home
last modified time | relevance | path

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

123456789

/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/sdm845/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp101 struct v4l2_control control; in venc_dev() local
1363 struct v4l2_control control; in venc_open() local
1524 control.id = V4L2_CID_MPEG_VIDC_VIDEO_SECURE; in venc_open()
1525 control.value = 1; in venc_open()
1527 ret=ioctl(m_nDriver_fd, VIDIOC_S_CTRL,&control); in venc_open()
1538 control.id = V4L2_CID_MPEG_VIDEO_HEADER_MODE; in venc_open()
1539 control.value = V4L2_MPEG_VIDEO_HEADER_MODE_SEPARATE; in venc_open()
1541 …INT_LOW("Calling IOCTL to disable seq_hdr in sync_frame id=%d, val=%d", control.id, control.value); in venc_open()
1543 if (ioctl(m_nDriver_fd, VIDIOC_S_CTRL, &control)) in venc_open()
1569 control.id = V4L2_CID_MPEG_VIDC_VIDEO_NUM_P_FRAMES; in venc_open()
[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/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp178 struct v4l2_control control; in venc_dev() local
1274 struct v4l2_control control; in venc_open() local
1461 control.id = V4L2_CID_MPEG_VIDC_VIDEO_SECURE; in venc_open()
1462 control.value = 1; in venc_open()
1464 ret=ioctl(m_nDriver_fd, VIDIOC_S_CTRL,&control); in venc_open()
1474 control.id = V4L2_CID_MPEG_VIDEO_HEADER_MODE; in venc_open()
1475 control.value = V4L2_MPEG_VIDEO_HEADER_MODE_SEPARATE; in venc_open()
1477 …INT_LOW("Calling IOCTL to disable seq_hdr in sync_frame id=%d, val=%d", control.id, control.value); in venc_open()
1479 if (ioctl(m_nDriver_fd, VIDIOC_S_CTRL, &control)) in venc_open()
1504 control.id = V4L2_CID_MPEG_VIDC_VIDEO_NUM_P_FRAMES; in venc_open()
[all …]
/hardware/interfaces/tetheroffload/control/1.0/vts/functional/
DVtsHalTetheroffloadControlV1_0TargetTest.cpp43 using android::hardware::tetheroffload::control::V1_0::IOffloadControl;
44 using android::hardware::tetheroffload::control::V1_0::IPv4AddrPortPair;
45 using android::hardware::tetheroffload::control::V1_0::ITetheringOffloadCallback;
46 using android::hardware::tetheroffload::control::V1_0::OffloadCallbackEvent;
47 using android::hardware::tetheroffload::control::V1_0::NatTimeoutUpdate;
48 using android::hardware::tetheroffload::control::V1_0::NetworkProtocol;
161 control = IOffloadControl::getService(std::get<1>(GetParam())); in prepareControlHal()
162 ASSERT_NE(nullptr, control.get()) << "Could not get HIDL instance"; in prepareControlHal()
174 const Return<void> ret = control->initOffload(control_cb, init_cb); in initOffload()
196 const Return<void> ret = control->stopOffload(cb); in stopOffload()
[all …]
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp124 struct v4l2_control control; in venc_dev() local
1634 struct v4l2_control control; in venc_open() local
1795 control.id = V4L2_CID_MPEG_VIDC_VIDEO_SECURE; in venc_open()
1796 control.value = 1; in venc_open()
1798 ret=ioctl(m_nDriver_fd, VIDIOC_S_CTRL,&control); in venc_open()
1809 control.id = V4L2_CID_MPEG_VIDEO_HEADER_MODE; in venc_open()
1810 control.value = V4L2_MPEG_VIDEO_HEADER_MODE_SEPARATE; in venc_open()
1812 …INT_LOW("Calling IOCTL to disable seq_hdr in sync_frame id=%d, val=%d", control.id, control.value); in venc_open()
1814 if (ioctl(m_nDriver_fd, VIDIOC_S_CTRL, &control)) in venc_open()
1840 control.id = V4L2_CID_MPEG_VIDC_VIDEO_NUM_P_FRAMES; in venc_open()
[all …]
/hardware/libhardware/modules/camera/3_4/metadata/
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()
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()
/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;
/hardware/qcom/sdm845/data/ipacfg-mgr/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;
/hardware/qcom/sm8150/data/ipacfg-mgr/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;
/hardware/libhardware/modules/camera/3_4/
Dv4l2_wrapper.cpp242 v4l2_ext_control control; in GetControl() local
244 memset(&control, 0, sizeof(control)); in GetControl()
247 control.id = control_id; in GetControl()
250 controls.controls = &control; in GetControl()
256 *value = control.value; in GetControl()
258 v4l2_control control{control_id, 0}; in GetControl() local
259 if (IoctlLocked(VIDIOC_G_CTRL, &control) < 0) { in GetControl()
263 *value = control.value; in GetControl()
280 v4l2_ext_control control; in SetControl() local
282 memset(&control, 0, sizeof(control)); in SetControl()
[all …]
/hardware/interfaces/vibrator/1.3/
DIVibrator.hal25 * Returns whether the vibrator supports control through an alternate interface.
30 * Enables/disables control override of vibrator to audio.
32 * When this API is set, the vibrator control should be ceded to audio system
33 * for haptic audio. While this is enabled, issuing of other commands to control
35 * control may or may not be supported and is reflected in the return value of
39 * @param enabled Whether external control should be enabled or disabled.
41 * Status::UNSUPPORTED_OPERATION if external control is
/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;
DIpaEventRelay.cpp40 using ::android::hardware::tetheroffload::control::V1_0::ITetheringOffloadCallback;
41 using ::android::hardware::tetheroffload::control::V1_0::OffloadCallbackEvent;
/hardware/qcom/sdm845/data/ipacfg-mgr/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;
DIpaEventRelay.cpp40 using ::android::hardware::tetheroffload::control::V1_0::ITetheringOffloadCallback;
41 using ::android::hardware::tetheroffload::control::V1_0::OffloadCallbackEvent;
/hardware/qcom/sm8150/data/ipacfg-mgr/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;
DIpaEventRelay.cpp40 using ::android::hardware::tetheroffload::control::V1_0::ITetheringOffloadCallback;
41 using ::android::hardware::tetheroffload::control::V1_0::OffloadCallbackEvent;
/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/libhardware_legacy/
Dpower_test.cpp96 sp<IBinder> control = in SetUp() local
98 ASSERT_NE(control, nullptr) << "failed to get the suspend control service"; in SetUp()
99 controlService = interface_cast<ISuspendControlService>(control); in SetUp()
/hardware/knowles/athletico/sound_trigger_hal/tests/
Dodsp_api_test.c88 unsigned int block_id, int control) { in plugin_control() argument
91 if (control) in plugin_control()
99 if (control) { in plugin_control()

123456789