Lines Matching defs:scale
1045 static int et61x251_set_scale(struct et61x251_device* cam, u8 scale)
1053 if (scale == 1)
1055 else if (scale == 2)
1061 PDBGG("Scaling factor: %u", scale);
1748 u8 scale;
1799 scale = b ? (u8)((a / b) < 4 ? 1 : 2) : 1;
1801 scale = 1;
1818 err += et61x251_set_scale(cam, scale);
1828 s->pix_format.width = rect->width/scale;
1829 s->pix_format.height = rect->height/scale;
1947 u8 scale;
1967 scale = b ? (u8)((a / b) < 4 ? 1 : 2) : 1;
1970 rect.width = scale * pix->width;
1971 rect.height = scale * pix->height;
1989 scale = b ? (u8)((a / b) < 4 ? 1 : 2) : 1;
1992 pix->width = rect.width / scale;
1993 pix->height = rect.height / scale;
2037 err += et61x251_set_scale(cam, scale);