1
0
Fork 0
linux/drivers/media/platform/verisilicon/hantro_jpeg.h
Daniel Baumann 79d69e5050
Adding upstream version 6.12.33.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-22 12:14:28 +02:00

15 lines
352 B
C

/* SPDX-License-Identifier: GPL-2.0+ */
#define JPEG_HEADER_SIZE 624
#define JPEG_QUANT_SIZE 64
struct hantro_jpeg_ctx {
int width;
int height;
int quality;
unsigned char *buffer;
unsigned char hw_luma_qtable[JPEG_QUANT_SIZE];
unsigned char hw_chroma_qtable[JPEG_QUANT_SIZE];
};
void hantro_jpeg_header_assemble(struct hantro_jpeg_ctx *ctx);