MAX_ZOOM
if (tpg_alloc(&dev->tpg, array_size(MAX_WIDTH, MAX_ZOOM)))
dev->scaled_line = vcalloc(MAX_WIDTH, MAX_ZOOM);
dev->blended_line = vcalloc(MAX_WIDTH, MAX_ZOOM);
0, 0, MAX_WIDTH * MAX_ZOOM, MAX_HEIGHT * MAX_ZOOM
s->r.width / MAX_ZOOM,
(s->r.height * factor) / MAX_ZOOM
s->r.width * MAX_ZOOM,
(s->r.height * factor) * MAX_ZOOM
fsize->stepwise.max_width = MAX_WIDTH * MAX_ZOOM;
fsize->stepwise.max_height = MAX_HEIGHT * MAX_ZOOM;
if (fival->width < MIN_WIDTH || fival->width > MAX_WIDTH * MAX_ZOOM)
if (fival->height < MIN_HEIGHT || fival->height > MAX_HEIGHT * MAX_ZOOM)
struct v4l2_rect max_r = { 0, 0, MAX_ZOOM * w, MAX_ZOOM * h };
max_bpl = (MAX_ZOOM * MAX_WIDTH * fmt->bit_depth[p]) >> 3;
r.width / MAX_ZOOM,
factor * r.height / MAX_ZOOM
r.width * MAX_ZOOM,
factor * r.height * MAX_ZOOM
compose->width / MAX_ZOOM,
factor * compose->height / MAX_ZOOM
compose->width * MAX_ZOOM,
factor * compose->height * MAX_ZOOM
s->r.width * MAX_ZOOM,
s->r.height * MAX_ZOOM
s->r.width / MAX_ZOOM,
s->r.height / MAX_ZOOM
dev->src_rect.width * MAX_ZOOM,
(dev->src_rect.height / factor) * MAX_ZOOM
struct v4l2_rect max_r = { 0, 0, MAX_ZOOM * w, MAX_ZOOM * h };
max_bpl = (MAX_ZOOM * MAX_WIDTH * fmt->bit_depth[p]) >> 3;
r.width / MAX_ZOOM,
factor * r.height / MAX_ZOOM
r.width * MAX_ZOOM,
factor * r.height * MAX_ZOOM
crop->width / MAX_ZOOM,
factor * crop->height / MAX_ZOOM
crop->width * MAX_ZOOM,
factor * crop->height * MAX_ZOOM
dev->sink_rect.width * MAX_ZOOM,
(dev->sink_rect.height / factor) * MAX_ZOOM
s->r.width / MAX_ZOOM,
(s->r.height * factor) / MAX_ZOOM
s->r.width * MAX_ZOOM,
(s->r.height * factor) * MAX_ZOOM
s->r.width * MAX_ZOOM,
s->r.height * MAX_ZOOM
s->r.width / MAX_ZOOM,
s->r.height / MAX_ZOOM