Lines Matching refs:frm
559 struct zr364xx_framei *frm = &cam->buffer.frame[idx]; in zr364xx_read_video_callback() local
575 frm->ulState = ZR364XX_READ_IDLE; in zr364xx_read_video_callback()
580 ptr = pdest = frm->lpvbits; in zr364xx_read_video_callback()
582 if (frm->ulState == ZR364XX_READ_IDLE) { in zr364xx_read_video_callback()
591 frm->ulState = ZR364XX_READ_FRAME; in zr364xx_read_video_callback()
592 frm->cur_size = 0; in zr364xx_read_video_callback()
616 frm->cur_size = ptr - pdest; in zr364xx_read_video_callback()
618 if (frm->cur_size + purb->actual_length > MAX_FRAME_SIZE) { in zr364xx_read_video_callback()
623 pdest += frm->cur_size; in zr364xx_read_video_callback()
625 frm->cur_size += purb->actual_length; in zr364xx_read_video_callback()
641 ptr = pdest = frm->lpvbits; in zr364xx_read_video_callback()
642 ptr += frm->cur_size - 2; in zr364xx_read_video_callback()
668 frm->cur_size, in zr364xx_read_video_callback()
672 zr364xx_got_frame(cam, frm->cur_size); in zr364xx_read_video_callback()
676 frm->ulState = ZR364XX_READ_IDLE; in zr364xx_read_video_callback()
677 frm->cur_size = 0; in zr364xx_read_video_callback()