Lines Matching refs:curline
475 frame->curline = 0; in usbvision_find_header()
493 f = frame->data + (frame->v4l2_linesize * frame->curline); in usbvision_parse_lines_422()
498 PDEBUG(DBG_PARSE, "out of data in line %d, need %u.\n", frame->curline, len); in usbvision_parse_lines_422()
502 if ((frame->curline + 1) >= frame->frmheight) in usbvision_parse_lines_422()
507 clipmask_index = frame->curline * MAX_FRAME_WIDTH; in usbvision_parse_lines_422()
582 frame->curline += usbvision->stretch_height; in usbvision_parse_lines_422()
585 if (frame->curline >= frame->frmheight) in usbvision_parse_lines_422()
705 f = frame->data + (frame->width * frame->curline); in usbvision_parse_compress()
707 f = frame->data + (frame->v4l2_linesize * frame->curline); in usbvision_parse_compress()
713 + (frame->frmwidth >> 1) * frame->curline; in usbvision_parse_compress()
716 v = frame->data + image_size + ((frame->curline * (frame->width)) >> 2); in usbvision_parse_compress()
720 if (frame->curline == 0) in usbvision_parse_compress()
737 if (frame->curline != (int)strip_header[2]) { in usbvision_parse_compress()
755 Y = usbvision->intra_frame_buffer + frame->frmwidth * frame->curline; in usbvision_parse_compress()
756 U = usbvision->intra_frame_buffer + image_size + (frame->frmwidth / 2) * (frame->curline / 2); in usbvision_parse_compress()
757 …V = usbvision->intra_frame_buffer + image_size / 4 * 5 + (frame->frmwidth / 2) * (frame->curline /… in usbvision_parse_compress()
762 clipmask_index = frame->curline * MAX_FRAME_WIDTH; in usbvision_parse_compress()
777 if (frame->curline % 2) in usbvision_parse_compress()
799 if (!((idx & 0x01) | (frame->curline & 0x01))) { in usbvision_parse_compress()
842 *pcopylen += frame->curline & 0x01 ? frame->v4l2_linesize : frame->v4l2_linesize << 1; in usbvision_parse_compress()
844 frame->curline += 1; in usbvision_parse_compress()
846 if (frame->curline >= frame->frmheight) in usbvision_parse_compress()
882 f_even = frame->data + (frame->v4l2_linesize * frame->curline); in usbvision_parse_lines_420()
890 clipmask_even_index = frame->curline * MAX_FRAME_WIDTH; in usbvision_parse_lines_420()
900 if ((frame->curline + 1) >= frame->frmheight) in usbvision_parse_lines_420()
1113 frame->curline += 2 * usbvision->stretch_height; in usbvision_parse_lines_420()
1116 if (frame->curline >= frame->frmheight) in usbvision_parse_lines_420()