tiny fixes
This commit is contained in:
parent
c9ce8f70a1
commit
61d9f03ef8
@ -172,7 +172,7 @@ gaussnoise_vec( im_object *argv )
|
|||||||
static im_function gaussnoise_desc = {
|
static im_function gaussnoise_desc = {
|
||||||
"im_gaussnoise", /* Name */
|
"im_gaussnoise", /* Name */
|
||||||
"generate image of gaussian noise with specified statistics",
|
"generate image of gaussian noise with specified statistics",
|
||||||
IM_FN_PIO, /* Flags */
|
IM_FN_PIO | IM_FN_NOCACHE, /* Flags */
|
||||||
gaussnoise_vec, /* Dispatch function */
|
gaussnoise_vec, /* Dispatch function */
|
||||||
IM_NUMBER( gaussnoise_args ), /* Size of arg list */
|
IM_NUMBER( gaussnoise_args ), /* Size of arg list */
|
||||||
gaussnoise_args /* Arg list */
|
gaussnoise_args /* Arg list */
|
||||||
|
@ -182,7 +182,7 @@ vips_hist_local_generate( VipsRegion *or,
|
|||||||
VipsPel * restrict p1;
|
VipsPel * restrict p1;
|
||||||
int x, i, j, b;
|
int x, i, j, b;
|
||||||
|
|
||||||
/* Find histogram for start of this line.
|
/* Find histogram for the start of this line.
|
||||||
*/
|
*/
|
||||||
for( b = 0; b < bands; b++ )
|
for( b = 0; b < bands; b++ )
|
||||||
memset( seq->hist[b], 0, 256 * sizeof( unsigned int ) );
|
memset( seq->hist[b], 0, 256 * sizeof( unsigned int ) );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user