Home
last modified time | relevance | path

Searched refs:luma (Results 1 – 14 of 14) sorted by relevance

/drivers/media/usb/gspca/
Detoms.c637 __u8 luma; in do_autogain() local
658 luma = LIMIT(r + g + b); in do_autogain()
659 PDEBUG(D_FRAM, "Etoms luma G %d", luma); in do_autogain()
660 if (luma < luma_mean - luma_delta || luma > luma_mean + luma_delta) { in do_autogain()
661 Gbright += (luma_mean - luma) >> spring; in do_autogain()
Dnw80x.c1949 int luma; in do_autogain() local
1959 luma = (gspca_dev->usb_buf[3] << 24) + (gspca_dev->usb_buf[2] << 16) in do_autogain()
1961 luma /= sd->ae_res; in do_autogain()
1965 gspca_coarse_grained_expo_autogain(gspca_dev, luma, 100, 5); in do_autogain()
1968 gspca_expo_autogain(gspca_dev, luma, 100, 5, 230, 0); in do_autogain()
Dtopro.c4698 int luma, expo; in sd_dq_callback() local
4742 luma = ((gspca_dev->usb_buf[8] << 8) + gspca_dev->usb_buf[7] + in sd_dq_callback()
4752 luma /= 4; in sd_dq_callback()
4756 ret = gspca_expo_autogain(gspca_dev, luma, in sd_dq_callback()
/drivers/media/pci/cx18/
Dcx18-av-core.c610 int luma = vid_input & 0xf000; in set_input() local
615 luma < CX18_AV_COMPONENT_LUMA1 || in set_input()
616 luma > CX18_AV_COMPONENT_LUMA8 || in set_input()
625 afe_mux_cfg = (luma - CX18_AV_COMPONENT_LUMA1) >> 12; in set_input()
633 int luma = vid_input & 0xf0; in set_input() local
637 luma < CX18_AV_SVIDEO_LUMA1 || in set_input()
638 luma > CX18_AV_SVIDEO_LUMA8 || in set_input()
645 afe_mux_cfg = 0xf0 + ((luma - CX18_AV_SVIDEO_LUMA1) >> 4); in set_input()
/drivers/media/platform/omap3isp/
Dispresizer.c264 struct resizer_luma_yenh *luma) in resizer_set_luma() argument
269 rgval = (luma->algo << ISPRSZ_YENH_ALGO_SHIFT) in resizer_set_luma()
271 rgval |= (luma->gain << ISPRSZ_YENH_GAIN_SHIFT) in resizer_set_luma()
273 rgval |= (luma->slope << ISPRSZ_YENH_SLOP_SHIFT) in resizer_set_luma()
275 rgval |= (luma->core << ISPRSZ_YENH_CORE_SHIFT) in resizer_set_luma()
962 struct resizer_luma_yenh luma = {0, 0, 0, 0}; in resizer_configure() local
979 resizer_set_luma(res, &luma); in resizer_configure()
Disppreview.h86 struct omap3isp_prev_luma luma; member
Disppreview.c156 const struct omap3isp_prev_luma *yt = &params->luma; in preview_config_luma_enhancement()
758 offsetof(struct prev_params, luma),
759 FIELD_SIZEOF(struct prev_params, luma),
760 offsetof(struct omap3isp_prev_update_config, luma),
1326 memcpy(params->luma.table, luma_enhance_table, in preview_init_params()
1327 sizeof(params->luma.table)); in preview_init_params()
/drivers/gpu/drm/nouveau/dispnv04/
Doverlay.c202 u32 luma = (plane->brightness - 512) << 16 | plane->contrast; in nv10_set_params() local
207 nvif_wr32(dev, NV_PVIDEO_LUMINANCE(0), luma); in nv10_set_params()
208 nvif_wr32(dev, NV_PVIDEO_LUMINANCE(1), luma); in nv10_set_params()
/drivers/media/platform/s5p-mfc/
Ds5p_mfc_common.h186 size_t luma; member
Ds5p_mfc_opr_v5.c479 ctx->dst_bufs[i].cookie.raw.luma); in s5p_mfc_set_dec_frame_buffer_v5()
480 mfc_write(dev, OFFSETB(ctx->dst_bufs[i].cookie.raw.luma), in s5p_mfc_set_dec_frame_buffer_v5()
Ds5p_mfc_opr_v6.c475 ctx->dst_bufs[i].cookie.raw.luma); in s5p_mfc_set_dec_frame_buffer_v6()
476 writel(ctx->dst_bufs[i].cookie.raw.luma, in s5p_mfc_set_dec_frame_buffer_v6()
Ds5p_mfc_dec.c975 ctx->dst_bufs[i].cookie.raw.luma = in s5p_mfc_buf_init()
Ds5p_mfc_enc.c1899 ctx->src_bufs[i].cookie.raw.luma = in s5p_mfc_buf_init()
/drivers/media/i2c/cx25840/
Dcx25840-core.c1031 int luma = vid_input & 0xf0; in set_input() local
1053 luma < CX25840_SVIDEO_LUMA1 || luma > CX25840_SVIDEO_LUMA8 || in set_input()
1059 reg = 0xf0 + ((luma - CX25840_SVIDEO_LUMA1) >> 4); in set_input()