linux/drivers/media/platform/mediatek/jpeg/mtk_jpeg_dec_parse.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2016 MediaTek Inc.
 * Author: Ming Hsiu Tsai <[email protected]>
 *         Rick Chang <[email protected]>
 */

#include <linux/kernel.h>
#include <linux/videodev2.h>
#include <media/jpeg.h>

#include "mtk_jpeg_dec_parse.h"

struct mtk_jpeg_stream {};

static int read_byte(struct mtk_jpeg_stream *stream)
{}

static int read_word_be(struct mtk_jpeg_stream *stream, u32 *word)
{}

static void read_skip(struct mtk_jpeg_stream *stream, long len)
{}

static bool mtk_jpeg_do_parse(struct mtk_jpeg_dec_param *param, u8 *src_addr_va,
			      u32 src_size)
{}

bool mtk_jpeg_parse(struct mtk_jpeg_dec_param *param, u8 *src_addr_va,
		    u32 src_size)
{}