forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
1
2
3
4
5
6
7
8
9
10
11
12
13
/* SPDX-License-Identifier: GPL-2.0+ */
 
#define JPEG_HEADER_SIZE    601
 
struct hantro_jpeg_ctx {
   int width;
   int height;
   int quality;
   unsigned char *buffer;
};
 
unsigned char *hantro_jpeg_get_qtable(int index);
void hantro_jpeg_header_assemble(struct hantro_jpeg_ctx *ctx);