MCPcopy Create free account
hub / github.com/darktable-org/rawspeed / init_source

Function init_source

src/librawspeed/decompressors/JpegDecompressor.cpp:58–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56/* Read JPEG image from a memory segment */
57
58static void init_source(j_decompress_ptr cinfo) {}
59static boolean fill_input_buffer(j_decompress_ptr cinfo) {
60 auto* src = (struct jpeg_source_mgr*)cinfo->src;
61 return (boolean) !!src->bytes_in_buffer;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected