Skip to content

Commit

Permalink
applied clang format on iamge-io
Browse files Browse the repository at this point in the history
  • Loading branch information
Fixstars-momoko committed Sep 4, 2024
1 parent 6f5af5e commit e7abd8b
Show file tree
Hide file tree
Showing 10 changed files with 11,796 additions and 10,846 deletions.
2,300 changes: 1,146 additions & 1,154 deletions src/bb/image-io/bb.h

Large diffs are not rendered by default.

4,463 changes: 2,323 additions & 2,140 deletions src/bb/image-io/halide_image_io.h

Large diffs are not rendered by default.

10,428 changes: 5,576 additions & 4,852 deletions src/bb/image-io/httplib.h

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions src/bb/image-io/rt.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,32 +11,32 @@
#include <Halide.h>
namespace ion {
namespace bb {
namespace image_io {
namespace image_io {

std::map<std::string, Halide::ExternCFunction> extern_functions;
std::map<std::string, Halide::ExternCFunction> extern_functions;

class RegisterExtern {
public:
RegisterExtern(std::string key, Halide::ExternCFunction f) {
extern_functions[key] = f;
}
};
class RegisterExtern {
public:
RegisterExtern(std::string key, Halide::ExternCFunction f)
{
extern_functions[key] = f;
}
};

} // image_io
} // image_io
} // bb
} // ion
#define ION_REGISTER_EXTERN(NAME) static auto ion_register_extern_##NAME = ion::bb::image_io::RegisterExtern(#NAME, NAME);

#include "rt_u3v.h"
#include "rt_file.h"
#include "rt_display.h"
#include "rt_file.h"
#include "rt_u3v.h"

#ifdef __linux__
#include "rt_realsense.h"
#include "rt_v4l2.h"
#endif


#undef ION_REGISTER_EXTERN

#endif
Loading

0 comments on commit e7abd8b

Please sign in to comment.