started bandjoinconst
This commit is contained in:
parent
de65da85b9
commit
2f98f38d8a
4
TODO
4
TODO
@ -1,3 +1,7 @@
|
||||
- started bandjoinconst
|
||||
|
||||
see also unaryconst.c
|
||||
|
||||
- looks like we have a race in tiled threadcache? see
|
||||
|
||||
https://github.com/jcupitt/libvips/issues/347
|
||||
|
@ -261,3 +261,22 @@ vips_bandjoin2( VipsImage *in1, VipsImage *in2, VipsImage **out, ... )
|
||||
|
||||
return( result );
|
||||
}
|
||||
|
||||
typedef struct _VipsBandjoinConst {
|
||||
VipsBandary parent_instance;
|
||||
|
||||
VipsImage *in;
|
||||
VipsArrayDouble *c;
|
||||
|
||||
/* The constant expanded to in's format, ready to be appended to each
|
||||
* pixel.
|
||||
*/
|
||||
int n;
|
||||
VipsPel *c_ready;
|
||||
|
||||
} VipsBandjoinConst;
|
||||
|
||||
typedef VipsBandaryClass VipsBandjoinConstClass;
|
||||
|
||||
G_DEFINE_TYPE( VipsBandjoinConst, vips_bandjoin_const, VIPS_TYPE_BANDARY );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user