Commit Graph

59 Commits

Author SHA1 Message Date
TangoCash
aeab1ae0bd adding support for E2 picons
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-09-09 20:25:57 +02:00
TangoCash
f4512218b4 use alternative logo if present
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-09-09 20:25:57 +02:00
Thilo Graf
fc2629eec5 CPictureViewer: add current image into debug line
It's not possible to see which file causes this error.
2017-12-17 14:02:39 +01:00
Jacek Jendrzej
85cff28f07 2 supplement to 1f0a1bfdf2 2017-06-13 14:30:37 +02:00
Jacek Jendrzej
30b1c3f286 supplement to 1f0a1bfdf2 2017-06-13 14:23:56 +02:00
Jacek Jendrzej
1f0a1bfdf2 src/driver/pictureviewer/pictureviewer.cpp add bufferram and cached to calc freemem 2017-06-13 13:34:17 +02:00
Jacek Jendrzej
f6482eb042 fix download pic from ssl url 2017-04-18 19:09:32 +02:00
Jacek Jendrzej
833a65c9e4 fix needed mem check 2017-03-23 12:43:27 +01:00
Jacek Jendrzej
e15f31fee4 src/driver/pictureviewer/pictureviewer.cpp Picviewer need double image bufferSize for avoid segfault 2017-02-11 21:08:25 +01:00
Jacek Jendrzej
80f6e611ba src/driver/pictureviewer/pictureviewer.cpp check whether there is enough free memory for the image buffer 2017-02-10 20:33:15 +01:00
Jacek Jendrzej
5ea4cbf145 pictureviewer: fix possible segfault if width or height < 1,fix possible memleak 2016-11-01 14:50:08 +01:00
Jacek Jendrzej
49c86a38b4 avoid division by zero 2016-04-21 18:14:46 +02:00
Jacek Jendrzej
93f3007be1 pictureviewer.cpp fix possible memleak 2016-02-16 12:59:43 +01:00
svenhoefer
11ccc53f0b - move LOGODIR and LOGODIR_VAR to global.h 2015-05-06 22:58:54 +02:00
svenhoefer
89a11de651 - fix and use ICONSDIR variable; move ICONSSDIR_VAR to global.h 2015-05-06 22:58:54 +02:00
Thilo Graf
2dc47e0fe1 CPictureViewer: fix wconversion warnings 2015-03-29 22:40:07 +02:00
Thilo Graf
6151152a20 CPictureViewer: use neutrino internal log
Show only errors in mode DEBUG_NORMAL.
2015-03-29 22:40:07 +02:00
svenhoefer
ff1a7b8640 - pictureviewer: do only show picture if decoding succeed
based upon patch "fix screensaver" by max10 <max_10@gmx.de>
2015-03-19 10:54:45 +01:00
Jacek Jendrzej
d58f621769 pictureviewer.cpp: CPictureViewer::DownloadImage remove double add CURLOPT_NOSIGNA 2015-02-04 15:52:40 +01:00
Jacek Jendrzej
1121e6210e pictureviewer.cpp: CPictureViewer::DownloadImage add curl timeout opt 2015-02-04 15:35:13 +01:00
[CST] Focus
b2a7aabe15 driver/pictureviewer/pictureviewer.cpp: change supported formats order 2014-09-27 16:21:43 +04:00
martii
b21cb152b5 system/settings: move theme colors to dedicated struct
Conflicts:
	src/driver/pictureviewer/pictureviewer.cpp
	src/gui/epgview.cpp
	src/gui/osd_setup.cpp
	src/gui/pluginlist.cpp
	src/neutrino.cpp
2014-09-12 18:29:21 +04:00
Jacek Jendrzej
c86ad2ef48 /pictureviewer.cpp CPictureViewer::GetLogoName: don't add the same dir twice 2014-05-26 16:55:02 +02:00
Jacek Jendrzej
80d7cc186d CPictureViewer:: move download code to separate funktion DownloadImage 2014-03-19 18:32:34 +01:00
svenhoefer
7ab37854c6 - pictureviewer: add a var-dir for channellogos (/var/tuxbox/icons/logo) 2014-03-07 23:03:57 +01:00
svenhoefer
50ee98c3c9 - pictureviewer: readd fallback to the std logo directory in flash 2013-10-07 17:19:27 +02:00
Thilo Graf
992cac1a55 CComponentsPicture: add class CComponentsChannelLogo 2013-10-06 17:14:31 +02:00
Thilo Graf
662fbe2dec CPictureViewer: rework GetLogoName
Evaluation with real channel name was broken.
2013-10-06 17:14:31 +02:00
[CST] Focus
a876b074ed driver/pictureviewer/pictureviewer.cpp: add support to get file from url, (c) martii <m4rtii@gmx.de> 2013-09-03 18:23:20 +04:00
Jacek Jendrzej
725b3eb27c src/driver/pictureviewer/pictureviewer.cpp: move free handlers to ~CPictureViewer(), fix segfault aufter commit 833fb32197 2013-04-24 12:03:58 +02:00
Stefan Seyfried
4f31b4e779 pictureviewer: free formathandlers in destructor 2013-04-17 10:21:33 +04:00
Stefan Seyfried
166e403965 neutrino: fix most hardcoded paths
Conflicts:
	src/eitd/SIlanguage.cpp
	src/eitd/SIlanguage.hpp
	src/gui/bookmarkmanager.h
	src/gui/keybind_setup.cpp
	src/gui/settings_manager.cpp
	src/nhttpd/yconfig.h
	src/nhttpd/yhttpd_mods/Makefile.am
	src/system/localize.cpp
2013-03-12 17:16:13 +04:00
satbaby
a3bfab0bcd remove doubles include 2012-09-11 20:31:33 +02:00
satbaby
441cba7d4a biggest chan number in list (revised) 2012-07-07 21:10:10 +02:00
satbaby
060c1c45b2 fix gcc 4.7.x warnings 2012-07-07 13:09:08 +02:00
satbaby
6ec13051a1 never used value 2012-05-06 14:10:48 +02:00
micha-bbg
5fee27085d * Moviebrowser: disabled 'pseudo' transparency for display screenshot
- Global setting for picture / icon transparency can be made
  in framebuffer constuctor
- Default is old standard (transparency when Black Content)
- Individual transparency with CFrameBuffer::SetTransparent()

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2155 e54a6e83-5905-42d5-8d5c-058d10e6a962
2012-03-19 21:40:03 +00:00
micha-bbg
6bbef9a0f6 * Add paint background to paintIcon() / DisplayImage()
- paint background before display icon in CFrameBuffer::paintIcon()
- paint background before display image in CPictureViewer::DisplayImage()

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2082 e54a6e83-5905-42d5-8d5c-058d10e6a962
2012-02-07 11:12:45 +00:00
micha-bbg
2e473b97d4 * Pictureviewer: Supported image formats
- Added function to determine the supported image formats
- Is required by moviebrowser.cpp (display screenshot)


git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1988 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-12-23 06:10:00 +00:00
micha-bbg
4f4f46a912 Correct calculation of the size of logo in list header.
- Function for calculating from infoviewer.cpp to pictureviewer.cpp moved
- Correct calculation in channellist.cpp, epgview.cpp and moviebrowser.cpp


git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1869 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-11-21 23:11:52 +00:00
micha-bbg
c4514851fe - printf, which are unnecessary from pictureviewer.cpp and png.cpp removed
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1761 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-10-19 20:28:01 +00:00
micha-bbg
ccb9fceec7 - add support for 24bit PNGs with alpha-channel in function CPictureViewer::getIcon
- code optimized pictureviewer.cpp (CPictureViewer::getIcon / CPictureViewer::getImage)
- code optimized png.cpp (fh_png_load / png_load_ext)


git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1753 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-10-08 02:55:04 +00:00
striper
44bc69c4f5 - add better check to ensure logo is really PNG
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1717 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-09-28 06:31:09 +00:00
striper
c17e7cf960 - fix non *.png logos
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1716 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-09-27 18:58:46 +00:00
striper
d8f8a99d86 - add support for 24bit PNGs with alpha-channel
- modify resize function

If you encounter problems please report here including a log: http://www.dbox2world.net/board293-coolstream-hd1/board314-coolstream-development/10561-transparente-senderlogos/?s=d3381092abb5a81271ebfa0c4219f73f0ba7b8ca

THX micha_bbg!

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1715 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-09-27 15:41:31 +00:00
striper
6ac50d55ca - revert Rev. 1689 because this commit probably only hides the real problem
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1690 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-09-15 15:33:19 +00:00
striper
7658db6423 - cs_malloc_uncached() infrequently generates neutrino segfaults, so let's use malloc as a workaround
- add a check if fbbuff is NULL

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1689 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-09-14 14:36:21 +00:00
striper
5ce9743995 - allow *.png as logo. todo: fix transparency (patch by FlatTV)
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1415 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-04-24 10:59:19 +00:00
satbaby
85f5e1110d memcpy -> memmove
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1278 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-03-09 12:55:31 +00:00
seife
7a98888017 pictureviewer: rename config.h to pv_config.h
this avoids confusion with the global config.h, which in turn
caused very hard to debug runtime failures when objects were
compiled with different defines, causing e.g. g_settings to
have different sizes...

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1022 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-01-08 22:37:13 +00:00