Searched refs:jpg_settings (Results 1 – 4 of 4) sorted by relevance
451 if (zr->jpg_settings.field_per_buff == 1) in zr36057_set_jpg()460 reg = ((zr->jpg_settings.img_y + tvn->v_start) << ZR36057_FVAP_NAY) | in zr36057_set_jpg()461 (zr->jpg_settings.img_height << ZR36057_FVAP_PAY); in zr36057_set_jpg()472 reg = ((zr->jpg_settings.img_x + in zr36057_set_jpg()474 (zr->jpg_settings.img_width << ZR36057_FHAP_PAX); in zr36057_set_jpg()478 if (zr->jpg_settings.odd_even) in zr36057_set_jpg()609 int field_size = zr->buffer_size / zr->jpg_settings.field_per_buff; in zr36057_enable_jpg()613 cap.x = zr->jpg_settings.img_x; in zr36057_enable_jpg()614 cap.y = zr->jpg_settings.img_y; in zr36057_enable_jpg()615 cap.width = zr->jpg_settings.img_width; in zr36057_enable_jpg()[all …]
294 fmt->fmt.pix.width = zr->jpg_settings.img_width / zr->jpg_settings.hor_dcm; in zoran_g_fmt_vid_out()295 fmt->fmt.pix.height = zr->jpg_settings.img_height * 2 / in zoran_g_fmt_vid_out()296 (zr->jpg_settings.ver_dcm * zr->jpg_settings.tmp_dcm); in zoran_g_fmt_vid_out()299 if (zr->jpg_settings.tmp_dcm == 1) in zoran_g_fmt_vid_out()300 fmt->fmt.pix.field = (zr->jpg_settings.odd_even ? in zoran_g_fmt_vid_out()303 fmt->fmt.pix.field = (zr->jpg_settings.odd_even ? in zoran_g_fmt_vid_out()341 settings = zr->jpg_settings; in zoran_try_fmt_vid_out()349 if (fmt->fmt.pix.height <= zr->jpg_settings.img_height / 2) in zoran_try_fmt_vid_out()353 if (fmt->fmt.pix.width <= zr->jpg_settings.img_width / 4) in zoran_try_fmt_vid_out()355 else if (fmt->fmt.pix.width <= zr->jpg_settings.img_width / 2) in zoran_try_fmt_vid_out()[all …]
967 zr->jpg_settings.decimation = 1; in zoran_open_init_params()968 zr->jpg_settings.jpg_comp.quality = 50; /* default compression factor 8 */ in zoran_open_init_params()970 zr->jpg_settings.odd_even = 1; in zoran_open_init_params()972 zr->jpg_settings.odd_even = 0; in zoran_open_init_params()973 zr->jpg_settings.jpg_comp.APPn = 0; in zoran_open_init_params()974 zr->jpg_settings.jpg_comp.APP_len = 0; /* No APPn marker */ in zoran_open_init_params()975 memset(zr->jpg_settings.jpg_comp.APP_data, 0, in zoran_open_init_params()976 sizeof(zr->jpg_settings.jpg_comp.APP_data)); in zoran_open_init_params()977 zr->jpg_settings.jpg_comp.COM_len = 0; /* No COM marker */ in zoran_open_init_params()978 memset(zr->jpg_settings.jpg_comp.COM_data, 0, in zoran_open_init_params()[all …]
240 struct zoran_jpg_settings jpg_settings; /* structure with a lot of things to play with */ member