1ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart/* 2ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart * ispvideo.h 3ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart * 4ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart * TI OMAP3 ISP - Generic video node 5ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart * 6ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart * Copyright (C) 2009-2010 Nokia Corporation 7ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart * 8ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart * Contacts: Laurent Pinchart <laurent.pinchart@ideasonboard.com> 9ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart * Sakari Ailus <sakari.ailus@iki.fi> 10ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart * 11ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart * This program is free software; you can redistribute it and/or modify 12ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart * it under the terms of the GNU General Public License version 2 as 13ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart * published by the Free Software Foundation. 14ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart * 15ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart * This program is distributed in the hope that it will be useful, but 16ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart * WITHOUT ANY WARRANTY; without even the implied warranty of 17ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 18ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart * General Public License for more details. 19ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart * 20ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart * You should have received a copy of the GNU General Public License 21ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart * along with this program; if not, write to the Free Software 22ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 23ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart * 02110-1301 USA 24ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart */ 25ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart 26ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart#ifndef OMAP3_ISP_VIDEO_H 27ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart#define OMAP3_ISP_VIDEO_H 28ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart 29ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart#include <linux/v4l2-mediabus.h> 30ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart#include <media/media-entity.h> 31ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart#include <media/v4l2-dev.h> 32ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart#include <media/v4l2-fh.h> 33ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart 34ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart#include "ispqueue.h" 35ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart 36ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart#define ISP_VIDEO_DRIVER_NAME "ispvideo" 3764dc3c1a906467d90c24913b0b38dd13d9378f4fMauro Carvalho Chehab#define ISP_VIDEO_DRIVER_VERSION "0.0.2" 38ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart 39ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchartstruct isp_device; 40ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchartstruct isp_video; 41ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchartstruct v4l2_mbus_framefmt; 42ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchartstruct v4l2_pix_format; 43ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart 44ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart/* 45ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart * struct isp_format_info - ISP media bus format information 46ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart * @code: V4L2 media bus format code 47ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart * @truncated: V4L2 media bus format code for the same format truncated to 10 48ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart * bits. Identical to @code if the format is 10 bits wide or less. 49ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart * @uncompressed: V4L2 media bus format code for the corresponding uncompressed 50ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart * format. Identical to @code if the format is not DPCM compressed. 51c09af044db91bf0f8ca5073f5863c7280de39cc1Michael Jones * @flavor: V4L2 media bus format code for the same pixel layout but 52c09af044db91bf0f8ca5073f5863c7280de39cc1Michael Jones * shifted to be 8 bits per pixel. =0 if format is not shiftable. 53ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart * @pixelformat: V4L2 pixel format FCC identifier 54ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart * @bpp: Bits per pixel 55ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart */ 56ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchartstruct isp_format_info { 57ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart enum v4l2_mbus_pixelcode code; 58ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart enum v4l2_mbus_pixelcode truncated; 59ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart enum v4l2_mbus_pixelcode uncompressed; 60c09af044db91bf0f8ca5073f5863c7280de39cc1Michael Jones enum v4l2_mbus_pixelcode flavor; 61ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart u32 pixelformat; 62ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart unsigned int bpp; 63ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart}; 64ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart 65ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchartenum isp_pipeline_stream_state { 66ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart ISP_PIPELINE_STREAM_STOPPED = 0, 67ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart ISP_PIPELINE_STREAM_CONTINUOUS = 1, 68ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart ISP_PIPELINE_STREAM_SINGLESHOT = 2, 69ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart}; 70ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart 71ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchartenum isp_pipeline_state { 72ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart /* The stream has been started on the input video node. */ 73ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart ISP_PIPELINE_STREAM_INPUT = 1, 74ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart /* The stream has been started on the output video node. */ 75ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart ISP_PIPELINE_STREAM_OUTPUT = 2, 76ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart /* At least one buffer is queued on the input video node. */ 77ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart ISP_PIPELINE_QUEUE_INPUT = 4, 78ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart /* At least one buffer is queued on the output video node. */ 79ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart ISP_PIPELINE_QUEUE_OUTPUT = 8, 80ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart /* The input entity is idle, ready to be started. */ 81ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart ISP_PIPELINE_IDLE_INPUT = 16, 82ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart /* The output entity is idle, ready to be started. */ 83ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart ISP_PIPELINE_IDLE_OUTPUT = 32, 84ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart /* The pipeline is currently streaming. */ 85ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart ISP_PIPELINE_STREAM = 64, 86ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart}; 87ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart 88875e2e3edf48a206c64195666cf408dd3d119137Laurent Pinchart/* 89875e2e3edf48a206c64195666cf408dd3d119137Laurent Pinchart * struct isp_pipeline - An ISP hardware pipeline 90875e2e3edf48a206c64195666cf408dd3d119137Laurent Pinchart * @error: A hardware error occurred during capture 91875e2e3edf48a206c64195666cf408dd3d119137Laurent Pinchart */ 92ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchartstruct isp_pipeline { 93ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart struct media_pipeline pipe; 94ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart spinlock_t lock; /* Pipeline state and queue flags */ 95ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart unsigned int state; 96ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart enum isp_pipeline_stream_state stream_state; 97ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart struct isp_video *input; 98ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart struct isp_video *output; 99ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart unsigned long l3_ick; 100ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart unsigned int max_rate; 101ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart atomic_t frame_number; 102ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart bool do_propagation; /* of frame number */ 103875e2e3edf48a206c64195666cf408dd3d119137Laurent Pinchart bool error; 104ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart struct v4l2_fract max_timeperframe; 105ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart}; 106ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart 107ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart#define to_isp_pipeline(__e) \ 108ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart container_of((__e)->pipe, struct isp_pipeline, pipe) 109ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart 110ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchartstatic inline int isp_pipeline_ready(struct isp_pipeline *pipe) 111ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart{ 112ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart return pipe->state == (ISP_PIPELINE_STREAM_INPUT | 113ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart ISP_PIPELINE_STREAM_OUTPUT | 114ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart ISP_PIPELINE_QUEUE_INPUT | 115ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart ISP_PIPELINE_QUEUE_OUTPUT | 116ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart ISP_PIPELINE_IDLE_INPUT | 117ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart ISP_PIPELINE_IDLE_OUTPUT); 118ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart} 119ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart 120ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart/* 121ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart * struct isp_buffer - ISP buffer 122ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart * @buffer: ISP video buffer 123ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart * @isp_addr: MMU mapped address (a.k.a. device address) of the buffer. 124ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart */ 125ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchartstruct isp_buffer { 126ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart struct isp_video_buffer buffer; 127ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart dma_addr_t isp_addr; 128ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart}; 129ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart 130ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart#define to_isp_buffer(buf) container_of(buf, struct isp_buffer, buffer) 131ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart 132ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchartenum isp_video_dmaqueue_flags { 133ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart /* Set if DMA queue becomes empty when ISP_PIPELINE_STREAM_CONTINUOUS */ 134ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart ISP_VIDEO_DMAQUEUE_UNDERRUN = (1 << 0), 135ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart /* Set when queuing buffer to an empty DMA queue */ 136ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart ISP_VIDEO_DMAQUEUE_QUEUED = (1 << 1), 137ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart}; 138ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart 139ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart#define isp_video_dmaqueue_flags_clr(video) \ 140ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart ({ (video)->dmaqueue_flags = 0; }) 141ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart 142ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart/* 143ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart * struct isp_video_operations - ISP video operations 144ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart * @queue: Resume streaming when a buffer is queued. Called on VIDIOC_QBUF 145ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart * if there was no buffer previously queued. 146ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart */ 147ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchartstruct isp_video_operations { 148ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart int(*queue)(struct isp_video *video, struct isp_buffer *buffer); 149ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart}; 150ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart 151ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchartstruct isp_video { 152ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart struct video_device video; 153ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart enum v4l2_buf_type type; 154ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart struct media_pad pad; 155ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart 156ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart struct mutex mutex; /* format and crop settings */ 157ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart atomic_t active; 158ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart 159ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart struct isp_device *isp; 160ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart 161ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart unsigned int capture_mem; 162ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart unsigned int bpl_alignment; /* alignment value */ 163ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart unsigned int bpl_zero_padding; /* whether the alignment is optional */ 164ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart unsigned int bpl_max; /* maximum bytes per line value */ 165ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart unsigned int bpl_value; /* bytes per line value */ 166ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart unsigned int bpl_padding; /* padding at end of line */ 167ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart 168ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart /* Entity video node streaming */ 169ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart unsigned int streaming:1; 170ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart 171ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart /* Pipeline state */ 172ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart struct isp_pipeline pipe; 173ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart struct mutex stream_lock; /* pipeline and stream states */ 174ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart 175ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart /* Video buffers queue */ 176ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart struct isp_video_queue *queue; 177ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart struct list_head dmaqueue; 178ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart enum isp_video_dmaqueue_flags dmaqueue_flags; 179ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart 180ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart const struct isp_video_operations *ops; 181ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart}; 182ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart 183ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart#define to_isp_video(vdev) container_of(vdev, struct isp_video, video) 184ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart 185ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchartstruct isp_video_fh { 186ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart struct v4l2_fh vfh; 187ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart struct isp_video *video; 188ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart struct isp_video_queue queue; 189ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart struct v4l2_format format; 190ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart struct v4l2_fract timeperframe; 191ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart}; 192ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart 193ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart#define to_isp_video_fh(fh) container_of(fh, struct isp_video_fh, vfh) 194ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart#define isp_video_queue_to_isp_video_fh(q) \ 195ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart container_of(q, struct isp_video_fh, queue) 196ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart 197ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchartint omap3isp_video_init(struct isp_video *video, const char *name); 19863b4ca23ed2b35742bebf8cb2af49b84b24442c6Laurent Pinchartvoid omap3isp_video_cleanup(struct isp_video *video); 199ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchartint omap3isp_video_register(struct isp_video *video, 200ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart struct v4l2_device *vdev); 201ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchartvoid omap3isp_video_unregister(struct isp_video *video); 202875e2e3edf48a206c64195666cf408dd3d119137Laurent Pinchartstruct isp_buffer *omap3isp_video_buffer_next(struct isp_video *video); 203ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchartvoid omap3isp_video_resume(struct isp_video *video, int continuous); 204ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchartstruct media_pad *omap3isp_video_remote_pad(struct isp_video *video); 205ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart 206ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchartconst struct isp_format_info * 207ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchartomap3isp_video_format_info(enum v4l2_mbus_pixelcode code); 208ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart 209ad614acb7eca429891313f57bafbe5b3924a5aaeLaurent Pinchart#endif /* OMAP3_ISP_VIDEO_H */ 210