• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/bt8xx/

Lines Matching refs:vb

578 	videobuf_waiton(&buf->vb,0,0);
579 videobuf_dma_unmap(q, &buf->vb.dma);
580 videobuf_dma_free(&buf->vb.dma);
583 buf->vb.state = STATE_NEEDS_INIT;
603 vbi->vb.state = STATE_ACTIVE;
604 list_del(&vbi->vb.queue);
645 set->top->vb.state = STATE_ACTIVE;
646 if (set->top->vb.queue.next)
647 list_del(&set->top->vb.queue);
649 set->top->vb.state = STATE_ACTIVE;
650 set->bottom->vb.state = STATE_ACTIVE;
651 if (set->top->vb.queue.next)
652 list_del(&set->top->vb.queue);
653 if (set->bottom->vb.queue.next)
654 list_del(&set->bottom->vb.queue);
667 set->top->vb.state = STATE_ACTIVE;
668 if (set->top->vb.queue.next)
669 list_del(&set->top->vb.queue);
678 set->bottom->vb.state = STATE_ACTIVE;
679 if (set->bottom->vb.queue.next)
680 list_del(&set->bottom->vb.queue);
705 btv->c.nr, v4l2_field_names[buf->vb.field],
706 buf->fmt->name, buf->vb.width, buf->vb.height);
710 int bpl = (buf->fmt->depth >> 3) * buf->vb.width;
711 int bpf = bpl * (buf->vb.height >> 1);
713 bttv_calc_geo(btv,&buf->geo,buf->vb.width,buf->vb.height,
714 V4L2_FIELD_HAS_BOTH(buf->vb.field),
717 switch (buf->vb.field) {
719 bttv_risc_packed(btv,&buf->top,buf->vb.dma.sglist,
722 buf->vb.height);
725 bttv_risc_packed(btv,&buf->bottom,buf->vb.dma.sglist,
726 0,bpl,0,0,buf->vb.height);
729 bttv_risc_packed(btv,&buf->top,buf->vb.dma.sglist,
730 0,bpl,bpl,0,buf->vb.height >> 1);
731 bttv_risc_packed(btv,&buf->bottom,buf->vb.dma.sglist,
732 bpl,bpl,bpl,0,buf->vb.height >> 1);
735 bttv_risc_packed(btv,&buf->top,buf->vb.dma.sglist,
736 0,bpl,0,0,buf->vb.height >> 1);
737 bttv_risc_packed(btv,&buf->bottom,buf->vb.dma.sglist,
738 bpf,bpl,0,0,buf->vb.height >> 1);
751 uoffset = buf->vb.width * buf->vb.height;
752 voffset = buf->vb.width * buf->vb.height;
765 switch (buf->vb.field) {
767 bttv_calc_geo(btv,&buf->geo,buf->vb.width,
768 buf->vb.height,/* both_fields */ 0,
770 bttv_risc_planar(btv, &buf->top, buf->vb.dma.sglist,
771 0,buf->vb.width,0,buf->vb.height,
776 bttv_calc_geo(btv,&buf->geo,buf->vb.width,
777 buf->vb.height,0,
779 bttv_risc_planar(btv, &buf->bottom, buf->vb.dma.sglist,
780 0,buf->vb.width,0,buf->vb.height,
785 bttv_calc_geo(btv,&buf->geo,buf->vb.width,
786 buf->vb.height,1,
788 lines = buf->vb.height >> 1;
789 ypadding = buf->vb.width;
790 cpadding = buf->vb.width >> buf->fmt->hshift;
792 buf->vb.dma.sglist,
793 0,buf->vb.width,ypadding,lines,
799 buf->vb.dma.sglist,
800 ypadding,buf->vb.width,ypadding,lines,
808 bttv_calc_geo(btv,&buf->geo,buf->vb.width,
809 buf->vb.height,1,
811 lines = buf->vb.height >> 1;
812 ypadding = buf->vb.width;
813 cpadding = buf->vb.width >> buf->fmt->hshift;
815 buf->vb.dma.sglist,
816 0,buf->vb.width,0,lines,
823 buf->vb.dma.sglist,
824 lines * ypadding,buf->vb.width,0,lines,
839 buf->vb.field = V4L2_FIELD_SEQ_TB;
842 bttv_risc_packed(btv, &buf->top, buf->vb.dma.sglist,
845 bttv_risc_packed(btv, &buf->bottom, buf->vb.dma.sglist,
846 buf->vb.size/2 , RAW_BPL, 0, 0, RAW_LINES);
867 btv->c.nr, v4l2_field_names[buf->vb.field],
894 buf->vb.field = ov->field;