Debian Codegraph @

d2x-rebirth/libmve/decoders.h

raw
1 /*
2 * This file is part of the DXX-Rebirth project <https://www.dxx-rebirth.com/>.
3 * It is copyright by its individual contributors, as recorded in the
4 * project's Git history. See COPYING.txt at the top level for license
5 * terms and a link to the Git history.
6 */
7 /*
8 *
9 * INTERNAL header - not to be included outside of libmve
10 *
11 */
12
13 #pragma once
14 #include <cstdint>
15 #include <span>
16
17 namespace d2x {
18
19 void decodeFrame8(const uint8_t *vBackBuf2, std::size_t width, std::size_t height, unsigned char *pFrame, std::span<const uint8_t> pMap, const unsigned char *pData, int dataRemain);
20 void decodeFrame16(const uint16_t *backBuf2, std::size_t width, std::size_t height, unsigned char *pFrame, std::span<const uint8_t> pMap, const unsigned char *pData, int dataRemain);
21
22 }