[media] vivid: add a simple framebuffer device for overlay testing
In order to test capture and output overlays a simple framebuffer device is created. It's bare bone, but it does the job. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:

کامیت شده توسط
Mauro Carvalho Chehab

والد
3f682ffcf9
کامیت
ad4e02d508
27
drivers/media/platform/vivid/vivid-osd.h
Normal file
27
drivers/media/platform/vivid/vivid-osd.h
Normal file
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* vivid-osd.h - output overlay support functions.
|
||||
*
|
||||
* Copyright 2014 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
|
||||
*
|
||||
* This program is free software; you may redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; version 2 of the License.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
|
||||
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
||||
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef _VIVID_OSD_H_
|
||||
#define _VIVID_OSD_H_
|
||||
|
||||
int vivid_fb_init(struct vivid_dev *dev);
|
||||
void vivid_fb_release_buffers(struct vivid_dev *dev);
|
||||
void vivid_clear_fb(struct vivid_dev *dev);
|
||||
|
||||
#endif
|
مرجع در شماره جدید
Block a user