- pick mipsbox code from DDT, TangoCash and max10; add missing framebuffer code files

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2019-05-03 22:59:17 +02:00
committed by Thilo Graf
parent 8991ed60f4
commit 3b79b87578
2 changed files with 267 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
/*
Framebuffer acceleration hardware abstraction functions.
The common functions for bcm graphic chips
are represented in this class.
(C) 2017 M. Liebmann
(C) 2017 Thilo Graf 'dbt'
(C) 2017 TangoCash
Derived from old neutrino-hd framebuffer code / e2 sources
License: GPL
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef FB_ACCEL_MIPS_H
#define FB_ACCEL_MIPS_H
#include <driver/fb_generic.h>
#include <driver/fb_accel.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <unistd.h>
#include <sys/mman.h>
#include <OpenThreads/Mutex>
#include <gui/color.h>
#include <gui/osd_helpers.h>
#include <system/debug.h>
//extern cVideo * videoDecoder;
#endif // FB_ACCEL_MIPS_H