#ifndef OMAP_VOUTDEF_H
#define OMAP_VOUTDEF_H
#include <media/videobuf2-dma-contig.h>
#include <media/v4l2-ctrls.h>
#include <video/omapfb_dss.h>
#include <video/omapvrfb.h>
#include <linux/dmaengine.h>
#define YUYV_BPP …
#define RGB565_BPP …
#define RGB24_BPP …
#define RGB32_BPP …
#define TILE_SIZE …
#define YUYV_VRFB_BPP …
#define RGB_VRFB_BPP …
#define MAX_CID …
#define MAC_VRFB_CTXS …
#define MAX_VOUT_DEV …
#define MAX_OVLS …
#define MAX_DISPLAYS …
#define MAX_MANAGERS …
#define QQVGA_WIDTH …
#define QQVGA_HEIGHT …
#define VID_MAX_WIDTH …
#define VID_MAX_HEIGHT …
#define VID_MIN_WIDTH …
#define VID_MIN_HEIGHT …
#define MAX_PIXELS_PER_LINE …
#define VRFB_TX_TIMEOUT …
#define VRFB_NUM_BUFS …
#define OMAP_VOUT_MAX_BUF_SIZE …
enum dma_channel_state { … };
enum dss_rotation { … };
enum vout_rotaion_type { … };
struct vid_vrfb_dma { … };
struct omapvideo_info { … };
struct omap2video_device { … };
struct omap_vout_buffer { … };
static inline struct omap_vout_buffer *vb2_to_omap_vout_buffer(struct vb2_buffer *vb)
{ … }
struct omap_vout_device { … };
static inline int is_rotation_90_or_270(const struct omap_vout_device *vout)
{ … }
static inline int is_rotation_enabled(const struct omap_vout_device *vout)
{ … }
static inline int calc_rotation(const struct omap_vout_device *vout)
{ … }
void omap_vout_free_buffers(struct omap_vout_device *vout);
#endif