Lines Matching defs:bpp
197 static unsigned int saa_geo_setup(int width, int height, int interlace, int bpp,
202 switch(bpp) {
282 int bpp, int clip, struct planb *pb)
286 if((saa_geo_setup(width, height, interlace, bpp, pb)) != 0)
297 bpp | ((clip)? PLANB_CLIPMASK: 0));
299 bpp | ((clip)? PLANB_CLIPMASK: 0));
676 int i, bpp, count, nlines, stepsize, interlace;
682 bpp = pb->win.bpp;
683 count = (bpp * ((pb->win.x + pb->win.width > pb->win.swidth) ?
696 bpp, 1, pb)) == NULL) {
721 + pb->win.pad) + pb->win.x * bpp);
883 if (mp->height * mp->width * format > PLANB_MAX_FBUF) /* format = bpp */
929 planb_pre_capture(fr, pb->gfmt[fr], pb); /* gfmt = bpp */
1083 static void planb_pre_capture(int fr, int bpp, struct planb *pb)
1090 bpp, 0, pb)) == NULL) {
1125 int i, bpp, count, nlines, stepsize, interlace;
1139 bpp = pb->gfmt[fr]; /* gfmt = bpp */
1140 count = bpp * pb->gwidth[fr];
1155 bpp, 0, pb)) == NULL) {
1445 unsigned short bpp;
1458 bpp = 1;
1463 bpp = 2;
1468 bpp = 4;
1475 if (bpp * v.width > v.bytesperline) {
1479 pb->win.bpp = bpp;
1485 pb->win.bpl = pb->win.bpp * pb->win.swidth;
1490 pb->win.bpp, pb->win.bpl, pb->win.pad);
2037 pb->win.bpp=4;
2040 pb->win.bpl=1024*pb->win.bpp;