projects
/
my-code
/
api.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
grab cut function implemented (memcpy data to leave orig untouched)
[my-code/api.git]
/
bmp
/
bmp.h
diff --git
a/bmp/bmp.h
b/bmp/bmp.h
index
40e6df4
..
f9216a8
100644
(file)
--- a/
bmp/bmp.h
+++ b/
bmp/bmp.h
@@
-28,6
+28,7
@@
#define MAX_CHARS_FILE 32
#define BMP_H_SIZE 14
#define BMP_I_SIZE 40
#define MAX_CHARS_FILE 32
#define BMP_H_SIZE 14
#define BMP_I_SIZE 40
+#define GRAB 'g'
/* bmp specific variables */
typedef struct s_bmp_hdr {
/* bmp specific variables */
typedef struct s_bmp_hdr {
@@
-78,7
+79,7
@@
int bmp_shutdown(t_bmp *bmp);
int bmp_check_header_and_info(t_bmp *bmp);
int bmp_alloc_map(t_bmp *bmp);
int bmp_write_file(t_bmp *bmp);
int bmp_check_header_and_info(t_bmp *bmp);
int bmp_alloc_map(t_bmp *bmp);
int bmp_write_file(t_bmp *bmp);
-int bmp_cut_
bottom(t_bmp *dst,t_bmp *src,int dz
);
+int bmp_cut_
grab_bottom(t_bmp *dst,t_bmp *src,int dz,unsigned char m
);
int bmp_read_file(t_bmp *bmp);
#endif
int bmp_read_file(t_bmp *bmp);
#endif