forked from Minki/linux
5c7ab6348e
Features Supported - 1. Provides V4L2 user interface for the video pipelines of DSS 2. Basic streaming working on LCD, DVI and TV. 3. Works on latest DSS2 library from Tomi 4. Support for various pixel formats like YUV, UYVY, RGB32, RGB24, RGB565 5. Supports Alpha blending. 6. Supports Color keying both source and destination. 7. Supports rotation. 8. Supports cropping. 9. Supports Background color setting. 10. Allocated buffers to only needed size Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com> Reviewed-by: Hans Verkuil <hverkuil@xs4all.nl> Reviewed-by: Muralidharan Karicheri <mkaricheri@gmail.com> Signed-off-by: Murailidharan Karicheri <mkaricheri@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
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 */
|
|
|