• Home
  • Raw
  • Download

Lines Matching refs:pitch

457 	vdma2->pitch		= 0x00;  in calculate_clipping_registers_rect()
514 saa7146_write(dev, PITCH2, vdma2.pitch); in saa7146_set_clipping_rect()
581 vdma1.pitch = 2*b_bpl; in saa7146_set_position()
583 vdma1.base_even = base + (w_y * (vdma1.pitch/2)) + (w_x * (b_depth / 8)); in saa7146_set_position()
584 vdma1.base_odd = vdma1.base_even + (vdma1.pitch / 2); in saa7146_set_position()
585 vdma1.prot_addr = vdma1.base_even + (w_height * (vdma1.pitch / 2)); in saa7146_set_position()
588 vdma1.base_even = base + ((w_y+w_height) * (vdma1.pitch/2)) + (w_x * (b_depth / 8)); in saa7146_set_position()
589 vdma1.base_odd = vdma1.base_even - (vdma1.pitch / 2); in saa7146_set_position()
590 vdma1.prot_addr = vdma1.base_odd - (w_height * (vdma1.pitch / 2)); in saa7146_set_position()
597 vdma1.pitch /= 2; in saa7146_set_position()
600 vdma1.pitch /= 2; in saa7146_set_position()
604 vdma1.pitch /= 2; in saa7146_set_position()
608 vdma1.pitch *= -1; in saa7146_set_position()
688 saa7146_write(dev, where+0x0c, vdma->pitch); in saa7146_write_out_dma()
722 vdma1.pitch = bytesperline*2; in calculate_video_dma_grab_packed()
724 vdma1.pitch = (width*depth*2)/8; in calculate_video_dma_grab_packed()
731 vdma1.base_even = buf->pt[0].offset+(vdma1.pitch/2)*height; in calculate_video_dma_grab_packed()
732 vdma1.base_odd = vdma1.base_even - (vdma1.pitch/2); in calculate_video_dma_grab_packed()
735 vdma1.base_odd = vdma1.base_even + (vdma1.pitch/2); in calculate_video_dma_grab_packed()
736 vdma1.prot_addr = buf->pt[0].offset+(vdma1.pitch/2)*height; in calculate_video_dma_grab_packed()
744 vdma1.pitch /= 2; in calculate_video_dma_grab_packed()
748 vdma1.pitch /= 2; in calculate_video_dma_grab_packed()
752 vdma1.pitch /= 2; in calculate_video_dma_grab_packed()
756 vdma1.pitch /= 2; in calculate_video_dma_grab_packed()
760 vdma1.pitch *= -1; in calculate_video_dma_grab_packed()
772 vdma2->pitch = width; in calc_planar_422()
773 vdma3->pitch = width; in calc_planar_422()
779 vdma2->base_even = ((vdma2->pitch/2)*height)+buf->pt[1].offset; in calc_planar_422()
780 vdma2->base_odd = vdma2->base_even - (vdma2->pitch/2); in calc_planar_422()
783 vdma3->base_even = ((vdma3->pitch/2)*height)+buf->pt[2].offset; in calc_planar_422()
784 vdma3->base_odd = vdma3->base_even - (vdma3->pitch/2); in calc_planar_422()
787 vdma3->base_odd = vdma3->base_even + (vdma3->pitch/2); in calc_planar_422()
788 vdma3->prot_addr = (vdma3->pitch/2)*height+buf->pt[2].offset; in calc_planar_422()
791 vdma2->base_odd = vdma2->base_even + (vdma2->pitch/2); in calc_planar_422()
792 vdma2->prot_addr = (vdma2->pitch/2)*height+buf->pt[1].offset; in calc_planar_422()
803 vdma2->pitch = width/2; in calc_planar_420()
804 vdma3->pitch = width/2; in calc_planar_420()
808 vdma2->base_even = ((vdma2->pitch/2)*height)+buf->pt[2].offset; in calc_planar_420()
809 vdma2->base_odd = vdma2->base_even - (vdma2->pitch/2); in calc_planar_420()
812 vdma3->base_even = ((vdma3->pitch/2)*height)+buf->pt[1].offset; in calc_planar_420()
813 vdma3->base_odd = vdma3->base_even - (vdma3->pitch/2); in calc_planar_420()
817 vdma3->base_odd = vdma3->base_even + (vdma3->pitch); in calc_planar_420()
818 vdma3->prot_addr = (vdma3->pitch/2)*height+buf->pt[2].offset; in calc_planar_420()
821 vdma2->base_odd = vdma2->base_even + (vdma2->pitch); in calc_planar_420()
822 vdma2->prot_addr = (vdma2->pitch/2)*height+buf->pt[1].offset; in calc_planar_420()
853 vdma1.pitch = width*2; in calculate_video_dma_grab_planar()
859 vdma1.base_even = ((vdma1.pitch/2)*height)+buf->pt[0].offset; in calculate_video_dma_grab_planar()
860 vdma1.base_odd = vdma1.base_even - (vdma1.pitch/2); in calculate_video_dma_grab_planar()
863 vdma1.base_odd = vdma1.base_even + (vdma1.pitch/2); in calculate_video_dma_grab_planar()
864 vdma1.prot_addr = (vdma1.pitch/2)*height+buf->pt[0].offset; in calculate_video_dma_grab_planar()
891 vdma1.pitch /= 2; in calculate_video_dma_grab_planar()
893 vdma2.pitch /= 2; in calculate_video_dma_grab_planar()
895 vdma3.pitch /= 2; in calculate_video_dma_grab_planar()
898 vdma1.pitch /= 2; in calculate_video_dma_grab_planar()
900 vdma2.pitch /= 2; in calculate_video_dma_grab_planar()
902 vdma3.pitch /= 2; in calculate_video_dma_grab_planar()
906 vdma1.pitch /= 2; in calculate_video_dma_grab_planar()
909 vdma2.pitch /= 2; in calculate_video_dma_grab_planar()
912 vdma3.pitch /= 2; in calculate_video_dma_grab_planar()
916 vdma1.pitch *= -1; in calculate_video_dma_grab_planar()
917 vdma2.pitch *= -1; in calculate_video_dma_grab_planar()
918 vdma3.pitch *= -1; in calculate_video_dma_grab_planar()