Lines Matching refs:ctrls
23 #include <media/v4l2-ctrls.h>
71 ret = s5c73m3_get_af_status(state, state->ctrls.af_status);
97 v4l2_ctrl_get_menu(state->ctrls.colorfx->id)[i]);
109 struct s5c73m3_ctrls *ctrls = &state->ctrls;
112 if (ctrls->exposure_metering->is_new) {
115 switch (ctrls->exposure_metering->val) {
130 if (!ret && ctrls->exposure_bias->is_new) {
131 u16 exp_bias = ctrls->exposure_bias->val;
137 ctrls->exposure_bias->val, ctrls->exposure_metering->val, ret);
160 v4l2_ctrl_get_menu(state->ctrls.auto_wb->id)[i]);
170 struct s5c73m3_ctrls *c = &state->ctrls;
198 && state->ctrls.auto_wb->val) {
213 struct s5c73m3_ctrls *c = &state->ctrls;
259 iso = state->ctrls.iso->val + 1;
310 v4l2_ctrl_get_menu(state->ctrls.scene_mode->id)[val]);
446 struct s5c73m3_ctrls *ctrls = &state->ctrls;
447 struct v4l2_ctrl_handler *hdl = &ctrls->handler;
454 ctrls->auto_wb = v4l2_ctrl_new_std_menu(hdl, ops,
459 ctrls->auto_exposure = v4l2_ctrl_new_std_menu(hdl, ops,
462 ctrls->exposure_bias = v4l2_ctrl_new_int_menu(hdl, ops,
468 ctrls->exposure_metering = v4l2_ctrl_new_std_menu(hdl, ops,
473 ctrls->focus_auto = v4l2_ctrl_new_std(hdl, ops,
476 ctrls->af_start = v4l2_ctrl_new_std(hdl, ops,
479 ctrls->af_stop = v4l2_ctrl_new_std(hdl, ops,
482 ctrls->af_status = v4l2_ctrl_new_std(hdl, ops,
489 ctrls->af_distance = v4l2_ctrl_new_std_menu(hdl, ops,
496 ctrls->auto_iso = v4l2_ctrl_new_std_menu(hdl, ops,
500 ctrls->iso = v4l2_ctrl_new_int_menu(hdl, ops,
504 ctrls->contrast = v4l2_ctrl_new_std(hdl, ops,
507 ctrls->saturation = v4l2_ctrl_new_std(hdl, ops,
510 ctrls->sharpness = v4l2_ctrl_new_std(hdl, ops,
513 ctrls->zoom = v4l2_ctrl_new_std(hdl, ops,
516 ctrls->colorfx = v4l2_ctrl_new_std_menu(hdl, ops, V4L2_CID_COLORFX,
519 ctrls->wdr = v4l2_ctrl_new_std(hdl, ops,
522 ctrls->stabilization = v4l2_ctrl_new_std(hdl, ops,
529 ctrls->jpeg_quality = v4l2_ctrl_new_std(hdl, ops,
532 ctrls->scene_mode = v4l2_ctrl_new_std_menu(hdl, ops,
536 ctrls->aaa_lock = v4l2_ctrl_new_std(hdl, ops,
545 v4l2_ctrl_auto_cluster(3, &ctrls->auto_exposure, 0, false);
546 ctrls->auto_iso->flags |= V4L2_CTRL_FLAG_VOLATILE |
548 v4l2_ctrl_auto_cluster(2, &ctrls->auto_iso, 0, false);
549 ctrls->af_status->flags |= V4L2_CTRL_FLAG_VOLATILE;
550 v4l2_ctrl_cluster(5, &ctrls->focus_auto);