platform/upstream/gstreamer.git
11 years agomfc: Don't reconfigure if we get compatible caps
Sebastian Dröge [Mon, 31 Dec 2012 11:42:31 +0000 (12:42 +0100)]
mfc: Don't reconfigure if we get compatible caps

11 years agomfc: Only create the MFC context in ::set_format()
Sebastian Dröge [Mon, 31 Dec 2012 11:33:53 +0000 (12:33 +0100)]
mfc: Only create the MFC context in ::set_format()

11 years agomfc: Recreate fimc context if settings change
Sebastian Dröge [Mon, 31 Dec 2012 10:56:51 +0000 (11:56 +0100)]
mfc: Recreate fimc context if settings change

11 years agomfc: Some refactoring
Sebastian Dröge [Mon, 31 Dec 2012 10:02:48 +0000 (11:02 +0100)]
mfc: Some refactoring

11 years agomfc: Do zerocopy if we get EGLImage buffers
Sebastian Dröge [Mon, 31 Dec 2012 08:47:01 +0000 (09:47 +0100)]
mfc: Do zerocopy if we get EGLImage buffers

11 years agomfc: Some minor fixes
Sebastian Dröge [Sun, 30 Dec 2012 15:45:31 +0000 (16:45 +0100)]
mfc: Some minor fixes

11 years agomfc: Fix double-unmap of the codec data
Sebastian Dröge [Wed, 26 Dec 2012 12:30:23 +0000 (13:30 +0100)]
mfc: Fix double-unmap of the codec data

11 years agomfc: Pass codec_data to the codec if there's some
Sebastian Dröge [Wed, 26 Dec 2012 12:27:50 +0000 (13:27 +0100)]
mfc: Pass codec_data to the codec if there's some

11 years agomfc: Refactor fimc code a bit
Sebastian Dröge [Wed, 26 Dec 2012 12:18:09 +0000 (13:18 +0100)]
mfc: Refactor fimc code a bit

11 years agomfc: Downgrade an error to debug output
Sebastian Dröge [Wed, 26 Dec 2012 11:38:32 +0000 (12:38 +0100)]
mfc: Downgrade an error to debug output

11 years agomfc: Some fimc cleanup
Sebastian Dröge [Wed, 26 Dec 2012 10:51:46 +0000 (11:51 +0100)]
mfc: Some fimc cleanup

11 years agomfc: Add profile/level and width/height constraints
Sebastian Dröge [Wed, 26 Dec 2012 08:56:23 +0000 (09:56 +0100)]
mfc: Add profile/level and width/height constraints

11 years agomfc: Don't leak buffers when setting new dest settings for a direct buffer
Sebastian Dröge [Mon, 24 Dec 2012 15:23:55 +0000 (16:23 +0100)]
mfc: Don't leak buffers when setting new dest settings for a direct buffer

11 years agomfc: Add initial MPEG4 support
Sebastian Dröge [Mon, 24 Dec 2012 15:02:45 +0000 (16:02 +0100)]
mfc: Add initial MPEG4 support

11 years agomfc: Add some more debug output
Sebastian Dröge [Mon, 24 Dec 2012 14:44:54 +0000 (15:44 +0100)]
mfc: Add some more debug output

11 years agomfc: Implement tracking of frames using the v4l2_buffer timestamp
Sebastian Dröge [Mon, 24 Dec 2012 14:34:49 +0000 (15:34 +0100)]
mfc: Implement tracking of frames using the v4l2_buffer timestamp

11 years agomfc: Reset some more variables on ::reset()
Sebastian Dröge [Mon, 24 Dec 2012 13:48:25 +0000 (14:48 +0100)]
mfc: Reset some more variables on ::reset()

11 years agomfc: Also add support for YV12
Sebastian Dröge [Mon, 24 Dec 2012 13:36:34 +0000 (14:36 +0100)]
mfc: Also add support for YV12

11 years agomfc: Add support for video meta
Sebastian Dröge [Mon, 24 Dec 2012 12:41:08 +0000 (13:41 +0100)]
mfc: Add support for video meta

11 years agomfc: Implement negotiation to NV12 or I420 based on downstream caps
Sebastian Dröge [Mon, 24 Dec 2012 12:39:36 +0000 (13:39 +0100)]
mfc: Implement negotiation to NV12 or I420 based on downstream caps

11 years agomfc: Workaround for wrongly reported strides by FIMC
Sebastian Dröge [Mon, 24 Dec 2012 11:31:09 +0000 (12:31 +0100)]
mfc: Workaround for wrongly reported strides by FIMC

11 years agomfc: Add proper support for MFC decoder strides
Sebastian Dröge [Mon, 24 Dec 2012 11:18:23 +0000 (12:18 +0100)]
mfc: Add proper support for MFC decoder strides

11 years agomfc: Try with I420 for now, it's easier to debug
Sebastian Dröge [Mon, 24 Dec 2012 11:10:24 +0000 (12:10 +0100)]
mfc: Try with I420 for now, it's easier to debug

11 years agomfc: Add some more debug output
Sebastian Dröge [Mon, 24 Dec 2012 10:57:43 +0000 (11:57 +0100)]
mfc: Add some more debug output

11 years agomfc: Don't require stride to be set on src parameters
Sebastian Dröge [Mon, 24 Dec 2012 10:54:47 +0000 (11:54 +0100)]
mfc: Don't require stride to be set on src parameters

11 years agomfc: The mfc decoder library is dual licensed too
Sebastian Dröge [Mon, 24 Dec 2012 10:49:42 +0000 (11:49 +0100)]
mfc: The mfc decoder library is dual licensed too

Apache License 2.0 and LGPL2+

11 years agomfc: Use CAMIF/FIMC for hardware color format conversion and de-tiling
Sebastian Dröge [Sun, 23 Dec 2012 11:25:06 +0000 (12:25 +0100)]
mfc: Use CAMIF/FIMC for hardware color format conversion and de-tiling

11 years agomfc: Only unref the outbuf if it doesn't belong to the frame
Sebastian Dröge [Sun, 23 Dec 2012 12:46:07 +0000 (13:46 +0100)]
mfc: Only unref the outbuf if it doesn't belong to the frame

11 years agomfc: Port to GStreamer 1.0
Sebastian Dröge [Sun, 23 Dec 2012 11:04:48 +0000 (12:04 +0100)]
mfc: Port to GStreamer 1.0

11 years agomfc: Add initial decoder element implementation
Sebastian Dröge [Sun, 23 Dec 2012 10:47:50 +0000 (11:47 +0100)]
mfc: Add initial decoder element implementation

This does not copy the output to any output buffers yet.
Other than that should be basically functional already.

11 years agomfc: Add plugin and decoder skeleton
Sebastian Dröge [Sun, 23 Dec 2012 09:23:16 +0000 (10:23 +0100)]
mfc: Add plugin and decoder skeleton

11 years agomfc: Make mfc_decoder library compile and fix some compiler warnings
Sebastian Dröge [Sun, 23 Dec 2012 09:05:49 +0000 (10:05 +0100)]
mfc: Make mfc_decoder library compile and fix some compiler warnings

11 years agomfc: Add mfc_decoder library from FXI
Sebastian Dröge [Sun, 23 Dec 2012 08:56:03 +0000 (09:56 +0100)]
mfc: Add mfc_decoder library from FXI

11 years agoeglglessink: Downgrade a GST_ERROR to a GST_DEBUG
Sebastian Dröge [Mon, 31 Dec 2012 10:38:23 +0000 (11:38 +0100)]
eglglessink: Downgrade a GST_ERROR to a GST_DEBUG

11 years agoeglglessink: Make last_flow handling more threadsafe
Sebastian Dröge [Sun, 30 Dec 2012 13:22:43 +0000 (14:22 +0100)]
eglglessink: Make last_flow handling more threadsafe

11 years agoeglglessink: Add support for allocating EGLImages on Mali
Sebastian Dröge [Fri, 28 Dec 2012 11:27:43 +0000 (12:27 +0100)]
eglglessink: Add support for allocating EGLImages on Mali

This allows to decoders and other upstream elements to do
zero-copy to the sink.

11 years agoconfigure: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
Tim-Philipp Müller [Mon, 31 Dec 2012 00:16:42 +0000 (00:16 +0000)]
configure: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS

AM_CONFIG_HEADER has been removed in the just-released automake 1.13:
https://lists.gnu.org/archive/html/automake/2012-12/msg00038.html

https://bugzilla.gnome.org/show_bug.cgi?id=690881

11 years agoeglglessink: Fix indention
Sebastian Dröge [Sun, 30 Dec 2012 10:32:29 +0000 (11:32 +0100)]
eglglessink: Fix indention

11 years agoeglglessink: Return the last_flow immediately if it wasn't GST_FLOW_OK
Sebastian Dröge [Sun, 30 Dec 2012 10:32:02 +0000 (11:32 +0100)]
eglglessink: Return the last_flow immediately if it wasn't GST_FLOW_OK

11 years agoeglglessink: Fix copy&paste mistake
Sebastian Dröge [Sun, 30 Dec 2012 10:29:49 +0000 (11:29 +0100)]
eglglessink: Fix copy&paste mistake

11 years agoeglglessink: Improve EGL/GL error handling a bit
Sebastian Dröge [Sun, 30 Dec 2012 09:45:57 +0000 (10:45 +0100)]
eglglessink: Improve EGL/GL error handling a bit

11 years agoeglglessink: Don't access the video frame data if not necessary
Sebastian Dröge [Sun, 30 Dec 2012 09:43:33 +0000 (10:43 +0100)]
eglglessink: Don't access the video frame data if not necessary

11 years agoeglglessink: Configure caps from the setcaps function already
Sebastian Dröge [Sun, 30 Dec 2012 09:18:05 +0000 (10:18 +0100)]
eglglessink: Configure caps from the setcaps function already

11 years agotsdemux: extract ISO 639 language codes for subtitles into taglists
Matthias Hardt [Thu, 26 Jul 2012 18:38:28 +0000 (20:38 +0200)]
tsdemux: extract ISO 639 language codes for subtitles into taglists

https://bugzilla.gnome.org/show_bug.cgi?id=680200

11 years agoeglglessink: Bind the OpenGL ES API in the render thread too
Sebastian Dröge [Fri, 28 Dec 2012 18:36:30 +0000 (19:36 +0100)]
eglglessink: Bind the OpenGL ES API in the render thread too

11 years agoeglglessink: Some refactoring as preparation for platform specific rendering
Sebastian Dröge [Fri, 28 Dec 2012 13:05:56 +0000 (14:05 +0100)]
eglglessink: Some refactoring as preparation for platform specific rendering

11 years agoeglglessink: Add some more comments
Sebastian Dröge [Fri, 28 Dec 2012 12:08:12 +0000 (13:08 +0100)]
eglglessink: Add some more comments

11 years agoeglglessink: Only use the GstVideoFrame if we have a buffer
Sebastian Dröge [Fri, 28 Dec 2012 11:40:14 +0000 (12:40 +0100)]
eglglessink: Only use the GstVideoFrame if we have a buffer

11 years agoeglglessink: Add configure parameter to chose the EGL window system
Sebastian Dröge [Thu, 27 Dec 2012 09:51:02 +0000 (10:51 +0100)]
eglglessink: Add configure parameter to chose the EGL window system

Only needed for creating native windows.

11 years agoeglglessink: Add support for Mali fbdev EGL driver
Sebastian Dröge [Wed, 26 Dec 2012 16:35:46 +0000 (17:35 +0100)]
eglglessink: Add support for Mali fbdev EGL driver

11 years agod3dvideosink: Add compatibility #defines for older mingw headers
Sebastian Dröge [Thu, 27 Dec 2012 13:09:03 +0000 (14:09 +0100)]
d3dvideosink: Add compatibility #defines for older mingw headers

These were removed recently but these mingw headers are still
out there.

11 years agodecklink: remove useless and uninitialized list causing a crash in the device probe
Youness Alaoui [Fri, 21 Dec 2012 12:35:13 +0000 (07:35 -0500)]
decklink: remove useless and uninitialized list causing a crash in the device probe

11 years agoeglglessink: Add support for video meta and arbitrary strides
Sebastian Dröge [Wed, 26 Dec 2012 16:25:36 +0000 (17:25 +0100)]
eglglessink: Add support for video meta and arbitrary strides

11 years agoeglglessink: Fix width/height swap in last commit
Sebastian Dröge [Wed, 26 Dec 2012 14:58:55 +0000 (15:58 +0100)]
eglglessink: Fix width/height swap in last commit

11 years agoeglglessink: Remove debug function call from previous commit
Sebastian Dröge [Wed, 26 Dec 2012 14:46:40 +0000 (15:46 +0100)]
eglglessink: Remove debug function call from previous commit

11 years agoeglglessink: Fix handling of GstVideoOverlay::set_render_rect() and crop metadata
Sebastian Dröge [Wed, 26 Dec 2012 13:39:03 +0000 (14:39 +0100)]
eglglessink: Fix handling of GstVideoOverlay::set_render_rect() and crop metadata

11 years agoeglglessink: Add a cast from EGLNativeWindowType to Window to fix a compiler warning
Sebastian Dröge [Wed, 26 Dec 2012 09:54:38 +0000 (10:54 +0100)]
eglglessink: Add a cast from EGLNativeWindowType to Window to fix a compiler warning

11 years agoeglglessink: Fix a crash on GstVideoOverlay::expose()
Sebastian Dröge [Wed, 26 Dec 2012 09:39:52 +0000 (10:39 +0100)]
eglglessink: Fix a crash on GstVideoOverlay::expose()

11 years agoeglglessink: Fix crash when closing internal X11 window
Sebastian Dröge [Wed, 26 Dec 2012 09:34:21 +0000 (10:34 +0100)]
eglglessink: Fix crash when closing internal X11 window

11 years agoeglglessink: Add proper check for X11
Sebastian Dröge [Wed, 26 Dec 2012 09:20:21 +0000 (10:20 +0100)]
eglglessink: Add proper check for X11

11 years agowaylandsink: do not default to a fullscreen canvas
Joe Konno [Tue, 18 Dec 2012 17:53:16 +0000 (09:53 -0800)]
waylandsink: do not default to a fullscreen canvas

Defer certain canvas particulars to the player (or the Wayland
compositor). Before this change, a fullscreen canvas was always
requested. This may not be desirable in all cases.

https://bugzilla.gnome.org/show_bug.cgi?id=690442

11 years agoopenjpegdec: Only use 10 bit YUV formats for exactly 10 bit images, not <= 16 bit
Sebastian Dröge [Sun, 23 Dec 2012 08:51:42 +0000 (09:51 +0100)]
openjpegdec: Only use 10 bit YUV formats for exactly 10 bit images, not <= 16 bit

And use the generic converter to AYUV64 for everything else.

11 years agod3dvideosink: Remove scary "while (object.refcount > 0) release (object);" code
Sebastian Dröge [Sat, 22 Dec 2012 17:43:37 +0000 (18:43 +0100)]
d3dvideosink: Remove scary "while (object.refcount > 0) release (object);" code

If there is a memory leak, this isn't the way how it should be fixed.

11 years agod3dvideosink: Don't forget to return a value from ::propose_allocation()
Sebastian Dröge [Sat, 22 Dec 2012 17:17:45 +0000 (18:17 +0100)]
d3dvideosink: Don't forget to return a value from ::propose_allocation()

11 years agod3dvideosink: Add support for the video meta
Sebastian Dröge [Sat, 22 Dec 2012 17:17:04 +0000 (18:17 +0100)]
d3dvideosink: Add support for the video meta

11 years agod3dvideosink: Don't use "class" as variable name and don't use C99 comments
Sebastian Dröge [Sat, 22 Dec 2012 17:12:42 +0000 (18:12 +0100)]
d3dvideosink: Don't use "class" as variable name and don't use C99 comments

11 years agod3dvideosink: Only open system resources in in NULL->READY, not on object instantiation
Sebastian Dröge [Sat, 22 Dec 2012 17:04:42 +0000 (18:04 +0100)]
d3dvideosink: Only open system resources in in NULL->READY, not on object instantiation

11 years agod3dvideosink: Properly copy frames to D3D with the right strides and everything
Sebastian Dröge [Sat, 22 Dec 2012 16:55:08 +0000 (17:55 +0100)]
d3dvideosink: Properly copy frames to D3D with the right strides and everything

And only support color formats that are actually supported by the driver,
this allows proper zero-copy handling later and simplifies the code a lot.

Also simplify some other places, like the format mapping code.

11 years agod3dvideosink: Remove non-sense display PAR handling
Sebastian Dröge [Sat, 22 Dec 2012 15:26:52 +0000 (16:26 +0100)]
d3dvideosink: Remove non-sense display PAR handling

This has to be implemented properly at some point

11 years agod3dvideosink: Fix caps leak
Sebastian Dröge [Sat, 22 Dec 2012 15:18:14 +0000 (16:18 +0100)]
d3dvideosink: Fix caps leak

11 years agod3dvideosink: Fix duplicated format entry in the template caps
Sebastian Dröge [Sat, 22 Dec 2012 11:09:30 +0000 (12:09 +0100)]
d3dvideosink: Fix duplicated format entry in the template caps

11 years agod3dvideosink: Fix linking
Sebastian Dröge [Sat, 22 Dec 2012 11:05:14 +0000 (12:05 +0100)]
d3dvideosink: Fix linking

11 years agod3dvideosink: Fix some more compiler warnings
Sebastian Dröge [Sat, 22 Dec 2012 10:58:21 +0000 (11:58 +0100)]
d3dvideosink: Fix some more compiler warnings

11 years agod3dvideosink: Port remaining bits to new GLib threading API
Sebastian Dröge [Sat, 22 Dec 2012 10:50:08 +0000 (11:50 +0100)]
d3dvideosink: Port remaining bits to new GLib threading API

11 years agod3dvideosink: And remove the right declaration
Sebastian Dröge [Sat, 22 Dec 2012 10:45:27 +0000 (11:45 +0100)]
d3dvideosink: And remove the right declaration

11 years agod3dvideosink: Remove unused static declaration
Sebastian Dröge [Sat, 22 Dec 2012 10:44:32 +0000 (11:44 +0100)]
d3dvideosink: Remove unused static declaration

11 years agod3dvideosink: Remove unused variables
Sebastian Dröge [Sat, 22 Dec 2012 10:43:21 +0000 (11:43 +0100)]
d3dvideosink: Remove unused variables

11 years agod3dvideosink: Update to new GLib threading API
Sebastian Dröge [Sat, 22 Dec 2012 10:42:52 +0000 (11:42 +0100)]
d3dvideosink: Update to new GLib threading API

11 years agod3dvideosink: Rename keep_aspect_ratio to force_aspect_ratio in the header too
Sebastian Dröge [Sat, 22 Dec 2012 10:38:28 +0000 (11:38 +0100)]
d3dvideosink: Rename keep_aspect_ratio to force_aspect_ratio in the header too

11 years agod3dvideosink: Use G_PARAM_STATIC_STRINGS
Sebastian Dröge [Sat, 22 Dec 2012 10:35:55 +0000 (11:35 +0100)]
d3dvideosink: Use G_PARAM_STATIC_STRINGS

11 years agod3dvideosink: Rename keep-aspect-ratio to force-aspect-ratio and default to TRUE
Sebastian Dröge [Sat, 22 Dec 2012 10:34:43 +0000 (11:34 +0100)]
d3dvideosink: Rename keep-aspect-ratio to force-aspect-ratio and default to TRUE

For consistency with other video sinks.

11 years agod3dvideosink: Add files that had to be included in the last commit
Sebastian Dröge [Sat, 22 Dec 2012 10:30:08 +0000 (11:30 +0100)]
d3dvideosink: Add files that had to be included in the last commit

11 years agod3dvideosink: Add $(GST_PLUGINS_BASE_CFLAGS) to CFLAGS
Sebastian Dröge [Sat, 22 Dec 2012 10:28:19 +0000 (11:28 +0100)]
d3dvideosink: Add $(GST_PLUGINS_BASE_CFLAGS) to CFLAGS

11 years agod3dvideosink: Various improvements
Roland Krikava [Sat, 22 Dec 2012 10:24:28 +0000 (11:24 +0100)]
d3dvideosink: Various improvements

* XOverlay set_render_rectangle support (Useful for rendering in QT QML)
* Video format negotiation (with preference ordering)
* Using Direct3D9 (No benefit to using newer D3D versions)

11 years agod3dvideosink: Only include formats that are actually working
Sebastian Dröge [Fri, 21 Dec 2012 15:11:10 +0000 (16:11 +0100)]
d3dvideosink: Only include formats that are actually working

11 years agod3dvideosink: Add the actually supported color formats to the template caps
Sebastian Dröge [Fri, 21 Dec 2012 14:23:42 +0000 (15:23 +0100)]
d3dvideosink: Add the actually supported color formats to the template caps

11 years agoopenjpegenc/-dec: print openjpeg logs for debug tracing
Sebastian Rasmussen [Tue, 18 Dec 2012 21:23:42 +0000 (22:23 +0100)]
openjpegenc/-dec: print openjpeg logs for debug tracing

11 years agoopus: use appropriate printf format for gsize
Thijs Vermeir [Tue, 18 Dec 2012 15:56:28 +0000 (16:56 +0100)]
opus: use appropriate printf format for gsize

11 years agovideoparsers: use appropriate printf format for gsize
Thijs Vermeir [Tue, 18 Dec 2012 15:52:26 +0000 (16:52 +0100)]
videoparsers: use appropriate printf format for gsize

11 years agomxf: use appropriate printf format for gsize
Thijs Vermeir [Tue, 18 Dec 2012 15:50:37 +0000 (16:50 +0100)]
mxf: use appropriate printf format for gsize

11 years agojpeg: use appropriate printf format for gsize
Thijs Vermeir [Tue, 18 Dec 2012 15:40:59 +0000 (16:40 +0100)]
jpeg: use appropriate printf format for gsize

11 years agointer: use appropriate printf format for gsize
Thijs Vermeir [Tue, 18 Dec 2012 15:20:08 +0000 (16:20 +0100)]
inter: use appropriate printf format for gsize

11 years agoopenjpegenc: Add some properties
Sebastian Dröge [Tue, 18 Dec 2012 14:44:56 +0000 (15:44 +0100)]
openjpegenc: Add some properties

11 years agoopenjpegdec: Don't crash if colorspace is not provided on the caps
Sebastian Dröge [Tue, 18 Dec 2012 14:43:37 +0000 (15:43 +0100)]
openjpegdec: Don't crash if colorspace is not provided on the caps

g_str_equal() is *not* NULL-safe

11 years agoopenjpegdec: Improve robustness against formats with different settings per component
Sebastian Dröge [Mon, 17 Dec 2012 16:19:54 +0000 (17:19 +0100)]
openjpegdec: Improve robustness against formats with different settings per component

11 years agoopenjpegdec: Properties won't be needed in the decoder
Sebastian Dröge [Mon, 17 Dec 2012 16:13:22 +0000 (17:13 +0100)]
openjpegdec: Properties won't be needed in the decoder

11 years agoopenjpegenc: Fix data pointer incrementing
Sebastian Dröge [Mon, 17 Dec 2012 16:11:50 +0000 (17:11 +0100)]
openjpegenc: Fix data pointer incrementing

11 years agoopenjpegenc: Optimize image filling functions a bit
Sebastian Dröge [Mon, 17 Dec 2012 16:06:29 +0000 (17:06 +0100)]
openjpegenc: Optimize image filling functions a bit

11 years agoopenjpegdec: Add missing shifts
Sebastian Dröge [Mon, 17 Dec 2012 16:02:47 +0000 (17:02 +0100)]
openjpegdec: Add missing shifts

11 years agoopenjpegdec: Optimize frame filling functions a bit
Sebastian Dröge [Mon, 17 Dec 2012 15:57:14 +0000 (16:57 +0100)]
openjpegdec: Optimize frame filling functions a bit