File Index
Files and directories
Sign in
FILE

hantro_jpeg.h

File preview with syntax highlighting.

linux-6.19.14/drivers/media/platform/verisilicon/hantro_jpeg.h OBJECTIVE-C
 1/* SPDX-License-Identifier: GPL-2.0+ */
 2
 3#define JPEG_HEADER_SIZE	624
 4#define JPEG_QUANT_SIZE		64
 5
 6struct hantro_jpeg_ctx {
 7	int width;
 8	int height;
 9	int quality;
10	unsigned char *buffer;
11	unsigned char hw_luma_qtable[JPEG_QUANT_SIZE];
12	unsigned char hw_chroma_qtable[JPEG_QUANT_SIZE];
13};
14
15void hantro_jpeg_header_assemble(struct hantro_jpeg_ctx *ctx);
~/ Read-only file preview.