3DiVi Face SDK  3.24.1
 Указатель Классы Пространства имен Файлы Функции Переменные Определения типов Перечисления Элементы перечислений Свойства Группы
c_api_functions_list_macro.h
1 #ifndef __pbio__imp_exp_macro_1bcdd890e87a41b786dfa83f9c4236ad
2 #define __pbio__imp_exp_macro_1bcdd890e87a41b786dfa83f9c4236ad
3 
4 
5 #include <stdint.h>
6 
7 typedef struct ContextEH ContextEH;
8 typedef struct HContext HContext;
9 typedef struct HPBlock HPBlock;
10 
11 namespace pbio {
12 namespace facerec {
13 
14 class AgeGenderEstimatorImpl;
15 class CameraCalibratorImpl;
16 class CapturerImpl;
17 class DepthLivenessEstimatorImpl;
18 class IRLivenessEstimatorImpl;
19 class Liveness2DEstimatorImpl;
20 class FaceAttributesEstimatorImpl;
21 class EmotionsEstimatorImpl;
22 class FaceQualityEstimatorImpl;
23 class LivenessEstimatorImpl;
24 class QualityEstimatorImpl;
25 class RawSampleImpl;
26 class RecognizerImpl;
27 class TemplateImpl;
28 class TemplatesIndexImpl;
29 class VideoWorkerImpl;
30 class StructStorageImpl;
31 
32 namespace capi {
33 
34  enum
35  {
36  VideoWorker_something_Processing_Enable = 1,
37  VideoWorker_something_Processing_Disable = 2,
38  VideoWorker_something_AgeGender_Enable = 3,
39  VideoWorker_something_AgeGender_Disable = 4,
40  VideoWorker_something_Emotions_Enable = 5,
41  VideoWorker_something_Emotions_Disable = 6,
42  };
43 
44  typedef void (*assign_floats_vector_func_type)(
45  void* pointers_vector,
46  float const* elements,
47  int32_t elements_count);
48 
49  typedef void (*assign_pointers_vector_func_type)(
50  void* pointers_vector,
51  void* const* elements,
52  int32_t elements_count);
53 
54 
55  typedef void (*binary_stream_write_func_type)(
56  void* stream,
57  const void* data,
58  uint64_t bytes_count);
59 
60  typedef void (*binary_stream_read_func_type)(
61  void* stream,
62  void* data,
63  uint64_t bytes_count);
64 
65 
66  typedef
67  void (*VideoWorker_TrackingCallbackFunc)(
68  void* err_stream,
69  void* this_vw,
70  void const* callback_data,
71 
72  const int32_t callbacks_count,
73  void* const* const callbacks_func,
74  void* const* const callbacks_userdata,
75  const int32_t u_callbacks_count,
76  void* const* const u_callbacks_func,
77  void* const* const u_callbacks_userdata);
78 
79  typedef
80  void (*VideoWorker_TemplateCreatedCallbackFunc)(
81  void* err_stream,
82  void* this_vw,
83  void const* callback_data,
84 
85  const int32_t callbacks_count,
86  void* const* const callbacks_func,
87  void* const* const callbacks_userdata,
88  const int32_t u_callbacks_count,
89  void* const* const u_callbacks_func,
90  void* const* const u_callbacks_userdata);
91 
92  typedef
93  void (*VideoWorker_MatchFoundCallbackFunc)(
94  void* err_stream,
95  void* this_vw,
96  void const* callback_data,
97 
98  const int32_t callbacks_count,
99  void* const* const callbacks_func,
100  void* const* const callbacks_userdata,
101  const int32_t ext_callbacks_count,
102  void* const* const ext_callbacks_func,
103  void* const* const ext_callbacks_userdata,
104  const int32_t u_callbacks_count,
105  void* const* const u_callbacks_func,
106  void* const* const u_callbacks_userdata);
107 
108  typedef
109  void (*VideoWorker_TrackingLostCallbackFunc)(
110  void* err_stream,
111  void* this_vw,
112  void const* callback_data,
113 
114  const int32_t callbacks_count,
115  void* const* const callbacks_func,
116  void* const* const callbacks_userdata,
117  const int32_t u_callbacks_count,
118  void* const* const u_callbacks_func,
119  void* const* const u_callbacks_userdata);
120 
121  typedef
122  void (*VideoWorker_StiPersonOutdatedCallbackFunc)(
123  void* err_stream,
124  void* this_vw,
125  void const* callback_data,
126 
127  const int32_t callbacks_count,
128  void* const* const callbacks_func,
129  void* const* const callbacks_userdata);
130 
131 
132 } // capi namespace
133 } // facerec namespace
134 } // pbio namespace
135 
136 
137 #define _583e_ADD_NAMESPACE(a) __4848a76477c449608aa5deb15c5495e4_facerec_v3_##a
138 
139 #define _583e_STR_ADD_NAMESPACE(a) _583e_STRINGISE2( _583e_ADD_NAMESPACE(a) )
140 
141 #define _583e_STRINGISE(a) #a
142 
143 #define _583e_STRINGISE2(a) _583e_STRINGISE( a )
144 
145 #define _TDV_ADD_STATIC_PREFIX(a) static_##a
146 
147 // decl suppose to be a macro: decl(rtype, name, typed_args, args, return)
148 #define __TDV_FLIST(decl) \
149  \
150  \
151  decl( \
152  void*, \
153  TDVFaceAttributesEstimator_createByConfig, \
154  ( \
155  const char* serialisedConfig \
156  ), \
157  ( \
158  serialisedConfig \
159  ), \
160  return ) \
161  \
162  \
163  decl( \
164  char*, \
165  TDVProcessingBlock_processSparse, \
166  ( \
167  void* block_ptr, \
168  char* serialisedCtx \
169  ), \
170  ( \
171  block_ptr, \
172  serialisedCtx \
173  ), \
174  return ) \
175  \
176  \
177  decl( \
178  void*, \
179  TDVProcessingBlock_getException, \
180  ( \
181  void* block_ptr \
182  ), \
183  ( \
184  block_ptr \
185  ), \
186  return ) \
187  \
188  \
189  decl( \
190  void, \
191  TDVProcessingBlock_destroy, \
192  ( \
193  void* block_ptr \
194  ), \
195  ( \
196  block_ptr \
197  ), \
198  return ) \
199  \
200  \
201  decl( \
202  void, \
203  tdvFreeStr, \
204  ( \
205  char* ctx_ptr \
206  ), \
207  ( \
208  ctx_ptr \
209  ), \
210  return )
211 
212 
213 // decl suppose to be a macro: decl(rtype, name, typed_args, args, return)
214 #define __583e_FLIST(decl) \
215  \
216  \
217  \
218  \
219  decl( \
220  int64_t, \
221  StructStorage_get_int64, \
222  ( \
223  const void* struct_storage, \
224  int32_t field_id, \
225  void** out_exception \
226  ), \
227  ( \
228  struct_storage, \
229  field_id, \
230  out_exception \
231  ), \
232  return ) \
233  \
234  decl( \
235  double, \
236  StructStorage_get_double, \
237  ( \
238  const void* struct_storage, \
239  int32_t field_id, \
240  void** out_exception \
241  ), \
242  ( \
243  struct_storage, \
244  field_id, \
245  out_exception \
246  ), \
247  return ) \
248  \
249  decl( \
250  void*, \
251  StructStorage_get_pointer, \
252  ( \
253  const void* struct_storage, \
254  int32_t field_id, \
255  void** out_exception \
256  ), \
257  ( \
258  struct_storage, \
259  field_id, \
260  out_exception \
261  ), \
262  return ) \
263  \
264  decl( \
265  void, \
266  VideoWorker_errStreamWriteFunc, \
267  ( \
268  void* err_stream, \
269  const void* data, \
270  uint64_t bytes_count \
271  ), \
272  ( \
273  err_stream, \
274  data, \
275  bytes_count \
276  ), \
277  ) \
278  \
279  \
280  decl( \
281  void, \
282  VideoWorker_setThisVW, \
283  ( \
284  void* video_worker, \
285  void* this_vw, \
286  void** out_exception \
287  ), \
288  ( \
289  video_worker, \
290  this_vw, \
291  out_exception \
292  ), \
293  ) \
294  \
295  decl( \
296  void, \
297  VideoWorker_getMethodName, \
298  ( \
299  void* video_worker, \
300  void* name_stream, \
301  pbio::facerec::capi::binary_stream_write_func_type binary_stream_write_func, \
302  void** out_exception \
303  ), \
304  ( \
305  video_worker, \
306  name_stream, \
307  binary_stream_write_func, \
308  out_exception \
309  ), \
310  ) \
311  \
312  decl( \
313  int32_t, \
314  VideoWorker_getStreamsCount, \
315  ( \
316  void* video_worker, \
317  void** out_exception \
318  ), \
319  ( \
320  video_worker, \
321  out_exception \
322  ), \
323  return ) \
324  \
325  decl( \
326  int32_t, \
327  VideoWorker_getTrackingConveyorSize, \
328  ( \
329  void* video_worker, \
330  int32_t stream_id, \
331  void** out_exception \
332  ), \
333  ( \
334  video_worker, \
335  stream_id, \
336  out_exception \
337  ), \
338  return ) \
339  \
340  decl( \
341  int32_t, \
342  VideoWorker_addVideoFrame, \
343  ( \
344  void* video_worker, \
345  const void* image_data, \
346  int32_t image_width, \
347  int32_t image_height, \
348  int32_t image_format, \
349  int32_t stream_id, \
350  void** out_exception \
351  ), \
352  ( \
353  video_worker, \
354  image_data, \
355  image_width, \
356  image_height, \
357  image_format, \
358  stream_id, \
359  out_exception \
360  ), \
361  return ) \
362  \
363  decl( \
364  int32_t, \
365  VideoWorker_addVideoFrameWithTimestamp, \
366  ( \
367  void* video_worker, \
368  const void* image_data, \
369  int32_t image_width, \
370  int32_t image_height, \
371  int32_t image_format, \
372  int32_t stream_id, \
373  const uint64_t timestamp_microsec, \
374  void** out_exception \
375  ), \
376  ( \
377  video_worker, \
378  image_data, \
379  image_width, \
380  image_height, \
381  image_format, \
382  stream_id, \
383  timestamp_microsec, \
384  out_exception \
385  ), \
386  return ) \
387  \
388  decl( \
389  int32_t, \
390  VideoWorker_addVideoFrameWithTimestamp_with_crop, \
391  ( \
392  void* video_worker, \
393  const void* image_data, \
394  int32_t image_width, \
395  int32_t image_height, \
396  int32_t image_format, \
397  int32_t image_with_crop, \
398  int32_t image_crop_info_offset_x, \
399  int32_t image_crop_info_offset_y, \
400  int32_t image_crop_info_data_image_width, \
401  int32_t image_crop_info_data_image_height, \
402  int32_t stream_id, \
403  const uint64_t timestamp_microsec, \
404  void** out_exception \
405  ), \
406  ( \
407  video_worker, \
408  image_data, \
409  image_width, \
410  image_height, \
411  image_format, \
412  image_with_crop, \
413  image_crop_info_offset_x, \
414  image_crop_info_offset_y, \
415  image_crop_info_data_image_width, \
416  image_crop_info_data_image_height, \
417  stream_id, \
418  timestamp_microsec, \
419  out_exception \
420  ), \
421  return ) \
422  \
423  decl( \
424  void, \
425  VideoWorker_addDepthFrame, \
426  ( \
427  void* video_worker, \
428  const int32_t depth_map_rows, \
429  const int32_t depth_map_cols, \
430  const float depth_map_2_image_offset_x, \
431  const float depth_map_2_image_offset_y, \
432  const float depth_map_2_image_scale_x, \
433  const float depth_map_2_image_scale_y, \
434  const float horizontal_fov, \
435  const float vertical_fov, \
436  const float depth_unit_in_millimeters, \
437  uint16_t const* const depth_data, \
438  const int32_t depth_data_stride_in_bytes, \
439  int32_t stream_id, \
440  const uint64_t timestamp_microsec, \
441  void** out_exception \
442  ), \
443  ( \
444  video_worker, \
445  depth_map_rows, \
446  depth_map_cols, \
447  depth_map_2_image_offset_x, \
448  depth_map_2_image_offset_y, \
449  depth_map_2_image_scale_x, \
450  depth_map_2_image_scale_y, \
451  horizontal_fov, \
452  vertical_fov, \
453  depth_unit_in_millimeters, \
454  depth_data, \
455  depth_data_stride_in_bytes, \
456  stream_id, \
457  timestamp_microsec, \
458  out_exception \
459  ), \
460  ) \
461  \
462  decl( \
463  void, \
464  VideoWorker_addIRFrame, \
465  ( \
466  void* video_worker, \
467  const int32_t ir_frame_rows, \
468  const int32_t ir_frame_cols, \
469  const float ir_frame_2_image_offset_x, \
470  const float ir_frame_2_image_offset_y, \
471  const float ir_frame_2_image_scale_x, \
472  const float ir_frame_2_image_scale_y, \
473  const float ir_horizontal_fov, \
474  const float ir_vertical_fov, \
475  uint16_t const* const ir_frame_data, \
476  int32_t ir_data_stride_in_bytes, \
477  int32_t stream_id, \
478  const uint64_t timestamp_microsec, \
479  void** out_exception \
480  ), \
481  ( \
482  video_worker, \
483  ir_frame_rows, \
484  ir_frame_cols, \
485  ir_frame_2_image_offset_x, \
486  ir_frame_2_image_offset_y, \
487  ir_frame_2_image_scale_x, \
488  ir_frame_2_image_scale_y, \
489  ir_horizontal_fov, \
490  ir_vertical_fov, \
491  ir_frame_data, \
492  ir_data_stride_in_bytes, \
493  stream_id, \
494  timestamp_microsec, \
495  out_exception \
496  ), \
497  ) \
498  \
499  decl( \
500  void, \
501  VideoWorker_resetTrackerOnStream, \
502  ( \
503  void* video_worker, \
504  int32_t stream_id, \
505  void** out_exception \
506  ), \
507  ( \
508  video_worker, \
509  stream_id, \
510  out_exception \
511  ), \
512  ) \
513  \
514  decl( \
515  int32_t, \
516  VideoWorker_resetStream, \
517  ( \
518  void* video_worker, \
519  int32_t stream_id, \
520  void** out_exception \
521  ), \
522  ( \
523  video_worker, \
524  stream_id, \
525  out_exception \
526  ), \
527  return ) \
528  \
529  decl( \
530  void, \
531  VideoWorker_checkExceptions, \
532  ( \
533  void* video_worker, \
534  void** out_exception \
535  ), \
536  ( \
537  video_worker, \
538  out_exception \
539  ), \
540  ) \
541  \
542  decl( \
543  int32_t, \
544  VideoWorker_addTrackingCallback, \
545  ( \
546  void* video_worker, \
547  void* callback, \
548  void* userdata, \
549  void** out_exception \
550  ), \
551  ( \
552  video_worker, \
553  callback, \
554  userdata, \
555  out_exception \
556  ), \
557  return ) \
558  \
559  decl( \
560  int32_t, \
561  VideoWorker_addTrackingCallbackU, \
562  ( \
563  void* video_worker, \
564  void* callback, \
565  void* userdata, \
566  void** out_exception \
567  ), \
568  ( \
569  video_worker, \
570  callback, \
571  userdata, \
572  out_exception \
573  ), \
574  return ) \
575  \
576  decl( \
577  void, \
578  VideoWorker_removeTrackingCallback, \
579  ( \
580  void* video_worker, \
581  int32_t callback_id, \
582  void** out_exception \
583  ), \
584  ( \
585  video_worker, \
586  callback_id, \
587  out_exception \
588  ), \
589  ) \
590  \
591  decl( \
592  int32_t, \
593  VideoWorker_addMatchFoundCallback, \
594  ( \
595  void* video_worker, \
596  void* callback, \
597  void* userdata, \
598  void** out_exception \
599  ), \
600  ( \
601  video_worker, \
602  callback, \
603  userdata, \
604  out_exception \
605  ), \
606  return ) \
607  \
608  decl( \
609  void, \
610  VideoWorker_removeMatchFoundCallback, \
611  ( \
612  void* video_worker, \
613  int32_t callback_id, \
614  void** out_exception \
615  ), \
616  ( \
617  video_worker, \
618  callback_id, \
619  out_exception \
620  ), \
621  ) \
622  \
623  decl( \
624  int32_t, \
625  VideoWorker_addStiPersonOutdatedCallbackU, \
626  ( \
627  void* video_worker, \
628  void* callback, \
629  void* userdata, \
630  void** out_exception \
631  ), \
632  ( \
633  video_worker, \
634  callback, \
635  userdata, \
636  out_exception \
637  ), \
638  return ) \
639  \
640  decl( \
641  void, \
642  VideoWorker_removeStiPersonOutdatedCallback, \
643  ( \
644  void* video_worker, \
645  int32_t callback_id, \
646  void** out_exception \
647  ), \
648  ( \
649  video_worker, \
650  callback_id, \
651  out_exception \
652  ), \
653  ) \
654  \
655  decl( \
656  int32_t, \
657  VideoWorker_addTrackingLostCallback, \
658  ( \
659  void* video_worker, \
660  void* callback, \
661  void* userdata, \
662  void** out_exception \
663  ), \
664  ( \
665  video_worker, \
666  callback, \
667  userdata, \
668  out_exception \
669  ), \
670  return ) \
671  \
672  decl( \
673  int32_t, \
674  VideoWorker_addTrackingLostCallbackU, \
675  ( \
676  void* video_worker, \
677  void* callback, \
678  void* userdata, \
679  void** out_exception \
680  ), \
681  ( \
682  video_worker, \
683  callback, \
684  userdata, \
685  out_exception \
686  ), \
687  return ) \
688  \
689  decl( \
690  void, \
691  VideoWorker_removeTrackingLostCallback, \
692  ( \
693  void* video_worker, \
694  int32_t callback_id, \
695  void** out_exception \
696  ), \
697  ( \
698  video_worker, \
699  callback_id, \
700  out_exception \
701  ), \
702  ) \
703  \
704  decl( \
705  void, \
706  VideoWorker_toggleProcessing, /* #old */ \
707  ( \
708  void* video_worker, \
709  int32_t stream_id, \
710  int32_t do_processing, \
711  void** out_exception \
712  ), \
713  ( \
714  video_worker, \
715  stream_id, \
716  do_processing, \
717  out_exception \
718  ), \
719  ) \
720  \
721  decl( \
722  void, \
723  VideoWorker_toggleSomething, \
724  ( \
725  void* video_worker, \
726  int32_t stream_id, \
727  int32_t something, \
728  void** out_exception \
729  ), \
730  ( \
731  video_worker, \
732  stream_id, \
733  something, \
734  out_exception \
735  ), \
736  ) \
737  \
738  decl( \
739  void, \
740  VideoWorker_setDatabase, \
741  ( \
742  void* video_worker, \
743  int32_t acceleration, \
744  int32_t elements_count, \
745  uint64_t const* elements_ids, \
746  uint64_t const* persons_ids, \
747  pbio::facerec::TemplateImpl const* const* elements_templates, \
748  float const* elements_thresholds, \
749  void** out_exception \
750  ), \
751  ( \
752  video_worker, \
753  acceleration, \
754  elements_count, \
755  elements_ids, \
756  persons_ids, \
757  elements_templates, \
758  elements_thresholds, \
759  out_exception \
760  ), \
761  ) \
762  \
763  decl( \
764  int32_t, \
765  VideoWorker_addMatchFoundCallbackExt, \
766  ( \
767  void* video_worker, \
768  void* callback, \
769  void* userdata, \
770  void** out_exception \
771  ), \
772  ( \
773  video_worker, \
774  callback, \
775  userdata, \
776  out_exception \
777  ), \
778  return ) \
779  \
780  decl( \
781  int32_t, \
782  VideoWorker_addMatchFoundCallbackU, \
783  ( \
784  void* video_worker, \
785  void* callback, \
786  void* userdata, \
787  void** out_exception \
788  ), \
789  ( \
790  video_worker, \
791  callback, \
792  userdata, \
793  out_exception \
794  ), \
795  return ) \
796  \
797  decl( \
798  int32_t, \
799  VideoWorker_addTemplateCreatedCallback, \
800  ( \
801  void* video_worker, \
802  void* const callback, \
803  void* const userdata, \
804  void** out_exception \
805  ), \
806  ( \
807  video_worker, \
808  callback, \
809  userdata, \
810  out_exception \
811  ), \
812  return ) \
813  \
814  decl( \
815  int32_t, \
816  VideoWorker_addTemplateCreatedCallbackU, \
817  ( \
818  void* video_worker, \
819  void* const callback, \
820  void* const userdata, \
821  void** out_exception \
822  ), \
823  ( \
824  video_worker, \
825  callback, \
826  userdata, \
827  out_exception \
828  ), \
829  return ) \
830  \
831  decl( \
832  void, \
833  VideoWorker_removeTemplateCreatedCallback, \
834  ( \
835  void* video_worker, \
836  int32_t callback_id, \
837  void** out_exception \
838  ), \
839  ( \
840  video_worker, \
841  callback_id, \
842  out_exception \
843  ), \
844  ) \
845  \
846  decl( \
847  void, \
848  VideoWorker_setParameter, \
849  ( \
850  void* video_worker, \
851  const char* param_name, \
852  double param_value, \
853  void** out_exception \
854  ), \
855  ( \
856  video_worker, \
857  param_name, \
858  param_value, \
859  out_exception \
860  ), \
861  )\
862  decl( \
863  void*, \
864  VideoWorker_poolTrackResults, \
865  ( \
866  void* video_worker,\
867  int timeout, \
868  void** out_exception \
869  ), \
870  ( \
871  video_worker, \
872  timeout, \
873  out_exception \
874  ), \
875  return ) \
876  \
877  \
878  \
879  \
880  decl( \
881  int32_t, \
882  DepthLivenessEstimator_estimateLiveness, \
883  ( \
884  void* depth_liveness_estimator, \
885  pbio::facerec::RawSampleImpl const* raw_sample, \
886  int32_t depth_map_rows, \
887  int32_t depth_map_cols, \
888  float depth_map_2_image_offset_x, \
889  float depth_map_2_image_offset_y, \
890  float depth_map_2_image_scale_x, \
891  float depth_map_2_image_scale_y, \
892  float horizontal_fov, \
893  float vertical_fov, \
894  float depth_unit_in_millimeters, \
895  uint16_t const* depth_data, \
896  int32_t depth_data_stride_in_bytes, \
897  void** out_exception \
898  ), \
899  ( \
900  depth_liveness_estimator, \
901  raw_sample, \
902  depth_map_rows, \
903  depth_map_cols, \
904  depth_map_2_image_offset_x, \
905  depth_map_2_image_offset_y, \
906  depth_map_2_image_scale_x, \
907  depth_map_2_image_scale_y, \
908  horizontal_fov, \
909  vertical_fov, \
910  depth_unit_in_millimeters, \
911  depth_data, \
912  depth_data_stride_in_bytes, \
913  out_exception \
914  ), \
915  return ) \
916  \
917  decl( \
918  int32_t, \
919  IRLivenessEstimator_estimateLiveness, \
920  ( \
921  void* ir_liveness_estimator, \
922  pbio::facerec::RawSampleImpl const* raw_sample, \
923  int32_t ir_frame_rows, \
924  int32_t ir_frame_cols, \
925  float ir_frame_2_image_offset_x, \
926  float ir_frame_2_image_offset_y, \
927  float ir_frame_2_image_scale_x, \
928  float ir_frame_2_image_scale_y, \
929  float ir_horizontal_fov, \
930  float ir_vertical_fov, \
931  uint16_t const* ir_frame_data, \
932  int32_t ir_data_stride_in_bytes, \
933  void** out_exception \
934  ), \
935  ( \
936  ir_liveness_estimator, \
937  raw_sample, \
938  ir_frame_rows, \
939  ir_frame_cols, \
940  ir_frame_2_image_offset_x, \
941  ir_frame_2_image_offset_y, \
942  ir_frame_2_image_scale_x, \
943  ir_frame_2_image_scale_y, \
944  ir_horizontal_fov, \
945  ir_vertical_fov, \
946  ir_frame_data, \
947  ir_data_stride_in_bytes, \
948  out_exception \
949  ), \
950  return ) \
951  \
952  decl( \
953  void, \
954  Liveness2DEstimator_estimateLiveness, \
955  ( \
956  void* liveness_2d_estimator, \
957  pbio::facerec::RawSampleImpl const* raw_sample, \
958  int32_t* verdict, \
959  float* score, \
960  void** out_exception \
961  ), \
962  ( \
963  liveness_2d_estimator, \
964  raw_sample, \
965  verdict, \
966  score, \
967  out_exception \
968  ), \
969  return ) \
970  \
971  \
972  decl( \
973  void, \
974  FaceAttributesEstimator_getTaskName, \
975  ( \
976  void* face_attributes_estimator, \
977  void* name_task, \
978  pbio::facerec::capi::binary_stream_write_func_type binary_stream_write_func, \
979  void** out_exception \
980  ), \
981  ( \
982  face_attributes_estimator, \
983  name_task, \
984  binary_stream_write_func, \
985  out_exception \
986  ), \
987  ) \
988  \
989  \
990  decl( \
991  void, \
992  FaceAttributesEstimator_estimateMaskedFace, \
993  ( \
994  void* face_attributes_estimator, \
995  pbio::facerec::RawSampleImpl const* raw_sample, \
996  int32_t *verdict, \
997  float *score, \
998  void** out_exception \
999  ), \
1000  ( \
1001  face_attributes_estimator, \
1002  raw_sample, \
1003  verdict, \
1004  score, \
1005  out_exception \
1006  ), \
1007  return ) \
1008  \
1009  \
1010  decl( \
1011  void, \
1012  FaceAttributesEstimator_estimateEyesOpenness, \
1013  ( \
1014  void* face_attributes_estimator, \
1015  pbio::facerec::RawSampleImpl const* raw_sample, \
1016  int32_t *left_verdict, \
1017  int32_t *right_verdict, \
1018  float *left_score, \
1019  float *right_score, \
1020  void** out_exception \
1021  ), \
1022  ( \
1023  face_attributes_estimator, \
1024  raw_sample, \
1025  left_verdict, \
1026  right_verdict, \
1027  left_score, \
1028  right_score, \
1029  out_exception \
1030  ), \
1031  return ) \
1032  \
1033  \
1034  \
1035  \
1036  decl( \
1037  void, \
1038  CameraCalibrator_initCalibration, \
1039  ( \
1040  void* camera_calibrator, \
1041  int32_t image_width, \
1042  int32_t image_height, \
1043  int32_t pattern_type, \
1044  int32_t pattern_width, \
1045  int32_t pattern_height, \
1046  int32_t fix_aspect_ratio, \
1047  int32_t calib_zero_tangent_dist, \
1048  int32_t calib_fix_principal_point, \
1049  int32_t rational_distortion_model, \
1050  void** out_exception \
1051  ), \
1052  ( \
1053  camera_calibrator, \
1054  image_width, \
1055  image_height, \
1056  pattern_type, \
1057  pattern_width, \
1058  pattern_height, \
1059  fix_aspect_ratio, \
1060  calib_zero_tangent_dist, \
1061  calib_fix_principal_point, \
1062  rational_distortion_model, \
1063  out_exception \
1064  ), \
1065  ) \
1066  \
1067  decl( \
1068  void, \
1069  CameraCalibrator_addImage, \
1070  ( \
1071  void* camera_calibrator, \
1072  const void* image_data, \
1073  int32_t image_width, \
1074  int32_t image_height, \
1075  int32_t image_format, \
1076  int32_t* pattern_found, \
1077  int32_t* pattern_accepted, \
1078  float* pattern_out, \
1079  void** out_exception \
1080  ), \
1081  ( \
1082  camera_calibrator, \
1083  image_data, \
1084  image_width, \
1085  image_height, \
1086  image_format, \
1087  pattern_found, \
1088  pattern_accepted, \
1089  pattern_out, \
1090  out_exception \
1091  ), \
1092  ) \
1093  \
1094  decl( \
1095  void, \
1096  CameraCalibrator_addImage_with_crop, \
1097  ( \
1098  void* camera_calibrator, \
1099  const void* image_data, \
1100  int32_t image_width, \
1101  int32_t image_height, \
1102  int32_t image_format, \
1103  int32_t image_with_crop, \
1104  int32_t image_crop_info_offset_x, \
1105  int32_t image_crop_info_offset_y, \
1106  int32_t image_crop_info_data_image_width, \
1107  int32_t image_crop_info_data_image_height, \
1108  int32_t* pattern_found, \
1109  int32_t* pattern_accepted, \
1110  float* pattern_out, \
1111  void** out_exception \
1112  ), \
1113  ( \
1114  camera_calibrator, \
1115  image_data, \
1116  image_width, \
1117  image_height, \
1118  image_format, \
1119  image_with_crop, \
1120  image_crop_info_offset_x, \
1121  image_crop_info_offset_y, \
1122  image_crop_info_data_image_width, \
1123  image_crop_info_data_image_height, \
1124  pattern_found, \
1125  pattern_accepted, \
1126  pattern_out, \
1127  out_exception \
1128  ), \
1129  ) \
1130  \
1131  decl( \
1132  float, \
1133  CameraCalibrator_getPatternSpaceCoverProgress, \
1134  ( \
1135  void* camera_calibrator, \
1136  void** out_exception \
1137  ), \
1138  ( \
1139  camera_calibrator, \
1140  out_exception \
1141  ), \
1142  return ) \
1143  \
1144  decl( \
1145  int32_t, \
1146  CameraCalibrator_getTip, \
1147  ( \
1148  void* camera_calibrator, \
1149  float* pattern_out, \
1150  void** out_exception \
1151  ), \
1152  ( \
1153  camera_calibrator, \
1154  pattern_out, \
1155  out_exception \
1156  ), \
1157  return ) \
1158  \
1159  decl( \
1160  float, \
1161  CameraCalibrator_calibrate, \
1162  ( \
1163  void* camera_calibrator, \
1164  int32_t max_used_patterns_count, \
1165  void** out_exception \
1166  ), \
1167  ( \
1168  camera_calibrator, \
1169  max_used_patterns_count, \
1170  out_exception \
1171  ), \
1172  return ) \
1173  \
1174  decl( \
1175  void, \
1176  CameraCalibrator_saveCameraParameters, \
1177  ( \
1178  void* camera_calibrator, \
1179  void* binary_stream, \
1180  pbio::facerec::capi::binary_stream_write_func_type binary_stream_write_func, \
1181  void** out_exception \
1182  ), \
1183  ( \
1184  camera_calibrator, \
1185  binary_stream, \
1186  binary_stream_write_func, \
1187  out_exception \
1188  ), \
1189  ) \
1190  \
1191  decl( \
1192  void, \
1193  CameraCalibrator_loadCameraParameters, \
1194  ( \
1195  void* camera_calibrator, \
1196  void* binary_stream, \
1197  pbio::facerec::capi::binary_stream_read_func_type binary_stream_read_func, \
1198  void** out_exception \
1199  ), \
1200  ( \
1201  camera_calibrator, \
1202  binary_stream, \
1203  binary_stream_read_func, \
1204  out_exception \
1205  ), \
1206  ) \
1207  \
1208  decl( \
1209  void, \
1210  CameraCalibrator_undistort, \
1211  ( \
1212  void* camera_calibrator, \
1213  const void* image_data, \
1214  int32_t image_width, \
1215  int32_t image_height, \
1216  int32_t image_format, \
1217  float alpha, \
1218  void* result_buffer, \
1219  void** out_exception \
1220  ), \
1221  ( \
1222  camera_calibrator, \
1223  image_data, \
1224  image_width, \
1225  image_height, \
1226  image_format, \
1227  alpha, \
1228  result_buffer, \
1229  out_exception \
1230  ), \
1231  ) \
1232  \
1233  decl( \
1234  void, \
1235  CameraCalibrator_undistort_with_crop, \
1236  ( \
1237  void* camera_calibrator, \
1238  const void* image_data, \
1239  int32_t image_width, \
1240  int32_t image_height, \
1241  int32_t image_format, \
1242  int32_t image_with_crop, \
1243  int32_t image_crop_info_offset_x, \
1244  int32_t image_crop_info_offset_y, \
1245  int32_t image_crop_info_data_image_width, \
1246  int32_t image_crop_info_data_image_height, \
1247  float alpha, \
1248  void* result_buffer, \
1249  void** out_exception \
1250  ), \
1251  ( \
1252  camera_calibrator, \
1253  image_data, \
1254  image_width, \
1255  image_height, \
1256  image_format, \
1257  image_with_crop, \
1258  image_crop_info_offset_x, \
1259  image_crop_info_offset_y, \
1260  image_crop_info_data_image_width, \
1261  image_crop_info_data_image_height, \
1262  alpha, \
1263  result_buffer, \
1264  out_exception \
1265  ), \
1266  ) \
1267  \
1268  \
1269  \
1270  \
1271  \
1272  decl( \
1273  void, \
1274  AgeGenderEstimator_estimateAgeGender, \
1275  ( \
1276  void* age_gender_estimator, \
1277  const pbio::facerec::RawSampleImpl* rawsample, \
1278  int32_t* age_class, \
1279  int32_t* gender, \
1280  float* age_years, \
1281  void** out_exception \
1282  ), \
1283  ( \
1284  age_gender_estimator, \
1285  rawsample, \
1286  age_class, \
1287  gender, \
1288  age_years, \
1289  out_exception \
1290  ), \
1291  ) \
1292  \
1293  \
1294  decl( \
1295  int32_t, \
1296  EmotionsEstimator_estimateEmotions, \
1297  ( \
1298  void* emotions_estimator, \
1299  const pbio::facerec::RawSampleImpl* rawsample, \
1300  void* data_stream, \
1301  pbio::facerec::capi::binary_stream_write_func_type binary_stream_write_func, \
1302  void** out_exception \
1303  ), \
1304  ( \
1305  emotions_estimator, \
1306  rawsample, \
1307  data_stream, \
1308  binary_stream_write_func, \
1309  out_exception \
1310  ), \
1311  return ) \
1312  \
1313  \
1314  decl( \
1315  void, \
1316  QualityEstimator_estimateQuality, \
1317  ( \
1318  void* quality_estimator, \
1319  const pbio::facerec::RawSampleImpl* rawsample, \
1320  int32_t *lighting, \
1321  int32_t *noise, \
1322  int32_t *sharpness, \
1323  int32_t *flare, \
1324  void** out_exception \
1325  ), \
1326  ( \
1327  quality_estimator, \
1328  rawsample, \
1329  lighting, \
1330  noise, \
1331  sharpness, \
1332  flare, \
1333  out_exception \
1334  ), \
1335  ) \
1336  \
1337  \
1338  decl( \
1339  float, \
1340  FaceQualityEstimator_estimateQuality, \
1341  ( \
1342  void* face_quality_estimator, \
1343  const pbio::facerec::RawSampleImpl* rawsample, \
1344  void** out_exception \
1345  ), \
1346  ( \
1347  face_quality_estimator, \
1348  rawsample, \
1349  out_exception \
1350  ), \
1351  return ) \
1352  \
1353  \
1354  decl( \
1355  void, \
1356  LivenessEstimator_addSample, \
1357  ( \
1358  void* liveness_estimator, \
1359  const pbio::facerec::RawSampleImpl* rawsample, \
1360  void** out_exception \
1361  ), \
1362  ( \
1363  liveness_estimator, \
1364  rawsample, \
1365  out_exception \
1366  ), \
1367  ) \
1368  \
1369  decl( \
1370  int32_t, \
1371  LivenessEstimator_estimateLiveness, \
1372  ( \
1373  void* liveness_estimator, \
1374  void** out_exception \
1375  ), \
1376  ( \
1377  liveness_estimator, \
1378  out_exception \
1379  ), \
1380  return ) \
1381  \
1382  \
1383  \
1384  \
1385  decl( \
1386  void, \
1387  TemplatesIndex_getMethodName, \
1388  ( \
1389  void* templates_index, \
1390  void* name_stream, \
1391  pbio::facerec::capi::binary_stream_write_func_type binary_stream_write_func, \
1392  void** out_exception \
1393  ), \
1394  ( \
1395  templates_index, \
1396  name_stream, \
1397  binary_stream_write_func, \
1398  out_exception \
1399  ), \
1400  ) \
1401  \
1402  decl( \
1403  int64_t, \
1404  TemplatesIndex_size, \
1405  ( \
1406  void* templates_index, \
1407  void** out_exception \
1408  ), \
1409  ( \
1410  templates_index, \
1411  out_exception \
1412  ), \
1413  return ) \
1414  \
1415  decl( \
1416  pbio::facerec::TemplateImpl*, \
1417  TemplatesIndex_at, \
1418  ( \
1419  void* templates_index, \
1420  int64_t index, \
1421  void** out_exception \
1422  ), \
1423  ( \
1424  templates_index, \
1425  index, \
1426  out_exception \
1427  ), \
1428  return ) \
1429  \
1430  decl( \
1431  void, \
1432  TemplatesIndex_reserveSearchMemory, \
1433  ( \
1434  void* templates_index, \
1435  int64_t queries_count, \
1436  void** out_exception \
1437  ), \
1438  ( \
1439  templates_index, \
1440  queries_count, \
1441  out_exception \
1442  ), \
1443  ) \
1444  \
1445  \
1446  \
1447  \
1448  \
1449  \
1450  decl( \
1451  void, \
1452  Template_getMethodName, \
1453  ( \
1454  void* templ, \
1455  void* name_stream, \
1456  pbio::facerec::capi::binary_stream_write_func_type binary_stream_write_func, \
1457  void** out_exception \
1458  ), \
1459  ( \
1460  templ, \
1461  name_stream, \
1462  binary_stream_write_func, \
1463  out_exception \
1464  ), \
1465  ) \
1466  \
1467  decl( \
1468  void, \
1469  Template_save, \
1470  ( \
1471  void* templ, \
1472  void* binary_stream, \
1473  pbio::facerec::capi::binary_stream_write_func_type binary_stream_write_func, \
1474  void** out_exception \
1475  ), \
1476  ( \
1477  templ, \
1478  binary_stream, \
1479  binary_stream_write_func, \
1480  out_exception \
1481  ), \
1482  ) \
1483  \
1484  \
1485  \
1486  \
1487  \
1488  decl( \
1489  void, \
1490  Recognizer_getMethodName, \
1491  ( \
1492  void* recognizer, \
1493  void* name_stream, \
1494  pbio::facerec::capi::binary_stream_write_func_type binary_stream_write_func, \
1495  void** out_exception \
1496  ), \
1497  ( \
1498  recognizer, \
1499  name_stream, \
1500  binary_stream_write_func, \
1501  out_exception \
1502  ), \
1503  ) \
1504  \
1505  decl( \
1506  pbio::facerec::TemplateImpl*, \
1507  Recognizer_processing, \
1508  ( \
1509  void* recognizer, \
1510  const pbio::facerec::RawSampleImpl* raw_sample, \
1511  void** out_exception \
1512  ), \
1513  ( \
1514  recognizer, \
1515  raw_sample, \
1516  out_exception \
1517  ), \
1518  return ) \
1519  \
1520  decl( \
1521  pbio::facerec::TemplateImpl*, \
1522  Recognizer_loadTemplate, \
1523  ( \
1524  void* recognizer, \
1525  void* binary_stream, \
1526  pbio::facerec::capi::binary_stream_read_func_type binary_stream_read_func, \
1527  void** out_exception \
1528  ), \
1529  ( \
1530  recognizer, \
1531  binary_stream, \
1532  binary_stream_read_func, \
1533  out_exception \
1534  ), \
1535  return ) \
1536  \
1537  decl( \
1538  void, \
1539  Recognizer_verifyMatch, /* #old */ \
1540  ( \
1541  void* recognizer, \
1542  const pbio::facerec::TemplateImpl* template1, \
1543  const pbio::facerec::TemplateImpl* template2, \
1544  double* result_distance, \
1545  double* result_fa_r, \
1546  double* result_fr_r, \
1547  void** out_exception \
1548  ), \
1549  ( \
1550  recognizer, \
1551  template1, \
1552  template2, \
1553  result_distance, \
1554  result_fa_r, \
1555  result_fr_r, \
1556  out_exception \
1557  ), \
1558  ) \
1559  \
1560  decl( \
1561  void, \
1562  Recognizer_verifyMatch_v2, \
1563  ( \
1564  void* recognizer, \
1565  const pbio::facerec::TemplateImpl* template1, \
1566  const pbio::facerec::TemplateImpl* template2, \
1567  double* result_distance, \
1568  double* result_fa_r, \
1569  double* result_fr_r, \
1570  double* result_score, \
1571  void** out_exception \
1572  ), \
1573  ( \
1574  recognizer, \
1575  template1, \
1576  template2, \
1577  result_distance, \
1578  result_fa_r, \
1579  result_fr_r, \
1580  result_score, \
1581  out_exception \
1582  ), \
1583  ) \
1584  \
1585  decl( \
1586  pbio::facerec::TemplatesIndexImpl*, \
1587  Recognizer_createIndex, \
1588  ( \
1589  void* recognizer, \
1590  int64_t templates_count, \
1591  pbio::facerec::TemplateImpl const* const* templates, \
1592  int32_t search_threads_count, \
1593  void** out_exception \
1594  ), \
1595  ( \
1596  recognizer, \
1597  templates_count, \
1598  templates, \
1599  search_threads_count, \
1600  out_exception \
1601  ), \
1602  return ) \
1603  \
1604  decl( \
1605  pbio::facerec::TemplatesIndexImpl*, \
1606  Recognizer_createResizableIndex, \
1607  ( \
1608  void* recognizer, \
1609  int64_t templates_count, \
1610  int32_t search_threads_count, \
1611  void** out_exception \
1612  ), \
1613  ( \
1614  recognizer, \
1615  templates_count, \
1616  search_threads_count, \
1617  out_exception \
1618  ), \
1619  return ) \
1620  \
1621  decl( \
1622  void, \
1623  Recognizer_search, /* #old */ \
1624  ( \
1625  void* recognizer, \
1626  int32_t acceleration, \
1627  int32_t queries_count, \
1628  pbio::facerec::TemplateImpl const* const* query_templates, \
1629  const pbio::facerec::TemplatesIndexImpl* templates_index, \
1630  int64_t k, \
1631  int64_t* result_i_ptr, \
1632  float* result_distance_ptr, \
1633  float* result_far_ptr, \
1634  float* result_frr_ptr, \
1635  void** out_exception \
1636  ), \
1637  ( \
1638  recognizer, \
1639  acceleration, \
1640  queries_count, \
1641  query_templates, \
1642  templates_index, \
1643  k, \
1644  result_i_ptr, \
1645  result_distance_ptr, \
1646  result_far_ptr, \
1647  result_frr_ptr, \
1648  out_exception \
1649  ), \
1650  ) \
1651  \
1652  decl( \
1653  void, \
1654  Recognizer_search_v2, \
1655  ( \
1656  void* recognizer, \
1657  int32_t acceleration, \
1658  int32_t queries_count, \
1659  pbio::facerec::TemplateImpl const* const* query_templates, \
1660  const pbio::facerec::TemplatesIndexImpl* templates_index, \
1661  int64_t k, \
1662  int64_t* result_i_ptr, \
1663  float* result_distance_ptr, \
1664  float* result_far_ptr, \
1665  float* result_frr_ptr, \
1666  float* result_score_ptr, \
1667  void** out_exception \
1668  ), \
1669  ( \
1670  recognizer, \
1671  acceleration, \
1672  queries_count, \
1673  query_templates, \
1674  templates_index, \
1675  k, \
1676  result_i_ptr, \
1677  result_distance_ptr, \
1678  result_far_ptr, \
1679  result_frr_ptr, \
1680  result_score_ptr, \
1681  out_exception \
1682  ), \
1683  ) \
1684  \
1685  decl( \
1686  void, \
1687  Recognizer_getROCCurvePointByDistanceThreshold, /* #old */ \
1688  ( \
1689  void* recognizer, \
1690  double distance_threshold, \
1691  double* result_distance, \
1692  double* result_fa_r, \
1693  double* result_fr_r, \
1694  void** out_exception \
1695  ), \
1696  ( \
1697  recognizer, \
1698  distance_threshold, \
1699  result_distance, \
1700  result_fa_r, \
1701  result_fr_r, \
1702  out_exception \
1703  ), \
1704  ) \
1705  \
1706  decl( \
1707  void, \
1708  Recognizer_getROCCurvePointByDistanceThreshold_v2, \
1709  ( \
1710  void* recognizer, \
1711  double distance_threshold, \
1712  double* result_distance, \
1713  double* result_fa_r, \
1714  double* result_fr_r, \
1715  double* result_score, \
1716  void** out_exception \
1717  ), \
1718  ( \
1719  recognizer, \
1720  distance_threshold, \
1721  result_distance, \
1722  result_fa_r, \
1723  result_fr_r, \
1724  result_score, \
1725  out_exception \
1726  ), \
1727  ) \
1728  \
1729  decl( \
1730  void, \
1731  Recognizer_getROCCurvePointByFAR, /* #old */ \
1732  ( \
1733  void* recognizer, \
1734  double desired_far, \
1735  double* result_distance, \
1736  double* result_fa_r, \
1737  double* result_fr_r, \
1738  void** out_exception \
1739  ), \
1740  ( \
1741  recognizer, \
1742  desired_far, \
1743  result_distance, \
1744  result_fa_r, \
1745  result_fr_r, \
1746  out_exception \
1747  ), \
1748  ) \
1749  \
1750  decl( \
1751  void, \
1752  Recognizer_getROCCurvePointByFAR_v2, \
1753  ( \
1754  void* recognizer, \
1755  double desired_far, \
1756  double* result_distance, \
1757  double* result_fa_r, \
1758  double* result_fr_r, \
1759  double* result_score, \
1760  void** out_exception \
1761  ), \
1762  ( \
1763  recognizer, \
1764  desired_far, \
1765  result_distance, \
1766  result_fa_r, \
1767  result_fr_r, \
1768  result_score, \
1769  out_exception \
1770  ), \
1771  ) \
1772  \
1773  decl( \
1774  void, \
1775  Recognizer_getROCCurvePointByFRR, /* #old */ \
1776  ( \
1777  void* recognizer, \
1778  double desired_frr, \
1779  double* result_distance, \
1780  double* result_fa_r, \
1781  double* result_fr_r, \
1782  void** out_exception \
1783  ), \
1784  ( \
1785  recognizer, \
1786  desired_frr, \
1787  result_distance, \
1788  result_fa_r, \
1789  result_fr_r, \
1790  out_exception \
1791  ), \
1792  ) \
1793  \
1794  decl( \
1795  void, \
1796  Recognizer_getROCCurvePointByFRR_v2, \
1797  ( \
1798  void* recognizer, \
1799  double desired_frr, \
1800  double* result_distance, \
1801  double* result_fa_r, \
1802  double* result_fr_r, \
1803  double* result_score, \
1804  void** out_exception \
1805  ), \
1806  ( \
1807  recognizer, \
1808  desired_frr, \
1809  result_distance, \
1810  result_fa_r, \
1811  result_fr_r, \
1812  result_score, \
1813  out_exception \
1814  ), \
1815  ) \
1816  \
1817  decl( \
1818  void, \
1819  Recognizer_getROCCurvePointByScoreThreshold, \
1820  ( \
1821  void* recognizer, \
1822  double score_threshold, \
1823  double* result_distance, \
1824  double* result_fa_r, \
1825  double* result_fr_r, \
1826  double* result_score, \
1827  void** out_exception \
1828  ), \
1829  ( \
1830  recognizer, \
1831  score_threshold, \
1832  result_distance, \
1833  result_fa_r, \
1834  result_fr_r, \
1835  result_score, \
1836  out_exception \
1837  ), \
1838  ) \
1839  \
1840  decl( \
1841  void, \
1842  Recognizer_chooseRepresentativeTemplatesSet, \
1843  ( \
1844  void* recognizer, \
1845  pbio::facerec::TemplateImpl const* const* const templates, \
1846  int8_t const* const templates_inviolable_flags, \
1847  const int32_t templates_count, \
1848  int32_t* const choosen_set_indexes_out, \
1849  const int32_t set_size, \
1850  void** out_exception \
1851  ), \
1852  ( \
1853  recognizer, \
1854  templates, \
1855  templates_inviolable_flags, \
1856  templates_count, \
1857  choosen_set_indexes_out, \
1858  set_size, \
1859  out_exception \
1860  ), \
1861  ) \
1862  \
1863  \
1864  \
1865  \
1866  \
1867  decl( \
1868  void, \
1869  RawSample_getRectangle, \
1870  ( \
1871  void* rawsample, \
1872  int32_t *x, \
1873  int32_t *y, \
1874  int32_t *width, \
1875  int32_t *height, \
1876  void** out_exception \
1877  ), \
1878  ( \
1879  rawsample, \
1880  x, \
1881  y, \
1882  width, \
1883  height, \
1884  out_exception \
1885  ), \
1886  ) \
1887  \
1888  decl( \
1889  void, \
1890  RawSample_getLandmarks, \
1891  ( \
1892  void* rawsample, \
1893  void* landmarks_floats_vector, \
1894  pbio::facerec::capi::assign_floats_vector_func_type assign_floats_vector_func, \
1895  void** out_exception \
1896  ), \
1897  ( \
1898  rawsample, \
1899  landmarks_floats_vector, \
1900  assign_floats_vector_func, \
1901  out_exception \
1902  ), \
1903  ) \
1904  \
1905  decl( \
1906  void, \
1907  RawSample_getIrisLandmarks, \
1908  ( \
1909  void* rawsample, \
1910  void* landmarks_floats_vector, \
1911  pbio::facerec::capi::assign_floats_vector_func_type assign_floats_vector_func, \
1912  void** out_exception \
1913  ), \
1914  ( \
1915  rawsample, \
1916  landmarks_floats_vector, \
1917  assign_floats_vector_func, \
1918  out_exception \
1919  ), \
1920  ) \
1921  \
1922  decl( \
1923  void, \
1924  RawSample_getLeftEye, \
1925  ( \
1926  void* rawsample, \
1927  float* point_x, \
1928  float* point_y, \
1929  void** out_exception \
1930  ), \
1931  ( \
1932  rawsample, \
1933  point_x, \
1934  point_y, \
1935  out_exception \
1936  ), \
1937  ) \
1938  \
1939  decl( \
1940  void, \
1941  RawSample_getRightEye, \
1942  ( \
1943  void* rawsample, \
1944  float* point_x, \
1945  float* point_y, \
1946  void** out_exception \
1947  ), \
1948  ( \
1949  rawsample, \
1950  point_x, \
1951  point_y, \
1952  out_exception \
1953  ), \
1954  ) \
1955  \
1956  decl( \
1957  void, \
1958  RawSample_getAngles, \
1959  ( \
1960  void* rawsample, \
1961  float* yaw, \
1962  float* pitch, \
1963  float* roll, \
1964  void** out_exception \
1965  ), \
1966  ( \
1967  rawsample, \
1968  yaw, \
1969  pitch, \
1970  roll, \
1971  out_exception \
1972  ), \
1973  ) \
1974  \
1975  decl( \
1976  int32_t, \
1977  RawSample_getID, \
1978  ( \
1979  void* rawsample, \
1980  void** out_exception \
1981  ), \
1982  ( \
1983  rawsample, \
1984  out_exception \
1985  ), \
1986  return ) \
1987  \
1988  decl( \
1989  int32_t, \
1990  RawSample_getType, \
1991  ( \
1992  void* rawsample, \
1993  void** out_exception \
1994  ), \
1995  ( \
1996  rawsample, \
1997  out_exception \
1998  ), \
1999  return ) \
2000  \
2001  decl( \
2002  float, \
2003  RawSample_getScore, \
2004  ( \
2005  void* rawsample, \
2006  void** out_exception \
2007  ), \
2008  ( \
2009  rawsample, \
2010  out_exception \
2011  ), \
2012  return ) \
2013  \
2014  decl( \
2015  float, \
2016  RawSample_getFaceVisibilityScore, \
2017  ( \
2018  void* rawsample, \
2019  void** out_exception \
2020  ), \
2021  ( \
2022  rawsample, \
2023  out_exception \
2024  ), \
2025  return ) \
2026  \
2027  decl( \
2028  void, \
2029  RawSample_getFaceCutRectangle, \
2030  ( \
2031  void* rawsample, \
2032  int32_t cut_type, \
2033  float* corners, \
2034  void** out_exception \
2035  ), \
2036  ( \
2037  rawsample, \
2038  cut_type, \
2039  corners, \
2040  out_exception \
2041  ), \
2042  ) \
2043  \
2044  decl( \
2045  void, \
2046  RawSample_save, \
2047  ( \
2048  void* rawsample, \
2049  void* binary_stream, \
2050  pbio::facerec::capi::binary_stream_write_func_type binary_stream_write_func, \
2051  int32_t format, \
2052  void** out_exception \
2053  ), \
2054  ( \
2055  rawsample, \
2056  binary_stream, \
2057  binary_stream_write_func, \
2058  format, \
2059  out_exception \
2060  ), \
2061  ) \
2062  \
2063  decl( \
2064  void, \
2065  RawSample_save_without_image, \
2066  ( \
2067  void* rawsample, \
2068  void* binary_stream, \
2069  pbio::facerec::capi::binary_stream_write_func_type binary_stream_write_func, \
2070  double space_translation_x, \
2071  double space_translation_y, \
2072  double space_scale, \
2073  void** out_exception \
2074  ), \
2075  ( \
2076  rawsample, \
2077  binary_stream, \
2078  binary_stream_write_func, \
2079  space_translation_x, \
2080  space_translation_y, \
2081  space_scale, \
2082  out_exception \
2083  ), \
2084  ) \
2085  \
2086  decl( \
2087  int32_t, \
2088  RawSample_getFrameID, \
2089  ( \
2090  void* rawsample, \
2091  void** out_exception \
2092  ), \
2093  ( \
2094  rawsample, \
2095  out_exception \
2096  ), \
2097  return ) \
2098  \
2099  decl( \
2100  int32_t, \
2101  RawSample_hasOriginalImage, \
2102  ( \
2103  void* rawsample, \
2104  void** out_exception \
2105  ), \
2106  ( \
2107  rawsample, \
2108  out_exception \
2109  ), \
2110  return ) \
2111  \
2112  decl( \
2113  void, \
2114  RawSample_getOriginalImage, \
2115  ( \
2116  void* rawsample, \
2117  int32_t* rows, \
2118  int32_t* cols, \
2119  int32_t* format, \
2120  void const** data, \
2121  void** out_exception \
2122  ), \
2123  ( \
2124  rawsample, \
2125  rows, \
2126  cols, \
2127  format, \
2128  data, \
2129  out_exception \
2130  ), \
2131  ) \
2132  \
2133  decl( \
2134  void, \
2135  RawSample_cutFaceImage, \
2136  ( \
2137  void* rawsample, \
2138  void* binary_stream, \
2139  pbio::facerec::capi::binary_stream_write_func_type binary_stream_write_func, \
2140  int32_t *width, \
2141  int32_t *height, \
2142  int32_t format, \
2143  int32_t color_model, \
2144  int32_t cut_type, \
2145  void** out_exception \
2146  ), \
2147  ( \
2148  rawsample, \
2149  binary_stream, \
2150  binary_stream_write_func, \
2151  width, \
2152  height, \
2153  format, \
2154  color_model, \
2155  cut_type, \
2156  out_exception \
2157  ), \
2158  ) \
2159  \
2160  decl( \
2161  void, \
2162  RawSample_cutFaceImage_original_raw_image, \
2163  ( \
2164  void* rawsample, \
2165  const void* original_image_data, \
2166  int32_t original_image_width, \
2167  int32_t original_image_height, \
2168  int32_t original_image_format, \
2169  void* binary_stream, \
2170  pbio::facerec::capi::binary_stream_write_func_type binary_stream_write_func, \
2171  int32_t format, \
2172  int32_t cut_type, \
2173  void** out_exception \
2174  ), \
2175  ( \
2176  rawsample, \
2177  original_image_data, \
2178  original_image_width, \
2179  original_image_height, \
2180  original_image_format, \
2181  binary_stream, \
2182  binary_stream_write_func, \
2183  format, \
2184  cut_type, \
2185  out_exception \
2186  ), \
2187  ) \
2188  \
2189  decl( \
2190  void, \
2191  RawSample_cutFaceImage_original_raw_image_with_crop, \
2192  ( \
2193  void* rawsample, \
2194  const void* original_image_data, \
2195  int32_t original_image_width, \
2196  int32_t original_image_height, \
2197  int32_t original_image_format, \
2198  int32_t original_image_with_crop, \
2199  int32_t original_image_crop_info_offset_x, \
2200  int32_t original_image_crop_info_offset_y, \
2201  int32_t original_image_crop_info_data_image_width, \
2202  int32_t original_image_crop_info_data_image_height, \
2203  void* binary_stream, \
2204  pbio::facerec::capi::binary_stream_write_func_type binary_stream_write_func, \
2205  int32_t format, \
2206  int32_t cut_type, \
2207  void** out_exception \
2208  ), \
2209  ( \
2210  rawsample, \
2211  original_image_data, \
2212  original_image_width, \
2213  original_image_height, \
2214  original_image_format, \
2215  original_image_with_crop, \
2216  original_image_crop_info_offset_x, \
2217  original_image_crop_info_offset_y, \
2218  original_image_crop_info_data_image_width, \
2219  original_image_crop_info_data_image_height, \
2220  binary_stream, \
2221  binary_stream_write_func, \
2222  format, \
2223  cut_type, \
2224  out_exception \
2225  ), \
2226  ) \
2227  \
2228  decl( \
2229  pbio::facerec::RawSampleImpl*, \
2230  RawSample_downscaleToPreferredSize, \
2231  ( \
2232  void* rawsample, \
2233  void** out_exception \
2234  ), \
2235  ( \
2236  rawsample, \
2237  out_exception \
2238  ), \
2239  return ) \
2240  \
2241  decl( \
2242  HContext*, \
2243  RawSample_toContext, \
2244  ( \
2245  void* rawsample, \
2246  void** out_exception \
2247  ), \
2248  ( \
2249  rawsample, \
2250  out_exception \
2251  ), \
2252  return ) \
2253  \
2254  \
2255  \
2256  \
2257  decl( \
2258  void, \
2259  Capturer_capture_raw_image, \
2260  ( \
2261  void* capturer, \
2262  const void* image_data, \
2263  int32_t image_width, \
2264  int32_t image_height, \
2265  int32_t image_format, \
2266  void* result_pointers_vector, \
2267  pbio::facerec::capi::assign_pointers_vector_func_type assign_pointers_vector_func, \
2268  void** out_exception \
2269  ), \
2270  ( \
2271  capturer, \
2272  image_data, \
2273  image_width, \
2274  image_height, \
2275  image_format, \
2276  result_pointers_vector, \
2277  assign_pointers_vector_func, \
2278  out_exception \
2279  ), \
2280  ) \
2281  \
2282  decl( \
2283  void, \
2284  Capturer_capture_raw_image_with_crop, \
2285  ( \
2286  void* capturer, \
2287  const void* image_data, \
2288  int32_t image_width, \
2289  int32_t image_height, \
2290  int32_t image_format, \
2291  int32_t image_with_crop, \
2292  int32_t image_crop_info_offset_x, \
2293  int32_t image_crop_info_offset_y, \
2294  int32_t image_crop_info_data_image_width, \
2295  int32_t image_crop_info_data_image_height, \
2296  void* result_pointers_vector, \
2297  pbio::facerec::capi::assign_pointers_vector_func_type assign_pointers_vector_func, \
2298  void** out_exception \
2299  ), \
2300  ( \
2301  capturer, \
2302  image_data, \
2303  image_width, \
2304  image_height, \
2305  image_format, \
2306  image_with_crop, \
2307  image_crop_info_offset_x, \
2308  image_crop_info_offset_y, \
2309  image_crop_info_data_image_width, \
2310  image_crop_info_data_image_height, \
2311  result_pointers_vector, \
2312  assign_pointers_vector_func, \
2313  out_exception \
2314  ), \
2315  ) \
2316  \
2317  decl( \
2318  void, \
2319  Capturer_capture_encoded_image, \
2320  ( \
2321  void* capturer, \
2322  const void* data, \
2323  int32_t data_size, \
2324  void* result_pointers_vector, \
2325  pbio::facerec::capi::assign_pointers_vector_func_type assign_pointers_vector_func, \
2326  void** out_exception \
2327  ), \
2328  ( \
2329  capturer, \
2330  data, \
2331  data_size, \
2332  result_pointers_vector, \
2333  assign_pointers_vector_func, \
2334  out_exception \
2335  ), \
2336  ) \
2337  \
2338  decl( \
2339  pbio::facerec::RawSampleImpl*, \
2340  Capturer_manualCapture_raw_image_eyes_points, \
2341  ( \
2342  void* capturer, \
2343  const void* image_data, \
2344  int32_t image_width, \
2345  int32_t image_height, \
2346  int32_t image_format, \
2347  float left_eye_x, \
2348  float left_eye_y, \
2349  float right_eye_x, \
2350  float right_eye_y, \
2351  void** out_exception \
2352  ), \
2353  ( \
2354  capturer, \
2355  image_data, \
2356  image_width, \
2357  image_height, \
2358  image_format, \
2359  left_eye_x, \
2360  left_eye_y, \
2361  right_eye_x, \
2362  right_eye_y, \
2363  out_exception \
2364  ), \
2365  return ) \
2366  \
2367  decl( \
2368  pbio::facerec::RawSampleImpl*, \
2369  Capturer_manualCapture_raw_image_eyes_points_with_crop, \
2370  ( \
2371  void* capturer, \
2372  const void* image_data, \
2373  int32_t image_width, \
2374  int32_t image_height, \
2375  int32_t image_format, \
2376  int32_t image_with_crop, \
2377  int32_t image_crop_info_offset_x, \
2378  int32_t image_crop_info_offset_y, \
2379  int32_t image_crop_info_data_image_width, \
2380  int32_t image_crop_info_data_image_height, \
2381  float left_eye_x, \
2382  float left_eye_y, \
2383  float right_eye_x, \
2384  float right_eye_y, \
2385  void** out_exception \
2386  ), \
2387  ( \
2388  capturer, \
2389  image_data, \
2390  image_width, \
2391  image_height, \
2392  image_format, \
2393  image_with_crop, \
2394  image_crop_info_offset_x, \
2395  image_crop_info_offset_y, \
2396  image_crop_info_data_image_width, \
2397  image_crop_info_data_image_height, \
2398  left_eye_x, \
2399  left_eye_y, \
2400  right_eye_x, \
2401  right_eye_y, \
2402  out_exception \
2403  ), \
2404  return ) \
2405  \
2406  decl( \
2407  pbio::facerec::RawSampleImpl*, \
2408  Capturer_manualCapture_raw_image_points_vector, \
2409  ( \
2410  void* capturer, \
2411  const void* image_data, \
2412  int32_t image_width, \
2413  int32_t image_height, \
2414  int32_t image_format, \
2415  float const* const points, \
2416  const int32_t points_count, \
2417  void** out_exception \
2418  ), \
2419  ( \
2420  capturer, \
2421  image_data, \
2422  image_width, \
2423  image_height, \
2424  image_format, \
2425  points, \
2426  points_count, \
2427  out_exception \
2428  ), \
2429  return ) \
2430  \
2431  decl( \
2432  pbio::facerec::RawSampleImpl*, \
2433  Capturer_manualCapture_raw_image_points_vector_with_crop, \
2434  ( \
2435  void* capturer, \
2436  const void* image_data, \
2437  int32_t image_width, \
2438  int32_t image_height, \
2439  int32_t image_format, \
2440  int32_t image_with_crop, \
2441  int32_t image_crop_info_offset_x, \
2442  int32_t image_crop_info_offset_y, \
2443  int32_t image_crop_info_data_image_width, \
2444  int32_t image_crop_info_data_image_height, \
2445  float const* const points, \
2446  const int32_t points_count, \
2447  void** out_exception \
2448  ), \
2449  ( \
2450  capturer, \
2451  image_data, \
2452  image_width, \
2453  image_height, \
2454  image_format, \
2455  image_with_crop, \
2456  image_crop_info_offset_x, \
2457  image_crop_info_offset_y, \
2458  image_crop_info_data_image_width, \
2459  image_crop_info_data_image_height, \
2460  points, \
2461  points_count, \
2462  out_exception \
2463  ), \
2464  return ) \
2465  \
2466  decl( \
2467  pbio::facerec::RawSampleImpl*, \
2468  Capturer_manualCapture_encoded_image_eyes_points, \
2469  ( \
2470  void* capturer, \
2471  const void* data, \
2472  int32_t data_size, \
2473  float left_eye_x, \
2474  float left_eye_y, \
2475  float right_eye_x, \
2476  float right_eye_y, \
2477  void** out_exception \
2478  ), \
2479  ( \
2480  capturer, \
2481  data, \
2482  data_size, \
2483  left_eye_x, \
2484  left_eye_y, \
2485  right_eye_x, \
2486  right_eye_y, \
2487  out_exception \
2488  ), \
2489  return ) \
2490  \
2491  decl( \
2492  pbio::facerec::RawSampleImpl*, \
2493  Capturer_manualCapture_encoded_image_points_vector, \
2494  ( \
2495  void* capturer, \
2496  const void* data, \
2497  int32_t data_size, \
2498  float const* const points, \
2499  const int32_t points_count, \
2500  void** out_exception \
2501  ), \
2502  ( \
2503  capturer, \
2504  data, \
2505  data_size, \
2506  points, \
2507  points_count, \
2508  out_exception \
2509  ), \
2510  return ) \
2511  \
2512  decl( \
2513  void, \
2514  Capturer_resetHistory, \
2515  ( \
2516  void* capturer, \
2517  void** out_exception \
2518  ), \
2519  ( \
2520  capturer, \
2521  out_exception \
2522  ), \
2523  ) \
2524  \
2525  decl( \
2526  int32_t, \
2527  Capturer_getType, \
2528  ( \
2529  void* capturer, \
2530  void** out_exception \
2531  ), \
2532  ( \
2533  capturer, \
2534  out_exception \
2535  ), \
2536  return ) \
2537  \
2538  decl( \
2539  void, \
2540  Capturer_setParameter, \
2541  ( \
2542  void* capturer, \
2543  const char* param_name, \
2544  double param_value, \
2545  void** out_exception \
2546  ), \
2547  ( \
2548  capturer, \
2549  param_name, \
2550  param_value, \
2551  out_exception \
2552  ), \
2553  ) \
2554  \
2555  \
2556  \
2557  \
2558  \
2559  decl( \
2560  pbio::facerec::StructStorageImpl*, \
2561  FacerecService_getLicenseState, \
2562  ( \
2563  void* service, \
2564  void** out_exception \
2565  ), \
2566  ( \
2567  service, \
2568  out_exception \
2569  ), \
2570  return ) \
2571  \
2572  decl( \
2573  void, \
2574  FacerecService_forceOnlineLicenseUpdate, \
2575  ( \
2576  void* service, \
2577  void** out_exception \
2578  ), \
2579  ( \
2580  service, \
2581  out_exception \
2582  ), \
2583  ) \
2584  \
2585  decl( \
2586  pbio::facerec::QualityEstimatorImpl*, \
2587  FacerecService_createQualityEstimator, \
2588  ( \
2589  void* service, \
2590  const char* ini_file, \
2591  void** out_exception \
2592  ), \
2593  ( \
2594  service, \
2595  ini_file, \
2596  out_exception \
2597  ), \
2598  return ) \
2599  \
2600  decl( \
2601  pbio::facerec::FaceQualityEstimatorImpl*, \
2602  FacerecService_createFaceQualityEstimator, \
2603  ( \
2604  void* service, \
2605  const char* ini_file, \
2606  void** out_exception \
2607  ), \
2608  ( \
2609  service, \
2610  ini_file, \
2611  out_exception \
2612  ), \
2613  return ) \
2614  \
2615  decl( \
2616  pbio::facerec::AgeGenderEstimatorImpl*, \
2617  FacerecService_createAgeGenderEstimator, \
2618  ( \
2619  void* service, \
2620  const char* ini_file, \
2621  void** out_exception \
2622  ), \
2623  ( \
2624  service, \
2625  ini_file, \
2626  out_exception \
2627  ), \
2628  return ) \
2629  \
2630  decl( \
2631  pbio::facerec::LivenessEstimatorImpl*, \
2632  FacerecService_createLivenessEstimator, \
2633  ( \
2634  void* service, \
2635  void** out_exception \
2636  ), \
2637  ( \
2638  service, \
2639  out_exception \
2640  ), \
2641  return ) \
2642  \
2643  decl( \
2644  pbio::facerec::RawSampleImpl*, \
2645  FacerecService_loadRawSample, \
2646  ( \
2647  void* service, \
2648  void* binary_stream, \
2649  ::pbio::facerec::capi::binary_stream_read_func_type binary_stream_read_func, \
2650  void** out_exception \
2651  ), \
2652  ( \
2653  service, \
2654  binary_stream, \
2655  binary_stream_read_func, \
2656  out_exception \
2657  ), \
2658  return ) \
2659  \
2660  decl( \
2661  pbio::facerec::RawSampleImpl*, \
2662  FacerecService_loadRawSampleWithoutImage_raw_image, \
2663  ( \
2664  void* service, \
2665  void* binary_stream, \
2666  ::pbio::facerec::capi::binary_stream_read_func_type binary_stream_read_func, \
2667  const void* image_data, \
2668  int32_t image_width, \
2669  int32_t image_height, \
2670  int32_t image_format, \
2671  int32_t image_with_crop, \
2672  int32_t image_crop_info_offset_x, \
2673  int32_t image_crop_info_offset_y, \
2674  int32_t image_crop_info_data_image_width, \
2675  int32_t image_crop_info_data_image_height, \
2676  double space_translation_x, \
2677  double space_translation_y, \
2678  double space_scale, \
2679  void** out_exception \
2680  ), \
2681  ( \
2682  service, \
2683  binary_stream, \
2684  binary_stream_read_func, \
2685  image_data, \
2686  image_width, \
2687  image_height, \
2688  image_format, \
2689  image_with_crop, \
2690  image_crop_info_offset_x, \
2691  image_crop_info_offset_y, \
2692  image_crop_info_data_image_width, \
2693  image_crop_info_data_image_height, \
2694  space_translation_x, \
2695  space_translation_y, \
2696  space_scale, \
2697  out_exception \
2698  ), \
2699  return ) \
2700  \
2701  decl( \
2702  pbio::facerec::RawSampleImpl*, \
2703  FacerecService_loadRawSampleWithoutImage_encoded_image, \
2704  ( \
2705  void* service, \
2706  void* binary_stream, \
2707  ::pbio::facerec::capi::binary_stream_read_func_type binary_stream_read_func, \
2708  const void* data, \
2709  int32_t data_size, \
2710  double space_translation_x, \
2711  double space_translation_y, \
2712  double space_scale, \
2713  void** out_exception \
2714  ), \
2715  ( \
2716  service, \
2717  binary_stream, \
2718  binary_stream_read_func, \
2719  data, \
2720  data_size, \
2721  space_translation_x, \
2722  space_translation_y, \
2723  space_scale, \
2724  out_exception \
2725  ), \
2726  return ) \
2727  \
2728  decl( \
2729  pbio::facerec::EmotionsEstimatorImpl*, \
2730  FacerecService_createEmotionsEstimator, \
2731  ( \
2732  void* service, \
2733  const char* ini_file, \
2734  void** out_exception \
2735  ), \
2736  ( \
2737  service, \
2738  ini_file, \
2739  out_exception \
2740  ), \
2741  return ) \
2742  \
2743  decl( \
2744  pbio::facerec::CapturerImpl*, \
2745  FacerecService_createCapturerE, \
2746  ( \
2747  void* service, \
2748  const char* ini_file, \
2749  const int32_t overridden_count, \
2750  char const* const* const overridden_keys, \
2751  double const* const overridden_values, \
2752  void** out_exception \
2753  ), \
2754  ( \
2755  service, \
2756  ini_file, \
2757  overridden_count, \
2758  overridden_keys, \
2759  overridden_values, \
2760  out_exception \
2761  ), \
2762  return ) \
2763  \
2764  decl( \
2765  pbio::facerec::CameraCalibratorImpl*, \
2766  FacerecService_createCameraCalibrator, \
2767  ( \
2768  void* service, \
2769  void** out_exception \
2770  ), \
2771  ( \
2772  service, \
2773  out_exception \
2774  ), \
2775  return ) \
2776  \
2777  decl( \
2778  pbio::facerec::RecognizerImpl*, \
2779  FacerecService_createRecognizer2, \
2780  ( \
2781  void* service, \
2782  const char* ini_file, \
2783  const int32_t overridden_count, \
2784  char const* const* const overridden_keys, \
2785  double const* const overridden_values, \
2786  const int32_t processing, \
2787  const int32_t matching, \
2788  const int32_t processing_less_memory_consumption, \
2789  void** out_exception \
2790  ), \
2791  ( \
2792  service, \
2793  ini_file, \
2794  overridden_count, \
2795  overridden_keys, \
2796  overridden_values, \
2797  processing, \
2798  matching, \
2799  processing_less_memory_consumption, \
2800  out_exception \
2801  ), \
2802  return ) \
2803  \
2804  \
2805  decl( \
2806  pbio::facerec::RecognizerImpl*, \
2807  FacerecService_createResizableRecognizer2, \
2808  ( \
2809  void* service, \
2810  const char* ini_file, \
2811  const int32_t overridden_count, \
2812  char const* const* const overridden_keys, \
2813  double const* const overridden_values, \
2814  const int32_t processing, \
2815  const int32_t matching, \
2816  const int32_t processing_less_memory_consumption, \
2817  void** out_exception \
2818  ), \
2819  ( \
2820  service, \
2821  ini_file, \
2822  overridden_count, \
2823  overridden_keys, \
2824  overridden_values, \
2825  processing, \
2826  matching, \
2827  processing_less_memory_consumption, \
2828  out_exception \
2829  ), \
2830  return ) \
2831  \
2832  \
2833  decl( \
2834  void, \
2835  ResizableTemplatesIndex_add_1, \
2836  ( \
2837  void* templatesIndex, \
2838  const pbio::facerec::TemplateImpl* templ, \
2839  const char* uuid, \
2840  void** out_exception \
2841  ), \
2842  ( \
2843  templatesIndex, \
2844  templ, \
2845  uuid, \
2846  out_exception \
2847  ), \
2848  return ) \
2849  \
2850  \
2851  decl( \
2852  void, \
2853  ResizableTemplatesIndex_add_2, \
2854  ( \
2855  void* templatesIndex, \
2856  const pbio::facerec::TemplateImpl** templs, \
2857  const char** uuids, \
2858  uint64_t size, \
2859  void** out_exception \
2860  ), \
2861  ( \
2862  templatesIndex, \
2863  templs, \
2864  uuids, \
2865  size, \
2866  out_exception \
2867  ), \
2868  return ) \
2869  \
2870  \
2871  decl( \
2872  void, \
2873  ResizableTemplatesIndex_remove_1, \
2874  ( \
2875  void* templatesIndex, \
2876  const char* uuid, \
2877  void** out_exception \
2878  ), \
2879  ( \
2880  templatesIndex, \
2881  uuid, \
2882  out_exception \
2883  ), \
2884  return ) \
2885  \
2886  \
2887  decl( \
2888  void, \
2889  ResizableTemplatesIndex_concatenate, \
2890  ( \
2891  void* templatesIndex, \
2892  void* otherIndex, \
2893  void** out_exception \
2894  ), \
2895  ( \
2896  templatesIndex, \
2897  otherIndex, \
2898  out_exception \
2899  ), \
2900  return ) \
2901  \
2902  \
2903  decl( \
2904  pbio::facerec::TemplateImpl*, \
2905  ResizableTemplatesIndex_at_by_uuid, \
2906  ( \
2907  void* templatesIndex, \
2908  const char* uuid, \
2909  void** out_exception \
2910  ), \
2911  ( \
2912  templatesIndex, \
2913  uuid, \
2914  out_exception \
2915  ), \
2916  return ) \
2917  \
2918  \
2919  decl( \
2920  void, \
2921  ResizableTemplatesIndex_at_by_index, \
2922  ( \
2923  void* templatesIndex, \
2924  int64_t index, \
2925  void* stream, \
2926  pbio::facerec::capi::binary_stream_write_func_type binary_stream_write_func, \
2927  void** out_exception \
2928  ), \
2929  ( \
2930  templatesIndex, \
2931  index, \
2932  stream, \
2933  binary_stream_write_func, \
2934  out_exception \
2935  ), \
2936  return ) \
2937  \
2938  \
2939  decl( \
2940  uint64_t, \
2941  ResizableTemplatesIndex_capacity, \
2942  ( \
2943  void* templatesIndex, \
2944  void** out_exception \
2945  ), \
2946  ( \
2947  templatesIndex, \
2948  out_exception \
2949  ), \
2950  return ) \
2951  \
2952  \
2953  decl( \
2954  void, \
2955  ResizableTemplatesIndex_remove_2, \
2956  ( \
2957  void* templatesIndex, \
2958  const char** uuids, \
2959  uint64_t size, \
2960  void** out_exception \
2961  ), \
2962  ( \
2963  templatesIndex, \
2964  uuids, \
2965  size, \
2966  out_exception \
2967  ), \
2968  return ) \
2969  \
2970  \
2971  decl( \
2972  pbio::facerec::VideoWorkerImpl*, \
2973  FacerecService_createVideoWorker, /* #old */ \
2974  ( \
2975  void* service, \
2976  const ::pbio::facerec::capi::VideoWorker_TrackingCallbackFunc trackingCallback, \
2977  const ::pbio::facerec::capi::VideoWorker_TemplateCreatedCallbackFunc templateCreatedCallback, \
2978  const ::pbio::facerec::capi::VideoWorker_MatchFoundCallbackFunc matchFoundCallback, \
2979  const ::pbio::facerec::capi::VideoWorker_TrackingLostCallbackFunc trackingLostCallback, \
2980  const char* video_worker_ini_file, \
2981  const int32_t vw_overridden_count, \
2982  char const* const* const vw_overridden_keys, \
2983  double const* const vw_overridden_values, \
2984  const char* recognizer_ini_file, \
2985  const int32_t streams_count, \
2986  const int32_t processing_threads_count, \
2987  const int32_t matching_threads_count, \
2988  void** out_exception \
2989  ), \
2990  ( \
2991  service, \
2992  trackingCallback, \
2993  templateCreatedCallback, \
2994  matchFoundCallback, \
2995  trackingLostCallback, \
2996  video_worker_ini_file, \
2997  vw_overridden_count, \
2998  vw_overridden_keys, \
2999  vw_overridden_values, \
3000  recognizer_ini_file, \
3001  streams_count, \
3002  processing_threads_count, \
3003  matching_threads_count, \
3004  out_exception \
3005  ), \
3006  return ) \
3007  \
3008  \
3009  \
3010  decl( \
3011  pbio::facerec::VideoWorkerImpl*, \
3012  FacerecService_createVideoWorker_sti_age_gender_emotions, \
3013  ( \
3014  void* service, \
3015  const ::pbio::facerec::capi::VideoWorker_TrackingCallbackFunc trackingCallback, \
3016  const ::pbio::facerec::capi::VideoWorker_TemplateCreatedCallbackFunc templateCreatedCallback, \
3017  const ::pbio::facerec::capi::VideoWorker_MatchFoundCallbackFunc matchFoundCallback, \
3018  const ::pbio::facerec::capi::VideoWorker_TrackingLostCallbackFunc trackingLostCallback, \
3019  const ::pbio::facerec::capi::VideoWorker_StiPersonOutdatedCallbackFunc stiPersonOutdatedCallback, \
3020  const char* video_worker_ini_file, \
3021  const int32_t vw_overridden_count, \
3022  char const* const* const vw_overridden_keys, \
3023  double const* const vw_overridden_values, \
3024  const char* recognizer_ini_file, \
3025  const int32_t rec_overridden_count, \
3026  char const* const* const rec_overridden_keys, \
3027  double const* const rec_overridden_values, \
3028  const int32_t streams_count, \
3029  const int32_t processing_threads_count, \
3030  const int32_t matching_threads_count, \
3031  const uint32_t short_time_identification_enabled, \
3032  const float short_time_identification_distance_threshold, \
3033  const float short_time_identification_outdate_time_seconds, \
3034  const int32_t age_gender_threads_count, \
3035  const int32_t emotions_threads_count, \
3036  void** out_exception \
3037  ), \
3038  ( \
3039  service, \
3040  trackingCallback, \
3041  templateCreatedCallback, \
3042  matchFoundCallback, \
3043  trackingLostCallback, \
3044  stiPersonOutdatedCallback, \
3045  video_worker_ini_file, \
3046  vw_overridden_count, \
3047  vw_overridden_keys, \
3048  vw_overridden_values, \
3049  recognizer_ini_file, \
3050  rec_overridden_count, \
3051  rec_overridden_keys, \
3052  rec_overridden_values, \
3053  streams_count, \
3054  processing_threads_count, \
3055  matching_threads_count, \
3056  short_time_identification_enabled, \
3057  short_time_identification_distance_threshold, \
3058  short_time_identification_outdate_time_seconds, \
3059  age_gender_threads_count, \
3060  emotions_threads_count, \
3061  out_exception \
3062  ), \
3063  return ) \
3064  \
3065  \
3066  \
3067  decl( \
3068  pbio::facerec::DepthLivenessEstimatorImpl*, \
3069  FacerecService_createDepthLivenessEstimator, \
3070  ( \
3071  void* service, \
3072  const char* ini_file, \
3073  void** out_exception \
3074  ), \
3075  ( \
3076  service, \
3077  ini_file, \
3078  out_exception \
3079  ), \
3080  return ) \
3081  \
3082  decl( \
3083  pbio::facerec::DepthLivenessEstimatorImpl*, \
3084  FacerecService_createDepthLivenessEstimatorE, \
3085  ( \
3086  void* service, \
3087  const char* ini_file, \
3088  const int32_t overridden_count, \
3089  char const* const* const overridden_keys, \
3090  double const* const overridden_values, \
3091  void** out_exception \
3092  ), \
3093  ( \
3094  service, \
3095  ini_file, \
3096  overridden_count, \
3097  overridden_keys, \
3098  overridden_values, \
3099  out_exception \
3100  ), \
3101  return ) \
3102  \
3103  decl( \
3104  pbio::facerec::IRLivenessEstimatorImpl*, \
3105  FacerecService_createIRLivenessEstimatorE, \
3106  ( \
3107  void* service, \
3108  const char* ini_file, \
3109  const int32_t overridden_count, \
3110  char const* const* const overridden_keys, \
3111  double const* const overridden_values, \
3112  void** out_exception \
3113  ), \
3114  ( \
3115  service, \
3116  ini_file, \
3117  overridden_count, \
3118  overridden_keys, \
3119  overridden_values, \
3120  out_exception \
3121  ), \
3122  return ) \
3123  \
3124  decl( \
3125  pbio::facerec::Liveness2DEstimatorImpl*, \
3126  FacerecService_createLiveness2DEstimatorE, \
3127  ( \
3128  void* service, \
3129  const char* ini_file, \
3130  const int32_t overridden_count, \
3131  char const* const* const overridden_keys, \
3132  double const* const overridden_values, \
3133  void** out_exception \
3134  ), \
3135  ( \
3136  service, \
3137  ini_file, \
3138  overridden_count, \
3139  overridden_keys, \
3140  overridden_values, \
3141  out_exception \
3142  ), \
3143  return ) \
3144  \
3145  decl( \
3146  pbio::facerec::FaceAttributesEstimatorImpl*, \
3147  FacerecService_createFaceAttributesEstimator, \
3148  ( \
3149  void* service, \
3150  const char* ini_file, \
3151  const int32_t overridden_count, \
3152  char const* const* const overridden_keys, \
3153  double const* const overridden_values, \
3154  void** out_exception \
3155  ), \
3156  ( \
3157  service, \
3158  ini_file, \
3159  overridden_count, \
3160  overridden_keys, \
3161  overridden_values, \
3162  out_exception \
3163  ), \
3164  return ) \
3165  \
3166  decl( \
3167  void, \
3168  get_version, \
3169  ( \
3170  void* version_stream, \
3171  pbio::facerec::capi::binary_stream_write_func_type binary_stream_write_func, \
3172  void** out_exception \
3173  ), \
3174  ( \
3175  version_stream, \
3176  binary_stream_write_func, \
3177  out_exception \
3178  ), \
3179  ) \
3180  \
3181  decl( \
3182  void*, \
3183  FacerecService_constructor2, \
3184  ( \
3185  char const* conf_dir, \
3186  char const* license_dir, \
3187  char const* dll_path, \
3188  void** out_exception \
3189  ), \
3190  ( \
3191  conf_dir, \
3192  license_dir, \
3193  dll_path, \
3194  out_exception \
3195  ), \
3196  return ) \
3197  \
3198  decl( \
3199  void*, \
3200  FacerecService_constructor3, \
3201  ( \
3202  void* ae_ptr, \
3203  char const* conf_dir, \
3204  char const* license_dir, \
3205  char const* dll_path, \
3206  void** out_exception \
3207  ), \
3208  ( \
3209  ae_ptr, \
3210  conf_dir, \
3211  license_dir, \
3212  dll_path, \
3213  out_exception \
3214  ), \
3215  return ) \
3216  \
3217  decl( \
3218  void*, \
3219  FacerecService_constructor4, \
3220  ( \
3221  char const* conf_dir, \
3222  char const* license_body, \
3223  char const* dll_path, \
3224  void** out_exception \
3225  ), \
3226  ( \
3227  conf_dir, \
3228  license_body, \
3229  dll_path, \
3230  out_exception \
3231  ), \
3232  return ) \
3233  \
3234  decl( \
3235  void*, \
3236  FacerecService_constructor5, \
3237  ( \
3238  void* ae_ptr, \
3239  char const* conf_dir, \
3240  char const* license_body, \
3241  char const* dll_path, \
3242  void** out_exception \
3243  ), \
3244  ( \
3245  ae_ptr, \
3246  conf_dir, \
3247  license_body, \
3248  dll_path, \
3249  out_exception \
3250  ), \
3251  return ) \
3252  \
3253  decl( \
3254  void, \
3255  FacerecService_toggleAlgorithmsCacheKepp, \
3256  ( \
3257  int32_t cache_keep_enabled, \
3258  void** out_exception \
3259  ), \
3260  ( \
3261  cache_keep_enabled, \
3262  out_exception \
3263  ), \
3264  ) \
3265  \
3266  \
3267  \
3268  \
3269  \
3270  decl( \
3271  void*, \
3272  InternalImageBuffer_constructor, \
3273  ( \
3274  int32_t width, \
3275  int32_t height, \
3276  int32_t format, \
3277  int32_t* out_data_size, \
3278  void** out_data_ptr, \
3279  void** out_imagetptr_ptr, \
3280  void** out_exception \
3281  ), \
3282  ( \
3283  width, \
3284  height, \
3285  format, \
3286  out_data_size, \
3287  out_data_ptr, \
3288  out_imagetptr_ptr, \
3289  out_exception \
3290  ), \
3291  return ) \
3292  \
3293  \
3294  decl( \
3295  void*, \
3296  InternalImageBuffer_constructor_from_android_image, \
3297  ( \
3298  void* jni_env_ptr, \
3299  void* jobject_image_ptr, \
3300  int32_t* out_width, \
3301  int32_t* out_height, \
3302  int32_t* out_format, \
3303  int32_t* out_data_size, \
3304  void** out_data_ptr, \
3305  void** out_imagetptr_ptr, \
3306  void** out_exception \
3307  ), \
3308  ( \
3309  jni_env_ptr, \
3310  jobject_image_ptr, \
3311  out_width, \
3312  out_height, \
3313  out_format, \
3314  out_data_size, \
3315  out_data_ptr, \
3316  out_imagetptr_ptr, \
3317  out_exception \
3318  ), \
3319  return ) \
3320  \
3321  \
3322  \
3323  \
3324  decl( \
3325  void, \
3326  RawImage_convertYUV2ARGB, \
3327  ( \
3328  const void* image_data, \
3329  int32_t image_width, \
3330  int32_t image_height, \
3331  int32_t image_format, \
3332  int32_t image_with_crop, \
3333  int32_t image_crop_info_offset_x, \
3334  int32_t image_crop_info_offset_y, \
3335  int32_t image_crop_info_data_image_width, \
3336  int32_t image_crop_info_data_image_height, \
3337  int32_t downscale_x2, \
3338  void* result_buffer, \
3339  void** out_exception \
3340  ), \
3341  ( \
3342  image_data, \
3343  image_width, \
3344  image_height, \
3345  image_format, \
3346  image_with_crop, \
3347  image_crop_info_offset_x, \
3348  image_crop_info_offset_y, \
3349  image_crop_info_data_image_width, \
3350  image_crop_info_data_image_height, \
3351  downscale_x2, \
3352  result_buffer, \
3353  out_exception \
3354  ), \
3355  ) \
3356  \
3357  \
3358  \
3359  \
3360  decl( \
3361  void, \
3362  RawImage_convertYUV2RGB, \
3363  ( \
3364  const void* image_data, \
3365  int32_t image_width, \
3366  int32_t image_height, \
3367  int32_t image_format, \
3368  int32_t image_with_crop, \
3369  int32_t image_crop_info_offset_x, \
3370  int32_t image_crop_info_offset_y, \
3371  int32_t image_crop_info_data_image_width, \
3372  int32_t image_crop_info_data_image_height, \
3373  int32_t downscale_x2, \
3374  int32_t base_angle, \
3375  void* result_buffer, \
3376  void** out_exception \
3377  ), \
3378  ( \
3379  image_data, \
3380  image_width, \
3381  image_height, \
3382  image_format, \
3383  image_with_crop, \
3384  image_crop_info_offset_x, \
3385  image_crop_info_offset_y, \
3386  image_crop_info_data_image_width, \
3387  image_crop_info_data_image_height, \
3388  downscale_x2, \
3389  base_angle, \
3390  result_buffer, \
3391  out_exception \
3392  ), \
3393  ) \
3394  \
3395  \
3396  \
3397  \
3398  decl( \
3399  void, \
3400  RawImage_convertBGRA88882RGB, \
3401  ( \
3402  void* image_data, \
3403  int32_t image_width, \
3404  int32_t image_height, \
3405  int32_t base_angle, \
3406  void* result_buffer, \
3407  void** out_exception \
3408  ), \
3409  ( \
3410  image_data, \
3411  image_width, \
3412  image_height, \
3413  base_angle, \
3414  result_buffer, \
3415  out_exception \
3416  ), \
3417  ) \
3418  \
3419  \
3420  \
3421  \
3422  decl( \
3423  uint32_t, \
3424  apiException_code, \
3425  ( void* exception ), \
3426  ( exception ), \
3427  return ) \
3428  \
3429  decl( \
3430  char const*, \
3431  apiException_what, \
3432  ( void* exception ), \
3433  ( exception ), \
3434  return ) \
3435  \
3436  decl( \
3437  void, \
3438  apiObject_destructor, \
3439  (void* object), \
3440  (object), \
3441  ) \
3442  \
3443  \
3444  decl( \
3445  HPBlock*, \
3446  FacerecService_ProcessingBlock_createProcessingBlock, \
3447  ( \
3448  void* service, \
3449  const HContext* block_ptr, \
3450  void** out_exception \
3451  ), \
3452  ( \
3453  service, \
3454  block_ptr, \
3455  out_exception \
3456  ), \
3457  return ) \
3458  \
3459  \
3460  decl( \
3461  void, \
3462  TDV_convertYUV420_888ToNV21, \
3463  ( \
3464  const uint8_t* data, \
3465  int32_t width, \
3466  int32_t height, \
3467  int32_t bytesPerRow, \
3468  uint8_t* result, \
3469  uint64_t resultSize, \
3470  void** errorHandler \
3471  ), \
3472  ( \
3473  data, \
3474  width, \
3475  height, \
3476  bytesPerRow, \
3477  result, \
3478  resultSize, \
3479  errorHandler \
3480  ), \
3481  )
3482 
3483 // decl suppose to be a macro: decl(rtype, name, typed_args, args, return)
3484 #define __TDV_METASDK_FLIST(decl) \
3485  \
3486  decl( \
3487  void, \
3488  TDVProcessingBlock_processContext, \
3489  ( \
3490  HPBlock* block_ptr, \
3491  HContext* ctx_ptr, \
3492  ContextEH** out_exception \
3493  ), \
3494  ( \
3495  block_ptr, \
3496  ctx_ptr, \
3497  out_exception \
3498  ), \
3499  return ) \
3500  \
3501  \
3502  decl( \
3503  void, \
3504  TDVProcessingBlock_destroyBlock, \
3505  ( \
3506  HPBlock* block_ptr, \
3507  ContextEH** out_exception \
3508  ), \
3509  ( \
3510  block_ptr, \
3511  out_exception \
3512  ), \
3513  return ) \
3514  \
3515  \
3516  decl( \
3517  HContext*, \
3518  TDVContext_create, \
3519  ( \
3520  ContextEH** errorHandler \
3521  ), \
3522  ( \
3523  errorHandler \
3524  ), \
3525  return ) \
3526  \
3527  \
3528  decl( \
3529  void, \
3530  TDVContext_destroy, \
3531  ( \
3532  HContext* ctx, \
3533  ContextEH** errorHandler \
3534  ), \
3535  ( \
3536  ctx, \
3537  errorHandler \
3538  ), \
3539  return ) \
3540  \
3541  \
3542  decl( \
3543  HContext*, \
3544  TDVContext_createFromEncodedImage, \
3545  ( \
3546  const uint8_t* data, \
3547  uint64_t dataSize, \
3548  ContextEH** errorHandler \
3549  ), \
3550  ( \
3551  data, \
3552  dataSize, \
3553  errorHandler \
3554  ), \
3555  return ) \
3556  \
3557  \
3558  decl( \
3559  HContext*, \
3560  TDVContext_createFromFrame, \
3561  ( \
3562  uint8_t* data, \
3563  int32_t width, \
3564  int32_t height, \
3565  int32_t format, \
3566  int32_t baseAngle, \
3567  ContextEH** errorHandler \
3568  ), \
3569  ( \
3570  data, \
3571  width, \
3572  height, \
3573  format, \
3574  baseAngle, \
3575  errorHandler \
3576  ), \
3577  return ) \
3578  \
3579  \
3580  decl( \
3581  HContext*, \
3582  TDVContext_createFromJsonFile, \
3583  ( \
3584  const char* path, \
3585  ContextEH** errorHandler \
3586  ), \
3587  ( \
3588  path, \
3589  errorHandler \
3590  ), \
3591  return ) \
3592  \
3593  \
3594  decl( \
3595  void, \
3596  TDVContext_saveToJsonFile, \
3597  ( \
3598  HContext* ctx, \
3599  const char* path, \
3600  ContextEH** errorHandler \
3601  ), \
3602  ( \
3603  ctx, \
3604  path, \
3605  errorHandler \
3606  ), \
3607  return ) \
3608  \
3609  \
3610  decl( \
3611  HContext*, \
3612  TDVContext_getByIndex, \
3613  ( \
3614  HContext* ctx, \
3615  int key, \
3616  ContextEH** errorHandler \
3617  ), \
3618  ( \
3619  ctx, \
3620  key, \
3621  errorHandler \
3622  ), \
3623  return ) \
3624  \
3625  \
3626  decl( \
3627  HContext*, \
3628  TDVContext_getByKey, \
3629  ( \
3630  HContext* ctx, \
3631  const char* key, \
3632  ContextEH** errorHandler \
3633  ), \
3634  ( \
3635  ctx, \
3636  key, \
3637  errorHandler \
3638  ), \
3639  return ) \
3640  \
3641  \
3642  decl( \
3643  HContext*, \
3644  TDVContext_getOrInsertByKey, \
3645  ( \
3646  HContext* ctx, \
3647  const char* key, \
3648  ContextEH** errorHandler \
3649  ), \
3650  ( \
3651  ctx, \
3652  key, \
3653  errorHandler \
3654  ), \
3655  return ) \
3656  \
3657  \
3658  decl( \
3659  void, \
3660  TDVContext_copy, \
3661  ( \
3662  HContext* src, \
3663  HContext* dst, \
3664  ContextEH** errorHandler \
3665  ), \
3666  ( \
3667  src, \
3668  dst, \
3669  errorHandler \
3670  ), \
3671  return ) \
3672  \
3673  \
3674  decl( \
3675  HContext*, \
3676  TDVContext_clone, \
3677  ( \
3678  HContext* ctx, \
3679  ContextEH** errorHandler \
3680  ), \
3681  ( \
3682  ctx, \
3683  errorHandler \
3684  ), \
3685  return ) \
3686  \
3687  \
3688  decl( \
3689  HContext*, \
3690  TDVContext_clear, \
3691  ( \
3692  HContext* ctx, \
3693  ContextEH** errorHandler \
3694  ), \
3695  ( \
3696  ctx, \
3697  errorHandler \
3698  ), \
3699  return ) \
3700  \
3701  \
3702  decl( \
3703  void, \
3704  TDVContext_erase, \
3705  ( \
3706  HContext* ctx, \
3707  const char* key, \
3708  ContextEH** errorHandler \
3709  ), \
3710  ( \
3711  ctx, \
3712  errorHandler \
3713  ), \
3714  return ) \
3715  \
3716  \
3717  decl( \
3718  void, \
3719  TDVContext_reserve, \
3720  ( \
3721  HContext* ctx, \
3722  const uint64_t size, \
3723  ContextEH** errorHandler \
3724  ), \
3725  ( \
3726  ctx, \
3727  errorHandler \
3728  ), \
3729  return ) \
3730  \
3731  \
3732  decl( \
3733  bool, \
3734  TDVContext_contains, \
3735  ( \
3736  HContext* ctx, \
3737  const char* key, \
3738  ContextEH** errorHandler \
3739  ), \
3740  ( \
3741  ctx, \
3742  errorHandler \
3743  ), \
3744  return ) \
3745  \
3746  \
3747  decl( \
3748  bool, \
3749  TDVContext_empty, \
3750  ( \
3751  HContext* ctx, \
3752  ContextEH** errorHandler \
3753  ), \
3754  ( \
3755  ctx, \
3756  errorHandler \
3757  ), \
3758  return ) \
3759  \
3760  \
3761  decl( \
3762  bool, \
3763  TDVContext_compare, \
3764  ( \
3765  HContext* ctx, \
3766  HContext* ctx2, \
3767  ContextEH** errorHandler \
3768  ), \
3769  ( \
3770  ctx, \
3771  errorHandler \
3772  ), \
3773  return ) \
3774  \
3775  \
3776  decl( \
3777  void, \
3778  TDVContext_putStr, \
3779  ( \
3780  HContext* ctx, \
3781  const char* str, \
3782  ContextEH** errorHandler \
3783  ), \
3784  ( \
3785  ctx, \
3786  str, \
3787  errorHandler \
3788  ), \
3789  return ) \
3790  \
3791  \
3792  decl( \
3793  void, \
3794  TDVContext_putLong, \
3795  ( \
3796  HContext* ctx, \
3797  int64_t val, \
3798  ContextEH** errorHandler \
3799  ), \
3800  ( \
3801  ctx, \
3802  val, \
3803  errorHandler \
3804  ), \
3805  return ) \
3806  \
3807  \
3808  decl( \
3809  void, \
3810  TDVContext_putDouble, \
3811  ( \
3812  HContext* ctx, \
3813  double val, \
3814  ContextEH** errorHandler \
3815  ), \
3816  ( \
3817  ctx, \
3818  val, \
3819  errorHandler \
3820  ), \
3821  return ) \
3822  \
3823  \
3824  decl( \
3825  void, \
3826  TDVContext_putBool, \
3827  ( \
3828  HContext* ctx, \
3829  bool val, \
3830  ContextEH** errorHandler \
3831  ), \
3832  ( \
3833  ctx, \
3834  val, \
3835  errorHandler \
3836  ), \
3837  return ) \
3838  \
3839  \
3840  decl( \
3841  unsigned char*, \
3842  TDVContext_allocDataPtr, \
3843  ( \
3844  HContext* ctx, \
3845  unsigned long size, \
3846  ContextEH** errorHandler \
3847  ), \
3848  ( \
3849  ctx, \
3850  size, \
3851  errorHandler \
3852  ), \
3853  return ) \
3854  \
3855  \
3856  decl( \
3857  unsigned char*, \
3858  TDVContext_putDataPtr, \
3859  ( \
3860  HContext* ctx, \
3861  unsigned char* val, \
3862  unsigned long copy_sz, \
3863  ContextEH** errorHandler \
3864  ), \
3865  ( \
3866  ctx, \
3867  val, \
3868  copy_sz, \
3869  errorHandler \
3870  ), \
3871  return ) \
3872  \
3873  \
3874  decl( \
3875  unsigned char*, \
3876  TDVContext_putConstDataPtr, \
3877  ( \
3878  HContext* ctx, \
3879  const unsigned char* val, \
3880  unsigned long copy_sz, \
3881  ContextEH** errorHandler \
3882  ), \
3883  ( \
3884  ctx, \
3885  val, \
3886  copy_sz, \
3887  errorHandler \
3888  ), \
3889  return ) \
3890  \
3891  \
3892  decl( \
3893  void, \
3894  TDVContext_pushBack, \
3895  ( \
3896  HContext* ctx, \
3897  void* data, \
3898  bool copy, \
3899  ContextEH** errorHandler \
3900  ), \
3901  ( \
3902  ctx, \
3903  data, \
3904  copy, \
3905  errorHandler \
3906  ), \
3907  return ) \
3908  \
3909  \
3910  decl( \
3911  unsigned long, \
3912  TDVContext_getLength, \
3913  ( \
3914  HContext* ctx, \
3915  ContextEH** errorHandler \
3916  ), \
3917  ( \
3918  ctx, \
3919  errorHandler \
3920  ), \
3921  return ) \
3922  \
3923  \
3924  decl( \
3925  char**, \
3926  TDVContext_getKeys, \
3927  ( \
3928  HContext* ctx, \
3929  unsigned long length, \
3930  ContextEH** errorHandler \
3931  ), \
3932  ( \
3933  ctx, \
3934  length, \
3935  errorHandler \
3936  ), \
3937  return ) \
3938  \
3939  \
3940  decl( \
3941  bool, \
3942  TDVContext_isNone, \
3943  ( \
3944  HContext* ctx, \
3945  ContextEH** errorHandler \
3946  ), \
3947  ( \
3948  ctx, \
3949  errorHandler \
3950  ), \
3951  return ) \
3952  \
3953  \
3954  decl( \
3955  bool, \
3956  TDVContext_isArray, \
3957  ( \
3958  HContext* ctx, \
3959  ContextEH** errorHandler \
3960  ), \
3961  ( \
3962  ctx, \
3963  errorHandler \
3964  ), \
3965  return ) \
3966  \
3967  \
3968  decl( \
3969  bool, \
3970  TDVContext_isObject, \
3971  ( \
3972  HContext* ctx, \
3973  ContextEH** errorHandler \
3974  ), \
3975  ( \
3976  ctx, \
3977  errorHandler \
3978  ), \
3979  return ) \
3980  \
3981  \
3982  decl( \
3983  bool, \
3984  TDVContext_isBool, \
3985  ( \
3986  HContext* ctx, \
3987  ContextEH** errorHandler \
3988  ), \
3989  ( \
3990  ctx, \
3991  errorHandler \
3992  ), \
3993  return ) \
3994  \
3995  \
3996  decl( \
3997  bool, \
3998  TDVContext_isLong, \
3999  ( \
4000  HContext* ctx, \
4001  ContextEH** errorHandler \
4002  ), \
4003  ( \
4004  ctx, \
4005  errorHandler \
4006  ), \
4007  return ) \
4008  \
4009  \
4010  decl( \
4011  bool, \
4012  TDVContext_isDouble, \
4013  ( \
4014  HContext* ctx, \
4015  ContextEH** errorHandler \
4016  ), \
4017  ( \
4018  ctx, \
4019  errorHandler \
4020  ), \
4021  return ) \
4022  \
4023  \
4024  decl( \
4025  bool, \
4026  TDVContext_isString, \
4027  ( \
4028  HContext* ctx, \
4029  ContextEH** errorHandler \
4030  ), \
4031  ( \
4032  ctx, \
4033  errorHandler \
4034  ), \
4035  return ) \
4036  \
4037  \
4038  decl( \
4039  bool, \
4040  TDVContext_isDataPtr, \
4041  ( \
4042  HContext* ctx, \
4043  ContextEH** errorHandler \
4044  ), \
4045  ( \
4046  ctx, \
4047  errorHandler \
4048  ), \
4049  return ) \
4050  \
4051  \
4052  decl( \
4053  const char*, \
4054  TDVContext_getStr, \
4055  ( \
4056  HContext* ctx, \
4057  char* buff, \
4058  ContextEH** errorHandler \
4059  ), \
4060  ( \
4061  ctx, \
4062  buff, \
4063  errorHandler \
4064  ), \
4065  return ) \
4066  \
4067  \
4068  decl( \
4069  unsigned long, \
4070  TDVContext_getStrSize, \
4071  ( \
4072  HContext* ctx, \
4073  ContextEH** errorHandler \
4074  ), \
4075  ( \
4076  ctx, \
4077  errorHandler \
4078  ), \
4079  return ) \
4080  \
4081  \
4082  decl( \
4083  void, \
4084  TDVContext_freePtr, \
4085  ( \
4086  void* ptr \
4087  ), \
4088  ( \
4089  ptr \
4090  ), \
4091  return ) \
4092  \
4093  \
4094  decl( \
4095  long, \
4096  TDVContext_getLong, \
4097  ( \
4098  HContext* ctx, \
4099  ContextEH** errorHandler \
4100  ), \
4101  ( \
4102  ctx, \
4103  errorHandler \
4104  ), \
4105  return ) \
4106  \
4107  \
4108  decl( \
4109  double, \
4110  TDVContext_getDouble, \
4111  ( \
4112  HContext* ctx, \
4113  ContextEH** errorHandler \
4114  ), \
4115  ( \
4116  ctx, \
4117  errorHandler \
4118  ), \
4119  return ) \
4120  \
4121  \
4122  decl( \
4123  bool, \
4124  TDVContext_getBool, \
4125  ( \
4126  HContext* ctx, \
4127  ContextEH** errorHandler \
4128  ), \
4129  ( \
4130  ctx, \
4131  errorHandler \
4132  ), \
4133  return ) \
4134  \
4135  \
4136  decl( \
4137  unsigned char*, \
4138  TDVContext_getDataPtr, \
4139  ( \
4140  HContext* ctx, \
4141  ContextEH** errorHandler \
4142  ), \
4143  ( \
4144  ctx, \
4145  errorHandler \
4146  ), \
4147  return ) \
4148  \
4149  \
4150  decl( \
4151  const char*, \
4152  TDVException_getMessage, \
4153  ( \
4154  ContextEH* errorHandler \
4155  ), \
4156  ( \
4157  errorHandler \
4158  ), \
4159  return ) \
4160  \
4161  \
4162  decl( \
4163  unsigned int, \
4164  TDVException_getErrorCode, \
4165  ( \
4166  ContextEH* errorHandler \
4167  ), \
4168  ( \
4169  errorHandler \
4170  ), \
4171  return ) \
4172  \
4173  \
4174  decl( \
4175  void, \
4176  TDVException_deleteException, \
4177  ( \
4178  ContextEH* errorHandler \
4179  ), \
4180  ( \
4181  errorHandler \
4182  ), \
4183  return )
4184 
4185 #endif // __pbio__imp_exp_macro_1bcdd890e87a41b786dfa83f9c4236ad