forked from bbbbbr/gimp-plugin-pixel-art-scalers
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix bbbbbr#8: GIMP 3 / GTK3 migration
- Loading branch information
1 parent
7211ba0
commit 7de716b
Showing
25 changed files
with
73 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
// | ||
// libpas.h | ||
// | ||
|
||
// ======================== | ||
// | ||
// Pixel art scaler | ||
// | ||
// ======================== | ||
|
||
|
||
#ifndef __LIBPAS_H_ | ||
#define __LIBPAS_H_ | ||
|
||
#include <stdint.h> | ||
|
||
void hqxInit(void); | ||
void hq2x_32( uint32_t * src, uint32_t * dest, int width, int height ); | ||
void hq3x_32( uint32_t * src, uint32_t * dest, int width, int height ); | ||
void hq4x_32( uint32_t * src, uint32_t * dest, int width, int height ); | ||
|
||
void hq2x_32_rb( uint32_t * src, uint32_t src_rowBytes, uint32_t * dest, uint32_t dest_rowBytes, int width, int height ); | ||
void hq3x_32_rb( uint32_t * src, uint32_t src_rowBytes, uint32_t * dest, uint32_t dest_rowBytes, int width, int height ); | ||
void hq4x_32_rb( uint32_t * src, uint32_t src_rowBytes, uint32_t * dest, uint32_t dest_rowBytes, int width, int height ); | ||
|
||
void scaler_nearest_2x(uint32_t *, uint32_t *, int, int); | ||
void scaler_nearest_3x(uint32_t *, uint32_t *, int, int); | ||
void scaler_nearest_4x(uint32_t *, uint32_t *, int, int); | ||
|
||
void scaler_scalex_2x(uint32_t *, uint32_t *, int, int); | ||
void scaler_scalex_3x(uint32_t *, uint32_t *, int, int); | ||
void scaler_scalex_4x(uint32_t *, uint32_t *, int, int); | ||
|
||
void xbr_filter_xbr2x(uint32_t*, uint32_t*, int, int); | ||
void xbr_filter_xbr3x(uint32_t*, uint32_t*, int, int); | ||
void xbr_filter_xbr4x(uint32_t*, uint32_t*, int, int); | ||
|
||
void xbr_init_data(void); | ||
|
||
#endif //END __LIBPAS_H_ // |