blob: 6837fb7489429d1865654ef54a327bb5ad3fe190 [file] [log] [blame]
Tyler Chatowe0241452019-03-08 21:07:50 -08001#ifndef Y2019_IMAGE_STREAMER_FLIP_IMAGE_H_
2#define Y2019_IMAGE_STREAMER_FLIP_IMAGE_H_
3
Tyler Chatowbf0609c2021-07-31 16:13:27 -07004#include <cstddef>
5#include <cstdio>
6
Tyler Chatowe0241452019-03-08 21:07:50 -08007#include "third_party/libjpeg/jerror.h"
8#include "third_party/libjpeg/jpeglib.h"
9
10void flip_image(const char *input, const int input_size, JOCTET *buffer,
Austin Schuh9c03a532019-03-17 18:14:45 -070011 unsigned int *buffer_size, bool flip_image);
Tyler Chatowe0241452019-03-08 21:07:50 -080012
13#endif // Y2019_IMAGE_STREAMER_FLIP_IMAGE_H