/hardware/qcom/wlan/legacy/qcwcn/wifi_hal/wifi_hal_ctrl/ |
D | wifi_hal_ctrl.c | 41 struct wifihal_ctrl *ctrl; in wifihal_ctrl_open2() local 57 ctrl = malloc(sizeof(*ctrl)); in wifihal_ctrl_open2() 58 if (ctrl == NULL) { in wifihal_ctrl_open2() 62 memset(ctrl, 0, sizeof(*ctrl)); in wifihal_ctrl_open2() 63 ctrl->s = socket(PF_UNIX, SOCK_DGRAM, 0); in wifihal_ctrl_open2() 64 if (ctrl->s < 0) { in wifihal_ctrl_open2() 65 free(ctrl); in wifihal_ctrl_open2() 69 ctrl->local.sun_family = AF_UNIX; in wifihal_ctrl_open2() 73 res = strlcpy(ctrl->local.sun_path, cli_path, in wifihal_ctrl_open2() 74 sizeof(ctrl->local.sun_path)); in wifihal_ctrl_open2() [all …]
|
D | wifi_hal_ctrl.h | 186 void wifihal_ctrl_close(struct wifihal_ctrl *ctrl); 217 int wifihal_ctrl_request(struct wifihal_ctrl *ctrl, const char *cmd, size_t cmd_len,
|
/hardware/qcom/wlan/wcn6740/qcwcn/wifi_hal/wifi_hal_ctrl/ |
D | wifi_hal_ctrl.c | 41 struct wifihal_ctrl *ctrl; in wifihal_ctrl_open2() local 57 ctrl = malloc(sizeof(*ctrl)); in wifihal_ctrl_open2() 58 if (ctrl == NULL) { in wifihal_ctrl_open2() 62 memset(ctrl, 0, sizeof(*ctrl)); in wifihal_ctrl_open2() 63 ctrl->s = socket(PF_UNIX, SOCK_DGRAM, 0); in wifihal_ctrl_open2() 64 if (ctrl->s < 0) { in wifihal_ctrl_open2() 65 free(ctrl); in wifihal_ctrl_open2() 69 ctrl->local.sun_family = AF_UNIX; in wifihal_ctrl_open2() 73 res = strlcpy(ctrl->local.sun_path, cli_path, in wifihal_ctrl_open2() 74 sizeof(ctrl->local.sun_path)); in wifihal_ctrl_open2() [all …]
|
D | wifi_hal_ctrl.h | 186 void wifihal_ctrl_close(struct wifihal_ctrl *ctrl); 207 int wifihal_ctrl_request2(struct wifihal_ctrl *ctrl, const char *cmd, size_t cmd_len, 226 int wifihal_ctrl_request(struct wifihal_ctrl *ctrl, const char *cmd, size_t cmd_len,
|
/hardware/google/graphics/common/libscaler/ |
D | libscalerblend-v4l2.cpp | 10 struct v4l2_control ctrl; in DevSetCtrl() local 19 ctrl.id = V4L2_CID_2D_BLEND_OP; in DevSetCtrl() 20 ctrl.value = m_SrcBlndCfg.blop; in DevSetCtrl() 21 if (ioctl(m_fdScaler, VIDIOC_S_CTRL, &ctrl) < 0) { in DevSetCtrl() 27 ctrl.id = V4L2_CID_GLOBAL_ALPHA; in DevSetCtrl() 28 ctrl.value = m_SrcBlndCfg.globalalpha.val; in DevSetCtrl() 29 if (ioctl(m_fdScaler, VIDIOC_S_CTRL, &ctrl) < 0) { in DevSetCtrl() 34 ctrl.id = V4L2_CID_GLOBAL_ALPHA; in DevSetCtrl() 35 ctrl.value = 0xff; in DevSetCtrl() 36 if (ioctl(m_fdScaler, VIDIOC_S_CTRL, &ctrl) < 0) { in DevSetCtrl() [all …]
|
D | libscaler-v4l2.cpp | 144 struct v4l2_control ctrl; in SetCtrl() local 150 ctrl.id = V4L2_CID_CONTENT_PROTECTION; in SetCtrl() 151 ctrl.value = TestFlag(m_fStatus, SCF_DRM); in SetCtrl() 152 if (ioctl(m_fdScaler, VIDIOC_S_CTRL, &ctrl) < 0) { in SetCtrl() 166 ctrl.id = V4L2_CID_ROTATE; in SetCtrl() 167 ctrl.value = m_nRotDegree; in SetCtrl() 168 if (ioctl(m_fdScaler, VIDIOC_S_CTRL, &ctrl) < 0) { in SetCtrl() 173 ctrl.id = V4L2_CID_VFLIP; in SetCtrl() 174 ctrl.value = TestFlag(m_fStatus, SCF_HFLIP); in SetCtrl() 175 if (ioctl(m_fdScaler, VIDIOC_S_CTRL, &ctrl) < 0) { in SetCtrl() [all …]
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/inc/ |
D | mm_qcamera_commands.h | 41 int tuneserver_initialize_tuningp(void * ctrl, int client_socket_id, 43 int tuneserver_deinitialize_tuningp(void * ctrl, int client_socket_id, 45 int tuneserver_process_get_list_cmd(void * ctrl, void *recv_cmd, 47 int tuneserver_process_misc_cmd(void * ctrl, void *recv_cmd, 49 int tuneserver_process_get_params_cmd(void * ctrl, void *recv_cmd, 51 int tuneserver_process_set_params_cmd(void * ctrl, void *recv_cmd, 54 int tuneserver_initialize_prevtuningp(void * ctrl, 57 int tuneserver_deinitialize_prevtuningp(void * ctrl, 59 int tuneserver_preview_getinfo(void * ctrl, 61 int tuneserver_preview_getchunksize(void * ctrl, [all …]
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_commands.c | 37 int tuneserver_initialize_prevtuningp(void * ctrl, in tuneserver_initialize_prevtuningp() argument 42 mm_camera_lib_handle *lib_handle = (mm_camera_lib_handle *) ctrl; in tuneserver_initialize_prevtuningp() 64 int tuneserver_deinitialize_prevtuningp(void * ctrl, in tuneserver_deinitialize_prevtuningp() argument 68 tuningserver_t *tctrl = (tuningserver_t *) ctrl; in tuneserver_deinitialize_prevtuningp() 78 int tuneserver_preview_getinfo(void * ctrl, char **send_buf, uint32_t *send_len) in tuneserver_preview_getinfo() argument 81 tuningserver_t *tctrl = (tuningserver_t *) ctrl; in tuneserver_preview_getinfo() 90 int tuneserver_preview_getchunksize(void * ctrl, in tuneserver_preview_getchunksize() argument 94 tuningserver_t *tctrl = (tuningserver_t *) ctrl; in tuneserver_preview_getchunksize() 104 int tuneserver_preview_getframe(void * ctrl, in tuneserver_preview_getframe() argument 108 tuningserver_t *tctrl = (tuningserver_t *) ctrl; in tuneserver_preview_getframe() [all …]
|
D | mm_qcamera_main_menu.c | 1498 struct v4l2_control ctrl; in get_ctrl_value() 1502 ctrl.id = V4L2_CID_AUTO_WHITE_BALANCE; in get_ctrl_value() 1506 ctrl.id = V4L2_CID_WHITE_BALANCE_TEMPERATURE; in get_ctrl_value() 1510 ctrl.id = V4L2_CID_BRIGHTNESS; in get_ctrl_value() 1514 ctrl.id = V4L2_CID_EXPOSURE; in get_ctrl_value() 1518 ctrl.id = V4L2_CID_CONTRAST; in get_ctrl_value() 1522 ctrl.id = V4L2_CID_SATURATION; in get_ctrl_value() 1525 ctrl.id = V4L2_CID_SHARPNESS; in get_ctrl_value()
|
/hardware/qcom/display/msm8960/liboverlay/pipes/ |
D | overlayGenPipe.cpp | 56 if(!mCtrlData.ctrl.init(mFbNum)) { in init() 75 if(!mCtrlData.ctrl.close()) { in close() 99 mCtrlData.ctrl.setSource(args); in setSource() 103 mCtrlData.ctrl.setCrop(d); in setCrop() 111 mCtrlData.ctrl.setTransform(orient); in setTransform() 115 mCtrlData.ctrl.setPosition(d); in setPosition() 120 return mCtrlData.ctrl.setVisualParams(metadata); in setVisualParams() 128 ovutils::Dim src(mCtrlData.ctrl.getCrop()); in commit() 129 ovutils::Dim dst(mCtrlData.ctrl.getPosition()); in commit() 152 mCtrlData.ctrl.updateSrcFormat(mRot->getDstFormat()); in commit() [all …]
|
/hardware/google/graphics/common/libgscaler/ |
D | libgscaler_obj.cpp | 365 struct v4l2_control ctrl; in m_gsc_m2m_stop() local 367 ctrl.id = V4L2_CID_CONTENT_PROTECTION; in m_gsc_m2m_stop() 368 ctrl.value = 0; in m_gsc_m2m_stop() 369 if (ioctl(gsc->gsc_fd, VIDIOC_S_CTRL, &ctrl) < 0) { in m_gsc_m2m_stop() 458 struct v4l2_control ctrl; in m_gsc_m2m_run_core() local 460 ctrl.id = V4L2_CID_CONTENT_PROTECTION; in m_gsc_m2m_run_core() 461 ctrl.value = is_drm; in m_gsc_m2m_run_core() 462 if (ioctl(gsc->gsc_fd,VIDIOC_S_CTRL, &ctrl) < 0) { in m_gsc_m2m_run_core() 493 struct v4l2_control ctrl; in m_gsc_m2m_run_core() local 495 ctrl.id = V4L2_CID_CSC_EQ_MODE; in m_gsc_m2m_run_core() [all …]
|
/hardware/interfaces/automotive/can/1.0/tools/libcanhaltools/ |
D | libcanhaltools.cpp | 42 bool isSupported(sp<ICanController> ctrl, ICanController::InterfaceType iftype) { in isSupported() argument 44 if (!ctrl->getSupportedInterfaceTypes(hidl_utils::fill(&supported)).isOk()) return false; in isSupported() 67 auto ctrl = ICanController::getService(service); in configureIface() local 68 if (ctrl == nullptr) { in configureIface() 73 if (!libcanhaltools::isSupported(ctrl, iftype)) continue; in configureIface() 75 const auto up_result = ctrl->upInterface(can_config); in configureIface()
|
/hardware/interfaces/automotive/can/1.0/tools/ |
D | canhalctrl.cpp | 50 auto ctrl = ICanController::getService(service); in up() local 51 if (ctrl == nullptr) { in up() 56 if (!libcanhaltools::isSupported(ctrl, type)) continue; in up() 86 const auto upresult = ctrl->upInterface(config); in up() 100 auto ctrl = ICanController::getService(service); in down() local 101 if (ctrl == nullptr) continue; in down() 103 if (ctrl->downInterface(busName)) return 0; in down()
|
/hardware/google/graphics/common/libv4l2/ |
D | exynos_v4l2.c | 716 struct v4l2_control ctrl; in exynos_v4l2_g_ctrl() local 720 ctrl.id = id; in exynos_v4l2_g_ctrl() 727 ret = ioctl(fd, VIDIOC_G_CTRL, &ctrl); in exynos_v4l2_g_ctrl() 733 *value = ctrl.value; in exynos_v4l2_g_ctrl() 743 struct v4l2_control ctrl; in exynos_v4l2_s_ctrl() local 747 ctrl.id = id; in exynos_v4l2_s_ctrl() 748 ctrl.value = value; in exynos_v4l2_s_ctrl() 755 ret = ioctl(fd, VIDIOC_S_CTRL, &ctrl); in exynos_v4l2_s_ctrl() 842 int exynos_v4l2_g_ext_ctrl(int fd, struct v4l2_ext_controls *ctrl) in exynos_v4l2_g_ext_ctrl() argument 853 if (ctrl == NULL) { in exynos_v4l2_g_ext_ctrl() [all …]
|
D | exynos_v4l2.h | 95 int exynos_v4l2_g_ext_ctrl(int fd, struct v4l2_ext_controls *ctrl); 97 int exynos_v4l2_s_ext_ctrl(int fd, struct v4l2_ext_controls *ctrl);
|
/hardware/google/graphics/common/libhwjpeg/ |
D | hwjpeg-v4l2.cpp | 142 v4l2_ext_control ctrl; in SetQuality() local 145 memset(&ctrl, 0, sizeof(ctrl)); in SetQuality() 148 ctrls.controls = &ctrl; in SetQuality() 151 ctrl.id = V4L2_CID_JPEG_QTABLES2; in SetQuality() 152 ctrl.size = 128; /* two quantization tables */ in SetQuality() 153 ctrl.p_u8 = const_cast<unsigned char *>(qtable); in SetQuality() 491 v4l2_ext_control ctrl[HWJPEG_CTRL_NUM]; in UpdateControls() local 494 memset(&ctrl, 0, sizeof(ctrl)); in UpdateControls() 497 ctrls.controls = ctrl; in UpdateControls() 501 ctrl[ctrls.count].id = m_v4l2Controls[idx_ctrl].id; in UpdateControls() [all …]
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 3119 struct v4l2_ext_control ctrl[4]; in venc_enable_initial_qp() local 3122 ctrl[0].id = V4L2_CID_MPEG_VIDC_VIDEO_I_FRAME_QP; in venc_enable_initial_qp() 3123 ctrl[0].value = initqp->nQpI; in venc_enable_initial_qp() 3124 ctrl[1].id = V4L2_CID_MPEG_VIDC_VIDEO_P_FRAME_QP; in venc_enable_initial_qp() 3125 ctrl[1].value = initqp->nQpP; in venc_enable_initial_qp() 3126 ctrl[2].id = V4L2_CID_MPEG_VIDC_VIDEO_B_FRAME_QP; in venc_enable_initial_qp() 3127 ctrl[2].value = initqp->nQpB; in venc_enable_initial_qp() 3128 ctrl[3].id = V4L2_CID_MPEG_VIDC_VIDEO_ENABLE_INITIAL_QP; in venc_enable_initial_qp() 3129 ctrl[3].value = initqp->bEnableInitQp; in venc_enable_initial_qp() 3133 controls.controls = ctrl; in venc_enable_initial_qp() [all …]
|
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 5221 struct v4l2_ext_control ctrl[7]; in venc_set_session_qp_range() local 5224 ctrl[0].id = V4L2_CID_MPEG_VIDC_VIDEO_LAYER_ID; in venc_set_session_qp_range() 5225 ctrl[0].value = MSM_VIDC_ALL_LAYER_ID; in venc_set_session_qp_range() 5227 ctrl[1].id = V4L2_CID_MPEG_VIDC_VIDEO_I_FRAME_QP_MIN; in venc_set_session_qp_range() 5228 ctrl[1].value = qp_range->minIQP; in venc_set_session_qp_range() 5230 ctrl[2].id = V4L2_CID_MPEG_VIDC_VIDEO_I_FRAME_QP_MAX; in venc_set_session_qp_range() 5231 ctrl[2].value = qp_range->maxIQP; in venc_set_session_qp_range() 5233 ctrl[3].id = V4L2_CID_MPEG_VIDC_VIDEO_P_FRAME_QP_MIN; in venc_set_session_qp_range() 5234 ctrl[3].value = qp_range->minPQP; in venc_set_session_qp_range() 5236 ctrl[4].id = V4L2_CID_MPEG_VIDC_VIDEO_P_FRAME_QP_MAX; in venc_set_session_qp_range() [all …]
|
/hardware/interfaces/automotive/can/1.0/tools/libcanhaltools/include/libcanhaltools/ |
D | libcanhaltools.h | 38 bool isSupported(sp<V1_0::ICanController> ctrl, V1_0::ICanController::InterfaceType iftype);
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 4195 struct v4l2_ext_control ctrl[4]; in venc_enable_initial_qp() local 4198 ctrl[0].id = V4L2_CID_MPEG_VIDC_VIDEO_I_FRAME_QP; in venc_enable_initial_qp() 4199 ctrl[0].value = initqp->nQpI; in venc_enable_initial_qp() 4200 ctrl[1].id = V4L2_CID_MPEG_VIDC_VIDEO_P_FRAME_QP; in venc_enable_initial_qp() 4201 ctrl[1].value = initqp->nQpP; in venc_enable_initial_qp() 4202 ctrl[2].id = V4L2_CID_MPEG_VIDC_VIDEO_B_FRAME_QP; in venc_enable_initial_qp() 4203 ctrl[2].value = initqp->nQpB; in venc_enable_initial_qp() 4204 ctrl[3].id = V4L2_CID_MPEG_VIDC_VIDEO_ENABLE_INITIAL_QP; in venc_enable_initial_qp() 4205 ctrl[3].value = initqp->bEnableInitQp; in venc_enable_initial_qp() 4209 controls.controls = ctrl; in venc_enable_initial_qp() [all …]
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 4756 struct v4l2_ext_control ctrl[4]; in venc_enable_initial_qp() local 4759 ctrl[0].id = V4L2_CID_MPEG_VIDC_VIDEO_I_FRAME_QP; in venc_enable_initial_qp() 4760 ctrl[0].value = initqp->nQpI; in venc_enable_initial_qp() 4761 ctrl[1].id = V4L2_CID_MPEG_VIDC_VIDEO_P_FRAME_QP; in venc_enable_initial_qp() 4762 ctrl[1].value = initqp->nQpP; in venc_enable_initial_qp() 4763 ctrl[2].id = V4L2_CID_MPEG_VIDC_VIDEO_B_FRAME_QP; in venc_enable_initial_qp() 4764 ctrl[2].value = initqp->nQpB; in venc_enable_initial_qp() 4765 ctrl[3].id = V4L2_CID_MPEG_VIDC_VIDEO_ENABLE_INITIAL_QP; in venc_enable_initial_qp() 4766 ctrl[3].value = initqp->bEnableInitQp; in venc_enable_initial_qp() 4770 controls.controls = ctrl; in venc_enable_initial_qp() [all …]
|
/hardware/google/gchips/include/ |
D | exynos_v4l2.h | 95 int exynos_v4l2_g_ext_ctrl(int fd, struct v4l2_ext_controls *ctrl); 97 int exynos_v4l2_s_ext_ctrl(int fd, struct v4l2_ext_controls *ctrl);
|
/hardware/qcom/wlan/wcn6740/qcwcn/wifi_hal/ |
D | Android.bp | 33 name: "libwifi-hal-ctrl", 147 "libwifi-hal-ctrl",
|
/hardware/google/graphics/common/libhwc2.1/libhwcService/ |
D | ExynosHWCService.cpp | 307 int ExynosHWCService::setHWCCtl(uint32_t display, uint32_t ctrl, int32_t val) in setHWCCtl() argument 310 switch (ctrl) { in setHWCCtl() 332 ALOGI("%s::%d on/off=%d", __func__, ctrl, val); in setHWCCtl() 333 mHWCCtx->device->setHWCControl(display, ctrl, val); in setHWCCtl() 336 ALOGE("%s: unsupported HWC_CTL, (%d)", __func__, ctrl); in setHWCCtl()
|
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 4094 struct v4l2_control ctrl; in venc_set_blur_resolution() local 4096 ctrl.id = V4L2_CID_MPEG_VIDC_VIDEO_BLUR_DIMENSIONS; in venc_set_blur_resolution() 4097 ctrl.value = blurInfo->nBlurInfo; in venc_set_blur_resolution() 4099 if(ioctl(m_nDriver_fd, VIDIOC_S_CTRL, &ctrl)) { in venc_set_blur_resolution() 4156 struct v4l2_control ctrl; in venc_set_bitrate_ratios() local 4172 ctrl.id = ids[i]; in venc_set_bitrate_ratios() 4173 ctrl.value = temporal_layers_config.nTemporalLayerBitrateRatio[i]; in venc_set_bitrate_ratios() 4175 rc = ioctl(m_nDriver_fd, VIDIOC_S_CTRL, &ctrl); in venc_set_bitrate_ratios() 4178 ctrl.id, ctrl.value, rc); in venc_set_bitrate_ratios() 4438 struct v4l2_control ctrl; in venc_superframe_enable() local [all …]
|