This commit is contained in:
John Cupitt 2009-10-22 15:18:46 +00:00
parent 7249f2cb8c
commit 60b6211ccf
3 changed files with 13 additions and 6 deletions

5
TODO
View File

@ -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?

View File

@ -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 )

View File

@ -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
*/