gstreamer-omap:gst-plugins-bad.git
6 years agoWIP: support more color formats technicolor
Rob Clark [Sat, 28 Jan 2012 02:32:53 +0000 (20:32 -0600)]
WIP: support more color formats

Color seem to be wrong with RGB.. not quite sure what is up with that.
But alternate YUV formats (like I420) work.

For non-NV12 buffers we use normal malloc'd buffers (instead of tiler
buffers), since we know these are not for the hw codecs.

6 years agocamerabin2: change profile to h264
Luciana Fujii Pontello [Fri, 20 Jan 2012 01:09:02 +0000 (20:09 -0500)]
camerabin2: change profile to h264

6 years agocamerabin2: Change viewfinderbin to accept yuv
Luciana Fujii Pontello [Wed, 18 Jan 2012 00:29:52 +0000 (19:29 -0500)]
camerabin2: Change viewfinderbin to accept yuv

Viewfinderbin will only work with yuv, which is compatible with
pvrvideosink and omx_camera.

6 years agoomxcamerabinsrc: Request yuv from omx_camera src pad
Luciana Fujii Pontello [Fri, 13 Jan 2012 00:26:05 +0000 (22:26 -0200)]
omxcamerabinsrc: Request yuv from omx_camera src pad

Use yuv instead of yuv-strided in omx_camera src pad and remove
unnecessary stridetransforms.

6 years agopvrvideosink: fix double free freeing ->display_par
Alessandro Decina [Tue, 24 Jan 2012 15:04:54 +0000 (16:04 +0100)]
pvrvideosink: fix double free freeing ->display_par

6 years agompegpsdemux: limit the amount of scanning done on duration queries
Alessandro Decina [Wed, 18 Jan 2012 11:04:52 +0000 (12:04 +0100)]
mpegpsdemux: limit the amount of scanning done on duration queries

Limit the amount of data scanned when looking for PTSes in duration queries as a
failsafe for kinda broken, potentially large files with sparse or no PTSes.

6 years agompegpsdemux: don't scan for the last PTS if the first wasn't found
Alessandro Decina [Wed, 18 Jan 2012 10:28:26 +0000 (11:28 +0100)]
mpegpsdemux: don't scan for the last PTS if the first wasn't found

6 years agoh264parse: consider input as packetized only if format=avc is explicitly set in caps
Alessandro Decina [Thu, 12 Jan 2012 13:04:47 +0000 (14:04 +0100)]
h264parse: consider input as packetized only if format=avc is explicitly set in caps

The previous assumption was to consider input as avc if codec_data was set in
caps even if the format field was missing. Apparently the assumption was wrong
as there's at least another non-avc compliant codec_data format out there.

6 years agompegvideoparse: set interlaced field in caps
Alessandro Decina [Fri, 6 Jan 2012 12:38:41 +0000 (13:38 +0100)]
mpegvideoparse: set interlaced field in caps

6 years agopvrvideosink: fix incorrect window coordinates
Rob Clark [Mon, 2 Jan 2012 17:57:38 +0000 (11:57 -0600)]
pvrvideosink: fix incorrect window coordinates

When video is larger than screen resolution, the request to create
window at video size will result in a smaller than requested window.
So get the actual window geometry after the window is created.  This
solves an issue with video appearing "split" with the right half of
the video appearing on the left of the window.

6 years agopvrvideosink: some cleanups
Rob Clark [Mon, 2 Jan 2012 17:56:46 +0000 (11:56 -0600)]
pvrvideosink: some cleanups

6 years agopvrvideosink: fix NPE when closing window
Rob Clark [Mon, 2 Jan 2012 17:12:24 +0000 (11:12 -0600)]
pvrvideosink: fix NPE when closing window

6 years agopvrvideosink: fix potential NPE
Rob Clark [Sun, 1 Jan 2012 03:08:05 +0000 (21:08 -0600)]
pvrvideosink: fix potential NPE

6 years agodvdspu: add interlaced support
Rob Clark [Sun, 1 Jan 2012 03:07:42 +0000 (21:07 -0600)]
dvdspu: add interlaced support

6 years agodvdspu: cleanup debug code
Rob Clark [Sun, 1 Jan 2012 00:35:40 +0000 (18:35 -0600)]
dvdspu: cleanup debug code

Clean up debug code for drawing highlight rects which wasn't even
compiling previously.

TODO: might be nice if this could be controlled by properties or
env variables to make it possible to enable the debug code at
runtime.

6 years agodvdspu: use refcnting instead of explicit copy
Rob Clark [Sat, 31 Dec 2011 21:13:11 +0000 (15:13 -0600)]
dvdspu: use refcnting instead of explicit copy

6 years agopvrvideosink: implement copy vmethod in buffer subclass
Rob Clark [Thu, 29 Dec 2011 06:20:51 +0000 (00:20 -0600)]
pvrvideosink: implement copy vmethod in buffer subclass

When upstream element needs a writeable buffer (ex. dvdspu), it will call
gst_buffer_make_writable(), which will use the copy vmethod to create a
copy of the buffer.  Implement copy vmethod so we don't end up having to
copy back into a bufferpool buffer in order to render.

6 years agopvrvideosink: corruption/jerkiness fixes
Rob Clark [Wed, 28 Dec 2011 08:22:34 +0000 (02:22 -0600)]
pvrvideosink: corruption/jerkiness fixes

1) Use GetDrawableParameters() to get the next client side buffer
(it is double buffered) so we don't immediately try to blit into
the same buffer xorg is reading from.

2) Some related changes to handle invalidated dri2 drawable (such
as window size change or if window is redirected/unredirected by
the window manager).

3) Wait for blits from dst surface before blitting next frame..
this avoids artifacts caused by us writing to a buffer that xorg
is still reading from.  Note that there is a similar fix needed
in the pvr xorg driver to handle the inverse problem.

6 years agopvrvideosink: add navigation
Rob Clark [Tue, 27 Dec 2011 08:33:58 +0000 (02:33 -0600)]
pvrvideosink: add navigation

6 years agopvrvideosink: add filtering
Rob Clark [Tue, 27 Dec 2011 07:05:54 +0000 (01:05 -0600)]
pvrvideosink: add filtering

6 years agodvdspu: some optimizations
Rob Clark [Tue, 27 Dec 2011 18:55:58 +0000 (12:55 -0600)]
dvdspu: some optimizations

Detect invisible pixels, and skip gstspu_vobsub_blend_comp_buffers()
when there are only invisible pixels.  This significantly reduces the
CPU load in cases of DVDs which don't use the clip_rect to exclude
processing for parts of the screen where the video is visible.

6 years agodvdspu: add NV12 support
Rob Clark [Tue, 27 Dec 2011 04:04:04 +0000 (22:04 -0600)]
dvdspu: add NV12 support

6 years agovideoparsers: fix mpeg2 parsing confusion w/ dvd
Rob Clark [Tue, 27 Dec 2011 04:01:29 +0000 (22:01 -0600)]
videoparsers: fix mpeg2 parsing confusion w/ dvd

Perhaps not unique to mpeg2 from DVD, but this is the case where I'm
seeing the parsing logic tripped up by an extension_start_code which
is not sequence_extension_id.

6 years agovideoparsers: set interlaced field in caps for mpeg2
Rob Clark [Tue, 27 Dec 2011 03:57:48 +0000 (21:57 -0600)]
videoparsers: set interlaced field in caps for mpeg2

6 years agoresindvd: use decodebin2 so needed parsers are plugged
Rob Clark [Mon, 26 Dec 2011 23:14:16 +0000 (17:14 -0600)]
resindvd: use decodebin2 so needed parsers are plugged

6 years agopvrvideosink: fix interlaced top coordinate
Luciana Fujii Pontello [Thu, 5 Jan 2012 13:21:56 +0000 (11:21 -0200)]
pvrvideosink: fix interlaced top coordinate

Top coordinate is not changed the first blit.

Style fixes.

6 years agopvrvideosink: interlaced support
Rob Clark [Tue, 27 Dec 2011 06:16:51 +0000 (00:16 -0600)]
pvrvideosink: interlaced support

6 years agopvrvideosink: a few cleanups..
Rob Clark [Tue, 27 Dec 2011 05:04:42 +0000 (23:04 -0600)]
pvrvideosink: a few cleanups..

Need to avoid caps parsing on every frame, and prefer to detect
case of caps that haven't changed early and bail out.

6 years agopvrvideosink: fix problem with non-ducati buffers
Rob Clark [Tue, 27 Dec 2011 04:50:22 +0000 (22:50 -0600)]
pvrvideosink: fix problem with non-ducati buffers

In some cases dvdspu seems to give us a non-pad-alloc'd buffer.  Don't
crash randomly in these cases.

6 years agompegpsdemux: recalculate adjust if difference is negative
Alexey Fisher [Tue, 29 Nov 2011 11:20:51 +0000 (12:20 +0100)]
mpegpsdemux: recalculate adjust if difference is negative

One of my dvds jump on some position and miss about 1 minute of stream.
The reason was mpeg timestamps. On some position scr difference is negative.
It produced negative timestamps. Since it was converted to unsigned value,
gstreamer timestamps was invalid. Instead of increasing mpeg ts,
they was decreasing till it started to be positive.

The jump in timestamps caused mpeg2dec to skip frames to make QoS happy.

This patch just make diff unsigned to avoid negative values.

Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>
https://bugzilla.gnome.org/show_bug.cgi?id=656115

6 years agompegpsdemux: fix zero length packet handling
Vincent Penquerc'h [Mon, 3 Oct 2011 17:28:14 +0000 (18:28 +0100)]
mpegpsdemux: fix zero length packet handling

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

6 years agompegpsdemux: take into account SCR offset when seeking
Vincent Penquerc'h [Wed, 21 Sep 2011 13:53:01 +0000 (14:53 +0100)]
mpegpsdemux: take into account SCR offset when seeking

Since the seeking byte offset is chosen by linear interpolation
from SCR values, we need to take that first SCR into account
to end up near the correct offset. Otherwise, as the code does
a linear search after that first seek, it will take a LOOOOOONG
time to get there for streams which don't start at zero.

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

6 years agompegpsdemux: remove unused field
Vincent Penquerc'h [Tue, 20 Sep 2011 14:21:53 +0000 (15:21 +0100)]
mpegpsdemux: remove unused field

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

6 years agoh264parse: avoid pushing SPS/PPS at start only if both are found in stream
Alessandro Decina [Mon, 19 Dec 2011 11:32:26 +0000 (12:32 +0100)]
h264parse: avoid pushing SPS/PPS at start only if both are found in stream

Avoid injecting SPS/PPS nals only if both are already present in the stream.
Fixes some AVC clips that happen to have only PPS nals in stream.

6 years agopvrvideosink: Send application message with crop size
Luciana Fujii Pontello [Mon, 12 Dec 2011 22:21:54 +0000 (20:21 -0200)]
pvrvideosink: Send application message with crop size

Sends the original resolution of the video (not the padded one) as an
application message. This allows applications to use the right
resolution for any purpose, such as calculating aspect ratio themselves
as totem does.

6 years agopvrvideosink: accept -strided video with 2d buffers
Luciana Fujii Pontello [Thu, 8 Dec 2011 22:18:47 +0000 (20:18 -0200)]
pvrvideosink: accept -strided video with 2d buffers

Change pvrvideosink to support -strided video using 2d buffers in the
bufferpool.

6 years agoh264parse: outgoing byte stream prefix always has size 4
Jonas Larsson [Wed, 16 Nov 2011 09:56:24 +0000 (10:56 +0100)]
h264parse: outgoing byte stream prefix always has size 4

Fixes #664123.

6 years agoh264parse: rework PAR parsing
Alessandro Decina [Wed, 23 Nov 2011 17:26:44 +0000 (18:26 +0100)]
h264parse: rework PAR parsing

6 years agopvrvideosink: consider cropping when resizing for par
Luciana Fujii Pontello [Mon, 21 Nov 2011 02:39:03 +0000 (21:39 -0500)]
pvrvideosink: consider cropping when resizing for par

When configuring pixel-aspect-ratio consider crop event.

6 years agopvrvideosink: respect pixel-aspect-ratio
Luciana Fujii Pontello [Wed, 16 Nov 2011 17:46:51 +0000 (12:46 -0500)]
pvrvideosink: respect pixel-aspect-ratio

Implement pixel-aspect-ratio handling.

6 years agoh264parse: respect pixel-aspect-ratio
Luciana Fujii Pontello [Wed, 16 Nov 2011 05:03:12 +0000 (00:03 -0500)]
h264parse: respect pixel-aspect-ratio

Parse pixel-aspect-ratio in vui information.

6 years agovideoparsers: backport h264parse changes
Luciana Fujii Pontello [Tue, 15 Nov 2011 20:23:02 +0000 (15:23 -0500)]
videoparsers: backport h264parse changes

6 years agocodecparsers: backport gsth264parser
Luciana Fujii Pontello [Wed, 16 Nov 2011 17:56:13 +0000 (12:56 -0500)]
codecparsers: backport gsth264parser

6 years agoDon't fail to build if timemmgr is not present
Luciana Fujii Pontello [Tue, 8 Nov 2011 02:34:43 +0000 (21:34 -0500)]
Don't fail to build if timemmgr is not present

Check for timemmgr only to build pvrvideosink, if it's not installed
pvrvideosink is not built.

6 years agopvrvideosink: workaround brokenness in pvr2d cleanup code
Alessandro Decina [Thu, 3 Nov 2011 12:25:58 +0000 (13:25 +0100)]
pvrvideosink: workaround brokenness in pvr2d cleanup code

Expicitly unwrap all the buffers before closing the WSEGL display so that we
don't trigger some pvr2d code that leads to an hang.

6 years agobasevideoencoder: handle failures in start() and stop()
Alessandro Decina [Mon, 31 Oct 2011 10:36:06 +0000 (11:36 +0100)]
basevideoencoder: handle failures in start() and stop()

6 years agopvrvideosink: don't preallocate buffers in the buffer pool
Alessandro Decina [Mon, 31 Oct 2011 09:46:29 +0000 (10:46 +0100)]
pvrvideosink: don't preallocate buffers in the buffer pool

6 years agopvrvideosink: handle upstream caps changes
Alessandro Decina [Fri, 28 Oct 2011 06:28:35 +0000 (08:28 +0200)]
pvrvideosink: handle upstream caps changes

6 years agopvrvideosink: move x_lock mutex to dcontext structure
Alessandro Decina [Thu, 27 Oct 2011 15:03:01 +0000 (17:03 +0200)]
pvrvideosink: move x_lock mutex to dcontext structure

x_lock is used to protect dcontext->x_display so it makes more sense to have it
there.

6 years agopvrvideosink: link explicitly to pvr2d
Alessandro Decina [Thu, 27 Oct 2011 11:13:43 +0000 (13:13 +0200)]
pvrvideosink: link explicitly to pvr2d

6 years agopvrvideosink: add more headers in pvr_includes/
Alessandro Decina [Wed, 26 Oct 2011 17:35:38 +0000 (19:35 +0200)]
pvrvideosink: add more headers in pvr_includes/

include dri2_ws.h, pvr2d.h and wsegl.h

6 years agopvrbufferpool: Free available buffers queue on destroy
Luciana Fujii Pontello [Fri, 21 Oct 2011 14:37:41 +0000 (10:37 -0400)]
pvrbufferpool: Free available buffers queue on destroy

When bufferpool stops running, free available buffers queue instead of
all the buffers in case there is someone else holding a reference to a
buffer.

Renamed _destroy to _stop_running, since the finalize will be called
only after every reference to the bufferpool is freed.

6 years agopvrvideosink: verify if pool is valid
Luciana Fujii Pontello [Fri, 21 Oct 2011 04:30:41 +0000 (00:30 -0400)]
pvrvideosink: verify if pool is valid

Keep control if pool is valid or not. Pool is not valid when on READY
or NULL state.

6 years agoInstall gstbasevideoutils.h
Luciana Fujii Pontello [Thu, 20 Oct 2011 04:39:14 +0000 (00:39 -0400)]
Install gstbasevideoutils.h

6 years agopvrvideosink: Add config arg to use external headers
Luciana Fujii Pontello [Wed, 19 Oct 2011 19:26:40 +0000 (15:26 -0400)]
pvrvideosink: Add config arg to use external headers

Add --with-pvr-external-dependencies argument to use system installed
pvr headers.

6 years agopvrvideosink: Remove depency of pdump_defs.h
Luciana Fujii Pontello [Wed, 19 Oct 2011 19:25:50 +0000 (15:25 -0400)]
pvrvideosink: Remove depency of pdump_defs.h

Modify services.h to not depend on pdump_defs.h

6 years agopvrvideosink: Adding external headers copy
Luciana Fujii Pontello [Wed, 19 Oct 2011 19:28:11 +0000 (15:28 -0400)]
pvrvideosink: Adding external headers copy

6 years agopvrvideosink: Remove unused variables
Luciana Fujii Pontello [Wed, 19 Oct 2011 23:39:14 +0000 (19:39 -0400)]
pvrvideosink: Remove unused variables

6 years agopvrvideosink: Lock bufferpool
Luciana Fujii Pontello [Wed, 19 Oct 2011 19:28:05 +0000 (15:28 -0400)]
pvrvideosink: Lock bufferpool

Bufferpool use is locked to avoid concurrent access.

6 years agopvrvideosink: Check buffers allocation
Luciana Fujii Pontello [Wed, 19 Oct 2011 19:27:58 +0000 (15:27 -0400)]
pvrvideosink: Check buffers allocation

Don't add buffers to available queue if allocation has failed.

6 years agopvrvideosink: Free xdisplay
Luciana Fujii Pontello [Wed, 19 Oct 2011 19:27:50 +0000 (15:27 -0400)]
pvrvideosink: Free xdisplay

Free xdisplay on reset and fix other small leaks.

6 years agopvrvideosink: Remove openmax bufferpool workaround
Luciana Fujii Pontello [Wed, 19 Oct 2011 19:27:44 +0000 (15:27 -0400)]
pvrvideosink: Remove openmax bufferpool workaround

Remove limit to bufferpool size.

6 years agopvrvideosink: Wrap buffer memory only once
Luciana Fujii Pontello [Wed, 19 Oct 2011 19:27:35 +0000 (15:27 -0400)]
pvrvideosink: Wrap buffer memory only once

Wrap buffer memory when the buffer is added to the pool and only unwrap
when the pool is destroyed instead of wraping and unwraping at every
blit.

6 years agopvrvideosink: change the sink to work with non strided -yuv
Alessandro Decina [Thu, 29 Sep 2011 21:49:12 +0000 (23:49 +0200)]
pvrvideosink: change the sink to work with non strided -yuv

6 years agoRevert "pvrvideosink: allocate 2d buffers"
Alessandro Decina [Thu, 29 Sep 2011 14:54:29 +0000 (16:54 +0200)]
Revert "pvrvideosink: allocate 2d buffers"

This reverts commit d64a5bae588e78b61ad8aacfd42aeebb9ef2ebb4.

6 years agopvrvideosink: build PVR2DMEMINFO from PVRSRV_CLIENT_MEM_INFO structure
Alessandro Decina [Wed, 28 Sep 2011 16:43:17 +0000 (18:43 +0200)]
pvrvideosink: build  PVR2DMEMINFO from PVRSRV_CLIENT_MEM_INFO structure

Avoids needing a patch in sgx-lib just for this.

6 years agopvrvideosink: Remove unused variables
Luciana Fujii Pontello [Tue, 27 Sep 2011 20:00:32 +0000 (17:00 -0300)]
pvrvideosink: Remove unused variables

6 years agopvrvideosink: Fix blit rectangle
Luciana Fujii Pontello [Sun, 25 Sep 2011 23:18:51 +0000 (20:18 -0300)]
pvrvideosink: Fix blit rectangle

Blit dest rectangle gets x and y bottom and right coordinates, instead
of width and height. The right value is calculated using the width and
height plus the left and top coordinates respectively. The coordinates
calculated before were only wrong when force-aspect-ratio was set.

6 years agopvrvideosink: Handle delete event
Luciana Fujii Pontello [Sun, 25 Sep 2011 22:39:39 +0000 (19:39 -0300)]
pvrvideosink: Handle delete event

When internal window is deleted, pvrvideosink handles it posting an
error message instead of being killed.

6 years agopvrvideosink: xevent handling of internal xwindow
Luciana Fujii Pontello [Sun, 25 Sep 2011 22:04:24 +0000 (19:04 -0300)]
pvrvideosink: xevent handling of internal xwindow

Handle expose and resize for when the window is created internally.

6 years agopvrvideosink: fix segfault if _expose is called when no buffer has been rendered yet
Alessandro Decina [Fri, 23 Sep 2011 10:29:54 +0000 (12:29 +0200)]
pvrvideosink: fix segfault if _expose is called when no buffer has been rendered yet

6 years agopvrvideosink: Implement force-aspect-ration
Luciana Fujii Pontello [Fri, 23 Sep 2011 03:42:15 +0000 (00:42 -0300)]
pvrvideosink: Implement force-aspect-ration

Implement keeping aspect ration of video. The borders are drawn using
PVR2DBlt.

6 years agopvrvideosink: Remove duplicated creation of root
Luciana Fujii Pontello [Fri, 23 Sep 2011 03:39:52 +0000 (00:39 -0300)]
pvrvideosink: Remove duplicated creation of root

Root window was created twice, removing the duplicated code.

6 years agopvrvideosink: Fix blit on expose event
Luciana Fujii Pontello [Thu, 22 Sep 2011 14:32:54 +0000 (11:32 -0300)]
pvrvideosink: Fix blit on expose event

When expose event happens, we blit the last buffer.

6 years agopvrvideosink: use the correct drawable stride
Alessandro Decina [Thu, 22 Sep 2011 16:54:20 +0000 (18:54 +0200)]
pvrvideosink: use the correct drawable stride

Use the correct drawable stride, as returned by WSEGL_GetDrawableParameters.
Fixes a few issues including scaling.

6 years agopvrvideosink: restrict input to yuv-strided for now
Alessandro Decina [Thu, 22 Sep 2011 16:53:15 +0000 (18:53 +0200)]
pvrvideosink: restrict input to yuv-strided for now

YUV and RGB work but they are not very stable yet

6 years agopvrvideosink: restrict input to yuv-strided for now
Alessandro Decina [Thu, 22 Sep 2011 16:47:24 +0000 (18:47 +0200)]
pvrvideosink: restrict input to yuv-strided for now

-rgb and non strided -yuv somewhat work but are broken for some resolutions and
have awful performances.

6 years agopvr: Clean up nicely
Luciana Fujii Pontello [Wed, 21 Sep 2011 20:13:23 +0000 (17:13 -0300)]
pvr: Clean up nicely

Do not use DestroyDevice since we did not created it using CreateDevice.
Clean window and drawable at reset, that is called also when going to
NULL state.

6 years agopvr: Handle resize and expose xevents
Luciana Fujii Pontello [Wed, 21 Sep 2011 00:30:06 +0000 (21:30 -0300)]
pvr: Handle resize and expose xevents

6 years agopvrvideosink: initial support for the CROP event
Alessandro Decina [Wed, 21 Sep 2011 11:39:03 +0000 (13:39 +0200)]
pvrvideosink: initial support for the CROP event

6 years agopvrvideosink: allocate 2d buffers
Alessandro Decina [Wed, 21 Sep 2011 11:34:51 +0000 (13:34 +0200)]
pvrvideosink: allocate 2d buffers

6 years agopvrvideosink: move window creation code from buffer_alloc to setcaps
Alessandro Decina [Wed, 21 Sep 2011 10:27:18 +0000 (12:27 +0200)]
pvrvideosink: move window creation code from buffer_alloc to setcaps

6 years agopvrvideosink: add support for yuv-strided
Alessandro Decina [Wed, 21 Sep 2011 10:25:40 +0000 (12:25 +0200)]
pvrvideosink: add support for yuv-strided

6 years agopvrvideosink: call DeleteDrawable only if the drawable has been created
Alessandro Decina [Wed, 21 Sep 2011 10:22:54 +0000 (12:22 +0200)]
pvrvideosink: call DeleteDrawable only if the drawable has been created

6 years agopvrvideosink: call pfnWSEGL_DeleteDrawable when exiting
Alessandro Decina [Wed, 21 Sep 2011 07:46:30 +0000 (09:46 +0200)]
pvrvideosink: call pfnWSEGL_DeleteDrawable when exiting

Avoids leak and side steps a panic in some kernel cleanup code path.

6 years agopvrvideosink: call WSEGL_CloseDisplay on shutdown
Alessandro Decina [Wed, 21 Sep 2011 06:51:00 +0000 (08:51 +0200)]
pvrvideosink: call WSEGL_CloseDisplay on shutdown

6 years agopvrvideosink: use PVR2DBlt3DExt to blit.
Alessandro Decina [Sun, 18 Sep 2011 20:32:21 +0000 (22:32 +0200)]
pvrvideosink: use PVR2DBlt3DExt to blit.

PVR2DBlt3DExt is needed to blit NV12.

6 years agopvr: Use pvrblt3d to be able to resize
Luciana Fujii Pontello [Fri, 16 Sep 2011 22:44:01 +0000 (19:44 -0300)]
pvr: Use pvrblt3d to be able to resize

Use PVR2DBlt3D method.

6 years agopvr: Add XOverlay's set_window_handle method
Luciana Fujii Pontello [Fri, 16 Sep 2011 03:38:19 +0000 (00:38 -0300)]
pvr: Add XOverlay's set_window_handle method

Allow setting a window handle instead of just creating an internal
window.

6 years agopvr: Add more xwindow controls
Luciana Fujii Pontello [Tue, 13 Sep 2011 22:51:56 +0000 (19:51 -0300)]
pvr: Add more xwindow controls

Add render rectangle and more xwindow properties to allow implementing
XOverlay later.

6 years agopvr: Unwrap memory also if there is an error
Luciana Fujii Pontello [Tue, 13 Sep 2011 17:02:34 +0000 (14:02 -0300)]
pvr: Unwrap memory also if there is an error

6 years agopvr: Space changes
Luciana Fujii Pontello [Wed, 14 Sep 2011 14:49:44 +0000 (11:49 -0300)]
pvr: Space changes

6 years agopvrvideosink: fix buffer leak
Alessandro Decina [Wed, 14 Sep 2011 16:11:33 +0000 (18:11 +0200)]
pvrvideosink: fix buffer leak

6 years agopvrvideosink: make the pool log under the pvrvideosink category
Alessandro Decina [Wed, 14 Sep 2011 16:11:10 +0000 (18:11 +0200)]
pvrvideosink: make the pool log under the pvrvideosink category

6 years agopvrvideosink: make the sink work with BGRx
Alessandro Decina [Wed, 14 Sep 2011 14:19:08 +0000 (16:19 +0200)]
pvrvideosink: make the sink work with BGRx

Make the sink work with BGRx so we can do some testing. Add yuv later on.

6 years agopvrvideosink: make it possible to run as non-root
Alessandro Decina [Wed, 14 Sep 2011 10:58:48 +0000 (12:58 +0200)]
pvrvideosink: make it possible to run as non-root

Call WSEGL_InitialiseDisplay a bit earlier and get the pvr2d context from there.
InitialiseDisplay does DRM authentication so the sink can now be used as
non-root.

6 years agopvrvideosink: reset GST_BUFFER_SIZE on revived buffers
Alessandro Decina [Wed, 14 Sep 2011 10:31:10 +0000 (12:31 +0200)]
pvrvideosink: reset GST_BUFFER_SIZE on revived buffers

6 years agopvrvideosink: don't crash if PVR2DEnumerateDevices fails
Alessandro Decina [Tue, 13 Sep 2011 15:09:11 +0000 (17:09 +0200)]
pvrvideosink: don't crash if PVR2DEnumerateDevices fails

6 years agopvrsink: gstducati.h => gstpvr.h in Makefile.am
Alessandro Decina [Tue, 13 Sep 2011 14:25:05 +0000 (16:25 +0200)]
pvrsink: gstducati.h => gstpvr.h in Makefile.am

6 years agopvrsink: move to pvr plugin
Alessandro Decina [Tue, 13 Sep 2011 14:06:04 +0000 (16:06 +0200)]
pvrsink: move to pvr plugin

Move pvrsink to the pvr plugin. Rename gstducati.* to gstpvr.*
Make pvrsink use its own debug category.