Home
last modified time | relevance | path

Searched refs:hor_dcm (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/media/pci/zoran/
Dzoran_card.c726 __func__, settings->decimation, settings->hor_dcm, in zoran_check_jpg_settings()
735 settings->hor_dcm = 1; in zoran_check_jpg_settings()
746 settings->hor_dcm = 2; in zoran_check_jpg_settings()
766 settings->hor_dcm = 4; in zoran_check_jpg_settings()
780 if (settings->hor_dcm != 1 && settings->hor_dcm != 2 && in zoran_check_jpg_settings()
781 (zr->card.type == DC10_NEW || settings->hor_dcm != 4)) { in zoran_check_jpg_settings()
782 settings->hor_dcm = clamp(settings->hor_dcm, 1, 2); in zoran_check_jpg_settings()
822 if (settings->img_width % (16 * settings->hor_dcm) != 0) { in zoran_check_jpg_settings()
823 settings->img_width -= settings->img_width % (16 * settings->hor_dcm); in zoran_check_jpg_settings()
825 settings->img_width = 16 * settings->hor_dcm; in zoran_check_jpg_settings()
[all …]
Dzoran_driver.c146 __u8 div = settings->ver_dcm * settings->hor_dcm * settings->tmp_dcm; in zoran_v4l2_calc_bufsize()
294 fmt->fmt.pix.width = zr->jpg_settings.img_width / zr->jpg_settings.hor_dcm; in zoran_g_fmt_vid_out()
354 settings.hor_dcm = 4; in zoran_try_fmt_vid_out()
356 settings.hor_dcm = 2; in zoran_try_fmt_vid_out()
358 settings.hor_dcm = 1; in zoran_try_fmt_vid_out()
364 if (settings.hor_dcm > 1) { in zoran_try_fmt_vid_out()
378 fmt->fmt.pix.width = settings.img_width / settings.hor_dcm; in zoran_try_fmt_vid_out()
461 settings.hor_dcm = 4; in zoran_s_fmt_vid_out()
463 settings.hor_dcm = 2; in zoran_s_fmt_vid_out()
465 settings.hor_dcm = 1; in zoran_s_fmt_vid_out()
[all …]
Dzoran_device.c234 unsigned int X, Y, hor_dcm, ver_dcm; in zr36057_set_vfe() local
257 hor_dcm = 64 - X; in zr36057_set_vfe()
299 reg |= (hor_dcm << ZR36057_VFESPFR_HOR_DCM); in zr36057_set_vfe()
312 if (hor_dcm >= 48) in zr36057_set_vfe()
314 else if (hor_dcm >= 32) in zr36057_set_vfe()
316 else if (hor_dcm >= 16) in zr36057_set_vfe()
618 zr->jpg_settings.hor_dcm | (zr->jpg_settings.ver_dcm << 8); in zr36057_enable_jpg()
Dzoran.h146 int hor_dcm, ver_dcm, tmp_dcm; member