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

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

#include <linux/slab.h>

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

#define DELTA_MJPEG_MAX_RESO

struct delta_mjpeg_ctx {};

#define to_ctx(ctx)

static char *ipc_open_param_str(struct jpeg_video_decode_init_params_t *p,
				char *str, unsigned int len)
{}

static char *ipc_decode_param_str(struct jpeg_decode_params_t *p,
				  char *str, unsigned int len)
{}

static inline bool is_stream_error(enum jpeg_decoding_error_t err)
{}

static inline const char *err_str(enum jpeg_decoding_error_t err)
{}

static bool delta_mjpeg_check_status(struct delta_ctx *pctx,
				     struct jpeg_decode_return_params_t *status)
{}

static int delta_mjpeg_ipc_open(struct delta_ctx *pctx)
{}

static int delta_mjpeg_ipc_decode(struct delta_ctx *pctx, struct delta_au *au)
{}

static int delta_mjpeg_open(struct delta_ctx *pctx)
{}

static int delta_mjpeg_close(struct delta_ctx *pctx)
{}

static int delta_mjpeg_get_streaminfo(struct delta_ctx *pctx,
				      struct delta_streaminfo *streaminfo)
{}

static int delta_mjpeg_decode(struct delta_ctx *pctx, struct delta_au *pau)
{}

static int delta_mjpeg_get_frame(struct delta_ctx *pctx,
				 struct delta_frame **frame)
{}

const struct delta_dec mjpegdec =;