mirror of
https://github.com/torvalds/linux.git
synced 2024-11-05 19:41:54 +00:00
35 lines
1.0 KiB
C
35 lines
1.0 KiB
C
|
/*
|
||
|
* omap_voutlib.h
|
||
|
*
|
||
|
* Copyright (C) 2010 Texas Instruments.
|
||
|
*
|
||
|
* This file is licensed under the terms of the GNU General Public License
|
||
|
* version 2. This program is licensed "as is" without any warranty of any
|
||
|
* kind, whether express or implied.
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
#ifndef OMAP_VOUTLIB_H
|
||
|
#define OMAP_VOUTLIB_H
|
||
|
|
||
|
extern void omap_vout_default_crop(struct v4l2_pix_format *pix,
|
||
|
struct v4l2_framebuffer *fbuf, struct v4l2_rect *crop);
|
||
|
|
||
|
extern int omap_vout_new_crop(struct v4l2_pix_format *pix,
|
||
|
struct v4l2_rect *crop, struct v4l2_window *win,
|
||
|
struct v4l2_framebuffer *fbuf,
|
||
|
const struct v4l2_rect *new_crop);
|
||
|
|
||
|
extern int omap_vout_try_window(struct v4l2_framebuffer *fbuf,
|
||
|
struct v4l2_window *new_win);
|
||
|
|
||
|
extern int omap_vout_new_window(struct v4l2_rect *crop,
|
||
|
struct v4l2_window *win, struct v4l2_framebuffer *fbuf,
|
||
|
struct v4l2_window *new_win);
|
||
|
|
||
|
extern void omap_vout_new_format(struct v4l2_pix_format *pix,
|
||
|
struct v4l2_framebuffer *fbuf, struct v4l2_rect *crop,
|
||
|
struct v4l2_window *win);
|
||
|
#endif /* #ifndef OMAP_VOUTLIB_H */
|
||
|
|