Commit 9f2112e74ad55715754a79b0212954f552135107

Authored by Josh Klontz
1 parent 01ce20f7

added placeholder janus functions

1   -Subproject commit 3eba1d0b770bf22bf276965ff65d1ea298e20ecd
  1 +Subproject commit a0cc3a0d217320152bab8472afbbdadeb0cd762c
... ...
openbr/janus.cpp
... ... @@ -23,3 +23,35 @@ void janus_finalize()
23 23 {
24 24 br::Context::finalize();
25 25 }
  26 +
  27 +janus_error janus_initialize_template(janus_partial_template *partial_template)
  28 +{
  29 + (void) partial_template;
  30 + return JANUS_SUCCESS;
  31 +}
  32 +
  33 +janus_error janus_add_image(const janus_image image, const janus_attribute_list attributes, janus_partial_template partial_template)
  34 +{
  35 + (void) image;
  36 + (void) attributes;
  37 + (void) partial_template;
  38 + return JANUS_SUCCESS;
  39 +}
  40 +
  41 +janus_error janus_finalize_template(janus_partial_template partial_template, janus_template template_, size_t *bytes)
  42 +{
  43 + (void) partial_template;
  44 + (void) template_;
  45 + *bytes = 0;
  46 + return JANUS_SUCCESS;
  47 +}
  48 +
  49 +janus_error janus_verify(const janus_template a, const size_t a_bytes, const janus_template b, const size_t b_bytes, float *similarity)
  50 +{
  51 + (void) a;
  52 + (void) a_bytes;
  53 + (void) b;
  54 + (void) b_bytes;
  55 + *similarity = 0;
  56 + return JANUS_SUCCESS;
  57 +}
... ...