Lines Matching refs:frame_size
565 dma_region_sync(&video->dv_buf, f->data - (unsigned long) video->dv_buf.kvirt, video->frame_size); in frame_prepare()
995 video->frame_size = DV1394_NTSC_FRAME_SIZE; in do_dv1394_init()
999 video->frame_size = DV1394_PAL_FRAME_SIZE; in do_dv1394_init()
1059 video->frames[i]->data = (unsigned long) video->dv_buf.kvirt + i * video->frame_size; in do_dv1394_init()
1392 cnt = video->frame_size - (video->write_off - target_frame * video->frame_size); in dv1394_write()
1426 video->write_off = (video->write_off + cnt) % (video->n_frames * video->frame_size); in dv1394_write()
1432 if (video->write_off == video->frame_size * ((target_frame + 1) % video->n_frames)) in dv1394_write()
1496 cnt = video->frame_size - (video->write_off - target_frame * video->frame_size); in dv1394_read()
1530 video->write_off = (video->write_off + cnt) % (video->n_frames * video->frame_size); in dv1394_read()
1536 if (video->write_off == video->frame_size * ((target_frame + 1) % video->n_frames)) { in dv1394_read()
2357 if (f->n_packets > (video->frame_size / 480)) { in ir_tasklet_func()