51 #define BITSTREAM_WRITER_LE
63 uint8_t **bytestream, uint32_t *palette)
70 bytestream_put_le16(bytestream, avctx->
width);
71 bytestream_put_le16(bytestream, avctx->
height);
73 bytestream_put_byte(bytestream, 0xf7);
74 bytestream_put_byte(bytestream, 0x1f);
75 bytestream_put_byte(bytestream, 0);
80 bytestream_put_be24(bytestream, v);
88 const uint8_t *buf,
int linesize)
95 bytestream_put_byte(bytestream, 0x2c);
96 bytestream_put_le16(bytestream, 0);
97 bytestream_put_le16(bytestream, 0);
98 bytestream_put_le16(bytestream, avctx->
width);
99 bytestream_put_le16(bytestream, avctx->
height);
100 bytestream_put_byte(bytestream, 0x00);
103 bytestream_put_byte(bytestream, 0x08);
118 bytestream_put_byte(bytestream, size);
119 if (end - *bytestream < size)
125 bytestream_put_byte(bytestream, 0x00);
126 bytestream_put_byte(bytestream, 0x3b);
146 const AVFrame *pict,
int *got_packet)
157 outbuf_ptr = pkt->
data;