Initial community commit
This commit is contained in:
parent
537bcbc862
commit
fc06254474
16440 changed files with 4239995 additions and 2 deletions
20
Src/nsutil/alpha.h
Normal file
20
Src/nsutil/alpha.h
Normal file
|
@ -0,0 +1,20 @@
|
|||
#pragma once
|
||||
#include <bfc/platform/types.h>
|
||||
#include <bfc/platform/export.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifdef NSUTIL_EXPORTS
|
||||
#define NSUTIL_EXPORT __declspec(dllexport)
|
||||
#else
|
||||
#define NSUTIL_EXPORT __declspec(dllimport)
|
||||
#endif
|
||||
|
||||
NSUTIL_EXPORT int nsutil_alpha_Premultiply_RGB32(void *image, size_t image_stride, int width, int height);
|
||||
NSUTIL_EXPORT int nsutil_alpha_PremultiplyValue_RGB8(void *image, size_t image_stride, int width, int height, uint8_t alpha);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue