format: reformat project
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
This commit is contained in:
+12
-5
@@ -3,10 +3,11 @@
|
||||
#ifndef LMPACKER_HPP_
|
||||
#define LMPACKER_HPP_
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdint.h>
|
||||
#include <vector>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
struct rectangle {
|
||||
unsigned int idx;
|
||||
@@ -18,7 +19,7 @@ struct rectangle {
|
||||
int extY = 0;
|
||||
|
||||
rectangle(unsigned int idx, int x, int y, int width, int height)
|
||||
: idx(idx), x(x), y(y), width(width), height(height){
|
||||
: idx(idx), x(x), y(y), width(width), height(height) {
|
||||
}
|
||||
};
|
||||
|
||||
@@ -46,11 +47,17 @@ public:
|
||||
bool buildFast(uint32_t width, uint32_t height, uint16_t extension) {
|
||||
return build(width, height, extension, 1, 2);
|
||||
}
|
||||
bool build(uint32_t width, uint32_t height, uint16_t extension, uint32_t mbit, uint32_t vstep);
|
||||
bool build(
|
||||
uint32_t width,
|
||||
uint32_t height,
|
||||
uint16_t extension,
|
||||
uint32_t mbit,
|
||||
uint32_t vstep
|
||||
);
|
||||
|
||||
std::vector<rectangle> getResult() {
|
||||
return rects;
|
||||
}
|
||||
};
|
||||
|
||||
#endif // LMPACKER_HPP_
|
||||
#endif // LMPACKER_HPP_
|
||||
|
||||
Reference in New Issue
Block a user