Commit 5dad9e2336c4bf37b1f56485690f8a082e3e1e0a
1 parent
9f2112e7
janus tweaks
Showing
2 changed files
with
9 additions
and
8 deletions
openbr/janus.cpp
| ... | ... | @@ -19,28 +19,29 @@ janus_error janus_initialize(const char *sdk_path, const char *model_file) |
| 19 | 19 | return JANUS_SUCCESS; |
| 20 | 20 | } |
| 21 | 21 | |
| 22 | -void janus_finalize() | |
| 22 | +janus_error janus_finalize() | |
| 23 | 23 | { |
| 24 | 24 | br::Context::finalize(); |
| 25 | + return JANUS_SUCCESS; | |
| 25 | 26 | } |
| 26 | 27 | |
| 27 | -janus_error janus_initialize_template(janus_partial_template *partial_template) | |
| 28 | +janus_error janus_initialize_template(janus_incomplete_template *incomplete_template) | |
| 28 | 29 | { |
| 29 | - (void) partial_template; | |
| 30 | + (void) incomplete_template; | |
| 30 | 31 | return JANUS_SUCCESS; |
| 31 | 32 | } |
| 32 | 33 | |
| 33 | -janus_error janus_add_image(const janus_image image, const janus_attribute_list attributes, janus_partial_template partial_template) | |
| 34 | +janus_error janus_add_image(const janus_image image, const janus_attribute_list attributes, janus_incomplete_template incomplete_template) | |
| 34 | 35 | { |
| 35 | 36 | (void) image; |
| 36 | 37 | (void) attributes; |
| 37 | - (void) partial_template; | |
| 38 | + (void) incomplete_template; | |
| 38 | 39 | return JANUS_SUCCESS; |
| 39 | 40 | } |
| 40 | 41 | |
| 41 | -janus_error janus_finalize_template(janus_partial_template partial_template, janus_template template_, size_t *bytes) | |
| 42 | +janus_error janus_finalize_template(janus_incomplete_template incomplete_template, janus_template template_, size_t *bytes) | |
| 42 | 43 | { |
| 43 | - (void) partial_template; | |
| 44 | + (void) incomplete_template; | |
| 44 | 45 | (void) template_; |
| 45 | 46 | *bytes = 0; |
| 46 | 47 | return JANUS_SUCCESS; | ... | ... |