/linux-6.6.21/drivers/media/i2c/s5c73m3/ |
D | s5c73m3-ctrls.c | 69 ret = s5c73m3_get_af_status(state, state->ctrls.af_status); in s5c73m3_g_volatile_ctrl() 95 v4l2_ctrl_get_menu(state->ctrls.colorfx->id)[i]); in s5c73m3_set_colorfx() 107 struct s5c73m3_ctrls *ctrls = &state->ctrls; in s5c73m3_set_exposure() local 110 if (ctrls->exposure_metering->is_new) { in s5c73m3_set_exposure() 113 switch (ctrls->exposure_metering->val) { in s5c73m3_set_exposure() 128 if (!ret && ctrls->exposure_bias->is_new) { in s5c73m3_set_exposure() 129 u16 exp_bias = ctrls->exposure_bias->val; in s5c73m3_set_exposure() 135 ctrls->exposure_bias->val, ctrls->exposure_metering->val, ret); in s5c73m3_set_exposure() 158 v4l2_ctrl_get_menu(state->ctrls.auto_wb->id)[i]); in s5c73m3_set_white_balance() 168 struct s5c73m3_ctrls *c = &state->ctrls; in s5c73m3_af_run() [all …]
|
/linux-6.6.21/Documentation/userspace-api/media/v4l/ |
D | common.rst | 42 ext-ctrls-camera 43 ext-ctrls-flash 44 ext-ctrls-image-source 45 ext-ctrls-image-process 46 ext-ctrls-codec 47 ext-ctrls-codec-stateless 48 ext-ctrls-jpeg 49 ext-ctrls-dv 50 ext-ctrls-rf-tuner 51 ext-ctrls-fm-tx [all …]
|
/linux-6.6.21/drivers/media/v4l2-core/ |
D | v4l2-flash-led-class.c | 82 struct v4l2_ctrl **ctrls = v4l2_flash->ctrls; in v4l2_flash_set_led_brightness() local 104 if (ctrl == ctrls[TORCH_INTENSITY]) { in v4l2_flash_set_led_brightness() 105 if (ctrls[LED_MODE]->val != V4L2_FLASH_LED_MODE_TORCH) in v4l2_flash_set_led_brightness() 125 struct v4l2_ctrl **ctrls = v4l2_flash->ctrls; in v4l2_flash_update_led_brightness() local 129 if (ctrl == ctrls[TORCH_INTENSITY]) { in v4l2_flash_update_led_brightness() 136 if (ctrls[LED_MODE]->val != V4L2_FLASH_LED_MODE_TORCH) in v4l2_flash_update_led_brightness() 206 static bool __software_strobe_mode_inactive(struct v4l2_ctrl **ctrls) in __software_strobe_mode_inactive() argument 208 return ((ctrls[LED_MODE]->val != V4L2_FLASH_LED_MODE_FLASH) || in __software_strobe_mode_inactive() 209 (ctrls[STROBE_SOURCE] && (ctrls[STROBE_SOURCE]->val != in __software_strobe_mode_inactive() 218 struct v4l2_ctrl **ctrls = v4l2_flash->ctrls; in v4l2_flash_s_ctrl() local [all …]
|
/linux-6.6.21/drivers/media/usb/gspca/stv06xx/ |
D | stv06xx_pb0100.c | 80 struct pb0100_ctrls *ctrls = sd->sensor_priv; in pb0100_s_ctrl() local 90 err = pb0100_set_gain(gspca_dev, ctrls->gain->val); in pb0100_s_ctrl() 93 err = pb0100_set_exposure(gspca_dev, ctrls->exposure->val); in pb0100_s_ctrl() 109 struct pb0100_ctrls *ctrls; in pb0100_init_controls() local 129 ctrls = kzalloc(sizeof(*ctrls), GFP_KERNEL); in pb0100_init_controls() 130 if (!ctrls) in pb0100_init_controls() 134 ctrls->autogain = v4l2_ctrl_new_std(hdl, &pb0100_ctrl_ops, in pb0100_init_controls() 136 ctrls->exposure = v4l2_ctrl_new_std(hdl, &pb0100_ctrl_ops, in pb0100_init_controls() 138 ctrls->gain = v4l2_ctrl_new_std(hdl, &pb0100_ctrl_ops, in pb0100_init_controls() 140 ctrls->red = v4l2_ctrl_new_std(hdl, &pb0100_ctrl_ops, in pb0100_init_controls() [all …]
|
/linux-6.6.21/drivers/media/platform/microchip/ |
D | microchip-isc-base.c | 44 struct isc_ctrls *ctrls = &isc->ctrls; in isc_update_v4l2_ctrls() local 47 v4l2_ctrl_s_ctrl(isc->r_gain_ctrl, ctrls->gain[ISC_HIS_CFG_MODE_R]); in isc_update_v4l2_ctrls() 48 v4l2_ctrl_s_ctrl(isc->b_gain_ctrl, ctrls->gain[ISC_HIS_CFG_MODE_B]); in isc_update_v4l2_ctrls() 49 v4l2_ctrl_s_ctrl(isc->gr_gain_ctrl, ctrls->gain[ISC_HIS_CFG_MODE_GR]); in isc_update_v4l2_ctrls() 50 v4l2_ctrl_s_ctrl(isc->gb_gain_ctrl, ctrls->gain[ISC_HIS_CFG_MODE_GB]); in isc_update_v4l2_ctrls() 52 v4l2_ctrl_s_ctrl(isc->r_off_ctrl, ctrls->offset[ISC_HIS_CFG_MODE_R]); in isc_update_v4l2_ctrls() 53 v4l2_ctrl_s_ctrl(isc->b_off_ctrl, ctrls->offset[ISC_HIS_CFG_MODE_B]); in isc_update_v4l2_ctrls() 54 v4l2_ctrl_s_ctrl(isc->gr_off_ctrl, ctrls->offset[ISC_HIS_CFG_MODE_GR]); in isc_update_v4l2_ctrls() 55 v4l2_ctrl_s_ctrl(isc->gb_off_ctrl, ctrls->offset[ISC_HIS_CFG_MODE_GB]); in isc_update_v4l2_ctrls() 60 struct isc_ctrls *ctrls = &isc->ctrls; in isc_update_awb_ctrls() local [all …]
|
/linux-6.6.21/drivers/staging/media/deprecated/atmel/ |
D | atmel-isc-base.c | 53 struct isc_ctrls *ctrls = &isc->ctrls; in isc_update_v4l2_ctrls() local 56 v4l2_ctrl_s_ctrl(isc->r_gain_ctrl, ctrls->gain[ISC_HIS_CFG_MODE_R]); in isc_update_v4l2_ctrls() 57 v4l2_ctrl_s_ctrl(isc->b_gain_ctrl, ctrls->gain[ISC_HIS_CFG_MODE_B]); in isc_update_v4l2_ctrls() 58 v4l2_ctrl_s_ctrl(isc->gr_gain_ctrl, ctrls->gain[ISC_HIS_CFG_MODE_GR]); in isc_update_v4l2_ctrls() 59 v4l2_ctrl_s_ctrl(isc->gb_gain_ctrl, ctrls->gain[ISC_HIS_CFG_MODE_GB]); in isc_update_v4l2_ctrls() 61 v4l2_ctrl_s_ctrl(isc->r_off_ctrl, ctrls->offset[ISC_HIS_CFG_MODE_R]); in isc_update_v4l2_ctrls() 62 v4l2_ctrl_s_ctrl(isc->b_off_ctrl, ctrls->offset[ISC_HIS_CFG_MODE_B]); in isc_update_v4l2_ctrls() 63 v4l2_ctrl_s_ctrl(isc->gr_off_ctrl, ctrls->offset[ISC_HIS_CFG_MODE_GR]); in isc_update_v4l2_ctrls() 64 v4l2_ctrl_s_ctrl(isc->gb_off_ctrl, ctrls->offset[ISC_HIS_CFG_MODE_GB]); in isc_update_v4l2_ctrls() 69 struct isc_ctrls *ctrls = &isc->ctrls; in isc_update_awb_ctrls() local [all …]
|
/linux-6.6.21/drivers/media/platform/verisilicon/ |
D | hantro_h264.c | 204 const struct hantro_h264_dec_ctrls *ctrls = &ctx->h264_dec.ctrls; in assemble_scaling_list() local 205 const struct v4l2_ctrl_h264_scaling_matrix *scaling = ctrls->scaling; in assemble_scaling_list() 206 const struct v4l2_ctrl_h264_pps *pps = ctrls->pps; in assemble_scaling_list() 234 const struct hantro_h264_dec_ctrls *ctrls = &ctx->h264_dec.ctrls; in prepare_table() local 235 const struct v4l2_ctrl_h264_decode_params *dec_param = ctrls->decode; in prepare_table() 236 const struct v4l2_ctrl_h264_sps *sps = ctrls->sps; in prepare_table() 303 dec_param = ctx->h264_dec.ctrls.decode; in update_dpb() 441 struct hantro_h264_dec_ctrls *ctrls = &h264_ctx->ctrls; in hantro_h264_dec_prepare_run() local 446 ctrls->scaling = in hantro_h264_dec_prepare_run() 448 if (WARN_ON(!ctrls->scaling)) in hantro_h264_dec_prepare_run() [all …]
|
D | rockchip_vpu981_hw_av1_dec.c | 113 struct hantro_av1_dec_ctrls *ctrls = &av1_dec->ctrls; in rockchip_vpu981_get_frame_index() local 114 const struct v4l2_ctrl_av1_frame *frame = ctrls->frame; in rockchip_vpu981_get_frame_index() 147 struct hantro_av1_dec_ctrls *ctrls = &av1_dec->ctrls; in rockchip_vpu981_av1_dec_frame_ref() local 148 const struct v4l2_ctrl_av1_frame *frame = ctrls->frame; in rockchip_vpu981_av1_dec_frame_ref() 189 struct hantro_av1_dec_ctrls *ctrls = &av1_dec->ctrls; in rockchip_vpu981_av1_dec_clean_refs() local 201 if (ctrls->frame->reference_frame_ts[ref] == timestamp) in rockchip_vpu981_av1_dec_clean_refs() 259 struct hantro_av1_dec_ctrls *ctrls = &av1_dec->ctrls; in rockchip_vpu981_av1_dec_tiles_reallocate() local 260 unsigned int num_tile_cols = 1 << ctrls->tile_group_entry->tile_col; in rockchip_vpu981_av1_dec_tiles_reallocate() 261 unsigned int height = ALIGN(ctrls->frame->frame_height_minus_1 + 1, 64); in rockchip_vpu981_av1_dec_tiles_reallocate() 425 struct hantro_av1_dec_ctrls *ctrls = &av1_dec->ctrls; in rockchip_vpu981_av1_dec_prepare_run() local [all …]
|
D | hantro_hevc.c | 74 const struct hantro_hevc_dec_ctrls *ctrls = &ctx->hevc_dec.ctrls; in tile_buffer_reallocate() local 75 const struct v4l2_ctrl_hevc_pps *pps = ctrls->pps; in tile_buffer_reallocate() 76 const struct v4l2_ctrl_hevc_sps *sps = ctrls->sps; in tile_buffer_reallocate() 174 struct hantro_hevc_dec_ctrls *ctrls = &hevc_ctx->ctrls; in hantro_hevc_dec_prepare_run() local 179 ctrls->decode_params = in hantro_hevc_dec_prepare_run() 181 if (WARN_ON(!ctrls->decode_params)) in hantro_hevc_dec_prepare_run() 184 ctrls->scaling = in hantro_hevc_dec_prepare_run() 186 if (WARN_ON(!ctrls->scaling)) in hantro_hevc_dec_prepare_run() 189 ctrls->sps = in hantro_hevc_dec_prepare_run() 191 if (WARN_ON(!ctrls->sps)) in hantro_hevc_dec_prepare_run() [all …]
|
D | hantro_g1_h264_dec.c | 24 const struct hantro_h264_dec_ctrls *ctrls = &ctx->h264_dec.ctrls; in set_params() local 25 const struct v4l2_ctrl_h264_decode_params *dec_param = ctrls->decode; in set_params() 26 const struct v4l2_ctrl_h264_sps *sps = ctrls->sps; in set_params() 27 const struct v4l2_ctrl_h264_pps *pps = ctrls->pps; in set_params() 207 const struct hantro_h264_dec_ctrls *ctrls = &ctx->h264_dec.ctrls; in set_buffers() local 221 if (ctrls->decode->flags & V4L2_H264_DECODE_PARAM_FLAG_BOTTOM_FIELD) in set_buffers() 226 if (ctrls->sps->profile_idc > 66 && ctrls->decode->nal_ref_idc) { in set_buffers() 230 if (ctrls->sps->profile_idc >= 100 && in set_buffers() 231 ctrls->sps->chroma_format_idc == 0) in set_buffers() 240 if (ctrls->decode->flags & V4L2_H264_DECODE_PARAM_FLAG_BOTTOM_FIELD) in set_buffers()
|
D | hantro_g2_hevc_dec.c | 28 const struct hantro_hevc_dec_ctrls *ctrls = &ctx->hevc_dec.ctrls; in prepare_tile_info_buffer() local 29 const struct v4l2_ctrl_hevc_pps *pps = ctrls->pps; in prepare_tile_info_buffer() 30 const struct v4l2_ctrl_hevc_sps *sps = ctrls->sps; in prepare_tile_info_buffer() 122 const struct hantro_hevc_dec_ctrls *ctrls = &ctx->hevc_dec.ctrls; in compute_header_skip_length() local 123 const struct v4l2_ctrl_hevc_decode_params *decode_params = ctrls->decode_params; in compute_header_skip_length() 124 const struct v4l2_ctrl_hevc_sps *sps = ctrls->sps; in compute_header_skip_length() 125 const struct v4l2_ctrl_hevc_pps *pps = ctrls->pps; in compute_header_skip_length() 157 const struct hantro_hevc_dec_ctrls *ctrls = &ctx->hevc_dec.ctrls; in set_params() local 158 const struct v4l2_ctrl_hevc_sps *sps = ctrls->sps; in set_params() 159 const struct v4l2_ctrl_hevc_pps *pps = ctrls->pps; in set_params() [all …]
|
/linux-6.6.21/drivers/media/i2c/ |
D | ov9650.c | 269 struct ov965x_ctrls ctrls; member 415 return &container_of(ctrl->handler, struct ov965x, ctrls.handler)->sd; in ctrl_to_sd() 543 ov965x->ctrls.update = 1; in ov965x_s_power() 560 struct v4l2_ctrl *ctrl = ov965x->ctrls.exposure; in ov965x_update_exposure_ctrl() 635 ov965x->ctrls.blue_balance->val); in ov965x_set_white_balance() 639 ov965x->ctrls.red_balance->val); in ov965x_set_white_balance() 673 struct ov965x_ctrls *ctrls = &ov965x->ctrls; in ov965x_set_gain() local 680 if (ctrls->auto_gain->is_new) { in ov965x_set_gain() 684 if (ctrls->auto_gain->val) in ov965x_set_gain() 693 if (ctrls->gain->is_new && !auto_gain) { in ov965x_set_gain() [all …]
|
D | ov5693.c | 174 } ctrls; member 479 container_of(ctrl->handler, struct ov5693_device, ctrls.handler); in ov5693_s_ctrl() 488 __v4l2_ctrl_modify_range(ov5693->ctrls.exposure, in ov5693_s_ctrl() 489 ov5693->ctrls.exposure->minimum, in ov5693_s_ctrl() 491 ov5693->ctrls.exposure->step, in ov5693_s_ctrl() 492 min(ov5693->ctrls.exposure->val, in ov5693_s_ctrl() 535 ctrls.handler); in ov5693_g_volatile_ctrl() 866 __v4l2_ctrl_modify_range(ov5693->ctrls.vblank, in ov5693_set_fmt() 870 __v4l2_ctrl_s_ctrl(ov5693->ctrls.vblank, in ov5693_set_fmt() 874 __v4l2_ctrl_modify_range(ov5693->ctrls.hblank, hblank, hblank, 1, in ov5693_set_fmt() [all …]
|
D | adp1653.c | 143 container_of(ctrl->handler, struct adp1653_flash, ctrls); in adp1653_get_ctrl() 169 container_of(ctrl->handler, struct adp1653_flash, ctrls); in adp1653_set_ctrl() 202 v4l2_ctrl_handler_init(&flash->ctrls, 9); in adp1653_init_controls() 205 v4l2_ctrl_new_std_menu(&flash->ctrls, &adp1653_ctrl_ops, in adp1653_init_controls() 208 v4l2_ctrl_new_std_menu(&flash->ctrls, &adp1653_ctrl_ops, in adp1653_init_controls() 211 v4l2_ctrl_new_std(&flash->ctrls, &adp1653_ctrl_ops, in adp1653_init_controls() 213 v4l2_ctrl_new_std(&flash->ctrls, &adp1653_ctrl_ops, in adp1653_init_controls() 216 v4l2_ctrl_new_std(&flash->ctrls, &adp1653_ctrl_ops, in adp1653_init_controls() 222 v4l2_ctrl_new_std(&flash->ctrls, &adp1653_ctrl_ops, in adp1653_init_controls() 228 v4l2_ctrl_new_std(&flash->ctrls, &adp1653_ctrl_ops, in adp1653_init_controls() [all …]
|
D | ar0521.c | 127 struct ar0521_ctrls ctrls; member 148 ctrls.handler)->sd; in ctrl_to_sd() 212 be(sensor->fmt.height + sensor->ctrls.vblank->val), in ar0521_set_geometry() 213 be(sensor->fmt.width + sensor->ctrls.hblank->val), in ar0521_set_geometry() 227 int green = sensor->ctrls.gain->val; in ar0521_set_gains() 228 int red = max(green + sensor->ctrls.red_balance->val, 0); in ar0521_set_gains() 229 int blue = max(green + sensor->ctrls.blue_balance->val, 0); in ar0521_set_gains() 384 ret = __v4l2_ctrl_handler_setup(&sensor->ctrls.handler); in ar0521_set_stream() 493 ret = __v4l2_ctrl_modify_range(sensor->ctrls.hblank, in ar0521_set_fmt() 494 sensor->ctrls.hblank->minimum, in ar0521_set_fmt() [all …]
|
D | dw9719.c | 52 } ctrls; member 111 ctrls.handler); in dw9719_set_ctrl() 142 for (val = dw9719->ctrls.focus->val; val >= 0; in dw9719_suspend() 158 int current_focus = dw9719->ctrls.focus->val; in dw9719_resume() 204 v4l2_ctrl_handler_init(&dw9719->ctrls.handler, 1); in dw9719_init_controls() 206 dw9719->ctrls.focus = v4l2_ctrl_new_std(&dw9719->ctrls.handler, ops, in dw9719_init_controls() 210 if (dw9719->ctrls.handler.error) { in dw9719_init_controls() 212 ret = dw9719->ctrls.handler.error; in dw9719_init_controls() 216 dw9719->sd.ctrl_handler = &dw9719->ctrls.handler; in dw9719_init_controls() 220 v4l2_ctrl_handler_free(&dw9719->ctrls.handler); in dw9719_init_controls() [all …]
|
D | ov5648.c | 500 ctrls.handler)->subdev) 661 struct ov5648_ctrls ctrls; member 1529 struct ov5648_ctrls *ctrls = &sensor->ctrls; in ov5648_exposure_configure() local 1532 if (ctrls->exposure_auto->val != V4L2_EXPOSURE_MANUAL) in ov5648_exposure_configure() 1585 struct ov5648_ctrls *ctrls = &sensor->ctrls; in ov5648_gain_configure() local 1588 if (ctrls->gain_auto->val) in ov5648_gain_configure() 1631 struct ov5648_ctrls *ctrls = &sensor->ctrls; in ov5648_white_balance_configure() local 1634 if (ctrls->white_balance_auto->val) in ov5648_white_balance_configure() 1694 struct ov5648_ctrls *ctrls = &sensor->ctrls; in ov5648_state_mipi_configure() local 1730 __v4l2_ctrl_s_ctrl(ctrls->link_freq, i); in ov5648_state_mipi_configure() [all …]
|
/linux-6.6.21/drivers/media/platform/st/sti/hva/ |
D | hva-debugfs.c | 17 struct hva_controls *ctrls = &ctx->ctrls; in format_ctx() local 52 v4l2_ctrl_get_menu(bitrate_mode)[ctrls->bitrate_mode], in format_ctx() 53 ctrls->bitrate, in format_ctx() 54 ctrls->gop_size, in format_ctx() 55 v4l2_ctrl_get_menu(aspect)[ctrls->aspect], in format_ctx() 56 ctrls->time_per_frame.denominator, in format_ctx() 57 ctrls->time_per_frame.numerator); in format_ctx() 72 v4l2_ctrl_get_menu(entropy)[ctrls->entropy_mode], in format_ctx() 73 ctrls->cpb_size, in format_ctx() 74 ctrls->dct8x8 ? "true" : "false", in format_ctx() [all …]
|
D | hva-h264.c | 417 struct hva_controls *ctrls, in hva_h264_fill_slice_header() argument 437 u32 frame_order = frame_num % ctrls->gop_size; in hva_h264_fill_slice_header() 439 if (!(frame_num % ctrls->gop_size)) in hva_h264_fill_slice_header() 456 if ((frame_num / ctrls->gop_size) % 2) { in hva_h264_fill_slice_header() 469 if (ctrls->entropy_mode == cabac) { in hva_h264_fill_slice_header() 599 struct hva_controls *ctrls = &pctx->ctrls; in hva_h264_prepare_task() local 600 struct v4l2_fract *time_per_frame = &pctx->ctrls.time_per_frame; in hva_h264_prepare_task() 624 level = ctrls->level; in hva_h264_prepare_task() 644 td->brc_type = (ctrls->bitrate_mode == V4L2_MPEG_VIDEO_BITRATE_MODE_CBR) in hva_h264_prepare_task() 647 td->entropy_coding_mode = (ctrls->entropy_mode == cavlc) ? CAVLC : in hva_h264_prepare_task() [all …]
|
/linux-6.6.21/drivers/media/platform/renesas/vsp1/ |
D | vsp1_hgo.c | 158 mutex_lock(hgo->ctrls.handler.lock); in hgo_configure_stream() 159 hgo->max_rgb = hgo->ctrls.max_rgb->cur.val; in hgo_configure_stream() 160 if (hgo->ctrls.num_bins) in hgo_configure_stream() 161 hgo->num_bins = hgo_num_bins[hgo->ctrls.num_bins->cur.val]; in hgo_configure_stream() 162 mutex_unlock(hgo->ctrls.handler.lock); in hgo_configure_stream() 198 v4l2_ctrl_handler_init(&hgo->ctrls.handler, in vsp1_hgo_create() 200 hgo->ctrls.max_rgb = v4l2_ctrl_new_custom(&hgo->ctrls.handler, in vsp1_hgo_create() 203 hgo->ctrls.num_bins = in vsp1_hgo_create() 204 v4l2_ctrl_new_custom(&hgo->ctrls.handler, in vsp1_hgo_create() 210 hgo->histo.entity.subdev.ctrl_handler = &hgo->ctrls.handler; in vsp1_hgo_create()
|
D | vsp1_wpf.c | 97 container_of(ctrl->handler, struct vsp1_rwpf, ctrls); in vsp1_wpf_s_ctrl() 103 rotation = wpf->flip.ctrls.rotate ? wpf->flip.ctrls.rotate->val : 0; in vsp1_wpf_s_ctrl() 114 if (wpf->flip.ctrls.vflip->val) in vsp1_wpf_s_ctrl() 117 if (wpf->flip.ctrls.hflip && wpf->flip.ctrls.hflip->val) in vsp1_wpf_s_ctrl() 164 wpf->flip.ctrls.vflip = in wpf_init_controls() 165 v4l2_ctrl_new_std(&wpf->ctrls, &vsp1_wpf_ctrl_ops, in wpf_init_controls() 170 wpf->flip.ctrls.hflip = in wpf_init_controls() 171 v4l2_ctrl_new_std(&wpf->ctrls, &vsp1_wpf_ctrl_ops, in wpf_init_controls() 173 wpf->flip.ctrls.rotate = in wpf_init_controls() 174 v4l2_ctrl_new_std(&wpf->ctrls, &vsp1_wpf_ctrl_ops, in wpf_init_controls() [all …]
|
D | vsp1_hgt.c | 101 ctrls); in hgt_hue_areas_s_ctrl() 157 mutex_lock(hgt->ctrls.lock); in hgt_configure_stream() 165 mutex_unlock(hgt->ctrls.lock); in hgt_configure_stream() 197 v4l2_ctrl_handler_init(&hgt->ctrls, 1); in vsp1_hgt_create() 198 v4l2_ctrl_new_custom(&hgt->ctrls, &hgt_hue_areas, NULL); in vsp1_hgt_create() 200 hgt->histo.entity.subdev.ctrl_handler = &hgt->ctrls; in vsp1_hgt_create() 212 v4l2_ctrl_handler_setup(&hgt->ctrls); in vsp1_hgt_create()
|
D | vsp1_clu.c | 67 container_of(ctrl->handler, struct vsp1_clu, ctrls); in clu_s_ctrl() 270 v4l2_ctrl_handler_init(&clu->ctrls, 2); in vsp1_clu_create() 271 v4l2_ctrl_new_custom(&clu->ctrls, &clu_table_control, NULL); in vsp1_clu_create() 272 v4l2_ctrl_new_custom(&clu->ctrls, &clu_mode_control, NULL); in vsp1_clu_create() 274 clu->entity.subdev.ctrl_handler = &clu->ctrls; in vsp1_clu_create() 276 if (clu->ctrls.error) { in vsp1_clu_create() 278 ret = clu->ctrls.error; in vsp1_clu_create() 283 v4l2_ctrl_handler_setup(&clu->ctrls); in vsp1_clu_create()
|
/linux-6.6.21/drivers/media/platform/samsung/exynos4-is/ |
D | fimc-core.c | 490 effect->pat_cb = ctx->ctrls.colorfx_cbcr->val >> 8; in fimc_set_color_effect() 491 effect->pat_cr = ctx->ctrls.colorfx_cbcr->val & 0xff; in fimc_set_color_effect() 504 container_of((__ctrl)->handler, struct fimc_ctx, ctrls.handler) 575 struct fimc_ctrls *ctrls = &ctx->ctrls; in fimc_ctrls_create() local 576 struct v4l2_ctrl_handler *handler = &ctrls->handler; in fimc_ctrls_create() 578 if (ctx->ctrls.ready) in fimc_ctrls_create() 583 ctrls->rotate = v4l2_ctrl_new_std(handler, &fimc_ctrl_ops, in fimc_ctrls_create() 585 ctrls->hflip = v4l2_ctrl_new_std(handler, &fimc_ctrl_ops, in fimc_ctrls_create() 587 ctrls->vflip = v4l2_ctrl_new_std(handler, &fimc_ctrl_ops, in fimc_ctrls_create() 591 ctrls->alpha = v4l2_ctrl_new_std(handler, &fimc_ctrl_ops, in fimc_ctrls_create() [all …]
|
/linux-6.6.21/drivers/media/test-drivers/visl/ |
D | visl-core.c | 98 .ctrls = visl_fwht_ctrl_descs, 115 .ctrls = visl_mpeg2_ctrl_descs, 126 .ctrls = visl_vp8_ctrl_descs, 140 .ctrls = visl_vp9_ctrl_descs, 172 .ctrls = visl_h264_ctrl_descs, 210 .ctrls = visl_hevc_ctrl_descs, 263 const struct visl_ctrls *ctrls; in visl_init_ctrls() local 266 ctrl_cnt += visl_coded_fmts[i].ctrls->num_ctrls; in visl_init_ctrls() 271 ctrls = visl_coded_fmts[i].ctrls; in visl_init_ctrls() 272 for (j = 0; j < ctrls->num_ctrls; j++) in visl_init_ctrls() [all …]
|