Lines Matching defs:hdr
120 uint8_t *hdr = buf + 27; // Point behind the timestamp
166 bytestream_put_le16(&hdr, width);
167 bytestream_put_le16(&hdr, height);
168 bytestream_put_le16(&hdr, h->rects[0]->x);
169 bytestream_put_le16(&hdr, h->rects[0]->y);
170 bytestream_put_le16(&hdr, h->rects[0]->x + width -1);
171 bytestream_put_le16(&hdr, h->rects[0]->y + height -1);
173 rlelenptr = hdr; // Will store length of first field here later.
174 hdr+=2;
178 bytestream_put_be24(&hdr, ((uint32_t *)h->rects[0]->data[1])[i]);
182 init_put_bits(&pb, hdr, bufsize - (hdr - buf) - 2);
201 return hdr - buf + put_bytes_output(&pb);