linux/drivers/media/platform/st/sti/delta/delta-mjpeg-hdr.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (C) STMicroelectronics SA 2013
 * Author: Hugues Fruchet <[email protected]> for STMicroelectronics.
 */

#include "delta.h"
#include "delta-mjpeg.h"

#define MJPEG_SOF_0
#define MJPEG_SOF_1
#define MJPEG_SOI
#define MJPEG_MARKER

static char *header_str(struct mjpeg_header *header,
			char *str,
			unsigned int len)
{}

static int delta_mjpeg_read_sof(struct delta_ctx *pctx,
				unsigned char *data, unsigned int size,
				struct mjpeg_header *header)
{}

int delta_mjpeg_read_header(struct delta_ctx *pctx,
			    unsigned char *data, unsigned int size,
			    struct mjpeg_header *header,
			    unsigned int *data_offset)
{}