Commit 5dad9e2336c4bf37b1f56485690f8a082e3e1e0a

Authored by Josh Klontz
1 parent 9f2112e7

janus tweaks

1   -Subproject commit a0cc3a0d217320152bab8472afbbdadeb0cd762c
  1 +Subproject commit 734353f82cfb4754f1da40bc69370bcee33b929b
... ...
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;
... ...