Lines Matching defs:buf
35 uint8_t *ptr, *buf;
51 buf = pkt->data;
54 buf += snprintf(buf, 32, "#define image_width %u\n", avctx->width);
55 buf += snprintf(buf, 33, "#define image_height %u\n", avctx->height);
56 buf += snprintf(buf, 39, "static unsigned char image_bits[] = {\n");
59 buf += snprintf(buf, 6, " 0x%02X", ff_reverse[*ptr++]);
61 buf += snprintf(buf, 2, "\n");
64 buf += snprintf(buf, 2, ",");
66 buf += snprintf(buf, 2, "\n");
72 buf += snprintf(buf, 5, " };\n");
74 pkt->size = buf - pkt->data;