From 866c635d44d47f870c35cdbda630abba6ef41ebe Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Mon, 12 May 2014 18:25:32 +0200 Subject: [PATCH] projects/RPi/patches/xbmc: update RPi patch, this should fix #3181, this should fix #2981 Signed-off-by: Stephan Raue --- .../xbmc/xbmc-gotham_rbp_backports.patch | 421 +++++++++++------- 1 file changed, 254 insertions(+), 167 deletions(-) diff --git a/projects/RPi/patches/xbmc/xbmc-gotham_rbp_backports.patch b/projects/RPi/patches/xbmc/xbmc-gotham_rbp_backports.patch index 75a2ff1e09..4ba3faa2ec 100644 --- a/projects/RPi/patches/xbmc/xbmc-gotham_rbp_backports.patch +++ b/projects/RPi/patches/xbmc/xbmc-gotham_rbp_backports.patch @@ -1,7 +1,7 @@ -From 7648b2bb96c1306baba5dbcff5600bfff8a06714 Mon Sep 17 00:00:00 2001 +From 5151afc763b3b2b01cf046d3538d2d7c4f6008a4 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Mon, 5 Aug 2013 13:12:46 +0100 -Subject: [PATCH 01/82] h264_parser: Initialize the h264dsp context in the +Subject: [PATCH 01/83] h264_parser: Initialize the h264dsp context in the parser as well MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -39,10 +39,10 @@ index aff9ba1..a732f79 100644 1.9.1 -From e9d2d6eadf3e16de343c420947913d0fb9a5230d Mon Sep 17 00:00:00 2001 +From 1b297d1cc8842b8df31376b24f72007f369f3abe Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Mon, 5 Aug 2013 13:12:47 +0100 -Subject: [PATCH 02/82] h264dsp: Factorize code into a new function, +Subject: [PATCH 02/83] h264dsp: Factorize code into a new function, h264_find_start_code_candidate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -168,10 +168,10 @@ index 98ea15c..1be4804 100644 1.9.1 -From 2c0a38cc4962a17cb73a22b402e5067b0397340b Mon Sep 17 00:00:00 2001 +From 213daa616b204a266e896613759efbd2c0b128e6 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Mon, 5 Aug 2013 13:12:48 +0100 -Subject: [PATCH 03/82] arm: Add assembly version of +Subject: [PATCH 03/83] arm: Add assembly version of h264_find_start_code_candidate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -505,10 +505,10 @@ index 972aace..363843c 100644 1.9.1 -From e90476bcd44210d65957a86af920955de9f3a4c9 Mon Sep 17 00:00:00 2001 +From 0ffba603212373eee7f4f7633522ac9188ee57a5 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 19 Aug 2013 22:48:05 +0100 -Subject: [PATCH 04/82] [ffmpeg] Backport of h264_find_start_code_candidate +Subject: [PATCH 04/83] [ffmpeg] Backport of h264_find_start_code_candidate optimisation --- @@ -1037,10 +1037,10 @@ index 0000000..cdc2d1e 1.9.1 -From faa3a5b0e2665ee97c969bccc7344e0625156114 Mon Sep 17 00:00:00 2001 +From 868ac5ce468773f2b7d224de4c194d916da48b86 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 16 Apr 2014 01:51:31 +0100 -Subject: [PATCH 05/82] h264: Move search code search functions into separate +Subject: [PATCH 05/83] h264: Move search code search functions into separate source files. This permits re-use with parsers for codecs which use similar start codes. @@ -1791,10 +1791,10 @@ index 0000000..cc55d5f 1.9.1 -From a8f498d9910032175f82e125ea9496ffb9819d23 Mon Sep 17 00:00:00 2001 +From 7da3e5b747910363ace46045d11c172c9db3a940 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 16 Apr 2014 01:51:32 +0100 -Subject: [PATCH 06/82] vc-1: Add platform-specific start code search routine +Subject: [PATCH 06/83] vc-1: Add platform-specific start code search routine to VC1DSPContext. Initialise VC1DSPContext for parser as well as for decoder. @@ -1975,10 +1975,10 @@ index 6540eff..302e4a8 100644 1.9.1 -From 2942907bc15900db876ac0139681a2b6b4dc5347 Mon Sep 17 00:00:00 2001 +From eddfc8611311caf4074d740728c041cf5c2a043c Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 23 Apr 2014 01:41:04 +0100 -Subject: [PATCH 07/82] vc-1: Optimise parser (with special attention to ARM) +Subject: [PATCH 07/83] vc-1: Optimise parser (with special attention to ARM) The previous implementation of the parser made four passes over each input buffer (reduced to two if the container format already guaranteed the input @@ -2363,10 +2363,10 @@ index 53af61c..af601ad 100644 1.9.1 -From 8e5ecee4bb5122c5fb612b4b38b1b0a3d6ce8161 Mon Sep 17 00:00:00 2001 +From eaede29de27188347d8461f4b74bdc6594850b4e Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 19 Mar 2014 17:44:59 +0000 -Subject: [PATCH 08/82] truehd: add hand-scheduled ARM asm version of +Subject: [PATCH 08/83] truehd: add hand-scheduled ARM asm version of mlp_filter_channel. Profiling results for overall audio decode and the mlp_filter_channel(_arm) @@ -2922,10 +2922,10 @@ index 84a8aa3..129bcfe 100644 1.9.1 -From f4f65f62fac5be8452dbbfbbdbe4d959178487af Mon Sep 17 00:00:00 2001 +From dd6372760ac5ac078c5a50b23df48858b32b382f Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 19 Mar 2014 17:48:54 +0000 -Subject: [PATCH 09/82] truehd: break out part of rematrix_channels into +Subject: [PATCH 09/83] truehd: break out part of rematrix_channels into platform-specific callback. Verified with profiling that this doesn't have a measurable effect upon @@ -3083,10 +3083,10 @@ index 129bcfe..f98e9be 100644 1.9.1 -From c5eb7862f3f54955349438fdb3fb65ead15f5cbe Mon Sep 17 00:00:00 2001 +From 3d258e1d8fdb26207f2a8b0bf8e9413c1c9d2fb6 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 19 Mar 2014 17:49:48 +0000 -Subject: [PATCH 10/82] truehd: add hand-scheduled ARM asm version of +Subject: [PATCH 10/83] truehd: add hand-scheduled ARM asm version of ff_mlp_rematrix_channel. Profiling results for overall audio decode and the rematrix_channels function @@ -3379,10 +3379,10 @@ index f0ea285..268dfdd 100644 1.9.1 -From 625148675ec020db7b677e79093379cbaf51f78d Mon Sep 17 00:00:00 2001 +From 7703bb7fe76f49378d7a9d1f7cacf92a0eee5d96 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 19 Mar 2014 17:50:36 +0000 -Subject: [PATCH 11/82] truehd: tune VLC decoding for ARM. +Subject: [PATCH 11/83] truehd: tune VLC decoding for ARM. Profiling on a Raspberry Pi revealed the best performance to correspond with VLC_BITS = 5. Results for overall audio decode and the get_vlc2 function @@ -3444,10 +3444,10 @@ index e9343a5..a998dac 100644 1.9.1 -From 137a795c7ca2d25d9667186403e2293a9fe7e30d Mon Sep 17 00:00:00 2001 +From e6dcddbd93ca44ff548deac8583b8290a8a7d1c6 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 19 Mar 2014 17:54:07 +0000 -Subject: [PATCH 12/82] truehd: break out part of output_data into +Subject: [PATCH 12/83] truehd: break out part of output_data into platform-specific callback. Verified with profiling that this doesn't have a measurable effect upon @@ -3641,10 +3641,10 @@ index f98e9be..5bc901f 100644 1.9.1 -From 4b0e225db4f8819e670d67ea7b0a319327c0a36d Mon Sep 17 00:00:00 2001 +From 45df548b240b36ccc1f07818821bc8372b49bcc1 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 19 Mar 2014 17:54:59 +0000 -Subject: [PATCH 13/82] truehd: add hand-scheduled ARM asm version of +Subject: [PATCH 13/83] truehd: add hand-scheduled ARM asm version of ff_mlp_pack_output. Profiling results for overall decode and the output_data function in @@ -4268,10 +4268,10 @@ index 268dfdd..2d8b98d 100644 1.9.1 -From 03e4c711c30efd26c202a7ea31bf579f69a34398 Mon Sep 17 00:00:00 2001 +From c21fa5944e4711bafce1c476ba26216fedf841a0 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Thu, 14 Nov 2013 19:48:41 +0000 -Subject: [PATCH 14/82] More efficient infobool expression evaluator +Subject: [PATCH 14/83] More efficient infobool expression evaluator Expession infobools are evaluated at runtime from one or more single infobools and a combination of boolean NOT, AND and OR operators. Previously, parsing @@ -4770,10 +4770,10 @@ index 4e0faee..0a91399 100644 1.9.1 -From 414c850e0aa71bf5b49ec7bd112bf8f91bf8421a Mon Sep 17 00:00:00 2001 +From 25637ec0e35f1e745ede67708c1d877e00b8a69d Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Mon, 24 Mar 2014 22:26:21 +0000 -Subject: [PATCH 15/82] Where an infobool expression failed to parse, evaluate +Subject: [PATCH 15/83] Where an infobool expression failed to parse, evaluate the infobool as false. Previously, this would result in a segfault due to the dereferencing of an uninitialised pointer to the head of the expression tree. @@ -4800,10 +4800,10 @@ index db461dd..7c54064 100644 1.9.1 -From 5a5ab68da115cb70e919e72e688c430c59d33a63 Mon Sep 17 00:00:00 2001 +From 2ed5e8809d3d2ce8f9316de535fe3358b7cbd1ec Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Tue, 26 Nov 2013 20:09:48 +0000 -Subject: [PATCH 16/82] Add caching of infolabels +Subject: [PATCH 16/83] Add caching of infolabels The functions CGUIInfoLabel::GetLabel and CGUIInfoLabel::GetItemLabel take a number of strings returned from CGUIInfoManager::GetImage or @@ -5016,10 +5016,10 @@ index 8c1c1dc..418b2c4 100644 1.9.1 -From 03cf5f047cbda8f57b0f883debeadfb10e8910b2 Mon Sep 17 00:00:00 2001 +From 3d1cfa9968f438df9fbd7048768b8682232a9a5a Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Tue, 10 Dec 2013 01:12:31 +0000 -Subject: [PATCH 17/82] De-duplication of string cache for non-item and item +Subject: [PATCH 17/83] De-duplication of string cache for non-item and item labels --- @@ -5159,10 +5159,10 @@ index 418b2c4..6d9ebf7 100644 1.9.1 -From b9a02e8acdffc02117033bc72cbf353de86c18ee Mon Sep 17 00:00:00 2001 +From 26bf02b8450b2d07bd94a2a2733f892b6cd4ebf5 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 21 Feb 2014 15:16:13 +0000 -Subject: [PATCH 18/82] Faster and simpler portable implementation of +Subject: [PATCH 18/83] Faster and simpler portable implementation of MathUtils::round_int(). Much as I like a bit of inline assembler, I have also removed the ARM versions @@ -5368,10 +5368,10 @@ index 96af9f4..0dae77d 100644 1.9.1 -From b187bf04c86b636b62b8ff95679c2d5b900e4a1a Mon Sep 17 00:00:00 2001 +From 11c635c06bb5e752b3a52bc9b6363bf28fe1cbd0 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 11 Dec 2013 17:21:54 +0000 -Subject: [PATCH 19/82] Move the reference-counting of Begin and End calls from +Subject: [PATCH 19/83] Move the reference-counting of Begin and End calls from DX and GL source files into GUIFontTTF.cpp. --- @@ -5726,10 +5726,10 @@ index a0dacba..6736cf7 100644 1.9.1 -From 2504fcd5182d1b884ad2b07c5c12029f7c900937 Mon Sep 17 00:00:00 2001 +From 9f1bdf9c80cc5984244b1fd4178483f0f6135ca6 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 11 Dec 2013 18:47:54 +0000 -Subject: [PATCH 20/82] Convert CGUIFontTTFBase::m_vertex to be managed as a +Subject: [PATCH 20/83] Convert CGUIFontTTFBase::m_vertex to be managed as a std::vector. Also retired CGUIFontTTFBase::m_vertex_count and CGUIFontTTFBase::m_vertex_size because these can be derived from vector member functions. @@ -5911,10 +5911,10 @@ index 93b7ea6..a4e8571 100644 1.9.1 -From 0150f73d79c2a2e7eeaed6198f4ab5bbe7d393a9 Mon Sep 17 00:00:00 2001 +From addb853daaf9d58d0d803feb10dedb5a1d27d0de Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Mon, 16 Dec 2013 18:58:12 +0000 -Subject: [PATCH 21/82] CGUIFontTTFBase::RenderCharacter can now append to +Subject: [PATCH 21/83] CGUIFontTTFBase::RenderCharacter can now append to arbitrary vectors of vertices rather than only CGUIFontTTFBase::m_vertex --- @@ -5990,10 +5990,10 @@ index 35e3cf9..4a6a696 100644 1.9.1 -From 47b15f11e98a6005d8d78d2ebd4f0bcac2a487f6 Mon Sep 17 00:00:00 2001 +From 5fc0ed0c52e9ca6a111e7c630b8954df76b7b036 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 15 Jan 2014 17:18:38 +0000 -Subject: [PATCH 22/82] Add a cache of font glyph bounding box vertices. This +Subject: [PATCH 22/83] Add a cache of font glyph bounding box vertices. This is implemented as a template because ultimately we will key on different parameters and store values of different types, depending upon whether we have a GLES or non-GLES backend, and for GLES, whether or not the currently @@ -6653,10 +6653,10 @@ index f351c99..9036ba9 100644 1.9.1 -From f458602f71d4db4bc4b6efc5872846198d7f2edb Mon Sep 17 00:00:00 2001 +From 605feccfef31e6f5837592735a7f16e4cf68a0e1 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Thu, 23 Jan 2014 22:24:17 +0000 -Subject: [PATCH 23/82] Lay the groundwork for hardware clipping. +Subject: [PATCH 23/83] Lay the groundwork for hardware clipping. For glScissor() to replace CGraphicContext::ClipRect, a necessary condition is that no shear or rotation is introduced between the coordinate systems @@ -6921,10 +6921,10 @@ index 98e398a..81ee49e 100644 1.9.1 -From 240a76bca746dee43b9e14e308cb6bb6ee51d731 Mon Sep 17 00:00:00 2001 +From d5792948591980c10feef1220a99d31c389bf57a Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Thu, 23 Jan 2014 16:42:22 +0000 -Subject: [PATCH 24/82] Increase font cache hit rate by keying on the +Subject: [PATCH 24/83] Increase font cache hit rate by keying on the fractional part of m_originX and m_originY *after* they have been through the graphics context's transformation matrix, plus the scale/rotation elements of the matrix, rather than the origin in the original frame of reference plus @@ -7128,10 +7128,10 @@ index 7cb4669..78445ab 100644 1.9.1 -From 5f9ec5e0c5e20a522ce57bb321225ae7e44a9b9b Mon Sep 17 00:00:00 2001 +From beef78bc04d68b690c91fa6c4e8a786bc8b6b3a9 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 8 Jan 2014 12:16:33 +0000 -Subject: [PATCH 25/82] Rewrite of scrolling text code. +Subject: [PATCH 25/83] Rewrite of scrolling text code. No longer shuffles the string round to minimise the number of characters before the clipping rectangle; this doesn't save much on rendering time but @@ -7450,10 +7450,10 @@ index 2c6f366..b74faf2 100644 1.9.1 -From b2103af1500129225ff53726699c431aedaf1956 Mon Sep 17 00:00:00 2001 +From f48c2017888bca8d59652e705665f11cc1d66925 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Mon, 27 Jan 2014 23:21:10 +0000 -Subject: [PATCH 26/82] Move the application of the translation offsets into +Subject: [PATCH 26/83] Move the application of the translation offsets into the GLES code. Still all pure software at this stage. Main change is in the data types at the interface between CGUIFontTTFBase and CGUIFontTTFGL. The old way (array of vertices in m_vertex) are retained in addition, for the @@ -7649,10 +7649,10 @@ index cb56987..f6aa081 100644 1.9.1 -From c2b783e53cd2e33603dbfa69da20faa574dbe59c Mon Sep 17 00:00:00 2001 +From 8a4e63a234332aafc1f6f388ab56bc01d6cfb37b Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 15 Jan 2014 15:28:06 +0000 -Subject: [PATCH 27/82] Rather than applying the translation offsets to the +Subject: [PATCH 27/83] Rather than applying the translation offsets to the vertices, now applies them to the model view matrix from the top of the matrix stack and pushes it over to OpenGL. The vertices themselves are still all held client-side. @@ -7799,10 +7799,10 @@ index 81ee49e..d2f9cd1 100644 1.9.1 -From ffacd25dc1ecf5b94ad32475f2524d0a6e2bab3d Mon Sep 17 00:00:00 2001 +From 2a10762d357f43c08f4dcee2301da659a8ffbb46 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 29 Jan 2014 13:21:19 +0000 -Subject: [PATCH 28/82] Enable hardware clipping. +Subject: [PATCH 28/83] Enable hardware clipping. --- xbmc/guilib/GUIFontTTF.cpp | 4 ++-- @@ -7878,10 +7878,10 @@ index fbffaa0..b7618e1 100644 1.9.1 -From 357ecaa79564f952f4a218d3c279e44fc3433386 Mon Sep 17 00:00:00 2001 +From c8d9b97c074181da280f8596e22472eb36a0e2ce Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 15 Jan 2014 15:32:51 +0000 -Subject: [PATCH 29/82] Move the vertex data across to a vertex buffer object +Subject: [PATCH 29/83] Move the vertex data across to a vertex buffer object just prior to drawing. --- @@ -7935,10 +7935,10 @@ index b7618e1..0df3749 100644 1.9.1 -From d6ff7158c9eeb26a350a1eb8447780ca66a20e30 Mon Sep 17 00:00:00 2001 +From 8ef808aa5559284ed1e1f3c1287363925818b887 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 15 Jan 2014 16:04:04 +0000 -Subject: [PATCH 30/82] Move vertex data into an OpenGL VBO when the font cache +Subject: [PATCH 30/83] Move vertex data into an OpenGL VBO when the font cache entry is populated. The font cache now stores the "name" (handle) of the VBO, rather than a vector of vertices. @@ -8213,10 +8213,10 @@ index 6736cf7..168fb21 100644 1.9.1 -From 608d86befa3d59587f85ccb5b719e0f0fc4c5bc6 Mon Sep 17 00:00:00 2001 +From 55b50aa17891e7d1a5e5abf2fcbf623fbe42120d Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Thu, 16 Jan 2014 16:29:42 +0000 -Subject: [PATCH 31/82] Switch from glDrawArrays() to glDrawElements(). This +Subject: [PATCH 31/83] Switch from glDrawArrays() to glDrawElements(). This involves setting up a static VBO containing the indexes necessary to convert from quads to triangles on the fly in the GPU. @@ -8439,10 +8439,10 @@ index dfc4672..0c32947 100644 1.9.1 -From 96f7e1687cc763ceafc3787b8bb931fbaec0786f Mon Sep 17 00:00:00 2001 +From 47d93319ce6cdbff9d9cc2d7e6c809b555783422 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Tue, 4 Feb 2014 16:17:57 +0000 -Subject: [PATCH 32/82] Update Windows project files +Subject: [PATCH 32/83] Update Windows project files --- project/VS2010Express/XBMC.vcxproj | 2 ++ @@ -8497,10 +8497,10 @@ index b536eb3..cb34443 100644 1.9.1 -From 1b9231fe6960b7897899097023db94c60c18180c Mon Sep 17 00:00:00 2001 +From 2c4565f57fb4c63e21ab470ad99e3f8edbbcf225 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Tue, 4 Feb 2014 16:49:45 +0000 -Subject: [PATCH 33/82] Update XCode project file +Subject: [PATCH 33/83] Update XCode project file --- XBMC.xcodeproj/project.pbxproj | 10 ++++++++++ @@ -8566,10 +8566,10 @@ index fdd10a1..62e7e69 100644 1.9.1 -From 5a85e16038ddb39105543578bc48efb43ebc2f26 Mon Sep 17 00:00:00 2001 +From ada4857fe0b4a5b93f129a046c2779d2d3bc8dea Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Tue, 4 Feb 2014 17:44:34 +0000 -Subject: [PATCH 34/82] Clang seems to be more picky than gcc about some C++ +Subject: [PATCH 34/83] Clang seems to be more picky than gcc about some C++ template syntax --- @@ -8637,10 +8637,10 @@ index 895fa72..bd84b9a 100644 1.9.1 -From 3e67b47a1c180b8a3ef26f26305ab2e126eeaf61 Mon Sep 17 00:00:00 2001 +From 7228bef10ed348a028733bbb4f825cd9bcdbba96 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Tue, 4 Feb 2014 18:52:14 +0000 -Subject: [PATCH 35/82] Fix header to hopefully permit iOS builds to work +Subject: [PATCH 35/83] Fix header to hopefully permit iOS builds to work again. GUIShader.cpp added #include windowing/egl/WinSystemEGL.h inside a but also need the header windowing/osx/WinSystemIOS.h instead. The only thing GUIShader.cpp needed was g_windowing.GetViewPort, which is provided by the @@ -8669,10 +8669,10 @@ index 53bce09..86330cc 100644 1.9.1 -From 024e67ffb75fb4fb36c8e6b547f1d603db312f01 Mon Sep 17 00:00:00 2001 +From 2731716b39783030e6d7ebb3ede2928a745a1656 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Tue, 8 Apr 2014 18:14:55 +0100 -Subject: [PATCH 36/82] Fix font display in stereoscopic modes +Subject: [PATCH 36/83] Fix font display in stereoscopic modes CGUIFontTTFGL::LastEnd was previously using the relatively high-level CGraphicContext::SetScissors function to enforce hardware clipping. However, the coordinates it passed in already contained the stereoscopic offset, so @@ -8713,10 +8713,10 @@ index d476409..8466a81 100644 1.9.1 -From c1c32ea139975d21824c9b502d75b12cf49d46f0 Mon Sep 17 00:00:00 2001 +From e5355ebaadbb6f85aec1fbbf59cf733e3638d9e2 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 10 Jan 2014 12:10:43 +0000 -Subject: [PATCH 37/82] [rbp] Don't override dvdplayer with omxplayer. +Subject: [PATCH 37/83] [rbp] Don't override dvdplayer with omxplayer. Using dvdplayer can be useful on the Pi. We can actually play sd (up to 640x480 MPEG-4 video) video in real time. This is useful for codec variants like DivX3 which we don't currently play. @@ -8749,10 +8749,10 @@ index 27f0bec..fc12bb7 100644 1.9.1 -From d0c55018f45b01b7fdaec16110f7806599b97a82 Mon Sep 17 00:00:00 2001 +From 436fed89bfb302c10c9bc383238fe14529abe871 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 10 Jan 2014 15:37:41 +0000 -Subject: [PATCH 38/82] [players] Use default players rather than hard coded +Subject: [PATCH 38/83] [players] Use default players rather than hard coded DVDPlayer/PAPlayer --- @@ -8811,10 +8811,10 @@ index 57dfcdd..7be9799 100644 1.9.1 -From cbf5266cd198d52fc261646194f641e6d0a0a9ca Mon Sep 17 00:00:00 2001 +From 47e8fde3e2f164dfb71cc3483ccc529456273fb3 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sat, 11 Jan 2014 18:23:42 +0000 -Subject: [PATCH 39/82] [rbp] Don't force dvdplayer for airplay +Subject: [PATCH 39/83] [rbp] Don't force dvdplayer for airplay --- xbmc/network/AirPlayServer.cpp | 2 ++ @@ -8840,10 +8840,10 @@ index 127a765..13b7ead 100644 1.9.1 -From 9d931d435e57c5caad74b885f4a9c8fb42e4d2f6 Mon Sep 17 00:00:00 2001 +From 4c9c78091281cdc82e37de76b5b114bf99466c57 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 13 Jan 2014 13:11:06 +0000 -Subject: [PATCH 40/82] [rbp] Give plugins omxplayer when they request +Subject: [PATCH 40/83] [rbp] Give plugins omxplayer when they request dvdplayer on pi --- @@ -8870,10 +8870,10 @@ index 16f0174..b172d47 100644 1.9.1 -From 993e3c5c2ab97da4c58766f5bc4a7deadfe377bd Mon Sep 17 00:00:00 2001 +From 22e69f1ef53e4da6004d1c2caa56590998ff1a50 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 14 Jan 2014 18:04:07 +0000 -Subject: [PATCH 41/82] [rbp] Allow ALSA to be chosen in addition to Pi sink +Subject: [PATCH 41/83] [rbp] Allow ALSA to be chosen in addition to Pi sink Needs --enable-alsa in ./configure step and alsa support on platform --- @@ -8883,7 +8883,7 @@ Needs --enable-alsa in ./configure step and alsa support on platform 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/configure.in b/configure.in -index d8d06df..4c0e6cb 100644 +index b5ac25e..cc3e608 100644 --- a/configure.in +++ b/configure.in @@ -742,7 +742,6 @@ case $use_platform in @@ -8965,10 +8965,10 @@ index e493123..7df6807 100644 1.9.1 -From d64e1a4ff472a4c9f42b03f5276b4442d5800597 Mon Sep 17 00:00:00 2001 +From 60d314958644a9f946d3ead7b2a026118a79c6f9 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 16 Jan 2014 01:39:29 +0000 -Subject: [PATCH 42/82] [omxcodec] Add hardware decode to dvdplayer for Pi +Subject: [PATCH 42/83] [omxcodec] Add hardware decode to dvdplayer for Pi Hijack the abandoned OpenMaxVideo codec --- @@ -8994,10 +8994,10 @@ Hijack the abandoned OpenMaxVideo codec delete mode 100644 xbmc/cores/dvdplayer/DVDCodecs/Video/OpenMax.h diff --git a/configure.in b/configure.in -index 4c0e6cb..d5146d7 100644 +index cc3e608..ed0a170 100644 --- a/configure.in +++ b/configure.in -@@ -1948,9 +1948,24 @@ if test "$host_vendor" = "apple" ; then +@@ -1956,9 +1956,24 @@ if test "$host_vendor" = "apple" ; then USE_OPENMAX=0 AC_MSG_NOTICE($openmax_disabled) elif test "$target_platform" = "target_raspberry_pi"; then @@ -12024,10 +12024,10 @@ index 54d35aa..5b9c2f9 100644 1.9.1 -From 61527af6dd76855efbd326672af2095ccdfb2c8e Mon Sep 17 00:00:00 2001 +From 5251bf0ef4d07bf7624e510577ed2d7d16ccf071 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sat, 3 May 2014 11:57:25 +0100 -Subject: [PATCH 43/82] [omxcodec] Enable for dvd menus +Subject: [PATCH 43/83] [omxcodec] Enable for dvd menus --- xbmc/cores/dvdplayer/DVDCodecs/DVDFactoryCodec.cpp | 4 ++++ @@ -12052,10 +12052,10 @@ index 18b8e3a..c85c8d2 100644 1.9.1 -From f29a8f77fabfc26a2b7160468c5376aa1b13259f Mon Sep 17 00:00:00 2001 +From 690f3a89faccf35ca6c725b10052999055299a59 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 3 Feb 2014 22:27:44 +0000 -Subject: [PATCH 44/82] [omxcodec] Add omx specific texture +Subject: [PATCH 44/83] [omxcodec] Add omx specific texture create/upload/delete functions --- @@ -12133,10 +12133,10 @@ index 0ca56a2..f3dd3d3 100644 1.9.1 -From e2ab5f85821b16f1f0212778864a4b3235cb89ca Mon Sep 17 00:00:00 2001 +From 55c9fc2cd9eb471af08f079fef875b02390a00e4 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 3 Feb 2014 22:50:43 +0000 -Subject: [PATCH 45/82] [omxcodec] Add shared pointer to delay shutdown of +Subject: [PATCH 45/83] [omxcodec] Add shared pointer to delay shutdown of codec until buffers are returned --- @@ -12317,10 +12317,10 @@ index 9079c13..0975e8a 100644 1.9.1 -From 8d2635be75e2ca86af4ca27982d962ceea6e2527 Mon Sep 17 00:00:00 2001 +From f327b0130b29b5fba5fa37e85bf50ec82125dc6e Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 3 Feb 2014 23:11:31 +0000 -Subject: [PATCH 46/82] [omxcodec] Fix for aspect ratio in non-square pixel +Subject: [PATCH 46/83] [omxcodec] Fix for aspect ratio in non-square pixel modes --- @@ -12409,10 +12409,10 @@ index 0975e8a..9138a20 100644 1.9.1 -From 5e01b77d2fe7017237ba03f074f67d0746e5b7aa Mon Sep 17 00:00:00 2001 +From 0e150f28be7064df4c8627589647645b9633e0ac Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 3 Feb 2014 23:19:22 +0000 -Subject: [PATCH 47/82] [omxcodec] Report error when codec not enabled +Subject: [PATCH 47/83] [omxcodec] Report error when codec not enabled --- xbmc/cores/dvdplayer/DVDCodecs/Video/OpenMaxVideo.cpp | 10 +++++++++- @@ -12457,10 +12457,10 @@ index 7e23c87..2ae722b 100644 1.9.1 -From 4d5fd48d07dd6a7e443ae0e85c06f727cf6a4195 Mon Sep 17 00:00:00 2001 +From 1dbf602b303148c38ac6e90004711723c5b9b54f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 4 Feb 2014 17:29:37 +0000 -Subject: [PATCH 48/82] [omxcodec] Add deinterlace support +Subject: [PATCH 48/83] [omxcodec] Add deinterlace support --- xbmc/cores/VideoRenderers/LinuxRendererGLES.cpp | 2 +- @@ -12697,10 +12697,10 @@ index 9138a20..c8ad4d8 100644 1.9.1 -From b43a724264545666da6ae242d3f94e451a48b176 Mon Sep 17 00:00:00 2001 +From 5f27b560dc3234022afddbe3c36a09249dcfd2a1 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 12 Feb 2014 18:43:14 +0000 -Subject: [PATCH 49/82] Improved file buffering in CArchive. +Subject: [PATCH 49/83] Improved file buffering in CArchive. CArchive already did some file buffering, but only on writes. Added the equivalent code for reads. Also improved the write buffer case so that it @@ -13090,10 +13090,10 @@ index 0148fcb..5b25be5 100644 1.9.1 -From 81a4a402817e19bc2407ba9aa2db32778edc09a8 Mon Sep 17 00:00:00 2001 +From d3f9b41f5ed3fd44fe1d8f503b1320d09a9315e3 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 5 Feb 2014 11:46:33 +0000 -Subject: [PATCH 50/82] [rbp/settings] Allow av sync type to be enabled +Subject: [PATCH 50/83] [rbp/settings] Allow av sync type to be enabled It works for dvdplayer --- @@ -13122,10 +13122,10 @@ index 2b7d0a6..1429256 100644 1.9.1 -From 78e3ec1bf716470ce723ef8dabd32c7ee199935c Mon Sep 17 00:00:00 2001 +From 01c6dd354c55be2ae2f4c54efdc8ea85d541cd57 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 16 Feb 2014 17:38:05 +0000 -Subject: [PATCH 51/82] [omxcodec] Only do essential calls in texture thread +Subject: [PATCH 51/83] [omxcodec] Only do essential calls in texture thread [omxcodec] Fix for files with no valid pts values. [omxcodec] Fix stall on seek/trickplay - need to reset start flag [omxcodec] Make sure we have a valid context when video decode starts before first fanart is decoded @@ -13475,10 +13475,10 @@ index c8ad4d8..f234f6d 100644 1.9.1 -From fb65d2621b31a32887b1c9a87b2d3745e769f9bc Mon Sep 17 00:00:00 2001 +From 1a8446fa02a97395dcd6d1d696b47ae7de5b411e Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sat, 1 Mar 2014 14:24:08 +0000 -Subject: [PATCH 52/82] [omxplayer] Allow small audio packets to be +Subject: [PATCH 52/83] [omxplayer] Allow small audio packets to be concatenated to make better use of audio fifo Some audio codecs produce small packets which causes a high overhead when submitting to GPU, and doesn't make full use of GPU side buffering. @@ -13896,10 +13896,10 @@ index 8219015..a4c11777 100644 1.9.1 -From dabeb46d238df15614d7b2491642dea1cd8465e0 Mon Sep 17 00:00:00 2001 +From 12e7f20ddddea40d4eec1fce0645fbe61b420133 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 5 Mar 2014 22:10:01 +0000 -Subject: [PATCH 53/82] [omxplayer] Use media for determing audio delay and +Subject: [PATCH 53/83] [omxplayer] Use media for determing audio delay and cache time I've also added caching to the call to OMXMediaTime as the GPU round trip is expensive when called too frequently @@ -14155,10 +14155,10 @@ index d7d06fe..f83074a 100644 1.9.1 -From 90aa97584d11c78fe7cf4a174c7a986132cee683 Mon Sep 17 00:00:00 2001 +From 47ca285779b35fe6813dd7bb14a16427d7921698 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 3 Mar 2014 22:24:19 +0000 -Subject: [PATCH 54/82] [omx] Skip the resize when not needed when decoding +Subject: [PATCH 54/83] [omx] Skip the resize when not needed when decoding jpegs The decode to texture path almost always uses cached jpegs that are the correct size, so the resize is rarely needed. @@ -14509,10 +14509,10 @@ index 4456fdb..262a004 100644 1.9.1 -From a4b50b8803784eecc0bbbfe615bdf5c1bb06ea02 Mon Sep 17 00:00:00 2001 +From 02faafe4e9d26847a931f3e12984bd6fca717999 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sat, 8 Mar 2014 15:36:06 +0000 -Subject: [PATCH 55/82] [hifiberry] Hack: force it to be recognised as IEC958 +Subject: [PATCH 55/83] [hifiberry] Hack: force it to be recognised as IEC958 capable to enable passthrough options --- @@ -14538,10 +14538,10 @@ index b48a4fc..d9897e5 100644 1.9.1 -From 610f6374506fd46c19507934dc4bb4fe67014f83 Mon Sep 17 00:00:00 2001 +From 4b6aad8a7d83861ce19cd1793bfd555f2827cab3 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 11 Mar 2014 18:50:23 +0000 -Subject: [PATCH 56/82] [dvdplayer] Use inexact seeking like omxplayer +Subject: [PATCH 56/83] [dvdplayer] Use inexact seeking like omxplayer --- xbmc/cores/dvdplayer/DVDPlayer.cpp | 11 +++++++++++ @@ -14592,10 +14592,10 @@ index 82d3720..54d22d7 100644 1.9.1 -From 900e95e566685665b5b3b77f128c2a373295333a Mon Sep 17 00:00:00 2001 +From 155a31a782afdbff53c01da872eac52c0be37d32 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 13 Mar 2014 16:08:46 +0000 -Subject: [PATCH 57/82] [omxplayer] Make use of TrueHD fastpath when downmixing +Subject: [PATCH 57/83] [omxplayer] Make use of TrueHD fastpath when downmixing The TrueHD codec actually works in 3 stages. It decodes the downmixed stereo. It then decodes the differences required to produce 5.1. It then decodes the differences required to produce 7.1. @@ -14640,10 +14640,10 @@ index 557e847..7f6ef6e 100644 1.9.1 -From 1fe57923f59748870f472798c021f9c6499b1e6f Mon Sep 17 00:00:00 2001 +From 12a4756c465d4e07360855ae272111a834e354ce Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sat, 15 Mar 2014 19:38:38 +0000 -Subject: [PATCH 58/82] [omxplayer] When in dual audio mode, make one output +Subject: [PATCH 58/83] [omxplayer] When in dual audio mode, make one output the slave May help audio sync between the two outputs @@ -14677,10 +14677,10 @@ index 3e64de0..72e42ec 100644 1.9.1 -From ef683378569fbcd210edd56e97e4299a3e8e8fc2 Mon Sep 17 00:00:00 2001 +From 9c98ae2efc02621b57fba9962e01234a770ef16a Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 30 Dec 2013 12:02:14 +0000 -Subject: [PATCH 59/82] [rbp] Hardware accelerated resampling +Subject: [PATCH 59/83] [rbp] Hardware accelerated resampling This replaces the format conversion, up/down mixing and resampling code from ActiveAE with a GPU accelerated version. Should significantly reduce CPU when using paplayer or dvdplayer. @@ -15453,10 +15453,10 @@ index 99e407a..8d3c86a 100644 1.9.1 -From 9b907399064c27bdfaa26ee0d6b4a123e3e42688 Mon Sep 17 00:00:00 2001 +From 9d922bff4c108828243026de082e1935f0279e92 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 27 Mar 2014 00:22:05 +0000 -Subject: [PATCH 60/82] [PiResample] Work around AE not providing correct +Subject: [PATCH 60/83] [PiResample] Work around AE not providing correct src_bits --- @@ -15499,10 +15499,10 @@ index 1d7b425..a91e208 100644 1.9.1 -From 3081d29f0f7ea7c20a626b625b122334feea8825 Mon Sep 17 00:00:00 2001 +From e3d39b73ab75e2eef1ccfa4e7c1069f4b575f3b2 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 25 Mar 2014 19:43:07 +0000 -Subject: [PATCH 61/82] [ffmpeg] Speed up wtv index creation +Subject: [PATCH 61/83] [ffmpeg] Speed up wtv index creation The index creation is O(N^2) with number of entries (typically thousands). On a Pi this can take more than 60 seconds to execute for a recording of a few hours. @@ -15552,10 +15552,10 @@ index e423370..70898bd 100644 1.9.1 -From b22c9d0c740be0e19d85eac662f8b393d2e7d795 Mon Sep 17 00:00:00 2001 +From c5f34ddc42807b7cd2ad91079375aefd692e0369 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 7 Apr 2014 18:19:32 +0100 -Subject: [PATCH 62/82] [rbp/omxplayer] When opening a stream don't try to +Subject: [PATCH 62/83] [rbp/omxplayer] When opening a stream don't try to update gui so often --- @@ -15582,10 +15582,10 @@ index e9ba7d3..0fdc3c2 100644 1.9.1 -From 1fc2153e5e1a678a38c9f134fa06c7d78bb62ffd Mon Sep 17 00:00:00 2001 +From 54829b59b9d77816781bf1336609129dacd8d64b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 7 Apr 2014 15:28:57 +0100 -Subject: [PATCH 63/82] [omxcodec] Clamp video texture at edges to avoid image +Subject: [PATCH 63/83] [omxcodec] Clamp video texture at edges to avoid image wrapping --- @@ -15609,10 +15609,10 @@ index a57abe4..e22a153 100644 1.9.1 -From e3aee3567c3fe5de173309cd9dfb08e8a00f72ab Mon Sep 17 00:00:00 2001 +From dcd1022213e6c278570b1342f753c928738046ff Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 7 Apr 2014 17:36:19 +0100 -Subject: [PATCH 64/82] [PiSink] Remove unneeded header and use CAEChannelInfo +Subject: [PATCH 64/83] [PiSink] Remove unneeded header and use CAEChannelInfo directly --- @@ -15688,10 +15688,10 @@ index 9ce00e3..070e6eb 100644 1.9.1 -From 433033cb9d6b09d6cb197d720684b17f4e1f191e Mon Sep 17 00:00:00 2001 +From 4291375d1dce1b753d6d8479c56dbe13a6ea7855 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 7 Apr 2014 17:37:41 +0100 -Subject: [PATCH 65/82] [omxplayer] Remove PCMRemap and handle multichannel +Subject: [PATCH 65/83] [omxplayer] Remove PCMRemap and handle multichannel mixing like ActiveAE does --- @@ -17352,10 +17352,10 @@ index a273cd1..0000000 1.9.1 -From 4d5d9f6fb037054cfcb24c2754be66adb2074f1a Mon Sep 17 00:00:00 2001 +From d4b7448de4a87e66cc995a6d81011cfa601ee172 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 13 Apr 2014 15:13:10 +0100 -Subject: [PATCH 66/82] [omxplayer] Fix for 3d video in mono mode +Subject: [PATCH 66/83] [omxplayer] Fix for 3d video in mono mode The test for no aspect wasn't correct, causing large black bars --- @@ -17379,10 +17379,10 @@ index 66a351d..f058a35 100644 1.9.1 -From 3253514ad38a4511453472519aad497b1e4098f6 Mon Sep 17 00:00:00 2001 +From a5cd08668022ffe5586297c7cad96b1907a37a9c Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 10 Apr 2014 17:19:18 +0100 -Subject: [PATCH 67/82] [omxplayer] Remove unused framerate functions +Subject: [PATCH 67/83] [omxplayer] Remove unused framerate functions --- xbmc/cores/omxplayer/OMXPlayerVideo.cpp | 4 +--- @@ -17489,10 +17489,10 @@ index f83074a..7bb6d4d 100644 1.9.1 -From 53bf84fb932252e29407a0d990ca236e617ac9d0 Mon Sep 17 00:00:00 2001 +From b9ce9d1fbe0258764832e8982cea49cffbfcd50d Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 30 Mar 2014 15:54:34 +0100 -Subject: [PATCH 68/82] [omxplayer] Make the sharpness control act as a +Subject: [PATCH 68/83] [omxplayer] Make the sharpness control act as a sharpness control. This fixes scaling kernel as Mitchell Netravali, and varies sharpness over range B=[5/3,0] C=[-1/3,1/2] @@ -17874,10 +17874,10 @@ index 0b80be5..463ef3c 100644 1.9.1 -From c6bd5a9626ace32a5818f7ff96e09eed9793e4e3 Mon Sep 17 00:00:00 2001 +From 936d8ae57c0a5e4f43fbc3fb9d2a08ca82ba3d97 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 10 Apr 2014 17:24:51 +0100 -Subject: [PATCH 69/82] [rpi] Include ntsc frequencies in list of supported +Subject: [PATCH 69/83] [rpi] Include ntsc frequencies in list of supported resolutions --- @@ -18011,10 +18011,10 @@ index 0c32947..258a293 100644 1.9.1 -From c6d6722f9d8e2e69ca0e9254db48956e641aa88f Mon Sep 17 00:00:00 2001 +From 081d9a926f2927e2e6dffba961f31c0aaf2b92ae Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 10 Apr 2014 17:26:20 +0100 -Subject: [PATCH 70/82] [omxplayer] Allow a framerate callback from GPU to +Subject: [PATCH 70/83] [omxplayer] Allow a framerate callback from GPU to trigger a hdmi mode change --- @@ -18154,10 +18154,10 @@ index d69f854..fd23e70 100644 1.9.1 -From 03a5b92017e8e3f64e7653707889f80eb3898eaa Mon Sep 17 00:00:00 2001 +From 3e612328e13857ffbc52dea65b3296a76c512c49 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 11 Apr 2014 19:01:26 +0100 -Subject: [PATCH 71/82] [omxplayer] Request to be notified about framerate +Subject: [PATCH 71/83] [omxplayer] Request to be notified about framerate changes --- @@ -18200,10 +18200,10 @@ index 02bf554..1b1711d 100644 1.9.1 -From bec1b704745f99692a032f34145048e0ca638b72 Mon Sep 17 00:00:00 2001 +From df2ddfe9c1c15751fd66eec65810b41ca97b8f5c Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 16 Apr 2014 21:18:06 +0100 -Subject: [PATCH 72/82] [omxplayer] Don't propagate 3d flags based on supported +Subject: [PATCH 72/83] [omxplayer] Don't propagate 3d flags based on supported 3d modes --- @@ -18259,10 +18259,10 @@ index e9010b1..c170cfb 100644 1.9.1 -From 69625a16f0782665c7e679709e8df2241f05e403 Mon Sep 17 00:00:00 2001 +From da7d5e09d520a0b30ba2d12aeb816e62839793f9 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 14 Apr 2014 17:04:57 +0100 -Subject: [PATCH 73/82] [omxplayer] Support stereo view modes with scaling +Subject: [PATCH 73/83] [omxplayer] Support stereo view modes with scaling The Pi only supported a single view rectangle, which is sufficient for all mono view modes, but only supports a subset of stereo modes. @@ -18540,10 +18540,10 @@ index fd23e70..226000e 100644 1.9.1 -From 180f60d45ad433a4d88d2e60afe5bf5a10335b68 Mon Sep 17 00:00:00 2001 +From d329faba1508a612d6154267e5534289f12bc1c2 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 17 Apr 2014 13:00:52 +0100 -Subject: [PATCH 74/82] [graphics] Don't set stereo mode based on resolution +Subject: [PATCH 74/83] [graphics] Don't set stereo mode based on resolution The resolution change should follow stereo mode --- @@ -18587,10 +18587,10 @@ index 5bffdf5..7e4fdd4 100644 1.9.1 -From adb18a912dc0f372cb8cd660788084aa3af2f76f Mon Sep 17 00:00:00 2001 +From 73134caaa8d40861898c8a7e2871b28b119fb328 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 17 Apr 2014 13:01:51 +0100 -Subject: [PATCH 75/82] [graphics] Allow switching to a more suitable 3D +Subject: [PATCH 75/83] [graphics] Allow switching to a more suitable 3D resolution --- @@ -18680,10 +18680,10 @@ index 0a27643..df55e92 100644 1.9.1 -From 9735d15aea54276390ddb1de76d30a01e682fd46 Mon Sep 17 00:00:00 2001 +From b5f083d712d30d75c47e1fba254885cabc56a3b8 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 17 Apr 2014 13:38:55 +0100 -Subject: [PATCH 76/82] [3D] Support switching to 3D resolutions +Subject: [PATCH 76/83] [3D] Support switching to 3D resolutions Include matching 3D flags (SBS/TAB) in the score of a resolution to switch to, to enable switching to 3d modes. Also remove the old code that treated 3D modes differently when assigning a score. @@ -18768,10 +18768,10 @@ index 970b822..9ca1be1 100644 1.9.1 -From bad0a3264c2325cd2e0d46c7ae843655a8660fa5 Mon Sep 17 00:00:00 2001 +From 6361e0ceb62f2b982eea7393a7d1f7337faf75a4 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 23 Apr 2014 00:05:07 +0100 -Subject: [PATCH 77/82] [graphics] Make pixel ratio for 3d modes consistent +Subject: [PATCH 77/83] [graphics] Make pixel ratio for 3d modes consistent Note: Use the stored stereo flags from lists of resolutions. Use current stereo mode for current resolution. @@ -18960,10 +18960,10 @@ index 21b8cc4..4268f78 100644 1.9.1 -From 4fddbf9be5a8cb848238cac45f526c38e8de72e9 Mon Sep 17 00:00:00 2001 +From e99c8f84767bf7246a79efcb51d827c4f1f8cfff Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 23 Apr 2014 21:07:51 +0100 -Subject: [PATCH 78/82] [PiSink] More attempts to reduce underrun audio +Subject: [PATCH 78/83] [PiSink] More attempts to reduce underrun audio glitches with multichannl and high samplerate --- @@ -19085,10 +19085,10 @@ index 070e6eb..133b9f6 100644 1.9.1 -From 4e81b416739c714554635ebac8cef0545dd37ac0 Mon Sep 17 00:00:00 2001 +From 920c5d6b63705550f3450371cda3ad190b4d910a Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 23 Apr 2014 22:36:01 +0100 -Subject: [PATCH 79/82] [omxplayer] Fix for aspect ratio of portrait videos +Subject: [PATCH 79/83] [omxplayer] Fix for aspect ratio of portrait videos --- xbmc/cores/omxplayer/OMXPlayerVideo.cpp | 10 ++++++++++ @@ -19119,10 +19119,10 @@ index e9f86f3..7e2c644 100644 1.9.1 -From 447bb53092a452811175d8d767447793e86c2f95 Mon Sep 17 00:00:00 2001 +From 77c04c0139e456f99c3ffa7b112035298ba00e82 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 22 Apr 2014 12:23:23 +0100 -Subject: [PATCH 80/82] [omxplayer] Make dvdplayer the default for dvd images +Subject: [PATCH 80/83] [omxplayer] Make dvdplayer the default for dvd images --- xbmc/cores/omxplayer/omxplayer_advancedsettings.xml | 2 +- @@ -19144,10 +19144,10 @@ index 77c6a15..51c0daf 100644 1.9.1 -From 38f60de6105d8389e47ed6b97461a90b08c8376c Mon Sep 17 00:00:00 2001 +From f71d59260ad0e70b12a3f42bfcca0d78ddc042b8 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sat, 26 Apr 2014 17:27:52 +0100 -Subject: [PATCH 81/82] [cec] Don't suspend pi on tv switch off - it can't wake +Subject: [PATCH 81/83] [cec] Don't suspend pi on tv switch off - it can't wake up --- @@ -19171,10 +19171,10 @@ index a906628..9b5271a 100644 1.9.1 -From 259999998546c54622ba6071f7caf5b51d4356e4 Mon Sep 17 00:00:00 2001 +From e969ed75bab05305291e3327ce9e274a880993cd Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sat, 12 Apr 2014 17:57:19 +0100 -Subject: [PATCH 82/82] [omxplayer] Ignore occasionally valid pts values, they +Subject: [PATCH 82/83] [omxplayer] Ignore occasionally valid pts values, they cause live tv stutter --- @@ -19197,3 +19197,90 @@ index 7e2c644..b3786f6 100644 -- 1.9.1 + +From bba50323fb8576423895dfa948b6fe3d7d2a1a64 Mon Sep 17 00:00:00 2001 +From: popcornmix +Date: Wed, 7 May 2014 14:54:41 +0100 +Subject: [PATCH 83/83] [Pi] Fix naming of refresh rates to avoid lost + calibration settings + +--- + xbmc/windowing/egl/EGLNativeTypeRaspberryPI.cpp | 13 ++++--------- + xbmc/windowing/egl/EGLNativeTypeRaspberryPI.h | 2 +- + 2 files changed, 5 insertions(+), 10 deletions(-) + +diff --git a/xbmc/windowing/egl/EGLNativeTypeRaspberryPI.cpp b/xbmc/windowing/egl/EGLNativeTypeRaspberryPI.cpp +index 4268f78..2355ab7 100644 +--- a/xbmc/windowing/egl/EGLNativeTypeRaspberryPI.cpp ++++ b/xbmc/windowing/egl/EGLNativeTypeRaspberryPI.cpp +@@ -58,6 +58,7 @@ + # define DLOG(fmt, args...) + #endif + ++static void SetResolutionString(RESOLUTION_INFO &res); + + CEGLNativeTypeRaspberryPI::CEGLNativeTypeRaspberryPI() + { +@@ -194,8 +195,9 @@ int CEGLNativeTypeRaspberryPI::FindMatchingResolution(const RESOLUTION_INFO &res + #endif + + #if defined(TARGET_RASPBERRY_PI) +-int CEGLNativeTypeRaspberryPI::AddUniqueResolution(const RESOLUTION_INFO &res, std::vector &resolutions) ++int CEGLNativeTypeRaspberryPI::AddUniqueResolution(RESOLUTION_INFO &res, std::vector &resolutions) + { ++ SetResolutionString(res); + int i = FindMatchingResolution(res, resolutions); + if (i>=0) + { // don't replace a progressive resolution with an interlaced one of same resolution +@@ -468,10 +470,7 @@ bool CEGLNativeTypeRaspberryPI::ProbeResolutions(std::vector &r + m_desktopRes.fPixelRatio = get_display_aspect_ratio((SDTV_ASPECT_T)tv_state.display.sdtv.display_options.aspect) / ((float)m_desktopRes.iScreenWidth / (float)m_desktopRes.iScreenHeight); + } + +- m_desktopRes.strMode = StringUtils::Format("%dx%d", m_desktopRes.iScreenWidth, m_desktopRes.iScreenHeight); +- +- if((int)m_desktopRes.fRefreshRate > 1) +- SetResolutionString(m_desktopRes); ++ SetResolutionString(m_desktopRes); + + m_initDesktopRes = false; + +@@ -579,8 +578,6 @@ void CEGLNativeTypeRaspberryPI::GetSupportedModes(HDMI_RES_GROUP_T group, std::v + res.iScreenHeight = tv->height; + res.fPixelRatio = get_display_aspect_ratio((HDMI_ASPECT_T)tv->aspect_ratio) / ((float)res.iScreenWidth / (float)res.iScreenHeight); + +- SetResolutionString(res); +- + CLog::Log(LOGDEBUG, "EGL mode %d: %s (%.2f) %s%s:%x\n", i, res.strMode.c_str(), res.fPixelRatio, + tv->native ? "N" : "", tv->scan_mode ? "I" : "", tv->code); + +@@ -600,7 +597,6 @@ void CEGLNativeTypeRaspberryPI::GetSupportedModes(HDMI_RES_GROUP_T group, std::v + RESOLUTION_INFO res2 = res; + res2.dwFlags |= D3DPRESENTFLAG_MODE3DSBS; + res2.fPixelRatio = get_display_aspect_ratio((HDMI_ASPECT_T)tv->aspect_ratio) / ((float)res2.iScreenWidth / (float)res2.iScreenHeight); +- SetResolutionString(res2); + CLog::Log(LOGDEBUG, "EGL mode %d: %s (%.2f)\n", i, res2.strMode.c_str(), res2.fPixelRatio); + + res2.iSubtitles = (int)(0.965 * res2.iHeight); +@@ -617,7 +613,6 @@ void CEGLNativeTypeRaspberryPI::GetSupportedModes(HDMI_RES_GROUP_T group, std::v + RESOLUTION_INFO res2 = res; + res2.dwFlags |= D3DPRESENTFLAG_MODE3DTB; + res2.fPixelRatio = get_display_aspect_ratio((HDMI_ASPECT_T)tv->aspect_ratio) / ((float)res2.iScreenWidth / (float)res2.iScreenHeight); +- SetResolutionString(res2); + CLog::Log(LOGDEBUG, "EGL mode %d: %s (%.2f)\n", i, res2.strMode.c_str(), res2.fPixelRatio); + + res2.iSubtitles = (int)(0.965 * res2.iHeight); +diff --git a/xbmc/windowing/egl/EGLNativeTypeRaspberryPI.h b/xbmc/windowing/egl/EGLNativeTypeRaspberryPI.h +index d1ebb81..59401f5 100644 +--- a/xbmc/windowing/egl/EGLNativeTypeRaspberryPI.h ++++ b/xbmc/windowing/egl/EGLNativeTypeRaspberryPI.h +@@ -71,6 +71,6 @@ class CEGLNativeTypeRaspberryPI : public CEGLNativeType + + void DestroyDispmaxWindow(); + int FindMatchingResolution(const RESOLUTION_INFO &res, const std::vector &resolutions); +- int AddUniqueResolution(const RESOLUTION_INFO &res, std::vector &resolutions); ++ int AddUniqueResolution(RESOLUTION_INFO &res, std::vector &resolutions); + #endif + }; +-- +1.9.1 +