stuff
This commit is contained in:
parent
7249f2cb8c
commit
60b6211ccf
5
TODO
5
TODO
@ -1,5 +1,10 @@
|
|||||||
- more stuff from util.c? too much to do it all now
|
- 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
|
- load 500 jpegs, shrink, save
|
||||||
|
|
||||||
VM use is huge, ouch, could we use a bit less?
|
VM use is huge, ouch, could we use a bit less?
|
||||||
|
@ -72,9 +72,9 @@
|
|||||||
* This an inplace operation, so @big is changed. It does not thread and will
|
* This an inplace operation, so @big is changed. It does not thread and will
|
||||||
* not work well as part of a pipeline.
|
* not work well as part of a pipeline.
|
||||||
*
|
*
|
||||||
* Returns: 0 on success, or -1 on error.
|
|
||||||
*
|
|
||||||
* See also: im_insert().
|
* See also: im_insert().
|
||||||
|
*
|
||||||
|
* Returns: 0 on success, or -1 on error.
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
im_insertplace( IMAGE *big, IMAGE *small, int x, int y )
|
im_insertplace( IMAGE *big, IMAGE *small, int x, int y )
|
||||||
|
@ -628,21 +628,23 @@ im_generate( IMAGE *im,
|
|||||||
return( 0 );
|
return( 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
/** im_prepare_thread:
|
/**
|
||||||
|
* im_prepare_thread:
|
||||||
* @tg: group of threads to evaluate with
|
* @tg: group of threads to evaluate with
|
||||||
* @reg: region to prepare
|
* @reg: region to prepare
|
||||||
* @r: #Rect of pixels you need to be able to address
|
* @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.
|
* least the area @r with IM_REGION_ADDR() and get valid pixels.
|
||||||
*
|
*
|
||||||
* im_prepare_thread() uses @tg, a group of threads, to calculate pixels.
|
* im_prepare_thread() uses @tg, a group of threads, to calculate pixels.
|
||||||
* Computation blocks until the pixels are ready.
|
* Computation blocks until the pixels are ready.
|
||||||
*
|
*
|
||||||
* Use im_prepare() to calculate an area of pixels in-line.
|
* 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
|
* Returns: 0 on success, or -1 on error
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user