Lines Matching refs:ctrls

22 #include <media/v4l2-ctrls.h>
69 ret = s5c73m3_get_af_status(state, state->ctrls.af_status);
95 v4l2_ctrl_get_menu(state->ctrls.colorfx->id)[i]);
107 struct s5c73m3_ctrls *ctrls = &state->ctrls;
110 if (ctrls->exposure_metering->is_new) {
113 switch (ctrls->exposure_metering->val) {
128 if (!ret && ctrls->exposure_bias->is_new) {
129 u16 exp_bias = ctrls->exposure_bias->val;
135 ctrls->exposure_bias->val, ctrls->exposure_metering->val, ret);
158 v4l2_ctrl_get_menu(state->ctrls.auto_wb->id)[i]);
168 struct s5c73m3_ctrls *c = &state->ctrls;
196 && state->ctrls.auto_wb->val) {
211 struct s5c73m3_ctrls *c = &state->ctrls;
257 iso = state->ctrls.iso->val + 1;
308 v4l2_ctrl_get_menu(state->ctrls.scene_mode->id)[val]);
444 struct s5c73m3_ctrls *ctrls = &state->ctrls;
445 struct v4l2_ctrl_handler *hdl = &ctrls->handler;
452 ctrls->auto_wb = v4l2_ctrl_new_std_menu(hdl, ops,
457 ctrls->auto_exposure = v4l2_ctrl_new_std_menu(hdl, ops,
460 ctrls->exposure_bias = v4l2_ctrl_new_int_menu(hdl, ops,
466 ctrls->exposure_metering = v4l2_ctrl_new_std_menu(hdl, ops,
471 ctrls->focus_auto = v4l2_ctrl_new_std(hdl, ops,
474 ctrls->af_start = v4l2_ctrl_new_std(hdl, ops,
477 ctrls->af_stop = v4l2_ctrl_new_std(hdl, ops,
480 ctrls->af_status = v4l2_ctrl_new_std(hdl, ops,
487 ctrls->af_distance = v4l2_ctrl_new_std_menu(hdl, ops,
494 ctrls->auto_iso = v4l2_ctrl_new_std_menu(hdl, ops,
498 ctrls->iso = v4l2_ctrl_new_int_menu(hdl, ops,
502 ctrls->contrast = v4l2_ctrl_new_std(hdl, ops,
505 ctrls->saturation = v4l2_ctrl_new_std(hdl, ops,
508 ctrls->sharpness = v4l2_ctrl_new_std(hdl, ops,
511 ctrls->zoom = v4l2_ctrl_new_std(hdl, ops,
514 ctrls->colorfx = v4l2_ctrl_new_std_menu(hdl, ops, V4L2_CID_COLORFX,
517 ctrls->wdr = v4l2_ctrl_new_std(hdl, ops,
520 ctrls->stabilization = v4l2_ctrl_new_std(hdl, ops,
527 ctrls->jpeg_quality = v4l2_ctrl_new_std(hdl, ops,
530 ctrls->scene_mode = v4l2_ctrl_new_std_menu(hdl, ops,
534 ctrls->aaa_lock = v4l2_ctrl_new_std(hdl, ops,
543 v4l2_ctrl_auto_cluster(3, &ctrls->auto_exposure, 0, false);
544 ctrls->auto_iso->flags |= V4L2_CTRL_FLAG_VOLATILE |
546 v4l2_ctrl_auto_cluster(2, &ctrls->auto_iso, 0, false);
547 ctrls->af_status->flags |= V4L2_CTRL_FLAG_VOLATILE;
548 v4l2_ctrl_cluster(5, &ctrls->focus_auto);