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