51 #define BITSTREAM_WRITER_LE
62 uint8_t **bytestream, uint32_t *palette)
69 bytestream_put_le16(bytestream, avctx->
width);
70 bytestream_put_le16(bytestream, avctx->
height);
72 bytestream_put_byte(bytestream, 0xf7);
73 bytestream_put_byte(bytestream, 0x1f);
74 bytestream_put_byte(bytestream, 0);
79 bytestream_put_be24(bytestream, v);
87 const uint8_t *buf,
int linesize)
94 bytestream_put_byte(bytestream, 0x2c);
95 bytestream_put_le16(bytestream, 0);
96 bytestream_put_le16(bytestream, 0);
97 bytestream_put_le16(bytestream, avctx->
width);
98 bytestream_put_le16(bytestream, avctx->
height);
99 bytestream_put_byte(bytestream, 0x00);
102 bytestream_put_byte(bytestream, 0x08);
117 bytestream_put_byte(bytestream, size);
118 if (end - *bytestream < size)
124 bytestream_put_byte(bytestream, 0x00);
125 bytestream_put_byte(bytestream, 0x3b);
151 const AVFrame *pict,
int *got_packet)
160 outbuf_ptr = pkt->
data;