MCPcopy Create free account
hub / github.com/MapServer/MapServer / jpeg_stream_term_destination

Function jpeg_stream_term_destination

mapimageio.c:92–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92void jpeg_stream_term_destination (j_compress_ptr cinfo) {
93 ms_stream_destination_mgr *dest = (ms_stream_destination_mgr*) cinfo->dest;
94 msIO_fwrite(dest->mgr.data, OUTPUT_BUF_SIZE-dest->mgr.pub.free_in_buffer, 1, dest->stream);
95 dest->mgr.pub.next_output_byte = dest->mgr.data;
96 dest->mgr.pub.free_in_buffer = OUTPUT_BUF_SIZE;
97}
98
99void jpeg_buffer_term_destination (j_compress_ptr cinfo) {
100 ms_buffer_destination_mgr *dest = (ms_buffer_destination_mgr*) cinfo->dest;

Callers

nothing calls this directly

Calls 1

msIO_fwriteFunction · 0.85

Tested by

no test coverage detected