struct jpeg_source_mgr

#include </home/jlblanco/mrpt/libs/img/src/jpeglib/mrpt_jpeglib.h>

struct jpeg_source_mgr
{
    //
fields

    const JOCTET* next_input_byte;
    size_t bytes_in_buffer;

    //
methods

    JMETHOD(
        void,
        init_source,
        (j_decompress_ptr cinfo)
        );

    JMETHOD(
        boolean,
        fill_input_buffer,
        (j_decompress_ptr cinfo)
        );

    JMETHOD(
        void,
        skip_input_data,
        (j_decompress_ptr cinfo, long num_bytes)
        );

    JMETHOD(
        boolean,
        resync_to_restart,
        (j_decompress_ptr cinfo, int desired)
        );

    JMETHOD(
        void,
        term_source,
        (j_decompress_ptr cinfo)
        );
};