Commit Graph

80 Commits

Author SHA1 Message Date
Stefan Schmidt d85aef518b xcf: fix indent for some code parts to match surroundings
The file uses 3 spaces for initial indent while some code blocks have been
added with two spaces. Purely cosmetic but found while playing around with
smatch.
2015-11-26 23:31:45 +01:00
Stefan Schmidt e676088d5b raw: pass NULL to mmap() instead 0 for address
Surprising to see this. mmap() expects a void * as address here. If we want
to let the kernel choose the address we should really pass in NULL instead
of the integer 0
2015-11-10 16:20:34 +01:00
Stefan Schmidt 449cc48222 ps: mark local symbols static 2015-11-10 16:15:20 +01:00
Stefan Schmidt 7b00942dfd pdf: avoid shadowing a global varibale by renaming oe in local scope
The global page variable is actually a poppler type and the local one only the
page number as int.
2015-11-10 16:10:19 +01:00
Stefan Schmidt 34b1fbe463 pdf: remove unused global variable
This started out as a warning about a shadowed global variable but turned out
to be an unused global variable as the one in local scope handles all cases.
2015-11-10 16:03:25 +01:00
Stefan Schmidt a26e3dccb0 common: mark local symbol static 2015-11-10 16:02:02 +01:00
Stefan Schmidt de6120c835 xcf: mark functions static if possible 2015-11-10 15:48:09 +01:00
Chris Michael 9ae9062422 evas-generic-loaders: Add missing EINA_UNUSED
Summary: This adds missing EINA_UNUSED for function paramaters which
are not being used

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-08-11 09:44:38 -04:00
Chris Michael fb491cf629 evas-generic-loaders: Remove unused variable
Summary: This removes an unused variable in the pdf loader

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-08-11 09:43:15 -04:00
Carsten Haitzler a673ffa1bd generic loaders - fix load if process esits before stdout produced
i found that generic loaders broke on my machine. stdout was never
reaching the app. child process exited and never sent stdout before
parent got anything - it all was lost in buffers somewhere. this fixes
it. fflush stdout. nasty little bugger.

@fix
2015-08-11 21:34:48 +09:00
Stefan Schmidt 7e544dccf4 pdf: Add support for changes with poppler >= 0.31
With 0.31 poppler removed some parts of GlobalParams
which they do not consider a public API. The antialias
setting can now be done over the output device.

Fixes T2184
@fix
2015-03-06 11:08:09 +01:00
Sebastian Dransfeld cad99f07d4 xcf: Remove dead code
We already make sure amount <= 16 two lines above, so no need to check
again.

Fixes CID 63741, CID 63742 and CID 63743
2014-10-31 12:59:51 +01:00
Sebastian Dransfeld 659c3346ce xcf: Add comment for fall through
Coverity likes a fall through comment if we really mean it.

Fixes CID 63744
2014-10-31 12:59:51 +01:00
Sebastian Dransfeld 093cb0e839 xcf: Remove self assignment
Fixes CID 63745
2014-10-31 12:59:51 +01:00
Sebastian Dransfeld 16da37cb2c raw: Make sure to keep the correct sign
unsigned short * unsigned short = int, so for large image sizes the
calculation will be wrong.

Fixes CID 63746 and CID 63747

@fix
2014-10-31 12:59:51 +01:00
Sebastian Dransfeld 6e53af8509 xcf: Make sure complete calculation is unsigned
Fixes CID63748 and CID 63749

@fix
2014-10-31 12:59:50 +01:00
Igor Murzov 6af818de1a Improve LO binary detection 2014-08-21 13:41:27 +04:00
Carsten Haitzler 3ca02d5880 actually fix gst generic loader 2014-08-03 21:14:55 +09:00
Carsten Haitzler d1ac39f0b0 fix gst video loader in generic to have key actually work
this never worked - key in gst loader was meant to be position in
seconds (well an integer with 1000 units per second). it was just
wrong and never worked. works now. :)

@fix
2014-08-03 21:12:07 +09:00
Carsten Haitzler c4388d01a9 gst1 support fixed now to do argb properly 2014-06-22 10:15:41 +09:00
Carsten Haitzler b2742e34ab add in older gst 0.10 support in evas_generic_loaders 2014-05-27 18:08:30 +09:00
Luca Galli 1b1bcd75da Trying to port evas_generic_loaders to gstreamer1.0
Summary: Resulting video files thumbnail are grey and glitched

Reviewers: raster, cedric

CC: cedric

Differential Revision: https://phab.enlightenment.org/D819
2014-05-27 17:48:22 +09:00
Jérémy Zurcher d3ec100d55 silence warnings: shadows and different signs 2014-05-07 09:39:29 +02:00
Carsten Haitzler 2092f31170 gst loader - support key as stream position in 1/1000th of a second 2014-01-13 05:11:49 +09:00
Mike Blumenkrantz baac6515a6 add note on why checking n-video gst property will never work (not just 1.0+) 2013-12-02 14:19:41 -05:00
Mike Blumenkrantz cd54a4e1e3 bugfix: add a typefind to gstreamer plugin pipeline
previously, we would load any file and try to force it into video/x-raw-rgb, which was (obviously) problematic for audio-only files. with a typefind added to the pipeline, only files which can output to video/x-raw-rgb will be processed
2013-12-02 14:16:20 -05:00
Mike Blumenkrantz a12299d4e0 bugfix: unbreak gstreamer plugin
apparently the only way to fix this in 0.10 without newer apis is to not fix it
2013-12-02 12:39:54 -05:00
Mike Blumenkrantz 3dd97971db Revert "bugfix: support gstreamer 0.10 and 1.0"
This reverts commit e629f406a55489bcbf46f1e6b76b47fdfa72094b.

somehow this went from compiling to not compiling in the time that I committed. I blame cedric.
2013-12-02 12:39:49 -05:00
Mike Blumenkrantz 58d6c943aa bugfix: support gstreamer 0.10 and 1.0
commit 576b20e11c24c079d944fbbfb2d8902c4b313c10 last week broke gstreamer usage with 0.10 (n-video property not present until >= 1.0), but we required 0.10. not a great idea since most distros seem to still ship 0.10 by default, which means that ALL gst image loads would always fail
2013-12-02 12:31:06 -05:00
Carsten Haitzler e84ed727b0 gst loader - early quit if gst stream has no video streams
this should fix the hang/pause in T551. so T551 fixed by this.
2013-11-27 00:12:18 +09:00
Carsten Haitzler 95fb6a9486 alpha1 release autofoo/build tree work to pass distcheck and actually work 2013-11-04 18:33:00 +09:00
Cedric Bail 0ad516b11b pdf: use the generic infrastructure to generate pdf for presentation slide.
Be aware this is quite heavy and for some reason terminology seems to trigger
quite a lot of try here. The generic infrastructure could be improved and use
a cache of generated pdf (right now to display one image, we will generate
the pdf at least 2 times !).
2013-10-31 18:30:55 +09:00
Cedric Bail e09401f369 pdf: add support for generic script generating pdf from anything. 2013-10-31 18:29:28 +09:00
Jérémy Zurcher 39fce076c6 rsvg: include librsvg-features.h only if LIBRSVG_CHECK_VERSION is not defined 2013-05-18 21:05:39 +02:00
Carsten Haitzler bc429a6486 fix back #if version check that breaks on older rsvg's 2013-05-17 08:08:19 +09:00
Jérémy Zurcher 83d98c287a add glib-2 and librsvg version checks 2013-05-15 16:22:24 +02:00
Jérémy Zurcher 0aec1efe93 well, shut up some warnings 2013-05-15 16:12:03 +02:00
Carsten Haitzler 2a92f697a2 how did the evas_generic_loaders svg loader forget its symlinks for .svgz and .svg.gz? 2013-03-10 22:08:49 +09:00
Daniel Juyung Seo fd401156a6 efl, evas_generic_loaders: Removed unused variable. Set EINA_UNUSED to unused variables.
SVN revision: 83788
2013-02-08 15:47:11 +00:00
Sebastian Dransfeld 306d657e9a evas_generic_loaders: Don't use deprecated code
SVN revision: 77619
2012-10-09 08:06:31 +00:00
Mike Blumenkrantz f1a88e0726 shut up gst debug printfs
SVN revision: 77433
2012-10-04 12:25:33 +00:00
Carsten Haitzler 764ddff2f8 add timeouts to all generic loaders - same timer infra.
SVN revision: 77076
2012-09-26 08:07:33 +00:00
Carsten Haitzler 198bfa025d add gst loader timeout.
SVN revision: 73071
2012-06-30 05:32:04 +00:00
Cedric BAIL 439d28c717 evas_generic_loaders: add support for poppler 0.20.
Patch by Fanina "cippp" Cristian <fancris3@gmail.com>.


SVN revision: 71706
2012-06-05 10:30:38 +00:00
Cedric BAIL 9109dde8bd evas_generic_loaders: add a rsvg generic loader.
NOTE: we have to much user complaining about instability in
e17 due to librsvg. Moving it to a generic loader "resolve"
this issue...


SVN revision: 71222
2012-05-18 04:53:35 +00:00
Carsten Haitzler dc94e41ac5 fix distcheck
SVN revision: 69491
2012-03-18 01:52:19 +00:00
Carsten Haitzler 9691179abe add some mroe video file formats
SVN revision: 66626
2011-12-29 11:28:27 +00:00
Carsten Haitzler b428676d44 pass discheck - actually compile... and up to 0.9.999 ver
SVN revision: 65230
2011-11-15 09:41:20 +00:00
Michael BOUCHAUD 99c1eed59e evas_generic_loader: fix install of raw image loader
SVN revision: 63391
2011-09-14 16:31:25 +00:00
Carsten Haitzler 9384fe7712 and make the generic loaders project actually put loaders in the new
location



SVN revision: 63104
2011-09-03 03:49:00 +00:00