Lines Matching refs:snapshot
292 static int set_video_mode_Timon(struct pwc_device *pdev, int size, int frames, int compression, int snapshot)
318 if (snapshot)
333 pdev->vsnapshot = snapshot;
345 static int set_video_mode_Kiara(struct pwc_device *pdev, int size, int frames, int compression, int snapshot)
358 /* special case: VGA @ 5 fps and snapshot is raw bayer mode */
359 if (size == PSZ_VGA && frames == 5 && snapshot && pdev->vpalette == VIDEO_PALETTE_RAW)
374 snapshot = 0;
389 if (snapshot)
405 pdev->vsnapshot = snapshot;
426 @snapshot: snapshot mode or streaming
428 int pwc_set_video_mode(struct pwc_device *pdev, int width, int height, int frames, int compression, int snapshot)
444 ret = set_video_mode_Kiara(pdev, size, frames, compression, snapshot);
447 ret = set_video_mode_Timon(pdev, size, frames, compression, snapshot);