Matthew Waters
49307fefd6
[882/906] port glcolorscale to GLES2
2014-03-15 18:37:06 +01:00
Matthew Waters
af3a68db7d
[880/906] glimagesink: remove unused stored_buffer field
...
It has the potential to cause deadlocks.
2014-03-15 18:37:06 +01:00
Matthew Waters
75825b3626
[879/906] build: don't add X_CFLAGS to CFLAGS
...
It should already be included if needed inside GL_CFLAGS
2014-03-15 18:37:06 +01:00
Matthew Waters
0c1a77ca6c
[874/906] filter: implement draw_texture for GLES2
...
(taken from gleffects)
2014-03-15 18:37:06 +01:00
Matthew Waters
4386cc1c6b
[873/906] upload: use GstVideoInfo for choosing the format
2014-03-15 18:37:05 +01:00
Matthew Waters
f798d9c9b7
[855/906] upload: add support for GstVideoGLTextureUploadMeta
2014-03-15 18:37:04 +01:00
Matthew Waters
42701927f0
[854/906] use the allocation query to propogate GstGLContext
...
uses the GstVideoGLTextureUploadMeta api type for the query
2014-03-15 18:37:04 +01:00
Matthew Waters
636d307715
[853/906] display: remove _{set,get}_context
...
A GstGLDisplay doesn't need a GstGLContext and its use
was cause a reference cycle
2014-03-15 18:37:04 +01:00
Matthew Waters
79260ff8f9
[852/906] use GstContext for GstGLDisplay propogation
...
implements the hooks required in GstElement::set_context and the context query
2014-03-15 18:37:04 +01:00
Matthieu Bouron
f230ec14ba
[851/906] deinterlace: fix texture coordinates computation
...
Fixes a regression introduced by fffdcbdd3dde437e10cf6e1b5e40c6958d41e6c1
https://bugzilla.gnome.org/show_bug.cgi?id=720826
2014-03-15 18:37:04 +01:00
Matthew Waters
86c18b294a
[849/906] testsrc: use _context_get_gl_api
2014-03-15 18:37:04 +01:00
Matthew Waters
63ccd94d1a
[844/906] mixer: give access to the pads at render time
...
allows us to move the video frame mapping somewhere else
2014-03-15 18:37:04 +01:00
Wang Xin-yu (王昕宇)
665d58b322
[840/906] glvideomixer: Use correct coordinates after the switch from GL_TEXTURE_RECTANGLE to GL_TEXTURE_2D
...
https://bugzilla.gnome.org/show_bug.cgi?id=720177
2014-03-15 18:37:04 +01:00
Matthew Waters
b90d824626
[838/906] gl: Use GL_TEXTURE_2D instead of GL_TEXTURE_RECTANGLE
...
We create our textures (in Desktop GL) with GL_TEXTURE_RECTANGLE,
vaapi attempts to bind our texture to GL_TEXTURE_2D which throws a
GL_INVALID_OPERATION error and as thus, no video.
Also, by moving exclusively to GL_TEXTURE_2D and the npot extension
we also remove a difference between the Desktop GL and GLES2 code.
https://bugzilla.gnome.org/show_bug.cgi?id=712287
2014-03-15 18:37:03 +01:00
Julien Isorce
c775bf584b
[831/906] glimagesink: avoid to overload the drawer if already drawing
...
Especially if the application calls gst_video_overlay_expose a lot
2014-03-15 18:37:03 +01:00
Matthew Waters
7f3ad8f445
[830/906] glvideomixer: Add a new simple glvideomixer element
...
that simply uses glBlendFunc to blend each imput frame
https://bugzilla.gnome.org/show_bug.cgi?id=710714
2014-03-15 18:37:03 +01:00
Matthew Waters
2313cea524
[819/906] make gen_texture/del_texture threadsafe
...
Use stack allocated instead of static variables
Conflicts:
gst-libs/gst/gl/gstglutils.c
2014-03-15 18:37:02 +01:00
Matthew Waters
225d372847
[817/906] make the state change test pass
2014-03-15 18:37:02 +01:00
Matthew Waters
d10ccfb795
[815/906] fix some refcount errors
2014-03-15 18:37:02 +01:00
Matthew Waters
65b6872413
[813/906] unref the pool on shutdown
2014-03-15 18:37:02 +01:00
Matthew Waters
9b22b0e0ba
[812/906] move the GL vtable from GstGLDisplay to GstGLContext
...
Conflicts:
tests/check/libs/gstglcontext.c
2014-03-15 18:37:02 +01:00
Julien Isorce
6497947186
[804/906] rpi: call bcm_host_init in plugin_init
2014-03-15 18:37:01 +01:00
Julien Isorce
2d876dfb70
[800/906] glimagesink: avoid to draw texture while releasing stored buffer
...
Spoted by generic/cube example with ClientDrawCallback set to
returning TRUE (it means drawing as fast as possible)
2014-03-15 18:37:01 +01:00
Julien Isorce
940151bcd6
[799/906] glimagesink: fix asynchrone drawing
...
Simplify gst_glimage_sink_redisplay which is there
only to ask the window for a redraw.
Put a lock to make sure we are not realeasing
the stored buffer while still drawing the corresponding
texture
2014-03-15 18:37:01 +01:00
Matthew Waters
cf5e910d9b
[793/906] add a GstGLContext object that will be the basis of OpenGL contexts
...
At the moment it just sits in between GstGLDisplay and GstGLWindow
performing some of the stuff that GstGLWindow used to do.
2014-03-15 18:37:01 +01:00
Matthew Waters
b5d595f402
[792/906] build: use our own in tree headers before system ones
...
allows us to develop against the tree rather than what may be installed
2014-03-15 18:37:01 +01:00
Julien Isorce
44d82d6aad
[790/906] glimagesink: retrieve window only when clientDrawCallback return true
2014-03-15 18:37:01 +01:00
Tonu Jaansoo
e45dfb2f93
[787/906] gl: The GLSL rectangle resampler does not always work with int tex coords
...
Use floats instead.
2014-03-15 18:37:00 +01:00
Julien Isorce
2952b923aa
[784/906] gloverlay: add G_BEGIN/END declaration
2014-03-15 18:37:00 +01:00
Sebastian Dröge
337b342ff7
[783/906] glimagesink: Fix format string warning
2014-03-15 18:37:00 +01:00
Matthew Waters
f590a1ce23
[780/906] up/download: check return values
...
So we fail properly
2014-03-15 18:37:00 +01:00
Mathieu Duponchelle
b26c4dbe4e
[773/906] glfilters: Mark writable-only properties as readable as well
...
https://bugzilla.gnome.org/show_bug.cgi?id=704429
2014-03-15 18:37:00 +01:00
Mathieu Duponchelle
8adb0ea713
[772/906] glfilters: Mark them as Video filters in their classification
...
It makes it possible for applications like pitivi to
use them.
https://bugzilla.gnome.org/show_bug.cgi?id=704429
2014-03-15 18:36:59 +01:00
Sebastian Dröge
20cb4fb038
[771/906] gl: Some less long/ulong/gulong usage
2014-03-15 18:36:59 +01:00
Sebastian Dröge
abdcb4a51b
[768/906] gltestsrc: Fix usage of FBO API
2014-03-15 18:36:59 +01:00
Sebastian Dröge
d64c1aab28
[767/906] glimagesink: Remove GValue usage for fraction handling
2014-03-15 18:36:59 +01:00
Sebastian Dröge
f6f0c4ddad
[762/906] glimagesink: Fix some memory leaks and properly set up the buffer pool
2014-03-15 18:36:59 +01:00
Sebastian Dröge
2b6e54d416
[752/906] glwindow: Add destroy notifies for the data of the callbacks
...
And actually call the close callback when the window is closed.
2014-03-15 18:36:58 +01:00
Sebastian Dröge
7b649027bc
[737/906] glimagesink: Request and set the window handle much earlier
2014-03-15 18:36:57 +01:00
Sebastian Dröge
6a53e01544
[736/906] glimagesink: Give MARGINAL rank to be able to autoplug it if nothing else is available
2014-03-15 18:36:57 +01:00
Sebastian Dröge
a5a46aa833
[733/906] gl: Major header and include cleanup
2014-03-15 18:36:57 +01:00
Julien Isorce
dd7e054e2c
[732/906] build: fix repeated typedefs
...
Write forward declarations in another way to avoid
repeated typedefs "error: redefinition of typedef".
Raised when using i686-apple-darwin11-llvm-gcc-4.2
It seems that C apple compiler does not support
C11 feature.
https://bugzilla.gnome.org/show_bug.cgi?id=703885
2014-03-15 18:36:57 +01:00
Sebastian Dröge
19dff69a2e
[729/906] gl: Include config.h everywhere
2014-03-15 18:36:57 +01:00
Matthew Waters
b71a246426
[728/906] glimagesink: fix for gles2
...
https://bugzilla.gnome.org/show_bug.cgi?id=703508
2014-03-15 18:36:57 +01:00
Sebastian Dröge
98cca97840
[719/906] gl: Fix compilation with GLES2
2014-03-15 18:36:56 +01:00
Matthew Waters
11b810fcf5
[718/906] shader: make it possible to unref in the non-GL thread
2014-03-15 18:36:56 +01:00
Matthew Waters
a5b877fb13
[717/906] remove outdated cmake build files
2014-03-15 18:36:56 +01:00
Matthew Waters
c799696b48
[707/906] display: move error_message to utils
2014-03-15 18:36:56 +01:00
Matthew Waters
13067b104c
[704/906] Use gst_object_[un]ref so we can get refcounts in the log
2014-03-15 18:36:56 +01:00
Matthew Waters
dbeb6a911b
[701/906] display: move context creation into window
2014-03-15 18:36:55 +01:00
Matthew Waters
96114e62cb
[699/906] display: remove list of upload and download objects
...
and only create an up/download object when needed.
2014-03-15 18:36:55 +01:00
Matthew Waters
d76a61608d
[698/906] move sink-specific stuff from GstGLDisplay into glimagesink
2014-03-15 18:36:55 +01:00
Matthew Waters
ded3f51592
[694/906] build: add support for static plugins
2014-03-15 18:36:55 +01:00
Matthew Waters
b0c6d98f63
[689/906] bumper: nicer error for no bumpmap file proveded
2014-03-15 18:36:55 +01:00
Matthew Waters
3960306218
[687/906] bumper: error out properly if we cannot load the png file
2014-03-15 18:36:55 +01:00
Matthew Waters
8fe4849860
[686/906] filtershader: fix string format compiler warnings
2014-03-15 18:36:54 +01:00
Matthew Waters
25955212b8
[682/906] overlay: fix video-top property
2014-03-15 18:36:54 +01:00
Matthew Waters
d77828d2cf
[680/906] overlay: tentative port to new GstGLFuncs API
2014-03-15 18:36:54 +01:00
Matthew Waters
0f6bf776c5
[679/906] opengl: fix plugins not being registered when they should be
2014-03-15 18:36:54 +01:00
Matthew Waters
fe5f4429cc
[667/906] filtercube: fix for gles2 compilation
2014-03-15 18:36:53 +01:00
Matthew Waters
3d1aa836bf
[666/906] sobel: port for non-glew
2014-03-15 18:36:53 +01:00
Matthew Waters
8bf203f536
[665/906] mosaic: fix a couple of assertions
2014-03-15 18:36:53 +01:00
Matthew Waters
e55b2ae671
[664/906] filtershader: improve error checking
2014-03-15 18:36:53 +01:00
Matthew Waters
d07fb25841
[663/906] filtershader: port to non-glew
2014-03-15 18:36:53 +01:00
Matthew Waters
d255b55115
[662/906] laplacian: port to non-glew
2014-03-15 18:36:53 +01:00
Matthew Waters
753dfca775
[661/906] glass: port to non-glew + shader matrices
2014-03-15 18:36:53 +01:00
Matthew Waters
0497326a43
[660/906] cube: port for non-glew
2014-03-15 18:36:53 +01:00
Matthew Waters
bd80d4e9cc
[659/906] blur: port for non-glew
2014-03-15 18:36:53 +01:00
Matthew Waters
a61423c7a2
[657/906] filterapp: port to non-glew
2014-03-15 18:36:53 +01:00
Matthew Waters
b97fb42b30
[656/906] bumper: use DrawElements for semi-compatability with ES
...
also GL_QUADS isn't available with ES contexts
2014-03-15 18:36:53 +01:00
Matthew Waters
0fa88c5219
[654/906] differencematte: port to non-GLEW
2014-03-15 18:36:53 +01:00
Matthew Waters
0ed85f3d13
[653/906] deinterlace: port to non-GLEW + arrays
2014-03-15 18:36:53 +01:00
Matthew Waters
3ceb7949a8
[652/906] bumper: port to non-GLEW + arrays
2014-03-15 18:36:53 +01:00
Matthew Waters
5b88246a05
[649/906] effects: fixes for mirror(1) and squeeze(2) producing black
2014-03-15 18:36:52 +01:00
Matthew Waters
7b03a572d9
[647/906] remove dependecy on glew
2014-03-15 18:36:52 +01:00
Matthew Waters
fa3c3b8434
[642/906] add gstglconfig.h for apps to find out what our capabilites are
...
ie libgstgl can be compiled with any combination of opengl/gles2
2014-03-15 18:36:52 +01:00
Matthew Waters
6aa6212419
[632/906] remove stray )
...
The rest is indent stuff from the stray )
2014-03-15 18:36:51 +01:00
Matthew Waters
1fc0f14d44
[628/906] shader filter: don't do anything if we don't have a shader file
2014-03-15 18:36:51 +01:00
Matthew Waters
07f7bbc0cf
[626/906] fix build failure from undefined macro
2014-03-15 18:36:51 +01:00
Matthew Waters
cc8e54541b
[624/906] OPENGL_ES2 => HAVE_GLES2 and add HAVE_OPENGL
...
use GstGLAPI to determine which code paths to execute.
perform some cleanups
2014-03-15 18:36:51 +01:00
Matthew Waters
c080c6c910
[612/906] remove GNUstep makefiles
2014-03-15 18:36:50 +01:00
Matthew Waters
1984fa3b7f
[606/906] determine the GL platform to use at runtime
...
- Make GstGLWindow subclassablerather than specified at compile time.
- Add GstGLWindowX11 for x11 windows and two subclasses, GstGLWindowX11GLX
and GstGLWindwX11EGL for GLX and EGL repectively. (win32 and cocoa
ports to come)
- Also cleanup GL library detection in configure.ac
2014-03-15 18:36:50 +01:00
Matthew Waters
c52b138a8d
[604/906] gst_element_class_set_details_simple() => gst_element_class_set_metadata()
2014-03-15 18:36:50 +01:00
Matthew Waters
93f7e993ad
[603/906] update FSF address
2014-03-15 18:36:50 +01:00
Matthew Waters
5d10051e03
[596/906] colorscale: port over to filter base class
2014-03-15 18:36:49 +01:00
Matthew Waters
30ec55853e
[595/906] update for filter API change
...
gleffects needed a similar change
2014-03-15 18:36:49 +01:00
Matthew Waters
aef7f01a62
[593/906] testsrc/imagesink: update for up/download API changes
2014-03-15 18:36:49 +01:00
Matthew Waters
17425aaaac
[589/906] Revert "GLColorscale: convert to a bin of glupload ! gldownload"
...
The elements no longer exist so we have to do something different
2014-03-15 18:36:49 +01:00
Matthew Waters
fc49c5d25f
[588/906] mosaic: update for mixer changes and convenience API
2014-03-15 18:36:49 +01:00
Matthew Waters
e7b918efbc
[585/906] gltestsrc: update for new GLDownload in libs
2014-03-15 18:36:48 +01:00
Matthew Waters
730b8af863
[584/906] glimagesink: update for new GLUpload object in libs
2014-03-15 18:36:48 +01:00
Matthew Waters
d9d8946351
[583/906] deinterlace: change for new API
...
also allow elements to call the _filter_texture vfunc if they want
2014-03-15 18:36:48 +01:00
Matthew Waters
79ed68478f
[582/906] filters: changes for new API
2014-03-15 18:36:48 +01:00
Matthew Waters
338bb1871b
[577/906] remove upload and download elements from the build system
2014-03-15 18:36:48 +01:00
Matthew Waters
d163ecce23
[572/906] remove upload and download elements
...
to be replaced by upload and download in memory
2014-03-15 18:36:48 +01:00
Matthew Waters
0f2f42e4e8
[570/906] remove the requirement for VideoMeta to be present on non-GL buffers
2014-03-15 18:36:48 +01:00
Matthew Waters
9fb3e60387
[569/906] differencematte: prevent double unref of shader and midtexture
2014-03-15 18:36:48 +01:00
Matthew Waters
beff5a3710
[566/906] effects: avoid using tanh in sin_fragment
...
It produces weird results on nouveau.
Provide an alternative implementation with (1-sinh)*cosh
2014-03-15 18:36:47 +01:00
Matthew Waters
96163f1589
[565/906] effects: fix shader compilation with mesa drivers
2014-03-15 18:36:47 +01:00
Matthew Waters
3f94f31c3d
[563/906] readd support for hanging GL pipelines e.g. ... ! gleffects ! fakesink
2014-03-15 18:36:47 +01:00
Matthew Waters
729115c515
[558/906] add missing includes for _post_missing_element_message in glcolorspace
2014-03-15 18:36:47 +01:00
Matthew Waters
b227398c0c
[557/906] Fix plugin define and remove warning
2014-03-15 18:36:47 +01:00
Matthew Waters
c7e43349e4
[556/906] GLColorscale: convert to a bin of glupload ! gldownload
2014-03-15 18:36:47 +01:00
Matthew Waters
ce6c6b5065
[555/906] Make the query for a GstGLDisplay a pad peer query
...
Allows the query to pass through bin boundaries and makes it possible for
arbitrary gl elements to be placed in bins.
2014-03-15 18:36:47 +01:00
Matthew Waters
35983bcd88
[553/906] GstGLFilterShader: update for GstGLMeta
2014-03-15 18:36:47 +01:00
Matthew Waters
61e2266d16
[552/906] GstGLFilterApp: update for GstGLMeta
2014-03-15 18:36:47 +01:00
Matthew Waters
8ae1fd34e0
[551/906] GstGLOverlay: fix loading of non-square overlays
...
libjpeg complains about "Application read too {many,few} scan lines" in non-square images
2014-03-15 18:36:47 +01:00
Matthew Waters
b34d014918
[550/906] GstGLOverlay: fix libPNG complaining about unsigned integer being out of range
2014-03-15 18:36:46 +01:00
Matthew Waters
b54f031278
[549/906] GstGLOverlay: update for GstGLMeta
2014-03-15 18:36:46 +01:00
Matthew Waters
7a44219656
[548/906] GstGLDifferenceMatte: update for GstGLMeta
2014-03-15 18:36:46 +01:00
Matthew Waters
02fcc954de
[547/906] GstGLBumper: fix libPNG complaining about invalid png files
...
We failed to inform libPNG that we had already read the header
2014-03-15 18:36:46 +01:00
Matthew Waters
f0035b9a9b
[546/906] GstGLFilterSobel: update for GstGLMeta
2014-03-15 18:36:46 +01:00
Matthew Waters
da4c698a50
[545/906] GstGLBumper: update for GstGLMeta
2014-03-15 18:36:46 +01:00
Matthew Waters
3affb44884
[544/906] fix memory leaks from not g_free()ing string returned by gst_element_get_name
2014-03-15 18:36:46 +01:00
Matthew Waters
3be415e5c9
[541/906] GstGLTestSrc: generate a GLBufferPool instead of a VideoBufferPool in decide_allocation
2014-03-15 18:36:46 +01:00
Matthew Waters
7c0c039933
[540/906] GstGLMosaic: update for GstGLMeta
2014-03-15 18:36:46 +01:00
Matthew Waters
9f51f1721e
[539/906] GstGLImageSink: fold multiple fields into one and use VIDEO_SINK_* for window width/height
...
replace the caps information with a GstVideoInfo
place the window width/height information width VIDEO_SINK
2014-03-15 18:36:46 +01:00
Matthew Waters
84bf052181
[538/906] GstGLDeinterlace: update for GstGLMeta
2014-03-15 18:36:46 +01:00
Matthew Waters
d4045e7699
[537/906] GstGLFilterReflectedScreen: update for GstGLMeta
2014-03-15 18:36:46 +01:00
Matthew Waters
5402a43d80
[536/906] GstGLFilterGlass: update for GstGLMeta
2014-03-15 18:36:46 +01:00
Matthew Waters
a93c464c5b
[535/906] GstGLFilterLaplacian: update for GstGLMeta
2014-03-15 18:36:46 +01:00
Matthew Waters
ddbfe41721
[534/906] GstGLFilterCube: Update for GstGLMeta
2014-03-15 18:36:46 +01:00
Matthew Waters
58c27d8ef2
[533/906] GstGLFilterBlur: update for GstGLMeta
2014-03-15 18:36:46 +01:00
Matthew Waters
9ab50ed175
[531/906] GstGLEffects: update for GstGLMeta
2014-03-15 18:36:45 +01:00
Matthew Waters
ed5deaa29b
[530/906] GstGLUpload: fix video scaling and use GL_UPLOAD_CAPS
2014-03-15 18:36:45 +01:00
Matthew Waters
d03ffe867d
[529/906] GstGLDownload: fix video scaling and use GL_DOWNLOAD_CAPS
2014-03-15 18:36:45 +01:00
Matthew Waters
65c0afe557
[526/906] GstGLTestSrc: update for 1.0
...
implement decide_allocation
rename push_src_create to _fill
use GstVideoInfo to convert times
make use of GstGLMeta and friends
2014-03-15 18:36:45 +01:00
Matthew Waters
ce3b50484f
[525/906] GstGLDownload: add allocation methods and use GstGLMeta
...
make GstGLDownload work with the new GstGLMeta and friends
2014-03-15 18:36:45 +01:00
Matthew Waters
3d7788dabb
[523/906] update for meta API changes
2014-03-15 18:36:45 +01:00
Matthew Waters
08349cff6d
[519/906] GstGLUpload: implement the allocation funcs and use GstGLMeta
...
make use of the new GstGLMeta, GstGLMemory and GstGLBufferPool objects
2014-03-15 18:36:45 +01:00
Matthew Waters
4d7bb47b75
[518/906] GstGLImageSink: add propose_allocation impl and use GstGLMeta
...
make use of GstGLMeta and GstGLMemory
2014-03-15 18:36:45 +01:00
Matthew Waters
71c6aae707
[513/906] Remove GstGLBuffer (to be replaced by GstGLMeta)
2014-03-15 18:36:44 +01:00
Matthew Waters
d39eb40a40
[510/906] GstGLImageSink: update for 1.0
2014-03-15 18:36:44 +01:00
Matthew Waters
590c3f4060
[508/906] GstGLDownload: update for 1.0
2014-03-15 18:36:44 +01:00
Matthew Waters
00c11d955e
[507/906] GstGLTestSrc: update for 1.0
2014-03-15 18:36:44 +01:00
Matthew Waters
42127be707
[506/906] GstGLUpload: update for 1.0
2014-03-15 18:36:44 +01:00
Matthew Waters
620d330953
[505/906] GstGLColorscale: update for 1.0
2014-03-15 18:36:44 +01:00
Matthew Waters
d66bd69b36
[503/906] Rename GST_BOILERPLATE_* to G_DEFINE_TYPE_* and move _base_init into _class_init
2014-03-15 18:36:44 +01:00
Matthew Waters
6f2acb94c6
[502/906] Update versioning for gstreamer 1.0
...
Renames GST_MAJORMINOR to GST_API_VERSION in build files
removes -lgstinterfaces from _LDADD flags
2014-03-15 18:36:44 +01:00
Julien Isorce
a9d4210388
[499/906] examples: fix build on MacOSX
2014-03-15 18:36:43 +01:00
Julien Isorce
0c7080e7a1
[498/906] gldisplay: don't pass non-constant strings as printf format strings
...
Fixes 'format not a string literal and no format arguments' on darwin
2014-03-15 18:36:43 +01:00
Julien Isorce
865e431a75
[496/906] cmake build: add path to config.h on APPLE
2014-03-15 18:36:43 +01:00
Julien Isorce
7e45f26a21
[494/906] cmake build: use config.h from win32/common and add some guidelines
2014-03-15 18:36:43 +01:00
Tim-Philipp Müller
5b9e4b8282
[493/906] glfiltershader: fix crash when loading shader file
...
Just use g_file_get_contents() instead of home-made file loading.
Fixes two issues - one is that we should pass "r" to fopen and
not O_RDONLY, the other is that an incorrect variable was used
to read the file length, leading to an empty shader file.
Spotted by: Wang Xin-yu (王昕宇) <comicfans44@gmail.com>
https://bugzilla.gnome.org/show_bug.cgi?id=702844
https://bugzilla.gnome.org/show_bug.cgi?id=702845
Conflicts:
gst/gl/gstglfiltershader.c
2014-03-15 18:36:43 +01:00
Julien Isorce
052c23c3c5
[491/906] glES2.0: properly fails if driver/kernel inconsistency
2014-03-15 18:36:43 +01:00
Julien Isorce
2394987226
[490/906] gldisplay: error out instead of g_assert
2014-03-15 18:36:43 +01:00
Julien Isorce
20ac2cc4aa
[489/906] glimagesink: pixel-aspect-ratio property now returns "1/1" by default
...
Previously it was not set
Fix bug #671734 (compatibility with Totem)
2014-03-15 18:36:43 +01:00
Julien Isorce
b88351ad0c
[488/906] libvisual-gl: full compatibility with projectM-libvisual if libprojectM >= 2.0.1
...
Fix bug #310775
2014-03-15 18:36:43 +01:00
Sebastian Dröge
6bb3f66c42
[487/906] gl: Fix compiler warnings
...
'if statement has empty body', which were real bugs and
'comparison of unsigned expression < 0 is always false', which was
only an unneeded comparison.
2014-03-15 18:36:43 +01:00
Julien Isorce
5091066426
[483/906] glelements: do not leak parent when using gst_pad_get_parent
2014-03-15 18:36:43 +01:00
Julien Isorce
f639d6096d
[481/906] feature checking: error out instead of doing nothing if an OpenGL feature is not present
...
Fix bug #572767
2014-03-15 18:36:42 +01:00
Julien Isorce
9e535a0410
[480/906] win32 builds: add glshader filter sources to vs9 and codeblocks
...
Also fix some warnings from msvc9 and mingw-3.4.5
2014-03-15 18:36:42 +01:00
Julien Isorce
cc70130c6f
[475/906] docs: add glmosaic and glshader to docs
2014-03-15 18:36:42 +01:00
Julien Isorce
533e180ce8
[474/906] build: make libjpeg use conditional
...
Disable gloverlay element if we do not hve libjpeg
2014-03-15 18:36:42 +01:00
Julien Isorce
a7587aa44e
[473/906] cmake build: 2.8 is now required and add jpeg
...
jpeg and png should be optional but our cmake build is still in pre-alpha
2014-03-15 18:36:42 +01:00
Stefan Sauer
aacf88ffa5
[472/906] linpng: make libpng use conditional
...
Disable 3 elements if we don't have libpng.
2014-03-15 18:36:42 +01:00
Luc Deschenaux
268f1a30b2
[471/906] glshader: add dynamic fragment shader filter
...
Also add fragment shader parser
Fix bug #600195
2014-03-15 18:36:42 +01:00
Anthony Violo
7d4de78102
[470/906] gloverlay: add jpeg support
...
Fix bug #636070
2014-03-15 18:36:42 +01:00
Anthony Violo
351a6d9d01
[469/906] gloverlay: manage ratio texture
...
Fix bug #630525
2014-03-15 18:36:42 +01:00
Sebastian Dröge
4732eb4d68
[465/906] gl: Fix variable unused but set compiler warnings
2014-03-15 18:36:41 +01:00
Sreerenj Balachandran
b1166ed0c4
[464/906] glimagesink: Interface query should return FALSE if the supplied interface is not GST_TYPE_X_OVERLAY
2014-03-15 18:36:41 +01:00
Stefan Kost
edefb7826c
[462/906] various: add missing G_PARAM_STATIC_STRINGS flags
...
Canonicalize property names as needed. Includes some gst-indent changes as well :/
2014-03-15 18:36:41 +01:00
Stefan Kost
ac138f74a1
[461/906] xoverlay: require base from git and update to new API
2014-03-15 18:36:41 +01:00
Edward Hervey
b9c68baddc
[460/906] gstgleffects: Fix upper bound of an array iteration
...
10 is above NEEDED_TEXTURES (currently 5) and makes the code consistent
with the rest of the usage in the file.
2014-03-15 18:36:41 +01:00
Julien Isorce
dab7bdf2da
[458/906] glfilterreflectedscreen: fix some warnings from msvc9
2014-03-15 18:36:41 +01:00
Julien Isorce
2c43a348fa
[456/906] glfilter/glmixer/gltestsrc/glupload: throw an element error if no parent bin
...
Fixes bug #602153
2014-03-15 18:36:41 +01:00
Julien Isorce
2b46c87bd0
[455/906] glimagesink: handle pixel-aspect-ratio
2014-03-15 18:36:41 +01:00
Filippo Argiolas
00030c2bdd
[454/906] blur: fix gaussian kernel computation
2014-03-15 18:36:41 +01:00
Filippo Argiolas
17a33cd19a
[453/906] blur: give up some accuracy for speed
...
Settle with 7x7 gaussian convolution kernels, maybe slightly less
accurate than previous 9x9 but fast enough to be able to use it on i915.
About a 20% percent speed gain (again, roughly measured with
videotestsrc and glimagesink sync=false). No noticeable rendering
difference with current effects.
2014-03-15 18:36:41 +01:00
Filippo Argiolas
a9aa0ab2ee
[452/906] sin: get rid of hls conversion code
...
Get rid of buggy and complicated hls conversion code for the sin effect.
The only thing needed was hue anyway and it is easily calculated using
Preucil formula for rgb to polar coordinates conversion.
Now works on i915 (removed all the IF blocks). Still needs some tuning,
I wonder if it will ever work properly.
2014-03-15 18:36:41 +01:00
Roland Peffer
e2f9424e04
[451/906] glupload: par is already handled in fixate_caps function
...
Fixes bug #593165
2014-03-15 18:36:41 +01:00
Julien Isorce
6c2c3b44ee
[450/906] indent: gstglupload.c
2014-03-15 18:36:41 +01:00
Filippo Argiolas
3d14e9684d
[449/906] sobel: drop unused single pass sobel shader
...
Drop unused sobel shader, if anyone still needs it, git log is your
friend.
2014-03-15 18:36:41 +01:00
Filippo Argiolas
c888188422
[448/906] xray: increase edges visibility
...
Some little fine tuning, still not completely satisfied yet.
2014-03-15 18:36:41 +01:00
Filippo Argiolas
87fda0d867
[447/906] xray: port to the new separable sobel convolution
...
Port xray effect to use the same sobel convolution just used in
glfiltersobel. Now xray too works on i915 (a bit slow).
2014-03-15 18:36:40 +01:00
Filippo Argiolas
021a28657d
[446/906] blur: forgot to add all the changes in previous commit
2014-03-15 18:36:40 +01:00
Filippo Argiolas
556b1b79e4
[445/906] blur: use draw_texture from glfilter
2014-03-15 18:36:40 +01:00
Filippo Argiolas
ac190bc460
[444/906] laplacian: precalculate coordinates
...
Precalculate coordinates to avoid unneeded texture indirections.
Now laplacian works on i915.
2014-03-15 18:36:40 +01:00
Filippo Argiolas
270ce448e4
[443/906] sobel: move some highly duplicated code into glfilter
...
Add a new convenience function in GstGLFilter that just draws an input
texture to a target texture using a simple shader with just a "tex"
uniform sampler.
Move draw_texture from glfiltersobel to glfilter. Still need to update
other plugins to this.
2014-03-15 18:36:40 +01:00
Filippo Argiolas
b3c4eb4c61
[442/906] blur: optimize coordinates calculations
...
Save 28 instructions on i915 (mainly redundant MOVs) and gain a 25%
(roughly measured with videotestsrc and glimagesink sync=false) speed
bump
2014-03-15 18:36:40 +01:00
Filippo Argiolas
5fd66383ab
[441/906] sobel: convolve only luma
...
Rework Sobel a little bit again making it work as the old one:
1. desaturate input texture
2. calculate horizontal convolution for x gradient and vertical
convolution for y gradient at the same time (halves the number of
needed texture lookups)
3. store results in a single texture (red and green channel)
4. calculate remaining convolution (same as above switching vertical and
horizontal)
5. calculate length of gradient using red and green as x and y
components.
Optimize wherever possible, store kernels as constants in the shaders,
remove unneeded uniforms. Restore invert property carefully avoiding
using IF.
Still not sure if "full color" convolution will be needed, glfiltersobel
is to be intended as a demo filter and xray, the only effect which uses
sobel only needs edge intensity. Dropping it for now.
2014-03-15 18:36:40 +01:00
Filippo Argiolas
49df4dca3c
[440/906] sobel: implement sobel filter using separable kernels
...
Reimplement sobel in a multipass fully separated convolution:
- calculate x gradient map convolving first horizontally with blurring
kernel and then vertically with differentiating kernel
- calculate y gradient map convolving first vertically with blurring
kernel and then horizonally with differentiating kernel
- calculate length of the gradient vector
Particular care was needed with normalization of the blurring kernel and
with grey level offset of the differentiating one to prevent overflow of
rgb values from the [0.0,1.0] range in intermediate passes.
Now works on i915.
2014-03-15 18:36:40 +01:00
Filippo Argiolas
002f069962
[439/906] sobel: get rid of #version 120 dependent array constructors
2014-03-15 18:36:40 +01:00
Pierre Pouzol
f8871ff33a
[438/906] glfilterreflectedscreen: improve behavior and add some properties
...
Fixes bug #612163
2014-03-15 18:36:40 +01:00
Julien Isorce
7660fcbd30
[437/906] glfilterreflectedscreen: remove unused code (copied/pasted from glfilterglass)
2014-03-15 18:36:40 +01:00
Julien Isorce
28a11181c8
[436/906] gleffectssources: fix some warnings from msvc9
2014-03-15 18:36:40 +01:00
Julien Isorce
a1cd1cdc69
[435/906] GNUStep build: add glfilterreflectedscreen sources
2014-03-15 18:36:40 +01:00
Pierre Pouzol
8c9500e9d6
[434/906] glfilterreflectedscreen: forgot to add sources
2014-03-15 18:36:40 +01:00
Pierre Pouzol
59b9cc9ebd
[433/906] glfilterreflectedscreen: add new OpenGL Reflected Screen filter
...
Fixes bug #612163
2014-03-15 18:36:40 +01:00
Filippo Argiolas
0cae67172a
[430/906] convolution: save some indirection grouping math and sampling
...
Thanks to Eric Anholt I've finally understood (at least I hope) how to
count texture indirections and save up some. Texture sampling dependent
on the result of some math counts as an indirection phase. Grouped
texture lookups with no math involved count as a single indirection.
Math on the coordinates count as indirection.
So the best thing is to group all the math involving coordinates and
then do all the lookups.
This saves enough indirections to make glfilterblur and glow effect
work, albeit a bit slowly, on i915.
2014-03-15 18:36:39 +01:00
Filippo Argiolas
e7d083fcc0
[429/906] laplacian: remove unused norm_const and norm_offset uniforms
...
Remove unused uniforms from the laplacian filter. Also remove if
kernel[i] != 0 checks so that it compiles where IF is not available.
Again, big thanks to Eric Anholt for the hints.
2014-03-15 18:36:39 +01:00
Eric Anholt
2c905bda24
[428/906] laplacian: Avoid using GLSL 1.20 features in a non-#versioned shader.
...
Fixes compile on Mesa.
2014-03-15 18:36:39 +01:00
Filippo Argiolas
b59d050e84
[427/906] rgb_to_curve: save up a texture indirection
...
Apparently assigning gl_TexCoord to a temp count as an indirection.
Using it directly avoids it and limits indirections to four not
exceeding i915 limit. Now xpro effect works on i915.
2014-03-15 18:36:39 +01:00
Vinson Lee
f6b0a1db7b
[426/906] multiply: fix a compilation error with Apple compiler
...
Fix multiply_fragment_source to compile with Apple GLSL compiler.
https://bugzilla.gnome.org/show_bug.cgi?id=616748
2014-03-15 18:36:39 +01:00
Filippo Argiolas
7ee7688ae8
[425/906] twirl: get rid of polar coordinates conversion
...
Get rid of polar coordinates in the twirl effect. The same can be done
using a rotation matrix, saving alu instructions and, most of all,
avoiding the use of the evil atan() function (which uses IF operators).
Calculate rotation angle in a saner, understandable way.
Works on i915! (Hope it still works elsewhere too as I'm not able to
test at the moment)
2014-03-15 18:36:39 +01:00
Filippo Argiolas
797250d9c2
[424/906] tunnel: get rid of polar coordinates conversion
...
Get rid of polar coordinates in the tunnel effect as the same can easily
be done just clamping the radius and multiplying.
Remove the evil atan() call that uses branching and a lot of unneeded alu
instructions. Now works on i915!
2014-03-15 18:36:39 +01:00
Filippo Argiolas
98752e51da
[423/906] convolution: generate gaussian kernel on the fly
...
Generate a normalized gaussian kernel with given size and standard
deviation on the fly.
Remove "norm_const" uniform from convolution shaders and provide a
normalized kernel instead. Remove norm_offset uniform as it was always
zero, will reintroduce it if really needed in the future. Thanks to Eric
Anholt for suggesting it.
Save some ALU instruction calculating directly the coordinate for
texture lookup instead of summing an offset.
Still exceed maximum indirect texture lookups on i915, the only solution
I see is using a 3x3 kernel.
2014-03-15 18:36:39 +01:00
Filippo Argiolas
e602d818e3
[422/906] convolution: reduce the number of register used
...
Reduce the number of register calculating texture lookup offset on the
fly. It was just a simple sequence, no need to store it in a array.
Fixes maximum number of registers exceeded error with i915. Still
exceed maximum indirect texture lookups and maximum ALU instructions.
Maybe we should gave up some blur goodness and use lightly more little
kernels.
2014-03-15 18:36:39 +01:00
Filippo Argiolas
a3454365fc
[421/906] convolution: don't check kernel[i] to be non zero
...
Apparently saving up some texture lookup for zero kernel elements is
definitely not worth the use of branching. This way convolution
fragment programs also work where IF operator is not supported (tested
on i915 and nouveau). See also discussion on bug #615696 .
Thanks to Eric Anholt for spotting this.
2014-03-15 18:36:39 +01:00
Filippo Argiolas
f979b52e5c
[420/906] blur: use common shader sources
...
Port blur filter to use the common convolution shaders in
gstgleffectssources.c. This reduces code duplication and, incidentally,
the shaders in the common file were already updated to not use array
constructor and to not depend on #version 120.
First step towards bug #615696 fixing.
2014-03-15 18:36:39 +01:00
Filippo Argiolas
fe42e22e84
[419/906] blur: remove horizontal flip
...
Apparently there was some stale horizontal flip function still there
from my summer of code experiments. Remove it.
2014-03-15 18:36:39 +01:00
Filippo Argiolas
4ff22b2c67
[418/906] effects: disable gst-indent in the sources
...
Fix some crazy formatting caused by gst-indent previous runs and disable
the script for this file. The best would be to move shaders into
separate files and load them at runtime or hardcode them at compile
time.
2014-03-15 18:36:39 +01:00
Руслан Ижбулатов
e42b3eddbf
[417/906] glbumper: Use png_sig_cmp() instead of png_check_sig()
...
Fixes bug #613186
2014-03-15 18:36:39 +01:00
Tim-Philipp Müller
f82dd7d5e2
[416/906] gl: use gst_element_class_set_details_simple()
...
Fixes #613371 .
2014-03-15 18:36:39 +01:00
David Hoyt
9a49a81c22
[414/906] glbumper/gldifferencematte/gloverlay: libpng 1.4.x compatible
...
Fix bug #608643
2014-03-15 18:36:39 +01:00
Julien Isorce
8937128d62
[412/906] Cocoa backend: improve support on GNUStep
2014-03-15 18:36:38 +01:00
Julien Isorce
ba4ca3bced
[409/906] gleffects: indent and fix some warnings in ES 2.0 mode
2014-03-15 18:36:38 +01:00
Julien Isorce
e002f92e6d
[408/906] gleffects: start to make it compatible with OpenGL ES 2.0
...
For now only identity, mirror and squeeze effects are available.
Maybe some factorization is needed about compilation shader
before to put the other effects since only a copy/past is needed,
at least until effect number 9: heat.
The effects from 10:sepia to 15:glow require more work.
2014-03-15 18:36:38 +01:00
Julien Isorce
3e1bffc802
[406/906] glimagesink: add a client-data property
...
Also add it to glfilterapp.
Fixes #559131
2014-03-15 18:36:38 +01:00
Julien Isorce
dec44e571b
[404/906] glupload: repair external_opengl_context property
...
qglwtextureshare now works again. In this example,
the pipeline is src ! glupload ! fakesink.
So in this case the glupload element is a sink in
terms of gl chain.
But the problem is still there if the pipeline is
src ! glupload ! glfilter ! fakesink
(it's the case in sdlshare and cluttershare examples)
because since recent changes about how the gstgldisplay
is transmitted to the gl element, the context is usually
created by the sink in terms of gl chain.
A solution would be to also install this property on glfilter.
2014-03-15 18:36:38 +01:00
Julien Isorce
416a4c6161
[402/906] gloverlay: fix some warnings
2014-03-15 18:36:38 +01:00
Anthony Violo
a7a5c7ee8a
[401/906] gloverlay: Added rotate texture
...
fix #601277
2014-03-15 18:36:38 +01:00
Julien Isorce
0ba1945c57
[398/906] gldownload: do not forgot to create the gl context
...
fix #600630
2014-03-15 18:36:38 +01:00
Julien Isorce
621aabe378
[397/906] glmosaic: fix a comparison warning
2014-03-15 18:36:38 +01:00
Julien Isorce
12e0bff437
[396/906] gldifferencematte: fix some warnings from vc9
2014-03-15 18:36:38 +01:00
Filippo Argiolas
d02a585e7b
[395/906] differencematte: fix regressions from gdkpixbuf to libpng migration
...
The background image needs to be scaled to fit current texture size.
Previously this was done by gdk_pixbuf_scale_simple but that's been
removed.
Create a texture from the background pixbuf with correct dimensions and
use interpolation shader to scale it to the right size. Interpolation
fragment shader doesn't have too much sense if all the textures don't
have the same size so this seemed the most natural place to do the
scaling. It could probably be done with some custom texture mapping
outside the shader but it involved more code.
Fixes bug #599883 .
2014-03-15 18:36:37 +01:00
Julien Isorce
aeb793497d
[393/906] glmosaic: for now it's a cube mosaic
...
Also use GPtrArray instead of GArray in glmixer.
And add a pipeline to tests/pieplines
2014-03-15 18:36:37 +01:00
Julien Isorce
ea2962e44f
[392/906] glmosaic: desactivate shader when done
2014-03-15 18:36:37 +01:00
Julien Isorce
144427fe3e
[390/906] remove warnings from vs9
2014-03-15 18:36:37 +01:00
Julien Isorce
42720ef3ff
[388/906] just fix builds and indent
2014-03-15 18:36:37 +01:00
Julien Isorce
db7d436bd8
[387/906] glmixer: add a glmixer base element
...
glmixer can be seen as a glfilter except it handles N requested
sink pads.
Each sink pad and the src pad are video/x-raw-gl.
glmixer is responsible for managing different framerates from inputs.
It uses OpenGL context sharing. It means that each input is in its
own OpenGL context shared together and shared with the OpenGL context
of the ouput gl chain.
Also add a glmosaic which is an example of implementation of glmixer.
For now glmosaic is a cube but it will be fixed in the next commits.
For now the glmixer has some weird behaviours in some configurations
but it will be improved in the next commits.
The autotools builds is temporarly broken since those changes
have been made on win32.
2014-03-15 18:36:37 +01:00
Julien Isorce
65f4d40e6d
[385/906] rewrite the way a gstgldisplay is transmited to the gl elements
...
Before, a gstgldisplay was instancied by the gl src in terms of gl chain.
And then the next element got it through the first gstglbuffer.
Now, this is done though queries.
All glelements get their ref on a gstgldisplay in READY state.
This rewrite is mainly a first step to be able to share OpenGL context hold
by the gstgldisplay using more complex glelements.
For example, with a glvideomixer. The associated gstgldisplay of each gl chain
of the sink pads will share their OpenGL context.
2014-03-15 18:36:37 +01:00
Julien Isorce
3700180345
[382/906] ES2.0: remove warnings
...
Partially fix #593786
2014-03-15 18:36:37 +01:00
Anthony Violo
5fef0569f0
[380/906] gloverlay: can put video over png images
...
Fix bug #595303
2014-03-15 18:36:37 +01:00
Anthony Violo
5943045bf6
[379/906] gloverlay: add support to use RGB png images
...
Previously restricted to RGBA, now gloverlay can also handle a RGB image.
2014-03-15 18:36:37 +01:00
Stefan Kost
1cb459d4d5
[376/906] build: support openGLES on linux via autofoo. Partialy fixes #593786
...
Add a pkg-config check for opengl and if not found assume opengl-es. If user has
none of both one still get build error later on (there is no pkg-config for
opengl-es).
Add more files to EXTRA dist and build the opengles variant if selected.
Simmilar changes could be done for the winCE backend.
2014-03-15 18:36:36 +01:00
Anthony Violo
a86d07acca
[375/906] gloverlay: can control image size and position
...
Fix bug #591591
2014-03-15 18:36:36 +01:00
Christian Schaller
48bea6b3ea
[370/906] Add missing header file to Makefile.am and update spec file to actually be for this package
2014-03-15 18:36:36 +01:00
Stefan Kost
26bb5badb8
[367/906] docs: fix GstXvImageSInk -> GstGLImageSink and reindent
2014-03-15 18:36:36 +01:00
Tim-Philipp Müller
6516ecb3cc
[366/906] docs: make remaining elements show up in docs
...
Split out declarations into header files and hook everything up so
that five more elements show up in the plugin docs. Fixes #559135 .
2014-03-15 18:36:36 +01:00
Julien Isorce
579b74d845
[364/906] make the cmake build work on MacOSX
...
We can now generate a Xcode project (or Unix Makfiles),
see INSTALL file
2014-03-15 18:36:36 +01:00
Sebastian Dröge
6ce63cd366
[359/906] gl: Link with -lm and fix indention
2014-03-15 18:36:35 +01:00
Jan Schmidt
09a2e19512
[356/906] build: Fix typo: gstglbumber.h -> gstglbumper.h
2014-03-15 18:36:35 +01:00
Julien Isorce
56d656adf6
[355/906] same motion compensation
2014-03-15 18:36:35 +01:00
Julien Isorce
df4e712ca2
[354/906] fix and add gldeinterlace filter to the builds
2014-03-15 18:36:35 +01:00
julien
3eddae28a9
[353/906] add a gldeinterlace filter
...
Greedyh operation implemented using OpenGL Shading Language.
We could add other operations later.
Does some good results but still not as expected.
That's why I do not add it yet to the build.
2014-03-15 18:36:35 +01:00
Jan Schmidt
f5ac0a784d
[352/906] fix typo
...
Change GST_GL_DISPLAY_PROJECTION_PERSPECIVE to
GST_GL_DISPLAY_PROJECTION_PERSPECTIVE.
Re-indent a couple of files that needed it.
2014-03-15 18:36:35 +01:00
Julien Isorce
2680375248
[351/906] allow to switch xoverlay while being in paused state
2014-03-15 18:36:35 +01:00
Julien Isorce
6292d5af16
[349/906] can switch xoverlays while playing
...
Fixes bug #584877
Before this commit calling "gst_x_overlay_set_xwindow_id" more
than one time, had no effect.
It mainly affects the glimagesink implementation.
But on win32 (and CE), some stuff has to be done to
release the old parent.
And add a switchxoverlay example where the user
can click on left/right part of the main window to
switch the xoverlay.
2014-03-15 18:36:35 +01:00
LRN
47beeb1083
[348/906] Add gstvideo to glimagesink LIBADD. Fixes bug #584680
2014-03-15 18:36:35 +01:00
Julien Isorce
911cf141c4
[334/906] [win32/winCE] fix some pointer cast warnings with mingw
...
And turn off deprecated Wp64 msvc compiler option.
2014-03-15 18:36:34 +01:00
Julien Isorce
bcc33ab716
[333/906] add force-aspect-ratio support
2014-03-15 18:36:34 +01:00
Julien Isorce
f735c06c4a
[331/906] indent and fix some compiler warnings
2014-03-15 18:36:34 +01:00
Julien Isorce
87a1652216
[330/906] Can now share textures with an external gl context
...
The external opengl context must be specify when creating
our OpenGL context (glx) or just after (wgl).
When calling glXCreateContext or wglShareLists, the
external opengl context must not be current.
Then our gl context can be current in the gl thread while
the external gl context is current in an other thread.
See tests/examples/clutter/cluttershare.c
2014-03-15 18:36:34 +01:00
Julien Isorce
ec0bb66fe9
[321/906] add OpenGL ES 2.x support.
...
In OpenGL 2.x for Embedded System, a lot of basic scene/draw functions
have been removed. It means that everything is made using vertex and
fragment shaders.
I have also added a gstglwindow backend for winCE that uses EGL
(Native Platform Graphics Intercace) (which is a full part of
OpenGL ES specification). It remove the use of wgl/glx functions.
2014-03-15 18:36:33 +01:00
Julien Isorce
9584a5ddfd
[318/906] rename GNUmakefile(s) to GNUmakefile(s).gnustep
2014-03-15 18:36:33 +01:00
Julien Isorce
49c903d156
[317/906] implement gstglwindow for Cocoa (MacOS and GNUstep)
2014-03-15 18:36:33 +01:00
Julien Isorce
51ee1f5976
[316/906] remove some unused HAVE_LIBPNG: libpng is a required package
2014-03-15 18:36:33 +01:00
Julien Isorce
b2143adee3
[315/906] add GNUstep build
2014-03-15 18:36:33 +01:00
Stefan Kost
8af0cb09f8
[313/906] indent: don't use tabs inside property descriptions
2014-03-15 18:36:33 +01:00
Stefan Kost
aea83171e2
[312/906] build: include stdlib.h when using free().
2014-03-15 18:36:33 +01:00
Sebastian Dröge
c6ad604c8c
[311/906] Cast GstBuffer subclasses to GstBuffer * before passing to gst_buffer_unref()
2014-03-15 18:36:33 +01:00
David Schleef
d015d5862d
[310/906] Global reindent
...
Indent parameters:
INDENT_PARAMETERS="--braces-on-if-line \
--case-brace-indentation0 \
--case-indentation2 \
--braces-after-struct-decl-line \
--line-length80 \
--no-tabs \
--cuddle-else \
--dont-line-up-parentheses \
--honour-newlines \
--continuation-indentation4 \
--tab-size8 \
--indent-level2"
2014-03-15 18:36:33 +01:00
David Schleef
4778241500
[308/906] Rename glpixbufoverlay to gloverlay
2014-03-15 18:36:32 +01:00
David Schleef
72691ce147
[307/906] Remove conditionals on gdkpixbuf
2014-03-15 18:36:32 +01:00
Julien Isorce
4d4e3ad4f9
[306/906] fix CMake build and frozen CodeBlocks build
2014-03-15 18:36:32 +01:00
Julien Isorce
e17c93723f
[305/906] CMake build now checks for libpng
2014-03-15 18:36:32 +01:00
Julien Isorce
92e733dce0
[304/906] only load RGBA files.png
2014-03-15 18:36:32 +01:00
David Schleef
b6735ace5d
[303/906] Add libpng dependency
2014-03-15 18:36:32 +01:00
David Schleef
ed2be67ba8
[302/906] Fix some warnings
2014-03-15 18:36:32 +01:00
Julien Isorce
994a25ca7e
[301/906] depends on libpng instead of gdk_pixbuf
2014-03-15 18:36:32 +01:00
Julien Isorce
1f89d69c74
[300/906] use libpng in glpixbufoverlay filter.
2014-03-15 18:36:32 +01:00
Julien Isorce
3b9456e384
[299/906] use libpng to load the normal map instead of using gdkpixbuf
2014-03-15 18:36:32 +01:00
David Schleef
43e574aa8f
[298/906] Revert "Fix indention"
...
This reverts commit 96e4ab18c2cf9876f6c031b9aba6282d0bd45a93.
You should have asked first. And you would have been told "no",
because it causes people on development branches to do a huge
amount of extra work.
2014-03-15 18:36:32 +01:00
Sebastian Dröge
369b1d4ff2
[295/906] Fix indention
2014-03-15 18:36:32 +01:00
Julien Isorce
8997a6e82b
[293/906] minimal gtk doc
2014-03-15 18:36:32 +01:00
David Schleef
f64da834ab
[292/906] Add 'extern' for data symbols in headers
2014-03-15 18:36:31 +01:00
David Schleef
e4b26b46fd
[289/906] build fixes for Windows libraries
2014-03-15 18:36:31 +01:00
Julien Isorce
4b53383385
[285/906] fix gl framerate in gst caps. Consider position in xoverlay. Fix inversion bettween COLS and ROWS, and move windows.
2014-03-15 18:36:31 +01:00
Julien Isorce
c8c7f8733b
[280/906] Remove set_visible, because it's now automatically done when the first post redisplay comes.
2014-03-15 18:36:31 +01:00
Julien Isorce
94f74d4b50
[273/906] add some debug outputs about Visual and XVisualInfo
2014-03-15 18:36:30 +01:00
Julien Isorce
747e2cf0de
[264/906] Rewrite gstglwindow_x11.c because X API is not thread safe.
2014-03-15 18:36:30 +01:00
Julien Isorce
d404163d79
[262/906] Works on linux but still some bugs. Fix autotools build.
2014-03-15 18:36:30 +01:00
Julien Isorce
cfd7f1be38
[257/906] begin gstglwindow_x11.c implementation
2014-03-15 18:36:29 +01:00
Julien Isorce
f4bfade861
[253/906] win32: re-implement supports for gst xoverlay interface, on this branch
2014-03-15 18:36:29 +01:00
Julien Isorce
2c9bb405a0
[251/906] Properly clean OpenGL contexts
2014-03-15 18:36:29 +01:00
Julien Isorce
25af2c116e
[248/906] fix msvc warnings and update CMake build, win32 CodeBlocks build and vs8 build
2014-03-15 18:36:29 +01:00
Filippo Argiolas
0ac54fdc55
[247/906] Import xray effect
...
Add xray effect. Maps luma to a negative, slightly cyan tinted, curve,
applies some light gaussian blur and multiplies it with its sobel edges. Not
sure about the name, likely to change. Probably still needs some tuning.
2014-03-15 18:36:29 +01:00
Filippo Argiolas
5f8cc769b7
[246/906] Add multiply fragment shader
...
Add a fragment shader to blend two textures with multiply blend mode
2014-03-15 18:36:29 +01:00
Filippo Argiolas
a729d080f4
[245/906] Add invert property to sobel filter
...
Add an invert property to sobel_fragment_source and Sobel filter. Useful
to have dark edges with white background.
2014-03-15 18:36:29 +01:00
Filippo Argiolas
b9cd64e83c
[244/906] Make luma_to_curve non-static
...
Make luma_to_curve public so that it can be used as a step for more
complex effects.
2014-03-15 18:36:29 +01:00
Julien Isorce
9771af8624
[241/906] fix CMake build
2014-03-15 18:36:29 +01:00
Stefan Kost
b81469f93e
[240/906] Build gtk-docs for plugins.
...
Add include to otherwise empty .types file to fix the scanner build.
Edit Makefile.am, .sections, -docs.sgml to scan all plugins and include
them in the master file. Fix xml errors in two sources (missing closing
tag).
2014-03-15 18:36:28 +01:00
Julien Isorce
1a7d45a789
[239/906] start to write the gtk doc
2014-03-15 18:36:28 +01:00
Julien Isorce
49455136b7
[238/906] fix glfilterglass (reason: videotestsrc rgb is by default bpp=32, depth=24, so alpha channel is 0)
2014-03-15 18:36:28 +01:00
Julien Isorce
6a7ce4eee8
[237/906] update cmake build and the 2 frozen win32 builds (CodeBlocks, vs8)
2014-03-15 18:36:28 +01:00
Filippo Argiolas
a80fecd888
[236/906] import sobel edge detector from cvs branch
2014-03-15 18:36:28 +01:00
Julien Isorce
8a2d3e3874
[235/906] can use several G_LOG_DOMAINs and GST_CATegories, with msvc8
2014-03-15 18:36:28 +01:00
Filippo Argiolas
934797f86c
[234/906] use right blending function with pixbuf overlay
2014-03-15 18:36:28 +01:00
Filippo Argiolas
3f3c0e298f
[232/906] use texture1 for curve textures
2014-03-15 18:36:28 +01:00
Julien Isorce
d2cc6f2226
[231/906] Add a glfilterglass inspired from http://www.mdk.org.pl/2007/11/17/gl-colorspace-conversions
2014-03-15 18:36:28 +01:00
Julien Isorce
0f4bae01c3
[229/906] update authors from the CVS repository
2014-03-15 18:36:28 +01:00
Filippo Argiolas
43e92c4a3f
[227/906] explicitly bind the main texture and the curve one to separate units in rgb and luma to curve effects. This should solve the issue pointed in TODO item 21.
2014-03-15 18:36:28 +01:00
Julien Isorce
72b90292eb
[222/906] Finish TODO task 17
2014-03-15 18:36:27 +01:00
Julien Isorce
597fe26a1e
[219/906] Use a gst debug category for GstGLDisplay instead of g_print, gst-launch-0.10 --gst-debug=gldisplay:3 videotestsrc ! glimagesink
2014-03-15 18:36:27 +01:00
Julien
a38424f3be
[218/906] The CMake build now works on my Kubuntu-KDE4.1.1
2014-03-15 18:36:27 +01:00
Julien Isorce
fde783262f
[217/906] Add cmake build http://www.cmake.org . See CMake install instructions in the INSTALL file. (I have not correctly configured yet the CMake build for unix, BE patient)
2014-03-15 18:36:27 +01:00
Julien
66464c279d
[216/906] fix glbumper related gtk dependencies
2014-03-15 18:36:27 +01:00
Julien Isorce
be8d0806d8
[215/906] glbumper is compiled only when having GdkPixBuf. And update win32 codeblocks build
2014-03-15 18:36:27 +01:00
julien User
690b684d93
[214/906] update codeblocks build on linux and fix a warning
2014-03-15 18:36:27 +01:00
Julien Isorce
9df01a59ae
[213/906] forgot to add the bumper files
2014-03-15 18:36:27 +01:00
Julien Isorce
10853e1c2f
[212/906] add a glbumper (bump mapping filter through GLSL) that exposes how to use both vertex and fragment shaders
2014-03-15 18:36:27 +01:00
unknown
c8fb510e4f
[206/906] Do not use frame buffer object when "input video is RGB" or when "GLSL is not available and YCbCr is available". So frame buffer object is not a plugin requirement anymore. So I decreased the OpengGL version from 1.4 to 1.2 (maybe less?)
2014-03-15 18:36:27 +01:00
Filippo Argiolas
7c2662d7e9
[203/906] use opengl for pixbuf resizing in glpixbufoverlay, start to work on properties
2014-03-15 18:36:26 +01:00
Filippo Argiolas
52a7e2dc6b
[202/906] use fixed opengl pipeline for glpixbufoverlay (any drawback?)
2014-03-15 18:36:26 +01:00
Julien Isorce
352f0d4180
[198/906] add fxtest vs8 project
2014-03-15 18:36:26 +01:00
Julien Isorce
631a06c6ab
[197/906] Shaders which are in the shaderstable are now released
2014-03-15 18:36:26 +01:00
Filippo Argiolas
e25a8f27db
[196/906] fix a differencematte memory issue
2014-03-15 18:36:26 +01:00
Filippo Argiolas
5425839342
[195/906] fix gstgldifferencematte and add an example app to test it dragging an image over the video (works with pixbufoverlay too, see pixbufdrop --help)
2014-03-15 18:36:26 +01:00
Filippo Argiolas
745a078f7f
[194/906] another typo, restore old twirl fragment source
2014-03-15 18:36:26 +01:00
Filippo Argiolas
4c907f53be
[193/906] fix typos
2014-03-15 18:36:26 +01:00
Filippo Argiolas
8024aa7483
[192/906] complete differencematte filter.. I did it quickly, probably still needs some work
2014-03-15 18:36:26 +01:00
Filippo Argiolas
3faa943819
[191/906] little cleanup. add first draft of gstgldifferencematte. still doesn't work
2014-03-15 18:36:26 +01:00
Julien Isorce
b770c7cd04
[190/906] force calling glimagesink->stop() when going from PAUSED to READY
2014-03-15 18:36:26 +01:00
unknown
f8f81eae40
[189/906] update vs8 build and fix some warnings that comes from vc8
2014-03-15 18:36:26 +01:00
Filippo Argiolas
72f6eb52dc
[188/906] add first draft of a pixbuf overlay element. add macros to optionally build the latter if gdk-pixbuf is found
2014-03-15 18:36:26 +01:00
Filippo Argiolas
30ab0747cc
[184/906] add a couple of macros to autotools to compile with uintrepid automake. remove array constructor so we don't have to depend on glsl #version 120.
2014-03-15 18:36:25 +01:00
Filippo Argiolas
fcb1d8a62f
[182/906] add a better sepia toning curve
2014-03-15 18:36:25 +01:00
Filippo Argiolas
2e43b533ea
[181/906] add a translatable string to testsrc to get rid of po dir errors after distclean and git clean
2014-03-15 18:36:25 +01:00
Filippo Argiolas
91006dae09
[179/906] distortion effect cleanup
2014-03-15 18:36:25 +01:00
Filippo Argiolas
0a4aa6ecc3
[177/906] fix gleffects memory issue (init resources on start and reset them on stop)
2014-03-15 18:36:25 +01:00
Filippo Argiolas
35b7b488f3
[176/906] fix a typo
2014-03-15 18:36:25 +01:00
Filippo Argiolas
85502ef8cd
[175/906] add sin effect (desaturate everything but red shades). still needs some tuning.
2014-03-15 18:36:25 +01:00
Filippo Argiolas
7364319bfd
[174/906] add a property to gleffects to switch video left to right, useful with webcams to resemble a mirror
2014-03-15 18:36:25 +01:00
Filippo Argiolas
5db4fa5f1e
[173/906] add lumaxpro (desaturate + cross process) effect. nothing too impressive but I like it.
2014-03-15 18:36:25 +01:00
Filippo Argiolas
fad976d7b7
[171/906] import fxtest (little gtk app to easily test effects) from cvs branch, fixed rgbtocurve.
2014-03-15 18:36:25 +01:00
Julien Isorce
6e0a1b201f
[170/906] update codeblocks build
2014-03-15 18:36:25 +01:00
Filippo Argiolas
c87eb37c32
[169/906] import remaining distortion effects from cvs branch (fisheye, twirl, bulge, tunnel, square)
2014-03-15 18:36:25 +01:00
Filippo Argiolas
c780339c92
[168/906] cleanup curves header
2014-03-15 18:36:24 +01:00
Filippo Argiolas
226fe2bffa
[167/906] better cross processing curve
2014-03-15 18:36:24 +01:00
Filippo Argiolas
5b1f62a079
[166/906] add rgb_to_luma_fragment source and correspondent effect. use the latter for a cross processing effect.
2014-03-15 18:36:24 +01:00
Filippo Argiolas
e009d7b400
[165/906] import luma_to_curve effects (Sepia, Heat) from cvs branch with better texture memory handling (teximage curves only once). Sepia curve still needs some love.
2014-03-15 18:36:24 +01:00
Filippo Argiolas
c5bd6fdbc5
[164/906] rename blend_fragment_source to sum_fragment_source and add uniform blending parameters
2014-03-15 18:36:24 +01:00
Filippo Argiolas
aa7e3867ac
[163/906] import glow effect (maybe the most tricky) from cvs branch
2014-03-15 18:36:24 +01:00
Filippo Argiolas
e8d27cadf7
[162/906] import stretch effect from cvs
2014-03-15 18:36:24 +01:00
Filippo Argiolas
ebde5b5501
[161/906] import squeeze effect from cvs
2014-03-15 18:36:24 +01:00
Filippo Argiolas
962e4cd8a1
[160/906] forgot to add a file
2014-03-15 18:36:24 +01:00
Filippo Argiolas
77fc214670
[159/906] still some source tree reorganize, fixed some issue with headers and ifdefs, moved identity into effects dir
2014-03-15 18:36:24 +01:00
Filippo Argiolas
7bbdcce721
[158/906] still working on mergin gstgleffects, add mirror effect. reorganize source tree.
2014-03-15 18:36:24 +01:00
Julien Isorce
fd192ec957
[157/906] move thread_do_upload_make from thread_do_upload to thread_init_upload
2014-03-15 18:36:24 +01:00
Julien Isorce
d0203c1172
[156/906] fix a crash that could happens when using at least 2 gl context and when closing a window on linux
2014-03-15 18:36:24 +01:00
Julien Isorce
8e8a9b8fd5
[155/906] fix some errors and check all the pipelines listed in tests/pipelines
2014-03-15 18:36:24 +01:00
Filippo Argiolas
4fc5dab530
[154/906] added first skeleton of gstgleffects, imported basic stuff from cvs branch.
2014-03-15 18:36:24 +01:00
Filippo Argiolas
a595635904
[153/906] Try to genereate textures within gstglfilterblur to see if the new thread_use_fbo works both with textures from the pool and custom ones
2014-03-15 18:36:24 +01:00
Julien Isorce
11f620a96a
[151/906] ISO C90
2014-03-15 18:36:24 +01:00
Julien Isorce
c0f13fd869
[150/906] glTexImage2D(w, h, NULL) is now called only one time (mem alloc)
2014-03-15 18:36:23 +01:00
Julien Isorce
f27aef15b7
[147/906] oups forgot to add 2 files to the previous commit
2014-03-15 18:36:23 +01:00
Julien Isorce
d6ef47cd9c
[146/906] remove filteredge
2014-03-15 18:36:23 +01:00
Julien Isorce
26564461f0
[145/906] gen/del the middle texture only one time in the gstglfilterblur
2014-03-15 18:36:23 +01:00
Filippo Argiolas
fadb69b0aa
[144/906] remove gstglfilterblur.h, it's easier to have everything in the same file
2014-03-15 18:36:23 +01:00