[mythtv-commits] mythtv branch master updated by lvr. v0.28-pre-3302-g8e6d527

Git Repo Owner noreply at mythtv.org
Wed Dec 23 12:44:52 UTC 2015


The branch, master has been updated on the
mythtv repository by gitolite user lvr.
       via  8e6d5278cf581478f19bd08536f11f73a5283460 (commit)
       via  ad4f80940661269e6f5d0afa6e3961870650e4d3 (commit)
       via  3abe78544f6bc40bcc23f405df91c4098a78f5a7 (commit)
       via  69f5ea7d98f51a0d7d237bbd2396b67ad2022896 (commit)
       via  f58d9dd281383d2baf7f5b0020fd7b156576b7c3 (commit)
       via  1eced3e11677963d3a17639e1ac1f2f9625ee4cf (commit)
       via  2b47f7111c7439311bb9c6e7e37f369b2a8c29c3 (commit)
       via  47ee44e542ecfd4cc0a46602670b34bad2e7d480 (commit)
       via  0aaed7b8ffec1acd83957763cc26e7a26928fb51 (commit)
       via  3bc1919589ef2f81427ee63b5ff08b1a830a16fa (commit)
       via  549d35084bab66ec3e2613c7217b0b7f4d5d42e2 (commit)
       via  91a384d98b4db7c9b95dc21a6571fcafc0fd01fd (commit)
       via  bc81372c38557305fe5764184f13d56c33f0d30a (commit)
       via  bfdb1256d57354a0951ea66746acf51a6464b496 (commit)
       via  ae7fa337d47f2e19ea4fa9d48e2074d4c62d758e (commit)
       via  47fdf85f0dda1117ed88d9af9af041b58b37cef5 (commit)
       via  bfc38947b9fe47ee514803d6855627fe2b0ea34c (commit)
       via  ff9df6da436f9b0ddc0c8b7a4a4a2adc2ee385b2 (commit)
       via  8d7fc6f8f549295bc9ab6aa03650e112a4107475 (commit)
       via  d370a92160c09146d72b7b76cefbdc081e02f49f (commit)
       via  d0c597ee13d4c738ccf1d80e1d9634ac56d8ebb7 (commit)
       via  b6018b1be6644c6474388177aaba732905d5a978 (commit)
       via  59acf5c143cedaf52ff2f2f2011b1a076f9bd41f (commit)
       via  4aa24550d27f984b51cb6ab5a6d1dd89832a0f68 (commit)
       via  521b12bb52ddc7282745d7dbbdd8ea2433c95dcb (commit)
       via  1bc33c1d32dc290a2debc5bacf85c57103cae228 (commit)
       via  4d088bce1549a4178efc431124d6019b7303bc23 (commit)
       via  a437b17846568ae40f61ed633e59193fbb54a2a0 (commit)
       via  b22bf93622ea5a2fa6c135ad8709979c667d4b25 (commit)
       via  c175c7e1fbfbf61e0508bcb445c70d172af9d95c (commit)
       via  364e09ba0ebfcc9390eaa63ca0be643bda600c70 (commit)
       via  8ffdd74c038dc6f71c9d9c6de8db9aa0e9301351 (commit)
       via  9693fde7f73d2414d52aeca416a620ea8e61d62e (commit)
       via  da0461b66e17c5810eff3c31078110536f5be9d3 (commit)
       via  d7f291aec8c6c08186827a16aad805ae3ba1d8ae (commit)
       via  8096bac6e581813c918435eacb52fd6a9e4c9b8b (commit)
       via  1000b151c224444852022744225d4f1bcc2784d3 (commit)
       via  63ea147fae9632098f4591e2f5f8915f43f6459d (commit)
       via  67b33321006930f935bfe617c57b24193c41b15a (commit)
       via  2f39d4a300619d1211af3faed69fd6f720d88f5c (commit)
       via  f1d674525a1ec64b6785f32753a2c4b7f84868ad (commit)
       via  e83fbae704058e598f430968e53c20b2863e5d74 (commit)
       via  b57c3bc24f02aacf4c65bbaf01fe26f03d49c88e (commit)
       via  d2734c684160d890c741af653ac8907e31c4fd19 (commit)
       via  e9df903476c26d3836b76416c6d4dcf6a238c32b (commit)
       via  9e5898801eb8fb60c43db64a6ddff619c55401aa (commit)
       via  ba9cc93ac8c5d1f365cd3579ccb84c8698636ea8 (commit)
      from  7c82c550344865a475ca422c17b2a8c1ce55295f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 8e6d5278cf581478f19bd08536f11f73a5283460
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Mon, 21 Dec 2015 19:02:09 +0000
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 12:41:49 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=8e6d5278cf581478f19bd08536f11f73a5283460

UI: Add QOpenGLxxx compatibility for non OpenGLES builds
Enable the OpenGL changes to be applied to all platforms with Qt >= 5.4.
To effect this edit mythrender_opengl.h and change the line
 if defined USING_OPENGLES && QT_VERSION >= QT_VERSION_CHECK(5, 4, 0)
to
 if QT_VERSION >= QT_VERSION_CHECK(5, 4, 0)

Also applies the OpenGLES only change to MythRenderOpenGL::makeCurrent
to all Qt version >= 5.4.  This prevents lots of warning messages
about swapBuffer without a previous makeCurrent.

NB using the current QGLWidget/Context calls with Qt >= 5.4, it's not
possible to use OpenGL video with the Qt UI - the video window disappears
and get lots of error messges:

QOpenGLContext::swapBuffers() called with non-exposed window, behavior is undefined

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit ad4f80940661269e6f5d0afa6e3961870650e4d3
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Sat, 19 Dec 2015 13:55:55 +0000
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 12:41:49 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=ad4f80940661269e6f5d0afa6e3961870650e4d3

UI: Fix matrix multiply order in OpenGL2 render
In commit "UI: cache OpenGL shader parameters to reduce render time"
the matrix operations were incorrectly ordered.

"It seems like the QMatrix4x4 transformations are doing the matrix
multiplications from the opposite side compared to our previous class.
The arguments to scale were also incorrect since it used radians and a
(0, 0, 0) rotation vector."

Thanks to Jonatan Lindblad <mythtv at comhem.se>

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 3abe78544f6bc40bcc23f405df91c4098a78f5a7
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Sat, 12 Dec 2015 16:21:24 +0000
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 12:41:19 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=3abe78544f6bc40bcc23f405df91c4098a78f5a7

AO: Add an OpenMAX audio output device with passthrough support
The user can select from these output devices:
OpenMAX:hdmi
OpenMAX:analog (phono on Raspberry Pi)

If passthrough is enabled then output is forced to HDMI.

This patch also includes a change to AudioOutput to provide for a different
audio decoder other than Ffmpeg.

This code provides an OpenMAX audio decoder to replace Ffmpeg.  However,
in testing it became clear that the current OpenMAX decoder only permits
decoding from PCM to PCM.  This apparently is due to licensing issues.

The OpenMAX decoder wrapper is complete but untested.  Should the OpenMAX decoder
ever become functional the following warning message will be emitted:

	"AudioDecoderOMX::DecodeAudio is available but untested."

The OpenMAX decoder can then be enabled with the OMXAudioDecoderEnable setting.

Fixes #12565

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 69f5ea7d98f51a0d7d237bbd2396b67ad2022896
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Mon, 7 Dec 2015 13:34:02 +0000
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 12:41:19 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=69f5ea7d98f51a0d7d237bbd2396b67ad2022896

TV: OpenMAX decoder writes directly to video buffers
Avoid copying the decoded frame from the decoder buffers to the
frame allocated by AVFormatDecoder.

NB This assumes that AVFormatDecoder sets the opaque field in
the AVCodecContext struct.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit f58d9dd281383d2baf7f5b0020fd7b156576b7c3
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Sat, 5 Dec 2015 10:56:42 +0000
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 12:41:18 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=f58d9dd281383d2baf7f5b0020fd7b156576b7c3

TV: Add conditional OpenMAX decoder support for VP8/9
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 1eced3e11677963d3a17639e1ac1f2f9625ee4cf
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Wed, 9 Dec 2015 17:55:24 +0000
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 12:41:18 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=1eced3e11677963d3a17639e1ac1f2f9625ee4cf

TV: Reduce memory footprint of OpenMAX video renderer
This patch enables the playback of SD material on a Raspberry Zero with
64MB GPU memory and softblend OSD.

The number of video buffers can be increased at runtime by overriding the
OmxVideoBuffers setting (range >=5, default 7).

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 2b47f7111c7439311bb9c6e7e37f369b2a8c29c3
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Fri, 27 Nov 2015 12:26:38 +0000
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 12:41:18 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=2b47f7111c7439311bb9c6e7e37f369b2a8c29c3

TV: Fix OpenMAX video screen positioning
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 47ee44e542ecfd4cc0a46602670b34bad2e7d480
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Fri, 27 Nov 2015 09:34:11 +0000
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 12:41:18 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=47ee44e542ecfd4cc0a46602670b34bad2e7d480

TV: Fix OpenMAX video embedding
When the video is embedded no notice should be taken of the interactive
TV display rect

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 0aaed7b8ffec1acd83957763cc26e7a26928fb51
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Sun, 8 Nov 2015 15:10:26 +0000
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 12:41:18 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=0aaed7b8ffec1acd83957763cc26e7a26928fb51

TV: Add EGL/OpenGL based OSD to OpenMAX video
An EGL/OpenGLES2 based OSD that handles alpha blending.

This patch also supports audio visualisations but the CPU load
causes jitter.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 3bc1919589ef2f81427ee63b5ff08b1a830a16fa
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Sat, 14 Nov 2015 11:26:36 +0000
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 12:41:18 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=3bc1919589ef2f81427ee63b5ff08b1a830a16fa

TV: Only display menu item 'Switch to PBP' if PbP is supported
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 549d35084bab66ec3e2613c7217b0b7f4d5d42e2
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Wed, 28 Oct 2015 18:33:16 +0000
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 12:41:17 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=549d35084bab66ec3e2613c7217b0b7f4d5d42e2

TV: Add PxP support to OpenMAX video
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 91a384d98b4db7c9b95dc21a6571fcafc0fd01fd
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Fri, 23 Oct 2015 11:03:24 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 12:41:17 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=91a384d98b4db7c9b95dc21a6571fcafc0fd01fd

TV: Add HW deinterlace to OpenMAX video
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit bc81372c38557305fe5764184f13d56c33f0d30a
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Mon, 19 Oct 2015 08:58:58 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 12:41:10 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=bc81372c38557305fe5764184f13d56c33f0d30a

TV: Add an OpenMAX video renderer
An implementation of VideoOutput using the OpenMAX API suitable for the
Raspberry Pi.

This is a minimal implementation that uses software deinterlacing,
the 'softblend' OSD and is without picture controls.

The following feaures will be added in due course:

- Hardware deinterlacing using the 'image_fx' component.
- Fullscreen OSD.
- Visualisation
- 'Picture In/By Picture'.

Refs #12565

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit bfdb1256d57354a0951ea66746acf51a6464b496
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Sat, 15 Aug 2015 10:30:09 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 12:41:02 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=bfdb1256d57354a0951ea66746acf51a6464b496

TV: Add an OpenMAX private decoder
In conjunction with the OpenGL mods for Qt5 and EGLFS, this enables
hardware assisted playback of SD and HD video on a Raspberry Pi2.

NB the Raspberry Pi2 requires a license key to decode MPEG2 & WMV.

Refs #12565

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit ae7fa337d47f2e19ea4fa9d48e2074d4c62d758e
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Mon, 2 Nov 2015 11:25:57 +0000
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 12:41:02 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=ae7fa337d47f2e19ea4fa9d48e2074d4c62d758e

TV: Avoid a race condition starting the decoder thread
MythPlayer::StartPlaying creates and starts the decoder in the paused state.
It then performs some housekeeping and unpauses the decoder.  However,
if the decoder thread hasn't run during this period then the unpause
will have no effect and when eventually DecoderLoop runs it will
immediately pause the decoder and never decode any frames.

This bug manifests itself on the RPi when starting PiP recordings,
especially of MP4 recordings.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 47fdf85f0dda1117ed88d9af9af041b58b37cef5
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Thu, 26 Nov 2015 16:11:40 +0000
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 12:41:02 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=47fdf85f0dda1117ed88d9af9af041b58b37cef5

TV: Prevent a SEGV starting the popup EPG on the RPi.
This patch works around a Qt5/EGLFS bug causing a SEGV after calling
GetMythMainWindow()->GetPaintWindow()->winId().

This bug is tickled when starting the EPG with embedded liveTV
using the OpenMAX video renderer on the EGLFS platform with Qt 5.4.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit bfc38947b9fe47ee514803d6855627fe2b0ea34c
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Sat, 31 Oct 2015 17:50:23 +0000
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 12:41:01 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=bfc38947b9fe47ee514803d6855627fe2b0ea34c

Avoid green screen with Greedy HighMotion deinterlace on non-MMX CPUs
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit ff9df6da436f9b0ddc0c8b7a4a4a2adc2ee385b2
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Mon, 26 Oct 2015 17:14:02 +0000
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 12:41:01 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=ff9df6da436f9b0ddc0c8b7a4a4a2adc2ee385b2

TV: Fix VideoOutput::ResizeVideo for frames with width < line pitch
This fixes the MHEG display when using the softblend OSD, an OpenMAX
decoder and the video is shrunk into a window.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 8d7fc6f8f549295bc9ab6aa03650e112a4107475
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Sat, 3 Oct 2015 20:52:20 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 12:41:01 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=8d7fc6f8f549295bc9ab6aa03650e112a4107475

TV: Fix frame copy when frames have different pitches
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit d370a92160c09146d72b7b76cefbdc081e02f49f
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Thu, 10 Sep 2015 16:34:52 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 12:41:01 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=d370a92160c09146d72b7b76cefbdc081e02f49f

ALSA: Fix calculation of mixer volume
There is a long standing bug in AudioOutputALSA::SetVolumeChannel when
the min mixer volume is negative.

This bug is exposed on the Raspberry Pi which has mixer max=400 and
min=-10239.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit d0c597ee13d4c738ccf1d80e1d9634ac56d8ebb7
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Mon, 7 Sep 2015 15:25:15 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 12:41:01 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=d0c597ee13d4c738ccf1d80e1d9634ac56d8ebb7

ALSA: Add a Drain() method to ensure all samples played at close
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit b6018b1be6644c6474388177aaba732905d5a978
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Mon, 7 Sep 2015 15:21:24 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 12:41:01 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=b6018b1be6644c6474388177aaba732905d5a978

ALSA: Fix distorted sound on Raspberry Pi
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 59acf5c143cedaf52ff2f2f2011b1a076f9bd41f
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Thu, 27 Aug 2015 19:26:33 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 12:41:00 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=59acf5c143cedaf52ff2f2f2011b1a076f9bd41f

OpenGL: Add GLSL deinterlace filters that accept YV12 input textures
Using YV12 textures decreases the time to load and avoids the
software conversion and copy operation compared with MYTH_UYVY.
This is especially beneficial when rendering HD content.

NB this feature is only available on systems supporting the GL shading
language such as OpenGL ES2.0.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 4aa24550d27f984b51cb6ab5a6d1dd89832a0f68
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Mon, 24 Aug 2015 18:20:07 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 12:41:00 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=4aa24550d27f984b51cb6ab5a6d1dd89832a0f68

OpenGL: Ensure sampler2D is correctly assigned to texture buffer
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 521b12bb52ddc7282745d7dbbdd8ea2433c95dcb
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Sat, 31 Oct 2015 13:08:53 +0000
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 12:41:00 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=521b12bb52ddc7282745d7dbbdd8ea2433c95dcb

UI: Fix missing 1 pixel border around rects using Qt UI
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 1bc33c1d32dc290a2debc5bacf85c57103cae228
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Wed, 12 Aug 2015 18:32:39 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 12:41:00 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=1bc33c1d32dc290a2debc5bacf85c57103cae228

UI: Fix incorrect layout of MythWebView frames on EGLFS/Qt5.4
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 4d088bce1549a4178efc431124d6019b7303bc23
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Tue, 11 Aug 2015 20:06:04 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 12:41:00 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=4d088bce1549a4178efc431124d6019b7303bc23

UI: Reduce flicker while updating GUI background image
This reduces occasional black backgrounds on the Xmas theme.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit a437b17846568ae40f61ed633e59193fbb54a2a0
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Wed, 26 Aug 2015 11:44:14 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 12:41:00 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=a437b17846568ae40f61ed633e59193fbb54a2a0

UI: Avoid texture memory exhaustion by shrinking the painter image cache
This dynamically shrinks the OpenGL painter's m_MaxHardwareCacheSize
when a texture can't be created.

This also fixes a bug in MythRenderOpenGL::ClearTexture which wasn't
reporting the OOM failure from glTexImage2D.

The Raspberry Pi has a limited amount of GPU memory (typically 256MB)
and the texture buffers overflow if the painter hardware cache size
is set at the current 96MB.  This patch adds independent configurable
sizes for the hardware and software caches (UIPainterMaxCache[HW|SW])

The patch also reduces the default hardware cache size to 64MB and
adds 64 bit correctness to the SetMaximumCacheSizes function.

NB the texture buffer overflow is most noticeable on the MythCenter
Xmas theme which uses an animated background.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit b22bf93622ea5a2fa6c135ad8709979c667d4b25
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Mon, 10 Aug 2015 15:04:26 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 12:40:59 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=b22bf93622ea5a2fa6c135ad8709979c667d4b25

UI: Fix Qt UI drawing when using embedded OpenGL video.
When using the Qt UI painter and live video is embedded in the
program guide, there is significant flicker on the Raspberry Pi
using OpenGL ES 2.0 video.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit c175c7e1fbfbf61e0508bcb445c70d172af9d95c
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Fri, 7 Aug 2015 17:08:30 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 12:40:59 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=c175c7e1fbfbf61e0508bcb445c70d172af9d95c

UI: Fix incorrect layout of ConfigurationWizard pages on EGLFS/Qt5.4
ConfiguationWizard dialogs are displayed incorrectly on the EGLFS
platform (Raspberry Pi) due to incorrect parent assignment.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 364e09ba0ebfcc9390eaa63ca0be643bda600c70
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Sun, 2 Aug 2015 16:18:58 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 12:40:59 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=364e09ba0ebfcc9390eaa63ca0be643bda600c70

UI: cache OpenGL shader parameters to reduce render time
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 8ffdd74c038dc6f71c9d9c6de8db9aa0e9301351
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Wed, 16 Dec 2015 19:40:52 +0000
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 12:40:59 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=8ffdd74c038dc6f71c9d9c6de8db9aa0e9301351

UI: Avoid a race condition and SEGV in EGLFS during MythMainWindow creation
When the EGLFS platform is used, a SEGV is sometimes thrown in the
first call to qApp->processEvents.  A backtrace shows:

 0  0x6c49a8c0 in QEGLPlatformWindow::textures() const () at eglconvenience/qeglplatformwindow.cpp:105
 1  0x6c49b0a8 in QEGLCompositor::render(QEGLPlatformWindow*) () at eglconvenience/qeglcompositor.cpp:125
 2  0x6c49b508 in QEGLCompositor::renderAll() () at eglconvenience/qeglcompositor.cpp:91
 3  0x7306b728 in QMetaObject::activate(QObject*, int, int, void**) () at kernel/qobject.cpp:3716
 4  0x73079608 in QTimer::timerEvent(QTimerEvent*) () at kernel/qtimer.cpp:247

This appears to be a race condition in initialising the EGL windows.

Calling qApp->processEvents directly after showing MythMainWindow avoids
the race.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 9693fde7f73d2414d52aeca416a620ea8e61d62e
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Fri, 20 Nov 2015 18:58:46 +0000
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 12:40:59 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=9693fde7f73d2414d52aeca416a620ea8e61d62e

UI: Avoid NULL deref in OpenGL painter after QOpenGLxxx support
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit da0461b66e17c5810eff3c31078110536f5be9d3
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Fri, 17 Jul 2015 19:12:18 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 12:40:58 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=da0461b66e17c5810eff3c31078110536f5be9d3

UI: Convert QGLxxx usage to QOpenGLxxx for OpenGLES2.0 and Qt 5.4
This enables OpenGL to be used for the GUI when the platform
is EGLFS.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit d7f291aec8c6c08186827a16aad805ae3ba1d8ae
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Tue, 14 Jul 2015 11:48:10 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 12:40:22 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=d7f291aec8c6c08186827a16aad805ae3ba1d8ae

UI: OpenGL ES 2.0 support for Raspberry Pi
Refs #12565

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 8096bac6e581813c918435eacb52fd6a9e4c9b8b
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Wed, 12 Aug 2015 17:53:12 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 10:07:31 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=8096bac6e581813c918435eacb52fd6a9e4c9b8b

UI: Add WebBrowserEnableJavascript setting
The Raspberry Pi build of Qt 5.4 has some bugs in the JavaScript code that
causes a SEGV for most sites that include JavaScipt.  So provide a setting
to globally disable JavaScript.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 1000b151c224444852022744225d4f1bcc2784d3
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Sun, 12 Jul 2015 11:54:17 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 10:07:31 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=1000b151c224444852022744225d4f1bcc2784d3

FE/avtest: setuid fails in Qt>=5.3 and causes program exit
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 63ea147fae9632098f4591e2f5f8915f43f6459d
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Sun, 9 Aug 2015 19:58:36 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 10:07:31 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=63ea147fae9632098f4591e2f5f8915f43f6459d

transcode: preserve qt in replex config to fix link errors when xcompiling
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 67b33321006930f935bfe617c57b24193c41b15a
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Wed, 18 Nov 2015 11:44:13 +0000
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 10:07:31 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=67b33321006930f935bfe617c57b24193c41b15a

Add missing QTcpSocket header
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 2f39d4a300619d1211af3faed69fd6f720d88f5c
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Sat, 14 Mar 2015 11:49:08 +0000
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 10:07:31 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=2f39d4a300619d1211af3faed69fd6f720d88f5c

UPnP: Fix Mingw build with no SSL
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit f1d674525a1ec64b6785f32753a2c4b7f84868ad
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Sat, 17 Jan 2015 12:53:22 +0000
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 10:07:31 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=f1d674525a1ec64b6785f32753a2c4b7f84868ad

UPnP: Fix build on systems with no Qt SSL (mingw)
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit e83fbae704058e598f430968e53c20b2863e5d74
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Fri, 26 Sep 2014 14:10:29 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 10:07:31 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=e83fbae704058e598f430968e53c20b2863e5d74

UPnP: Fix mingw32 compilation which lacks SSL
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit b57c3bc24f02aacf4c65bbaf01fe26f03d49c88e
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Tue, 24 Nov 2015 17:09:35 +0000
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 10:07:31 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=b57c3bc24f02aacf4c65bbaf01fe26f03d49c88e

configure: Link with the correct OpenGL/ES library
Currently configure adds the library -lGL if the basic OpenGL headers
and libraries are detected.  Later, it checks whether Qt was built with
OpenGLES support and adds those libs.  This causes problems at runtime
when using Qt's EGLFS graphics which attempt to use shader programs
(part of ES 2.0) which then fail because the basic OpenGL library
is being referenced.

This patch removes the basic OpenGL lib and replaces it with
the version being used by Qt.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit d2734c684160d890c741af653ac8907e31c4fd19
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Wed, 22 Jul 2015 07:28:23 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 10:07:30 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=d2734c684160d890c741af653ac8907e31c4fd19

configure: search more paths for DVB headers
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit e9df903476c26d3836b76416c6d4dcf6a238c32b
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Mon, 6 Jul 2015 18:56:52 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 10:07:30 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=e9df903476c26d3836b76416c6d4dcf6a238c32b

configure: Fix some sysroot based paths for cross compilation
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 9e5898801eb8fb60c43db64a6ddff619c55401aa
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Sun, 5 Jul 2015 16:44:42 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 10:07:30 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=9e5898801eb8fb60c43db64a6ddff619c55401aa

configure: libuuid only required if mythlogserver enabled
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit ba9cc93ac8c5d1f365cd3579ccb84c8698636ea8
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Sun, 5 Jul 2015 16:41:20 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Dec 2015 10:07:30 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=ba9cc93ac8c5d1f365cd3579ccb84c8698636ea8

configure: Fix pkg-config names for Qt5
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



-----------------------------------------------------------------------

Summary of changes:
 mythtv/configure                                   |   30 +-
 mythtv/filters/greedyhdeint/filter_greedyhdeint.c  |   17 +-
 mythtv/libs/libmyth/audio/audiooutput.cpp          |   37 +
 mythtv/libs/libmyth/audio/audiooutput.h            |    2 +-
 mythtv/libs/libmyth/audio/audiooutput_omx.cpp      | 1669 ++++++++++++++++++++
 mythtv/libs/libmyth/audio/audiooutput_omx.h        |   69 +
 mythtv/libs/libmyth/audio/audiooutputalsa.cpp      |   18 +-
 mythtv/libs/libmyth/libmyth.pro                    |    9 +
 mythtv/libs/libmyth/mythconfigdialogs.cpp          |    8 +-
 mythtv/libs/libmyth/mythdialogs.cpp                |   18 +-
 mythtv/libs/libmyth/omxcontext.cpp                 | 1138 +++++++++++++
 mythtv/libs/libmyth/omxcontext.h                   |  196 +++
 mythtv/libs/libmythbase/serverpool.cpp             |    1 +
 mythtv/libs/libmythtv/filtermanager.h              |    3 +-
 mythtv/libs/libmythtv/libmythtv.pro                |   10 +
 mythtv/libs/libmythtv/mythframe.cpp                |    7 +-
 mythtv/libs/libmythtv/mythplayer.cpp               |    1 +
 mythtv/libs/libmythtv/openglvideo.cpp              |  369 ++++-
 mythtv/libs/libmythtv/openglvideo.h                |   37 +-
 mythtv/libs/libmythtv/osd.cpp                      |    2 +-
 mythtv/libs/libmythtv/privatedecoder.cpp           |   15 +
 mythtv/libs/libmythtv/privatedecoder_omx.cpp       | 1339 ++++++++++++++++
 mythtv/libs/libmythtv/privatedecoder_omx.h         |   90 ++
 mythtv/libs/libmythtv/tv_play.cpp                  |   16 +-
 mythtv/libs/libmythtv/videodisplayprofile.cpp      |   16 +
 mythtv/libs/libmythtv/videoout_null.cpp            |    4 +
 mythtv/libs/libmythtv/videoout_omx.cpp             | 1360 ++++++++++++++++
 mythtv/libs/libmythtv/videoout_omx.h               |   82 +
 mythtv/libs/libmythtv/videoout_opengl.cpp          |   66 +-
 mythtv/libs/libmythtv/videoout_opengl.h            |   14 +-
 mythtv/libs/libmythtv/videoout_openglvaapi.cpp     |    2 +
 mythtv/libs/libmythtv/videooutbase.cpp             |  103 +-
 mythtv/libs/libmythui/mythmainwindow.cpp           |  158 ++-
 mythtv/libs/libmythui/mythmainwindow.h             |    4 +-
 mythtv/libs/libmythui/mythmainwindow_internal.h    |   17 +-
 mythtv/libs/libmythui/mythpainter.cpp              |   16 +-
 mythtv/libs/libmythui/mythpainter_ogl.cpp          |   67 +-
 mythtv/libs/libmythui/mythpainter_ogl.h            |    9 +-
 mythtv/libs/libmythui/mythrender_opengl.cpp        |  159 ++-
 mythtv/libs/libmythui/mythrender_opengl.h          |   75 +-
 mythtv/libs/libmythui/mythrender_opengl1.cpp       |   12 +-
 mythtv/libs/libmythui/mythrender_opengl1.h         |    6 +-
 mythtv/libs/libmythui/mythrender_opengl2.cpp       |  265 ++--
 mythtv/libs/libmythui/mythrender_opengl2.h         |   20 +-
 mythtv/libs/libmythui/mythrender_opengl2es.h       |   61 +-
 mythtv/libs/libmythui/mythrender_opengl_defs2.h    |    2 +
 mythtv/libs/libmythui/mythuiimage.cpp              |    9 +-
 mythtv/libs/libmythui/mythuishape.cpp              |    3 +
 mythtv/libs/libmythui/mythuiwebbrowser.cpp         |   19 +
 mythtv/libs/libmythupnp/httpserver.cpp             |   23 +-
 mythtv/libs/libmythupnp/httpserver.h               |   13 +-
 mythtv/libs/libmythupnp/websocket.cpp              |   38 +-
 mythtv/libs/libmythupnp/websocket.h                |   18 +-
 mythtv/programs/mythavtest/main.cpp                |   11 +
 .../programs/mythfrontend/audiogeneralsettings.cpp |    3 +
 mythtv/programs/mythfrontend/main.cpp              |   11 +
 mythtv/programs/mythfrontend/mythfrontend.pro      |    1 +
 .../mythtranscode/external/replex/replex.pro       |    2 +-
 mythtv/settings.pro                                |    6 +-
 59 files changed, 7317 insertions(+), 459 deletions(-)
 create mode 100644 mythtv/libs/libmyth/audio/audiooutput_omx.cpp
 create mode 100644 mythtv/libs/libmyth/audio/audiooutput_omx.h
 create mode 100644 mythtv/libs/libmyth/omxcontext.cpp
 create mode 100644 mythtv/libs/libmyth/omxcontext.h
 create mode 100644 mythtv/libs/libmythtv/privatedecoder_omx.cpp
 create mode 100644 mythtv/libs/libmythtv/privatedecoder_omx.h
 create mode 100644 mythtv/libs/libmythtv/videoout_omx.cpp
 create mode 100644 mythtv/libs/libmythtv/videoout_omx.h

-- 



More information about the mythtv-commits mailing list