From 60b6211ccf77be2bc8cbc9efc68e13bec7f241df Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Thu, 22 Oct 2009 15:18:46 +0000 Subject: [PATCH] stuff --- TODO | 5 +++++ libvips/inplace/im_insertplace.c | 4 ++-- libvips/iofuncs/im_generate.c | 10 ++++++---- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/TODO b/TODO index 768b3359..a5930624 100644 --- a/TODO +++ b/TODO @@ -1,5 +1,10 @@ - more stuff from util.c? too much to do it all now +- maybe im_insertplaceset() should be im_insertset()? it's not an inplace + operator now + +- like _vec(), remove set() from the ends of operator names in C++ + - load 500 jpegs, shrink, save VM use is huge, ouch, could we use a bit less? diff --git a/libvips/inplace/im_insertplace.c b/libvips/inplace/im_insertplace.c index 97bbbcaf..0cb337ca 100644 --- a/libvips/inplace/im_insertplace.c +++ b/libvips/inplace/im_insertplace.c @@ -72,9 +72,9 @@ * This an inplace operation, so @big is changed. It does not thread and will * not work well as part of a pipeline. * - * Returns: 0 on success, or -1 on error. - * * See also: im_insert(). + * + * Returns: 0 on success, or -1 on error. */ int im_insertplace( IMAGE *big, IMAGE *small, int x, int y ) diff --git a/libvips/iofuncs/im_generate.c b/libvips/iofuncs/im_generate.c index 40ac8d32..3ef58d7b 100644 --- a/libvips/iofuncs/im_generate.c +++ b/libvips/iofuncs/im_generate.c @@ -628,21 +628,23 @@ im_generate( IMAGE *im, return( 0 ); } -/** im_prepare_thread: +/** + * im_prepare_thread: * @tg: group of threads to evaluate with * @reg: region to prepare * @r: #Rect of pixels you need to be able to address * - * im_prepare_thread() fills @reg with pixels. After calling, you can address at + * im_prepare_thread() fills @reg with pixels. After calling, you can address + * at * least the area @r with IM_REGION_ADDR() and get valid pixels. * * im_prepare_thread() uses @tg, a group of threads, to calculate pixels. * Computation blocks until the pixels are ready. * * Use im_prepare() to calculate an area of pixels in-line. - * Use im_render() to calculate an area of pixels in the background. + * Use im_render_priority() to calculate an area of pixels in the background. * - * See also: im_prepare(), im_render(), im_prepare_to(). + * See also: im_prepare(), im_render_priority(), im_prepare_to(). * * Returns: 0 on success, or -1 on error */