![Philipp Zabel](/assets/img/avatar_default.png)
Rename the driver and all relevant identifiers from Rockchip to Hantro, as other Hantro IP based VPU implementations can be supported by the same driver. The RK3288 decoder is Hantro G1 based, the encoder is Hantro H1. This patch just renames, no functional changes. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
14 lines
305 B
C
14 lines
305 B
C
/* 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(struct hantro_jpeg_ctx *ctx, int index);
|
|
void hantro_jpeg_header_assemble(struct hantro_jpeg_ctx *ctx);
|