• Home
  • Raw
  • Download

Lines Matching refs:bytestream

52     uint8_t *bytestream;  member
251 png_write_chunk(&s->bytestream, MKTAG('I', 'D', 'A', 'T'), buf, length); in png_write_image_data()
255 bytestream_put_be32(&s->bytestream, length + 4); in png_write_image_data()
257 bytestream_put_be32(&s->bytestream, MKBETAG('f', 'd', 'A', 'T')); in png_write_image_data()
258 bytestream_put_be32(&s->bytestream, s->sequence_number); in png_write_image_data()
259 crc = av_crc(crc_table, crc, s->bytestream - 8, 8); in png_write_image_data()
262 memcpy(s->bytestream, buf, length); in png_write_image_data()
263 s->bytestream += length; in png_write_image_data()
265 bytestream_put_be32(&s->bytestream, ~crc); in png_write_image_data()
283 if (s->bytestream_end - s->bytestream > IOBUF_SIZE + 100) in png_write_row()
358 png_write_chunk(&s->bytestream, MKTAG('I', 'H', 'D', 'R'), s->buf, 13); in encode_headers()
370 png_write_chunk(&s->bytestream, MKTAG('p', 'H', 'Y', 's'), s->buf, 9); in encode_headers()
379 png_write_chunk(&s->bytestream, MKTAG('s', 'T', 'E', 'R'), s->buf, 1); in encode_headers()
393 png_write_chunk(&s->bytestream, MKTAG('s', 'R', 'G', 'B'), s->buf, 1); in encode_headers()
397 png_write_chunk(&s->bytestream, MKTAG('c', 'H', 'R', 'M'), s->buf, 32); in encode_headers()
399 png_write_chunk(&s->bytestream, MKTAG('g', 'A', 'M', 'A'), s->buf, 4); in encode_headers()
420 png_write_chunk(&s->bytestream, in encode_headers()
423 png_write_chunk(&s->bytestream, in encode_headers()
501 if (len > 0 && s->bytestream_end - s->bytestream > len + 100) { in encode_frame()
546 s->bytestream = pkt->data; in encode_png()
549 AV_WB64(s->bytestream, PNGSIG); in encode_png()
550 s->bytestream += 8; in encode_png()
560 png_write_chunk(&s->bytestream, MKTAG('I', 'E', 'N', 'D'), NULL, 0); in encode_png()
562 pkt->size = s->bytestream - s->bytestream_start; in encode_png()
747 original_bytestream = s->bytestream; in apng_encode_frame()
767 uint8_t *bytestream_start = s->bytestream; in apng_encode_frame()
803 bytestream_size = s->bytestream - bytestream_start; in apng_encode_frame()
804 s->bytestream = bytestream_start; in apng_encode_frame()
813 best_bytestream = s->bytestream; in apng_encode_frame()
817 s->bytestream = temp_bytestream; in apng_encode_frame()
820 s->bytestream = original_bytestream; in apng_encode_frame()
828 s->bytestream = original_bytestream + best_bytestream_size; in apng_encode_frame()
876 s->bytestream = s->extra_data = av_malloc(AV_INPUT_BUFFER_MIN_SIZE); in encode_apng()
884 s->extra_data_size = s->bytestream - s->extra_data; in encode_apng()
901 s->bytestream = s->last_frame_packet; in encode_apng()
902 s->bytestream_end = s->bytestream + max_packet_size; in encode_apng()
908 s->bytestream += 26 + 12; in encode_apng()
981 s->last_frame_packet_size = s->bytestream - s->bytestream_start; in encode_apng()