/*
    Open1560 - An Open Source Re-Implementation of Midtown Madness 1 Beta
    Copyright (C) 2020 Brick

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

struct jpeg_decompress_struct;

// ?jpeg_CreateDecompress@@YAXPAUjpeg_decompress_struct@@HI@Z
ARTS_IMPORT void jpeg_CreateDecompress(jpeg_decompress_struct* arg1, i32 arg2, u32 arg3);

// ?jpeg_consume_input@@YAHPAUjpeg_decompress_struct@@@Z
ARTS_IMPORT i32 jpeg_consume_input(jpeg_decompress_struct* arg1);

// ?jpeg_destroy_decompress@@YAXPAUjpeg_decompress_struct@@@Z
ARTS_IMPORT void jpeg_destroy_decompress(jpeg_decompress_struct* arg1);

// ?jpeg_finish_decompress@@YAEPAUjpeg_decompress_struct@@@Z
ARTS_IMPORT u8 jpeg_finish_decompress(jpeg_decompress_struct* arg1);

// ?jpeg_read_header@@YAHPAUjpeg_decompress_struct@@E@Z
ARTS_IMPORT i32 jpeg_read_header(jpeg_decompress_struct* arg1, u8 arg2);
