NESe (pronounced "Nessie") is a NES emulator based on the e6502 emulator, also written in C with a focus on speed and portability for use on embedded platforms, especially ARM.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
475B

  1. #ifndef NESE_RLE_H_
  2. #define NESE_RLE_H_
  3. #include <stdint.h>
  4. int rle_encode(uint8_t* dst, int dst_size,
  5. const uint8_t* src, int src_size);
  6. int rle_decode(uint8_t* dst, int dst_size,
  7. const uint8_t* src, int src_size);
  8. int rle_decoded_size(const uint8_t* data, int size);
  9. int rle_encoded_size(const uint8_t* data, int size);
  10. int rle_encoded_size_for(const uint8_t* data, int size,
  11. int decoded);
  12. #endif // NESE_RLE_H_