/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2_params.cpp | 989 struct v4l2_control control; in venc_set_param() local 990 control.id = V4L2_CID_MPEG_VIDC_VIDEO_ROI_TYPE; in venc_set_param() 991 control.value = ROI_NONE; in venc_set_param() 992 if (ioctl(m_nDriver_fd, VIDIOC_G_CTRL, &control)) { in venc_set_param() 996 auto type = static_cast<roi_type>(control.value); in venc_set_param() 1190 struct v4l2_control control; in venc_set_inband_video_header() local 1192 control.id = V4L2_CID_MPEG_VIDEO_PREPEND_SPSPPS_TO_IDR; in venc_set_inband_video_header() 1193 control.value = V4L2_MPEG_MSM_VIDC_DISABLE; in venc_set_inband_video_header() 1195 control.value = V4L2_MPEG_MSM_VIDC_ENABLE; in venc_set_inband_video_header() 1199 if(ioctl(m_nDriver_fd, VIDIOC_S_CTRL, &control) < 0) { in venc_set_inband_video_header() [all …]
|
D | video_encoder_device_v4l2.cpp | 112 struct v4l2_control control; in venc_dev() local 1510 struct v4l2_control control; in venc_open() local 1616 control.id = V4L2_CID_MPEG_VIDC_VIDEO_SECURE; in venc_open() 1617 control.value = 1; in venc_open() 1619 ret=ioctl(m_nDriver_fd, VIDIOC_S_CTRL,&control); in venc_open() 1705 control.id = V4L2_CID_MPEG_VIDEO_GOP_SIZE; in venc_open() 1706 control.value = 0x7fffffff; in venc_open() 1707 if (ioctl(m_nDriver_fd, VIDIOC_S_CTRL, &control)) in venc_open() 1713 control.id = V4L2_CID_MPEG_VIDC_VIDEO_BLUR_DIMENSIONS; in venc_open() 1714 control.value = 0x2; in venc_open() [all …]
|
/hardware/interfaces/tetheroffload/control/1.1/vts/functional/include/ |
D | OffloadControlTestV1_1.h | 28 android::hardware::tetheroffload::control::V1_1::OffloadCallbackEvent last_event; 33 virtual sp<android::hardware::tetheroffload::control::V1_0::IOffloadControl> createControl( in createControl() 35 return android::hardware::tetheroffload::control::V1_1::IOffloadControl::getService( in createControl() 40 control = createControl(std::get<1>(GetParam())); in prepareControlHal() 41 ASSERT_NE(nullptr, control.get()) << "Could not get HIDL instance"; in prepareControlHal() 53 auto control = getControlV1_1(); in initOffload() local 54 ASSERT_NE(control, nullptr); in initOffload() 55 const Return<void> ret = control->initOffload(control_cb_1_1, init_cb); in initOffload() 59 sp<android::hardware::tetheroffload::control::V1_1::IOffloadControl> getControlV1_1() { in getControlV1_1() 62 return android::hardware::tetheroffload::control::V1_1::IOffloadControl::castFrom(control) in getControlV1_1() [all …]
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 840 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/ |
D | video_encoder_device_v4l2.cpp | 228 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/ |
D | video_encoder_device_copper.cpp | 1709 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/ |
D | video_encoder_device_v4l2.cpp | 178 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/ |
D | VtsHalTetheroffloadControlV1_0TargetTest.cpp | 30 using android::hardware::tetheroffload::control::V1_0::IOffloadControl; 71 control->setUpstreamParameters(TEST_IFACE, v4Addr, v4Gw, v6Gws, ASSERT_TRUE_CALLBACK); in TEST_P() 87 const Return<void> ret = control->setLocalPrefixes(prefixes, ASSERT_FALSE_CALLBACK); in TEST_P() 95 const Return<void> ret = control->getForwardedStats(upstream, ASSERT_ZERO_BYTES_CALLBACK); in TEST_P() 103 const Return<void> ret = control->setDataLimit(upstream, limit, ASSERT_FALSE_CALLBACK); in TEST_P() 115 control->setUpstreamParameters(iface, v4Addr, v4Gw, v6Gws, ASSERT_FALSE_CALLBACK); in TEST_P() 124 const Return<void> ret = control->addDownstream(iface, prefix, ASSERT_FALSE_CALLBACK); in TEST_P() 133 const Return<void> ret = control->addDownstream(iface, prefix, ASSERT_FALSE_CALLBACK); in TEST_P() 142 const Return<void> ret = control->removeDownstream(iface, prefix, ASSERT_FALSE_CALLBACK); in TEST_P() 151 const Return<void> ret = control->removeDownstream(iface, prefix, ASSERT_FALSE_CALLBACK); in TEST_P() [all …]
|
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 134 struct v4l2_control control; in venc_dev() local 1648 struct v4l2_control control; in venc_open() local 1839 control.id = V4L2_CID_MPEG_VIDC_VIDEO_SECURE; in venc_open() 1840 control.value = 1; in venc_open() 1842 ret=ioctl(m_nDriver_fd, VIDIOC_S_CTRL,&control); in venc_open() 1853 control.id = V4L2_CID_MPEG_VIDEO_HEADER_MODE; in venc_open() 1854 control.value = V4L2_MPEG_VIDEO_HEADER_MODE_SEPARATE; in venc_open() 1856 …INT_LOW("Calling IOCTL to disable seq_hdr in sync_frame id=%d, val=%d", control.id, control.value); in venc_open() 1858 if (ioctl(m_nDriver_fd, VIDIOC_S_CTRL, &control)) in venc_open() 1884 control.id = V4L2_CID_MPEG_VIDC_VIDEO_NUM_P_FRAMES; in venc_open() [all …]
|
/hardware/libhardware/modules/camera/3_4/metadata/ |
D | no_effect_control_delegate_test.cpp | 27 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()
|
D | ignored_control_delegate_test.cpp | 27 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/interfaces/tetheroffload/control/1.0/vts/functional/include/ |
D | OffloadControlTestV1_0.h | 29 virtual sp<android::hardware::tetheroffload::control::V1_0::IOffloadControl> createControl( in createControl() 31 return android::hardware::tetheroffload::control::V1_0::IOffloadControl::getService( in createControl() 36 control = createControl(std::get<1>(GetParam())); in prepareControlHal() 37 ASSERT_NE(nullptr, control.get()) << "Could not get HIDL instance"; in prepareControlHal() 49 const Return<void> ret = control->initOffload(control_cb, init_cb); in initOffload()
|
D | OffloadControlTestBase.h | 39 using android::hardware::tetheroffload::control::V1_0::ITetheringOffloadCallback; 40 using android::hardware::tetheroffload::control::V1_0::NatTimeoutUpdate; 41 using android::hardware::tetheroffload::control::V1_0::OffloadCallbackEvent; 66 virtual sp<android::hardware::tetheroffload::control::V1_0::IOffloadControl> createControl( 106 sp<android::hardware::tetheroffload::control::V1_0::IOffloadControl> control; variable
|
/hardware/google/gfxstream/guest/mesa/src/util/ |
D | u_debug.c | 420 const struct debug_control *control) in parse_debug_string() argument 425 for (; control->string != NULL; control++) { in parse_debug_string() 427 flag |= control->flag; in parse_debug_string() 434 if (strlen(control->string) == n && in parse_debug_string() 435 !strncmp(control->string, s, n)) in parse_debug_string() 436 flag |= control->flag; in parse_debug_string() 449 const struct debug_control *control) in parse_enable_string() argument 454 for (; control->string != NULL; control++) { in parse_enable_string() 456 flag |= control->flag; in parse_enable_string() 473 if (strlen(control->string) == n && in parse_enable_string() [all …]
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_sock.c | 125 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/google/pixel/thermal/ |
D | pixel-thermal-logd.rc | 17 on property:persist.vendor.disable.thermal.control=* 18 setprop vendor.disable.thermal.control ${persist.vendor.disable.thermal.control} 20 on property:persist.vendor.disable.thermalhal.control=* 21 setprop vendor.disable.thermalhal.control ${persist.vendor.disable.thermalhal.control} 24 …setprop vendor.disable.usb.overheat.mitigation.control ${persist.vendor.disable.usb.overheat.mitig… 26 on property:persist.vendor.disable.bcl.control=* 27 setprop vendor.disable.bcl.control ${persist.vendor.disable.bcl.control} 29 on property:vendor.disable.thermalhal.control=* && property:vendor.thermal.link_ready=1 32 on property:vendor.disable.thermal.control=1 && property:vendor.thermal.link_ready=1 35 setprop vendor.disable.thermalhal.control 1 [all …]
|
/hardware/qcom/data/ipacfg-mgr/msm8998/hal/inc/ |
D | CtUpdateAmbassador.h | 41 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/ |
D | CtUpdateAmbassador.h | 41 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/interfaces/automotive/audiocontrol/aidl/rust_impl/ |
D | README.md | 3 WARNING: This is not a reference audio control HAl implementation and does 6 This folder contains a skeleton audio control HAL implementation in Rust to 7 demonstrate how vendor may implement a Rust audio control HAL. To run this 8 audio control HAL, include
|
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_v4l2_params.cpp | 607 struct v4l2_control control; in set_parameter() local 609 control.id = V4L2_CID_MPEG_VIDC_VIDEO_FRAME_RATE; in set_parameter() 610 … control.value = drv_ctx.frame_rate.fps_numerator / drv_ctx.frame_rate.fps_denominator; in set_parameter() 611 control.value <<= 16; in set_parameter() 612 …control.value |= (0x0000FFFF & (drv_ctx.frame_rate.fps_numerator % drv_ctx.frame_rate.fps_denomina… in set_parameter() 613 … DEBUG_PRINT_LOW("Calling IOCTL set control for id=%d, val=%d", control.id, control.value); in set_parameter() 614 … ret = ioctl(drv_ctx.video_driver_fd, VIDIOC_S_CTRL, &control); in set_parameter() 616 … DEBUG_PRINT_ERROR("Failed to set control, id %#x, value %d", control.id, control.value); in set_parameter() 895 struct v4l2_control control; in set_parameter() local 899 control.id = V4L2_CID_MPEG_VIDC_VIDEO_LOWLATENCY_MODE; in set_parameter() [all …]
|
/hardware/libhardware/modules/camera/3_4/ |
D | v4l2_wrapper.cpp | 242 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/ |
D | IVibrator.hal | 25 * 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/ |
D | CtUpdateAmbassador.cpp | 45 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/google/gfxstream/guest/mesa/src/vulkan/overlay-layer/ |
D | README.rst | 54 Logging is enabled for the entire lifecycle of the process unless a control socket is specified (se… 63 …ER_MESA_overlay VK_LAYER_MESA_OVERLAY_CONFIG=output_file=/tmp/output.txt,control=mesa_overlay /pat… 65 …l open a Unix socket with the abstract path :code:`mesa_overlay`. When a control socket is specifi… 66 logging must be explicitly enabled through the control socket. :code:`mesa-overlay-control.py` prov… 70 mesa-overlay-control.py start-capture 74 mesa-overlay-control.py stop-capture
|
/hardware/qcom/sm8150/data/ipacfg-mgr/hal/src/ |
D | CtUpdateAmbassador.cpp | 45 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;
|