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

Function jpeg_stream_empty_output_buffer

mapimageio.c:106–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104}
105
106int jpeg_stream_empty_output_buffer (j_compress_ptr cinfo) {
107 ms_stream_destination_mgr *dest = (ms_stream_destination_mgr*) cinfo->dest;
108 msIO_fwrite(dest->mgr.data, OUTPUT_BUF_SIZE, 1, dest->stream);
109 dest->mgr.pub.next_output_byte = dest->mgr.data;
110 dest->mgr.pub.free_in_buffer = OUTPUT_BUF_SIZE;
111 return TRUE;
112}
113
114int jpeg_buffer_empty_output_buffer (j_compress_ptr cinfo) {
115 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