Lines Matching refs:frame
548 static void konicawc_process_isoc(struct uvd *uvd, struct usbvideo_frame *frame) in konicawc_process_isoc() argument
554 assert(frame != NULL); in konicawc_process_isoc()
557 DEBUG(3, "Frame state = %d", frame->scanstate); in konicawc_process_isoc()
559 if(frame->scanstate == ScanState_Scanning) { in konicawc_process_isoc()
583 frame->curline = 0; in konicawc_process_isoc()
584 frame->scanstate = ScanState_Lines; in konicawc_process_isoc()
595 if(frame->scanstate == ScanState_Scanning) in konicawc_process_isoc()
604 while ( frame->curline < maxline && (RingQueue_GetLength(&uvd->dp) >= 384)) { in konicawc_process_isoc()
606 RingQueue_Dequeue(&uvd->dp, frame->data + (frame->curline * 256), 256); in konicawc_process_isoc()
608 RingQueue_Dequeue(&uvd->dp, frame->data + yplanesz + (frame->curline * 64), 64); in konicawc_process_isoc()
610 RingQueue_Dequeue(&uvd->dp, frame->data + (5 * yplanesz)/4 + (frame->curline * 64), 64); in konicawc_process_isoc()
611 frame->seqRead_Length += 384; in konicawc_process_isoc()
612 frame->curline++; in konicawc_process_isoc()
615 if (frame->curline == maxline) { in konicawc_process_isoc()
618 frame->frameState = FrameState_Done_Hold; in konicawc_process_isoc()
619 frame->curline = 0; in konicawc_process_isoc()
707 uvd->frame[uvd->curframe].curline = 0; in konicawc_set_video_mode()
708 uvd->frame[uvd->curframe].seqRead_Length = 0; in konicawc_set_video_mode()
709 uvd->frame[uvd->curframe].seqRead_Index = 0; in konicawc_set_video_mode()