format: reformat project

Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
This commit is contained in:
Vyacheslav Ivanov
2024-08-03 19:53:48 +03:00
committed by Pugemon
parent 736cd175d5
commit bbf33e8e4d
202 changed files with 7389 additions and 5609 deletions
+12 -5
View File
@@ -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_