Lines Matching defs:scale
234 const struct tw9910_scale_ctrl *scale;
353 const struct tw9910_scale_ctrl *scale)
358 (scale->vscale & 0x0F00) >> 4 |
359 (scale->hscale & 0x0F00) >> 8);
364 scale->hscale & 0x00FF);
369 scale->vscale & 0x00FF);
431 const struct tw9910_scale_ctrl *scale;
437 scale = tw9910_ntsc_scales;
440 scale = tw9910_pal_scales;
447 tmp = abs(width - scale[i].width) +
448 abs(height - scale[i].height);
451 ret = scale + i;
483 if (!priv->scale) {
489 priv->scale->name,
490 priv->scale->width,
491 priv->scale->height);
657 priv->scale = tw9910_select_norm(priv->norm, *width, *height);
658 if (!priv->scale)
699 /* Set scale. */
700 ret = tw9910_set_scale(client, priv->scale);
709 *width = priv->scale->width;
710 *height = priv->scale->height;
717 priv->scale = NULL;
759 if (!priv->scale) {
760 priv->scale = tw9910_select_norm(priv->norm, 640, 480);
761 if (!priv->scale)
765 mf->width = priv->scale->width;
766 mf->height = priv->scale->height;
806 const struct tw9910_scale_ctrl *scale;
822 scale = tw9910_select_norm(priv->norm, mf->width, mf->height);
823 if (!scale)
826 mf->width = scale->width;
827 mf->height = scale->height;
872 priv->scale = &tw9910_ntsc_scales[0];