MCPcopy Create free account
hub / github.com/ml-explore/mlx-data / JpegMemSourceMgr

Class JpegMemSourceMgr

mlx/data/core/image/ImageJPEG.cpp:19–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17
18const static JOCTET EOI_BUFFER[1] = {JPEG_EOI};
19struct JpegMemSourceMgr {
20 struct jpeg_source_mgr pub;
21 const uint8_t* data;
22 size_t len;
23};
24
25static void jpeg_mem_init_source(j_decompress_ptr cinfo) {}
26

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected