Searched refs:GSPCA_MAX_FRAMES (Results 1 – 2 of 2) sorted by relevance
34 #define GSPCA_MAX_FRAMES 16 /* maximum number of video frame buffers */ macro178 struct gspca_frame frame[GSPCA_MAX_FRAMES];184 signed char fr_queue[GSPCA_MAX_FRAMES]; /* frame queue */
489 i = (i + 1) % GSPCA_MAX_FRAMES; in gspca_frame_add()510 if (count >= GSPCA_MAX_FRAMES) in frame_alloc()511 count = GSPCA_MAX_FRAMES - 1; in frame_alloc()1583 if (n == 0 || n >= GSPCA_MAX_FRAMES) in vidioc_s_parm()1736 gspca_dev->fr_o = (i + 1) % GSPCA_MAX_FRAMES; in vidioc_dqbuf()1813 atomic_set(&gspca_dev->fr_q, (i + 1) % GSPCA_MAX_FRAMES); in vidioc_qbuf()