Borrowed module callbacks; the worker serializes calls and retains no per-request pixel pointers. More...
#include <inference_worker.h>
Data Fields | |
| const char * | application |
| const char * | module |
| const char * | adapter |
| ini_field_handler | setting |
| void * | context |
| bool(* | write )(void *context, const struct inference_context *model, const char *image, uint32_t sequence, char *error, size_t capacity) |
| bool(* | validate )(void *context, const struct inference_context *model, char *error, size_t capacity) |
| const char * | result_suffix |
Detailed Description
Borrowed module callbacks; the worker serializes calls and retains no per-request pixel pointers.
Writers own partial-result cleanup; false must not leave a successful-looking record. Private-image mutation is allowed only when the producer explicitly owns publication.
Definition at line 32 of file inference_worker.h.
Field Documentation
◆ adapter
| const char * inference_image_processor::adapter |
Definition at line 33 of file inference_worker.h.
◆ application
| const char* inference_image_processor::application |
Definition at line 33 of file inference_worker.h.
◆ context
| void* inference_image_processor::context |
Definition at line 35 of file inference_worker.h.
◆ module
| const char * inference_image_processor::module |
Definition at line 33 of file inference_worker.h.
◆ result_suffix
| const char* inference_image_processor::result_suffix |
Definition at line 39 of file inference_worker.h.
◆ setting
| ini_field_handler inference_image_processor::setting |
Definition at line 34 of file inference_worker.h.
◆ validate
| bool(* inference_image_processor::validate) (void *context, const struct inference_context *model, char *error, size_t capacity) |
Definition at line 38 of file inference_worker.h.
◆ write
| bool(* inference_image_processor::write) (void *context, const struct inference_context *model, const char *image, uint32_t sequence, char *error, size_t capacity) |
Definition at line 36 of file inference_worker.h.
The documentation for this struct was generated from the following file: