Lines Matching defs:buf

42     uint8_t *ptr, *buf;
152 buf = pkt->data;
157 bytestream_put_be32(&buf, header_size);
158 bytestream_put_be32(&buf, XWD_VERSION); // file version
159 bytestream_put_be32(&buf, XWD_Z_PIXMAP); // pixmap format
160 bytestream_put_be32(&buf, pixdepth); // pixmap depth in pixels
161 bytestream_put_be32(&buf, avctx->width); // pixmap width in pixels
162 bytestream_put_be32(&buf, avctx->height); // pixmap height in pixels
163 bytestream_put_be32(&buf, 0); // bitmap x offset
164 bytestream_put_be32(&buf, be); // byte order
165 bytestream_put_be32(&buf, 32); // bitmap unit
166 bytestream_put_be32(&buf, bitorder); // bit-order of image data
167 bytestream_put_be32(&buf, bpad); // bitmap scan-line pad in bits
168 bytestream_put_be32(&buf, bpp); // bits per pixel
169 bytestream_put_be32(&buf, lsize); // bytes per scan-line
170 bytestream_put_be32(&buf, vclass); // visual class
171 bytestream_put_be32(&buf, rgb[0]); // red mask
172 bytestream_put_be32(&buf, rgb[1]); // green mask
173 bytestream_put_be32(&buf, rgb[2]); // blue mask
174 bytestream_put_be32(&buf, 8); // size of each bitmask in bits
175 bytestream_put_be32(&buf, ncolors); // number of colors
176 bytestream_put_be32(&buf, ncolors); // number of entries in color map
177 bytestream_put_be32(&buf, avctx->width); // window width
178 bytestream_put_be32(&buf, avctx->height); // window height
179 bytestream_put_be32(&buf, 0); // window upper left X coordinate
180 bytestream_put_be32(&buf, 0); // window upper left Y coordinate
181 bytestream_put_be32(&buf, 0); // window border width
182 bytestream_put_buffer(&buf, WINDOW_NAME, WINDOW_NAME_SIZE);
199 bytestream_put_be32(&buf, i); // colormap entry number
200 bytestream_put_be16(&buf, red << 8);
201 bytestream_put_be16(&buf, green << 8);
202 bytestream_put_be16(&buf, blue << 8);
203 bytestream_put_byte(&buf, 0x7); // bitmask flag
204 bytestream_put_byte(&buf, 0); // padding
209 bytestream_put_buffer(&buf, ptr, lsize);