VGA_WIDTH
mt9t112_set_a_frame_size(client, VGA_WIDTH, VGA_HEIGHT);
PER_SIZE_REG_SEQ(VGA_WIDTH, VGA_HEIGHT, 0, 0, 2),
OV2640_SIZE("VGA", VGA_WIDTH, VGA_HEIGHT, ov2640_vga_regs),
.width = VGA_WIDTH,
.width = VGA_WIDTH,
if (fie->width != VGA_WIDTH && fie->width != QVGA_WIDTH)
#define OV772X_MAX_WIDTH VGA_WIDTH
.width = VGA_WIDTH,
.width = VGA_WIDTH,
if ((fie->width != VGA_WIDTH) || (fie->height != VGA_HEIGHT))
fse->min_width = fse->max_width = VGA_WIDTH;
.width = VGA_WIDTH,
{{ 10, 125 }, { VGA_WIDTH, VGA_HEIGHT }, 1 }, /* 12.5 fps */
{{ 1, 25 }, { VGA_WIDTH, VGA_HEIGHT }, 0 }, /* 25 fps */
.width = VGA_WIDTH,
.width = VGA_WIDTH,
.bytesperline = VGA_WIDTH*2,
.sizeimage = VGA_WIDTH*VGA_HEIGHT*2,
static int dma_buf_size = VGA_WIDTH * VGA_HEIGHT * 2; /* Worst case */
.width = VGA_WIDTH,
.width = VGA_WIDTH,
.sizeimage = VGA_WIDTH * VGA_HEIGHT * 2,
.bytesperline = VGA_WIDTH * 2,
.sizeimage = VGA_WIDTH * VGA_HEIGHT * 2,
.bytesperline = VGA_WIDTH * 2,
if (viadev->camera_fbmem_size < (VGA_HEIGHT*VGA_WIDTH*4)) {
if (cam->user_format.width == VGA_WIDTH)
sf = (cam->user_format.width*2048)/VGA_WIDTH;
.width = VGA_WIDTH,
.bytesperline = VGA_WIDTH * 2,
.sizeimage = VGA_WIDTH * VGA_HEIGHT * 2,
if (userfmt->width > VGA_WIDTH || userfmt->height > VGA_HEIGHT) {
userfmt->width = VGA_WIDTH;
sensorfmt->width = VGA_WIDTH;
sizes->stepwise.max_width = VGA_WIDTH;
if (interval->width < QCIF_WIDTH || interval->width > VGA_WIDTH ||
.width = VGA_WIDTH,
viapar->shared->vdev->camera_fbmem_size = 3*VGA_HEIGHT*VGA_WIDTH*2;