Commit Graph

71 Commits

Author SHA1 Message Date
GetAway
23821c3e28 fb_generic.cpp: adapt to "Refactor video.cpp: Convert void function to bool function for enhanced result checking"
- this only affects CST
2023-08-08 22:07:39 +02:00
svenhoefer
46d7921d2c - color_custom: cleanup; remove FB_USE_PALETTE
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-11-26 05:24:48 +01:00
svenhoefer
89b385eeee - colors_custom: rework colors; use Google Material Palette
TODO: make custom colors themable
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-11-19 22:24:15 +01:00
svenhoefer
b4daeaa945 - remove BOXTYPE_SPARK
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-11-03 12:13:18 +01:00
svenhoefer
12de0419d0 - fb_generic: simplify showFrame()
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-11-01 19:25:46 +01:00
svenhoefer
bfdeed09e8 - fb_generic: use file_exists() in getIconPath()
* fix icons with absolute path
* rename path => icon

Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-11-01 19:25:46 +01:00
svenhoefer
ff564e3fd7 - fb_generic: formatting getIconPath() using astyle
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-11-01 19:25:46 +01:00
TangoCash
19f81835fd rework framebuffer getIconPath 2021-11-01 19:25:46 +01:00
max_10
1fa824cab3 - TRIPLEDRAGON: deleted
Conflicts:
	lib/libdvbsub/dvbsub.cpp
	src/system/flashtool.cpp
2020-10-04 16:48:01 +02:00
svenhoefer
a9882cdc22 - rename BOXMODEL_CS => BOXMODEL_CST
Conflicts:
	data/scripts/Makefile.am
	src/gui/cam_menu.cpp
	src/gui/imageinfo_ni.cpp
	src/gui/osd_setup.cpp
	src/gui/update.cpp
	src/gui/update.h
	src/gui/update_menue.cpp
	src/neutrino.cpp
	src/system/setting_helpers.cpp

Signed-off-by: Thilo Graf <dbt@novatux.de>
2020-09-08 11:14:38 +02:00
svenhoefer
d29c98d7d5 - rename HAVE_COOL_HARDWARE => HAVE_CST_HARDWARE
Conflicts:
	src/driver/rcinput.cpp
	src/gui/info_menue.cpp
	src/gui/mediaplayer.cpp
	src/gui/movieplayer.cpp
	src/zapit/src/frontend.cpp

Signed-off-by: Thilo Graf <dbt@novatux.de>
2020-09-08 11:13:51 +02:00
redblue-pkt
1b6f4fedf5 update glcd
Conflicts:
	src/gui/movieplayer.h
	src/gui/weather_locations.h
	src/neutrino.cpp
2020-06-29 17:34:24 +02:00
Thilo Graf
b42bf6109b fb_generic: add possibility to handle with unscaled images in showFrame() 2020-02-05 22:03:12 +01:00
Jacek Jendrzej
5f6bcadb0d partial revert:pictureviewer: fix move resized pic with pictureviewer 2020-02-02 17:25:06 +01:00
Jacek Jendrzej
a2c70af4d6 fix move resized pic with pictureviewer 2020-02-02 14:48:00 +01:00
Jacek Jendrzej
098438a5ff fb_generic: fix compil warning 2020-01-29 22:50:46 +01:00
J. Krieg
5f51ee491b fb_generic: fix compile with '-Werror'
error caused by commit ca9c47b - fb_generic: use parameters as const ref, catch possible dimension error:
  /home/bellum/neutrino/bbs/source/gui-neutrino/src/driver/fb_generic.cpp: In member function ‘void CFrameBuffer::RestoreScreen(const int&, const int&, const int&, const int&, uint32_t*)’:
  /home/bellum/neutrino/bbs/source/gui-neutrino/src/driver/fb_generic.cpp:1536:9: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
    if (dx > xRes || dy > yRes)
           ^
  /home/bellum/neutrino/bbs-test/source/gui-neutrino/src/driver/fb_generic.cpp:1536:22: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
    if (dx > xRes || dy > yRes)
                        ^
  cc1plus: all warnings being treated as errors
2019-12-29 16:12:12 +01:00
Thilo Graf
ca9c47b106 fb_generic: use parameters as const ref, catch possible dimension error 2019-11-09 11:05:06 +01:00
Thilo Graf
15a310be47 fb_generic: use const int by ref for more safety 2019-10-27 16:24:47 +01:00
Thilo Graf
600230c1c2 fb_generic: avoid possible crash on shutdown
Observed on generic platform.
2019-10-27 16:24:47 +01:00
svenhoefer
8991ed60f4 - pick mipsbox code from DDT, TangoCash and max10
Conflicts:
	src/gui/cam_menu.cpp
	src/gui/update.cpp
	src/neutrino.cpp

Signed-off-by: Thilo Graf <dbt@novatux.de>
2019-05-05 14:11:39 +02:00
Thilo Graf
d51474c6c8 src/driver/fb_generic.cpp: fix typo
cs build was broken
2019-03-12 13:10:44 +01:00
Thilo Graf
e10cd928ed framebuffer: add optional fallback handlings for showFrame() methode 2019-03-12 10:49:42 +01:00
Jacek Jendrzej
41963aca29 fix stack buffer overflow if icon pic is broken 2019-03-09 20:09:28 +01:00
GetAway
c14b34fe54 fb_generic.cpp: fix build for CST hardware...
was broken with commit 8b7de5f
2019-01-22 21:37:38 +01:00
GetAway
84693c62e6 cleanup last commit 2019-01-13 11:32:33 +01:00
GetAway
8b7de5fc8f screensaver.cpp: use fallback if video decoder is busy 2019-01-13 11:13:24 +01:00
svenhoefer
5c413dce45 - move compatibility headers to /lib/hardware
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-12-31 11:47:45 +01:00
Thilo Graf
19c6f76056 src/driver/fb_generic.cpp/h: use methode showFrame() as bool function
Allows the evaluation of this function for conditions if needed.
2018-10-02 22:11:06 +02:00
Thilo Graf
8c145de053 src/driver/fb_generic.cpp: unifiy path search in showFrame()
This allows to use same paths for images like for icons.

Was a request, because images inside theme directories were not found.
Thanks bellum for this hint.
2018-08-31 20:48:31 +02:00
Thilo Graf
082b4bea2e src/driver/fb_generic.cpp: add possibility to use images with full name
Keep parameter file_type empty to use filenames with file name extension.
2018-08-31 10:26:33 +02:00
Thilo Graf
ae9be1be31 CFrameBuffer: add more possible icon paths in order of priority
This gives possibility to use theme relevant icon sets.

scheme:
	/path/to/theme/icons/file.png

example:
	/usr/share/tuxbox/neutrino/themes/Neutrino-3.0/icons/file.png
2018-04-11 16:12:58 +02:00
Stefan Seyfried
0b9a3a44c9 fb_generic: blit2FB: implement "transp" parameter
also try to document the calling convention of this function
2018-02-26 16:07:26 +01:00
Stefan Seyfried
dae2539f9c fb_generic: fix blit2FB for big endian processors 2018-02-26 16:07:08 +01:00
svenhoefer
3b65251e00 - framebuffer: better name for getWindowWidth/Height() functions
getScreenWidth/HeightRel() was confusing because it depends on users window settings.
Replace names in old unused framebuffer code too.

Signed-off-by: Thilo Graf <dbt@novatux.de>

 Conflicts:
	gui/channellist.cpp
2018-01-22 19:19:08 +01:00
TangoCash
2d11e017a0 start implementing hardware acceleration for armbox
you have to compile neutrino with "--enable-reschange" to use FullHD-OSD
2017-10-29 18:31:34 +01:00
Jacek Jendrzej
1763bb9e64 Merge branch 'master' into pu/mp 2017-08-08 20:06:40 +02:00
Thilo Graf
4e66739ff5 CFrameBuffer: fb-generic.cpp - add methode for clean up icon cache
This could be required eg. on changed resoulutions or
changed iconsets on runtime.
2017-08-08 14:25:12 +02:00
Jacek Jendrzej
ca83324763 Merge branch 'master' into pu/mp 2017-06-07 16:20:47 +02:00
Jacek Jendrzej
66ea57d710 src/driver/fb_generic.cpp fix possible memleak and possible double free 2017-03-17 15:04:11 +01:00
M. Liebmann
2677543cc4 Merge branch 'master' into pu/fb-setmode 2017-03-13 21:55:50 +01:00
svenhoefer
5b0faeab8c - unify DetailsLine-names; move define to settings.h 2017-03-13 12:40:04 +01:00
M. Liebmann
653e574937 osd resolution: Add 'mode' to osd_resolution_struct_t
- Use COsdSetup::OSDMODE_XXX enums to identify various resolutions
2017-02-28 15:04:09 +01:00
M. Liebmann
eb0d7afa95 Merge branch 'master' into pu/fb-setmode 2017-02-21 06:39:24 +01:00
M. Liebmann
8bee8b4c6d fb_generic: use more swidth variables in fbCopyArea() 2017-02-21 06:38:48 +01:00
Stefan Seyfried
dd653288d8 fb_generic: use 32bit pointers instead of 8bit 2017-02-21 06:38:48 +01:00
Stefan Seyfried
7c7d5f08dd fb_generic: add swidth variable, "stride in fb_pixel_t units"
this should allow to use fb_pixel_t pointer arithmetics more often
instead of byte pointers
2017-02-21 06:38:48 +01:00
M. Liebmann
d76c9c536c Merge branch 'master' into pu/fb-setmode 2017-02-20 00:11:48 +01:00
M. Liebmann
cc5a1b3b31 framebuffer: Add fbCopyArea function
- Copies areas within the frame buffer
 - Hardware accelerated function for cs hd2
 - Copying overlapping areas does not always work correctly
   without hardware acceleration
2017-02-20 00:09:46 +01:00
M. Liebmann
65f81b146d Merge branch 'master' into pu/fb-setmode
Fix merge conflict
2017-02-14 20:11:08 +01:00