|
Simple Graphics Library 1.0.0.0
Runtime-independent image processing primitives
|
Types shared by the public API. More...
Typedefs | |
| typedef struct sgl_nearest_neighbor_lookup_table | sgl_nearest_neighbor_lookup_t |
| Opaque nearest-neighbor resize lookup table. | |
| typedef struct sgl_bilinear_lookup_table | sgl_bilinear_lookup_t |
| Opaque bilinear resize lookup table. | |
| typedef struct sgl_bicubic_lookup_table | sgl_bicubic_lookup_t |
| Opaque bicubic resize lookup table. | |
| typedef struct sgl_rotate_lookup_table | sgl_rotate_lookup_t |
| Opaque nearest-neighbor rotation lookup table. | |
| typedef struct sgl_queue | sgl_queue_t |
| Opaque fixed-capacity queue. | |
| typedef struct sgl_threadpool | sgl_threadpool_t |
| Opaque synchronous worker-thread pool. | |
| typedef void(* | sgl_threadpool_routine_t) (void *current, void *cookie) |
| Processes one queue entry submitted to a thread pool. | |
Enumerations | |
| enum | sgl_result_t { SGL_SUCCESS , SGL_FAILURE , SGL_ERROR_INVALID_ARGUMENTS , SGL_ERROR_MEMORY_ALLOCATION , SGL_ERROR_MISSMATCHED_CAPACITY , SGL_ERROR_NOT_SUPPORTED , SGL_QUEUE_IS_EMPTY , SGL_QUEUE_IS_NOT_EMPTY , SGL_QUEUE_IS_FULL , SGL_QUEUE_IS_NOT_FULL } |
| Result codes returned by SGL operations. More... | |
Types shared by the public API.
| typedef void(* sgl_threadpool_routine_t) (void *current, void *cookie) |
Processes one queue entry submitted to a thread pool.
| [in,out] | current | Entry dequeued from the operation queue. |
| [in,out] | cookie | Caller context passed to the attach function. |
The callback can run on the submitting thread or on any worker thread. Concurrent invocations must therefore synchronize shared cookie state.
Definition at line 100 of file sgl-core.h.
| enum sgl_result_t |
Result codes returned by SGL operations.
Definition at line 67 of file sgl-core.h.