linux/drivers/staging/media/omap4iss/iss_ipipe.h

/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * TI OMAP4 ISS V4L2 Driver - ISP IPIPE module
 *
 * Copyright (C) 2012 Texas Instruments, Inc.
 *
 * Author: Sergio Aguirre <[email protected]>
 */

#ifndef OMAP4_ISS_IPIPE_H
#define OMAP4_ISS_IPIPE_H

#include "iss_video.h"

enum ipipe_input_entity {};

#define IPIPE_OUTPUT_VP

/* Sink and source IPIPE pads */
#define IPIPE_PAD_SINK
#define IPIPE_PAD_SOURCE_VP
#define IPIPE_PADS_NUM

/*
 * struct iss_ipipe_device - Structure for the IPIPE module to store its own
 *			    information
 * @subdev: V4L2 subdevice
 * @pads: Sink and source media entity pads
 * @formats: Active video formats
 * @input: Active input
 * @output: Active outputs
 * @error: A hardware error occurred during capture
 * @state: Streaming state
 * @wait: Wait queue used to stop the module
 * @stopping: Stopping state
 */
struct iss_ipipe_device {};

struct iss_device;

int omap4iss_ipipe_register_entities(struct iss_ipipe_device *ipipe,
				     struct v4l2_device *vdev);
void omap4iss_ipipe_unregister_entities(struct iss_ipipe_device *ipipe);

int omap4iss_ipipe_init(struct iss_device *iss);
void omap4iss_ipipe_cleanup(struct iss_device *iss);

#endif	/* OMAP4_ISS_IPIPE_H */