| /linux/drivers/media/i2c/ |
| H A D | tw9910.c | 219 u16 hscale; member 239 .hscale = 0x0100, 246 .hscale = 0x0100, 253 .hscale = 0x0200, 260 .hscale = 0x0200, 267 .hscale = 0x0400, 274 .hscale = 0x0400, 284 .hscale = 0x0100, 291 .hscale = 0x0100, 298 .hscale = 0x0200, [all …]
|
| H A D | bt819.c | 65 int hscale; member 186 init[0x08 * 2 - 1] = timing->hscale >> 8; in bt819_init() 187 init[0x09 * 2 - 1] = timing->hscale & 0xff; in bt819_init() 277 bt819_write(decoder, 0x08, (timing->hscale >> 8) & 0xff); in bt819_s_std() 278 bt819_write(decoder, 0x09, timing->hscale & 0xff); in bt819_s_std()
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_rect.c | 174 int hscale = drm_calc_scale(src_w, dst_w); in drm_rect_calc_hscale() local 176 if (hscale < 0 || dst_w == 0) in drm_rect_calc_hscale() 177 return hscale; in drm_rect_calc_hscale() 179 if (hscale < min_hscale || hscale > max_hscale) in drm_rect_calc_hscale() 182 return hscale; in drm_rect_calc_hscale()
|
| H A D | drm_atomic_helper.c | 905 int hscale, vscale; in drm_atomic_helper_check_plane_state() local 932 hscale = drm_rect_calc_hscale(src, dst, min_scale, max_scale); in drm_atomic_helper_check_plane_state() 934 if (hscale < 0 || vscale < 0) { in drm_atomic_helper_check_plane_state()
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | dvo_ns2501.c | 221 u16 hscale; /* horizontal scaling factor, b8/b9 */ member 248 .hscale = 40960, 268 .hscale = 51248, 287 .hscale = 65535, 635 ns2501_writeb(dvo, NS2501_REGB8, conf->hscale & 0xff); in ns2501_mode_set() 636 ns2501_writeb(dvo, NS2501_REGB9, conf->hscale >> 8); in ns2501_mode_set()
|
| H A D | intel_plane.c | 1047 int hscale, vscale; in intel_plane_check_clipping() local 1057 hscale = drm_rect_calc_hscale(src, dst, min_scale, max_scale); in intel_plane_check_clipping() 1059 if (hscale < 0 || vscale < 0) { in intel_plane_check_clipping()
|
| H A D | intel_display_types.h | 770 int hscale; member
|
| /linux/drivers/media/pci/cx25821/ |
| H A D | cx25821-medusa-video.c | 411 u32 hscale = 0x0; in medusa_set_resolution() local 432 hscale = 0x13E34B; in medusa_set_resolution() 437 hscale = 0x10A273; in medusa_set_resolution() 442 hscale = 0x3115B2; in medusa_set_resolution() 447 hscale = 0x378D84; in medusa_set_resolution() 452 hscale = 0x0; in medusa_set_resolution() 460 HSCALE_CTRL + (0x200 * decoder), hscale); in medusa_set_resolution()
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | selection-api-examples.rst | 74 double hscale, vscale; 84 hscale = (double)compose.r.width / crop.r.width;
|
| H A D | crop.rst | 271 double hscale, vscale; 306 hscale = format.fmt.pix.width / (double) crop.c.width; 311 aspect = aspect * hscale / vscale;
|
| /linux/drivers/media/pci/bt8xx/ |
| H A D | bttv-risc.c | 257 geo->hscale = ((totalwidth*4096UL)/xsf-4096); in bttv_calc_geo_old() 310 geo->hscale = (c_width * 4096U + (width >> 1)) / width - 4096; in bttv_calc_geo() 347 btwrite(geo->hscale >> 8, BT848_E_HSCALE_HI+off); in bttv_apply_geo() 348 btwrite(geo->hscale & 0xff, BT848_E_HSCALE_LO+off); in bttv_apply_geo()
|
| H A D | bttvp.h | 139 u16 width,hscale,hdelay; member
|
| /linux/drivers/media/platform/rockchip/rkvdec/ |
| H A D | rkvdec-vp9.c | 619 u32 hscale, vscale; in config_registers() local 621 hscale = (refw << 14) / dst->vp9.width; in config_registers() 624 regs->vp9.reg29_31[i].ref_hor_scale = hscale; in config_registers()
|
| /linux/drivers/media/platform/chips-media/coda/ |
| H A D | coda-common.c | 665 int hscale = 0; in coda_try_fmt_vid_cap() local 685 hscale = coda_jpeg_scale(q_data_src->width, f->fmt.pix.width); in coda_try_fmt_vid_cap() 688 f->fmt.pix.width = q_data_src->width >> hscale; in coda_try_fmt_vid_cap() 719 f->fmt.pix.bytesperline = round_up(f->fmt.pix.width, 16 >> hscale); in coda_try_fmt_vid_cap() 863 int hscale = 0; in coda_s_fmt_vid_cap() local 871 hscale = coda_jpeg_scale(q_data_src->width, f->fmt.pix.width); in coda_s_fmt_vid_cap() 881 r.width = q_data_src->width >> hscale; in coda_s_fmt_vid_cap()
|