summaryrefslogtreecommitdiff
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
...
* androidmedia: Flush the queue when the source is stoppedYouness Alaoui2016-01-211-3/+4
|
* androidmedia: Allocate/free texture when camera is open/closedYouness Alaoui2016-01-211-5/+5
|
* androidmedia: add a gst_ahc_src_close functionYouness Alaoui2016-01-211-6/+13
|
* androidmedia: Fix small indentation issuesYouness Alaoui2016-01-211-4/+5
|
* androidmedia: Disable plugin if android-sdk isn't found and dynamically ↵Youness Alaoui2016-01-211-2/+3
| | | | search for platform version
* androidcamera: Add support for using DexLoader with Embeded GstAhcCallback.jarYouness Alaoui2016-01-214-6/+193
|
* androidcamera: Fix compilation issuesYouness Alaoui2016-01-213-22/+33
|
* Remove previous cruft and create androidcamera pluginYouness Alaoui2016-01-212-63/+20
|
* Free the buffers and readd the arrays when the queue is clearedYouness Alaoui2016-01-211-1/+2
|
* Add a GST_DVM_CALL macro to ease function calling with exception checkYouness Alaoui2016-01-214-234/+107
|
* Calculate timestamp at reception of the buffer, not when pushing it outYouness Alaoui2016-01-212-6/+22
|
* Make the number of callback buffers configurable, and delete their local refYouness Alaoui2016-01-211-6/+10
|
* Use GstDataQueue instead of GAsyncQueue for storing buffersYouness Alaoui2016-01-212-50/+74
|
* Use the buffer's free_func to map byteArray data without making a copyYouness Alaoui2016-01-211-6/+34
|
* Remove open failure test code and debug logYouness Alaoui2016-01-211-3/+1
|
* Use YV12 as the default formatYouness Alaoui2016-01-211-3/+3
|
* Add a deinit function and remove jclass references in case of errorYouness Alaoui2016-01-217-22/+121
|
* SurfaceTexture constructure needs texture_idYouness Alaoui2016-01-211-1/+1
|
* Add ahcsrc Camera source element prototypeYouness Alaoui2016-01-214-5/+499
|
* Add android.hardware.Camera (and deps) JNI wrappersYouness Alaoui2016-01-217-2/+1411
|
* Adding Dalvik Virtual Machine routines and macrosYouness Alaoui2016-01-213-2/+266
|
* androidmedia: Add androidmedia pluginYouness Alaoui2016-01-212-0/+123
|
* applemedia: vtenc: fix build on iOSAlessandro Decina2016-01-191-2/+1
|
* applemedia: always fill GstBuffers with GstMemoryAlessandro Decina2016-01-1910-91/+56
| | | | | Always fill buffers with our custom memory. The custom memory will avoid mapping CV/CM buffers unless necessary.
* applemedia: implement copying of metaIlya Konstantinov2016-01-192-19/+77
| | | | | | | Before this, buffers would lose their Core Video / Core Media meta over intervideo* boundary. https://bugzilla.gnome.org/show_bug.cgi?id=747216
* applemedia: implement GstAppleCoreVideoMemoryIlya Konstantinov2016-01-197-120/+652
| | | | | | | | | | | | | | | | | | | | | | Implement a new memory type wrapping CVPixelBuffer. There are two immediate advantages: a) Make the GstMemory itself retain the CVPixelBuffer. Previously, the containing GstBuffer was solely responsible for the lifetime of the backing CVPixelBuffer. With this change, we remove the GST_MEMORY_FLAG_NO_SHARE so that GstMemory objects be referenced by multiple GstBuffers (doing away with the need to copy.) b) Delay locking CVPixelBuffer into CPU memory until it's actually mapped -- possibly never. The CVPixelBuffer object is shared among references, shares and (in planar formats) planes, so a wrapper GstAppleCoreVideoPixelBuffer structure was introduced to manage locking. https://bugzilla.gnome.org/show_bug.cgi?id=747216
* applemedia: iosurfacememory: alloc with g_new0Alessandro Decina2016-01-191-1/+1
| | | | ...since the base class doesn't use g_slice anymore
* shmsink: fix possible deadlock in _render()/ _allocator_free()Matt Crane2016-01-161-1/+1
| | | | | | | | Drop object lock before unrefing memory, otherwise the object lock might be taken again from the allocator and then things deadlock. https://bugzilla.gnome.org/show_bug.cgi?id=760551
* nvenc: update for recent GL api changesMatthew Waters2016-01-121-17/+20
| | | | Specifically the GstGLMemoryPBO addition (which was the unadorned GstGLMemory).
* applemedia: avfvideosrc: optionally get the GL context from ↵Alessandro Decina2016-01-121-3/+29
| | | | | | | gst_element_set_context Allow setting the GL context with gst_element_set_context. When available, the local context obtained via the context query still has the precedence.
* applemedia: iosurfacememory: remove NO_SHARE flagAlessandro Decina2016-01-121-1/+0
| | | | | The full memory can be safely shared. Sharing a sub region can't be done and will fail in the base allocator, triggering a copy.
* applemedia: avfvideosrc: enable renegotiationAlessandro Decina2016-01-061-17/+3
| | | | We can actually renegotiate now, so remove old check which disabled it.
* applemedia: avfvideosrc: small negotiation fixAlessandro Decina2016-01-061-0/+7
| | | | Fix negotiation when GLMemory is requested but a context is not available
* applemedia: vtenc: accept UYVY on MacAlessandro Decina2016-01-061-0/+8
| | | | | | When doing GLMemory avfvideosrc negotiates UYVY. This change allows avfvideosrc ! tee name=t ! ... ! glimagesink t. ! ... ! gldownload ! vtenc_h264 ! ... to do GLMemory and 0-copy with the encoder (with the CV meta).
* applemedia: avfvideosrc: change texture format from BGRA to NV12 on iOSAlessandro Decina2016-01-061-2/+2
| | | | | | | | | | | | | Change texture format from BGRA to NV12. This allows a pipeline like avfvideosrc ! tee name=t ! ... ! glimagesink t. ! ... ! gldownload ! vtenc_h264 ! ... to negotiate GLMemory. This makes the glimagesink branch much faster (obviously) and triggers the 0-copy path between avfvideosrc and vtenc (using the CV meta). Combined this results in a huge perf improvement on iOS (25-30% of CPU time in a pipeline like the one above). Note that this doesn't introduce a new shader conversion in the sink, since BGRA textures had to be copied/converted from format=BGRA,texture-target=RECTANGLE to format=RGBA,texture-target=2D anyway.
* applemedia: avfvideosrc: output at highest fps/resolution by defaultAlessandro Decina2015-12-291-0/+8
| | | | | | Fixate to the highest possible resolution and fps. Otherwise by default we end up fixating at 2fps and the lowest supported resolution, which is hardly what someone who bought an overpriced smartphone wants.
* nvenc: fix high CPU use on initialization of multiple encoders at the same timeMatthew Marsh2015-12-221-0/+12
| | | | | | | | We need a static lock to protect various NVENC methods in _set_format(). Without this the CPU use increases dramatically on initialisation of the element when there are multiple elements being initialised at the same time. https://bugzilla.gnome.org/show_bug.cgi?id=759742
* decklinkvideosink: Made "auto" mode work according to capsVivia Nikolaidou2015-12-184-5/+36
| | | | | | | | | | | | | | When the mode of decklinkvideosink is set to "auto", the sink claims to support the full set of caps that it can support for all modes. Then, every time new caps are set, the sink will automatically find the correct mode for these caps and set it. Caveat: We have no way to know whether a specific mode will actually work for your hardware. Therefore, if you try sending 4K video to a 1080 screen, it will silently fail, we have no way to know that in advance. Manually setting that mode at least gave the user a way to double-check what they are doing. https://bugzilla.gnome.org/show_bug.cgi?id=759600
* directsoundsrc: add device property as it is done in directsoundsinkThomas Roos2015-12-182-8/+85
| | | | | | | This allows selection of the device by GUID instead of the name. The name is user-given and multiple devices can have the same name. https://bugzilla.gnome.org/show_bug.cgi?id=759484
* directsoundsrc: Convert header from (some) DOS line endings to UNIXSebastian Dröge2015-12-181-111/+111
| | | | | A mix between different line endings in the same file is not a good idea, and the .c files are both with UNIX line endings so let's use that.
* applemedia: set -mmacosx-version-min to 10.8Julien Isorce2015-12-181-1/+9
| | | | | | | | | | Otherwise qtkitvideosrc fails to build on OSX 10.10.4 because QTKit has been deprecated since OS X 10.9. Also set -mmacosx-version-min=10.8 in front to allow the user or cerbero to override the version. https://bugzilla.gnome.org/show_bug.cgi?id=745564
* glmemory: add gst_gl_memory_allocator_get_defaultAlessandro Decina2015-12-181-1/+1
| | | | | | | | Add gst_gl_memory_allocator_get_default to get the default allocator based on the opengl version. Allows us to stop hardcoding the PBO allocator which isn't supported on gles2. Fixes GL upload on iOS9 among other things.
* gl*memory*: reverse the parameter order of user_data and destroy notifyMatthew Waters2015-12-172-7/+7
| | | | The convention is to have the destroy notify last after any user data
* applemedia: fix build on iOSAlessandro Decina2015-12-171-7/+9
| | | | Fix build after 779dc3132c8f6dd560cb07cc2e2c3c72aeaa7845
* applemedia: avfvideosrc: do fixateAlessandro Decina2015-12-171-1/+4
|
* glmemorypbo: remove our own alloc()/wrapped()/etc functionsMatthew Waters2015-12-171-17/+30
| | | | replaced by equivalent functionality within gst_gl_base_memory_alloc()
* glmemory: implement GstGLBaseMemory::allocMatthew Waters2015-12-171-4/+16
| | | | | | - Create GstGLVideoAllocationParams which is a GstGLAllocationParams subclass. - Make it possible to allocate glmemory objects directly if no frills are needed.
* applemedia: Link to IOSurface.framework for the IOSurface APISebastian Dröge2015-12-161-1/+1
|
* applemedia: Link to IOKit.framework for IOSurface related functionsSebastian Dröge2015-12-161-1/+2
|
* applemedia: vtdec: fix texture-target on iOSAlessandro Decina2015-12-161-2/+6
|