Merge remote-tracking branch 'moduleh/module.h-split'
[linux-2.6/next.git] / drivers / media / video / omap / omap_vout_vrfb.h
blobffde741e0590813c754dda94dc4ee0c9277484bc
1 /*
2 * omap_vout_vrfb.h
4 * Copyright (C) 2010 Texas Instruments.
6 * This file is licensed under the terms of the GNU General Public License
7 * version 2. This program is licensed "as is" without any warranty of any
8 * kind, whether express or implied.
12 #ifndef OMAP_VOUT_VRFB_H
13 #define OMAP_VOUT_VRFB_H
15 #ifdef CONFIG_VIDEO_OMAP2_VOUT_VRFB
16 void omap_vout_free_vrfb_buffers(struct omap_vout_device *vout);
17 int omap_vout_setup_vrfb_bufs(struct platform_device *pdev, int vid_num,
18 u32 static_vrfb_allocation);
19 void omap_vout_release_vrfb(struct omap_vout_device *vout);
20 int omap_vout_vrfb_buffer_setup(struct omap_vout_device *vout,
21 unsigned int *count, unsigned int startindex);
22 int omap_vout_prepare_vrfb(struct omap_vout_device *vout,
23 struct videobuf_buffer *vb);
24 void omap_vout_calculate_vrfb_offset(struct omap_vout_device *vout);
25 #else
26 void omap_vout_free_vrfb_buffers(struct omap_vout_device *vout) { }
27 int omap_vout_setup_vrfb_bufs(struct platform_device *pdev, int vid_num,
28 u32 static_vrfb_allocation)
29 { return 0; }
30 void omap_vout_release_vrfb(struct omap_vout_device *vout) { }
31 int omap_vout_vrfb_buffer_setup(struct omap_vout_device *vout,
32 unsigned int *count, unsigned int startindex)
33 { return 0; }
34 int omap_vout_prepare_vrfb(struct omap_vout_device *vout,
35 struct videobuf_buffer *vb)
36 { return 0; }
37 void omap_vout_calculate_vrfb_offset(struct omap_vout_device *vout) { }
38 #endif
40 #endif