Lines Matching refs:newsize
598 int newsize; in konicawc_set_video_mode() local
605 for(newsize = 0; newsize <= MAX_FRAME_SIZE; newsize++) { in konicawc_set_video_mode()
606 if((camera_sizes[newsize].width == x) && (camera_sizes[newsize].height == y)) in konicawc_set_video_mode()
610 newsize = cam->size; in konicawc_set_video_mode()
613 if(newsize > MAX_FRAME_SIZE) { in konicawc_set_video_mode()
620 newspeed = konicawc_find_fps(newsize, fps); in konicawc_set_video_mode()
621 DEBUG(1, "find_fps returned %d (%d)", newspeed, spd_to_fps[newsize][newspeed]); in konicawc_set_video_mode()
627 DEBUG(1, "setting size to %d speed to %d", newsize, newspeed); in konicawc_set_video_mode()
628 if((newsize == cam->size) && (newspeed == cam->speed)) { in konicawc_set_video_mode()
632 DEBUG(0, "setting to %dx%d @ %d fps", camera_sizes[newsize].width, in konicawc_set_video_mode()
633 camera_sizes[newsize].height, spd_to_fps[newsize][newspeed]/3); in konicawc_set_video_mode()
640 if(cam->size != newsize) { in konicawc_set_video_mode()
641 cam->size = newsize; in konicawc_set_video_mode()