Lines Matching refs:rp
22 CRMessageReadPixels *rp;
29 const int msg_len = sizeof(*rp) + bytes_per_row * height;
50 rp = (CRMessageReadPixels *) crAlloc( msg_len );
57 format, type, rp + 1);
59 rp->header.type = CR_MESSAGE_READ_PIXELS;
60 rp->width = width;
61 rp->height = height;
62 rp->bytes_per_row = bytes_per_row;
63 rp->stride = stride;
64 rp->format = format;
65 rp->type = type;
66 rp->alignment = alignment;
67 rp->skipRows = skipRows;
68 rp->skipPixels = skipPixels;
69 rp->rowLength = rowLength;
72 crMemcpy( &rp->pixels, pixels, sizeof(rp->pixels) );
74 crNetSend( cr_server.curClient->conn, NULL, rp, msg_len );
75 crFree( rp );