{
  "name": "scorpiox-rife-inference",
  "version": "1.0.0",
  "exports": [
    {
      "name": "rife_init",
      "return": "int",
      "csharp_return": "int",
      "args": [
        {"name": "model_dir", "type": "const char*", "csharp_type": "string", "marshal": "UnmanagedType.LPUTF8Str"}
      ]
    },
    {
      "name": "rife_interpolate",
      "return": "int",
      "csharp_return": "int",
      "args": [
        {"name": "frame1", "type": "const unsigned char*", "csharp_type": "byte[]", "marshal": ""},
        {"name": "frame2", "type": "const unsigned char*", "csharp_type": "byte[]", "marshal": ""},
        {"name": "width", "type": "int", "csharp_type": "int"},
        {"name": "height", "type": "int", "csharp_type": "int"},
        {"name": "output", "type": "unsigned char*", "csharp_type": "byte[]", "marshal": ""},
        {"name": "timestep", "type": "float", "csharp_type": "float"}
      ]
    },
    {
      "name": "rife_interpolate_files",
      "return": "int",
      "csharp_return": "int",
      "args": [
        {"name": "frame1_path", "type": "const char*", "csharp_type": "string", "marshal": "UnmanagedType.LPUTF8Str"},
        {"name": "frame2_path", "type": "const char*", "csharp_type": "string", "marshal": "UnmanagedType.LPUTF8Str"},
        {"name": "output_path", "type": "const char*", "csharp_type": "string", "marshal": "UnmanagedType.LPUTF8Str"},
        {"name": "timestep", "type": "float", "csharp_type": "float"}
      ]
    },
    {
      "name": "rife_get_progress",
      "return": "int",
      "csharp_return": "int",
      "args": []
    },
    {
      "name": "rife_cancel",
      "return": "void",
      "csharp_return": "void",
      "args": []
    },
    {
      "name": "rife_get_error",
      "return": "const char*",
      "csharp_return": "IntPtr",
      "args": []
    },
    {
      "name": "rife_shutdown",
      "return": "void",
      "csharp_return": "void",
      "args": []
    }
  ]
}
