diff --git a/projects/RPi/patches/xbmc/xbmc-gotham_rbp_backports.patch b/projects/RPi/patches/xbmc/xbmc-gotham_rbp_backports.patch index 26a82090ed..9a47724376 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 c5341af6a5d172065dcbf5a50736a170fe43b3cf Mon Sep 17 00:00:00 2001 +From 1353d8feca19f2f84019797942d70864054db1b0 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Mon, 5 Aug 2013 13:12:46 +0100 -Subject: [PATCH 01/90] h264_parser: Initialize the h264dsp context in the +Subject: [PATCH 01/94] 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.3 -From 9d30b1ec4e7672c2cb6114c7efc309ea897988ed Mon Sep 17 00:00:00 2001 +From 7ea2cb68f6fb1149fce70854e36ed6357a267238 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Mon, 5 Aug 2013 13:12:47 +0100 -Subject: [PATCH 02/90] h264dsp: Factorize code into a new function, +Subject: [PATCH 02/94] 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.3 -From 90086f5dcc12d33c13986fab3fd0dedaf7d99a41 Mon Sep 17 00:00:00 2001 +From 458ff4b6c1855c529f563dbbd15e35aaab50adae Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Mon, 5 Aug 2013 13:12:48 +0100 -Subject: [PATCH 03/90] arm: Add assembly version of +Subject: [PATCH 03/94] 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.3 -From bbac484872632cb0987f07900c7e72112cc231af Mon Sep 17 00:00:00 2001 +From 5841d5b69f0df2f286c0a8e419deb16d927e864e Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 19 Aug 2013 22:48:05 +0100 -Subject: [PATCH 04/90] [ffmpeg] Backport of h264_find_start_code_candidate +Subject: [PATCH 04/94] [ffmpeg] Backport of h264_find_start_code_candidate optimisation --- @@ -1037,10 +1037,10 @@ index 0000000..cdc2d1e 1.9.3 -From 206afee60992e31606f82c8811521f5e27aa7722 Mon Sep 17 00:00:00 2001 +From db098a580259625bb7b7385a48cb0756aea5cafe Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 16 Apr 2014 01:51:31 +0100 -Subject: [PATCH 05/90] h264: Move search code search functions into separate +Subject: [PATCH 05/94] 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.3 -From 46544ddab03dad4a5956455e1d2497d633421172 Mon Sep 17 00:00:00 2001 +From 7d95eb8e026582e5446e7e11d75ba999286a34d0 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 16 Apr 2014 01:51:32 +0100 -Subject: [PATCH 06/90] vc-1: Add platform-specific start code search routine +Subject: [PATCH 06/94] 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.3 -From b573e0d6a001edacdb9fc5ab9fadb0b856b847b7 Mon Sep 17 00:00:00 2001 +From 9b459c3c4130299099b2e5aca5bff3d6f8d60e72 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 23 Apr 2014 01:41:04 +0100 -Subject: [PATCH 07/90] vc-1: Optimise parser (with special attention to ARM) +Subject: [PATCH 07/94] 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.3 -From 13bf13b6fc4a59e546eff26bb60096c4f8cb6548 Mon Sep 17 00:00:00 2001 +From c2ebe54fe1d7c7a6cee7282bcf2668a826006ade Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 19 Mar 2014 17:44:59 +0000 -Subject: [PATCH 08/90] truehd: add hand-scheduled ARM asm version of +Subject: [PATCH 08/94] 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.3 -From e644b6a1f19e8d7fdea0c8512b29b898d2e280f5 Mon Sep 17 00:00:00 2001 +From 904cb11e58484c5d0bca17b8c209916d106d2079 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 19 Mar 2014 17:48:54 +0000 -Subject: [PATCH 09/90] truehd: break out part of rematrix_channels into +Subject: [PATCH 09/94] 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.3 -From b5edf59bcbaa68e1dc3c0262822c8ecbcd4bc3d9 Mon Sep 17 00:00:00 2001 +From 0bb8daacca4b35d716addbc591fec43fd4fe6467 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 19 Mar 2014 17:49:48 +0000 -Subject: [PATCH 10/90] truehd: add hand-scheduled ARM asm version of +Subject: [PATCH 10/94] 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.3 -From 858ec4b0aec5655a2eda89ed1fac8e6d6ab664df Mon Sep 17 00:00:00 2001 +From 034e1a8920aec0fa36ffc7da8f63e48c68364e15 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 19 Mar 2014 17:50:36 +0000 -Subject: [PATCH 11/90] truehd: tune VLC decoding for ARM. +Subject: [PATCH 11/94] 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.3 -From cc2f1cf9ea1b101ea32e37458523572a6e9550ef Mon Sep 17 00:00:00 2001 +From 25ab0401ebb7f035bcf7291452e6772a9c7b233a Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 19 Mar 2014 17:54:07 +0000 -Subject: [PATCH 12/90] truehd: break out part of output_data into +Subject: [PATCH 12/94] 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.3 -From 2a09681922b4dedc5a994407f6b78ec0abd46399 Mon Sep 17 00:00:00 2001 +From bdefac00779c5601816f949353d9bbeb3b199611 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 19 Mar 2014 17:54:59 +0000 -Subject: [PATCH 13/90] truehd: add hand-scheduled ARM asm version of +Subject: [PATCH 13/94] 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.3 -From a7703a1066731c5a057fc9e138152df781a487ad Mon Sep 17 00:00:00 2001 +From 9af15bf0b7bc7940bd8bcc9ddae23178c9723bd6 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Thu, 14 Nov 2013 19:48:41 +0000 -Subject: [PATCH 14/90] More efficient infobool expression evaluator +Subject: [PATCH 14/94] 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.3 -From 7e651d90e4b219068ee7c6fe3c6deeae3a2c616f Mon Sep 17 00:00:00 2001 +From 36067cf823d539a00eea75d561ac78a4b1431a66 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Mon, 24 Mar 2014 22:26:21 +0000 -Subject: [PATCH 15/90] Where an infobool expression failed to parse, evaluate +Subject: [PATCH 15/94] 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.3 -From df952fe063ded22f0d20ae05f1fc025bcb0f394b Mon Sep 17 00:00:00 2001 +From 7f2870606f1e183d70b1dc2dbc07fa8bc437d0cc Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Tue, 26 Nov 2013 20:09:48 +0000 -Subject: [PATCH 16/90] Add caching of infolabels +Subject: [PATCH 16/94] 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.3 -From 00d6c578d1b5339634f25c76cb4f5089214434cc Mon Sep 17 00:00:00 2001 +From 3d5a1912ffd4556ec09208fea50d2a2919775c9f Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Tue, 10 Dec 2013 01:12:31 +0000 -Subject: [PATCH 17/90] De-duplication of string cache for non-item and item +Subject: [PATCH 17/94] De-duplication of string cache for non-item and item labels --- @@ -5159,10 +5159,10 @@ index 418b2c4..6d9ebf7 100644 1.9.3 -From 7596062214afb2b6552540a32fa4d71008c8f99c Mon Sep 17 00:00:00 2001 +From 1427baf4395b760227afbef8e17956ba251f2fbe Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 21 Feb 2014 15:16:13 +0000 -Subject: [PATCH 18/90] Faster and simpler portable implementation of +Subject: [PATCH 18/94] 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.3 -From 212fcdf04a5da884836c18add8d081cd95a346d9 Mon Sep 17 00:00:00 2001 +From 0ad4df440ea225cc951a65bf9553b1f00f416d85 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 11 Dec 2013 17:21:54 +0000 -Subject: [PATCH 19/90] Move the reference-counting of Begin and End calls from +Subject: [PATCH 19/94] 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.3 -From 96f5b328f7d7aae619db7cde830e67c44483ad91 Mon Sep 17 00:00:00 2001 +From 427373ae5bb96489afb22529714c16e8f82c2195 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 11 Dec 2013 18:47:54 +0000 -Subject: [PATCH 20/90] Convert CGUIFontTTFBase::m_vertex to be managed as a +Subject: [PATCH 20/94] 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.3 -From 1f73ad96d4505f9f7b7f585dd3b28c3cea1accc4 Mon Sep 17 00:00:00 2001 +From a3e8e7f1055726a050e04d1e4ab61a5355cdbd6a Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Mon, 16 Dec 2013 18:58:12 +0000 -Subject: [PATCH 21/90] CGUIFontTTFBase::RenderCharacter can now append to +Subject: [PATCH 21/94] 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.3 -From d30e0305abc4c7caed0f9a8c93c98f06306df9bb Mon Sep 17 00:00:00 2001 +From 79263f02e56ef10410984c98a844aaa9bf43199e Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 15 Jan 2014 17:18:38 +0000 -Subject: [PATCH 22/90] Add a cache of font glyph bounding box vertices. This +Subject: [PATCH 22/94] 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.3 -From 12c00810800d8de0df0ee350f6785254e2455c19 Mon Sep 17 00:00:00 2001 +From 65d2b7f112b400f75140de44579e6cdf98378b67 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Thu, 23 Jan 2014 22:24:17 +0000 -Subject: [PATCH 23/90] Lay the groundwork for hardware clipping. +Subject: [PATCH 23/94] 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.3 -From 78fe51fae8983d68de6b2efade6b150de0eeeeea Mon Sep 17 00:00:00 2001 +From e372121bc53da1b0353b51f5e9897011c5f54033 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Thu, 23 Jan 2014 16:42:22 +0000 -Subject: [PATCH 24/90] Increase font cache hit rate by keying on the +Subject: [PATCH 24/94] 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.3 -From da5561b1e2a6837b15528f48dc392e1a917a6eee Mon Sep 17 00:00:00 2001 +From 10eeb73ca15798de26abd5f8846214c8938f8b42 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 8 Jan 2014 12:16:33 +0000 -Subject: [PATCH 25/90] Rewrite of scrolling text code. +Subject: [PATCH 25/94] 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.3 -From 37866a69866a8ad47cc6e259ca28fe2adc1f0be2 Mon Sep 17 00:00:00 2001 +From 7064920379f68a7f6114813db8ad40a21c4957cc Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Mon, 27 Jan 2014 23:21:10 +0000 -Subject: [PATCH 26/90] Move the application of the translation offsets into +Subject: [PATCH 26/94] 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.3 -From fa6bf4dd05a4ee2ba894a76b44d783e5187d25ed Mon Sep 17 00:00:00 2001 +From 476fce7bc2897e8898f4392809d934b0d5f46518 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 15 Jan 2014 15:28:06 +0000 -Subject: [PATCH 27/90] Rather than applying the translation offsets to the +Subject: [PATCH 27/94] 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.3 -From 0552197d72be6da2cca6f30fef4d5deee45ddad4 Mon Sep 17 00:00:00 2001 +From 473ccc4cbe616f672a72108d2ec98107780ac7da Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 29 Jan 2014 13:21:19 +0000 -Subject: [PATCH 28/90] Enable hardware clipping. +Subject: [PATCH 28/94] Enable hardware clipping. --- xbmc/guilib/GUIFontTTF.cpp | 4 ++-- @@ -7878,10 +7878,10 @@ index fbffaa0..b7618e1 100644 1.9.3 -From f1da191ded1d00e85e9c1eca11b6f99307e92157 Mon Sep 17 00:00:00 2001 +From f39c4523a1c05425fb94d3536a510709784f9558 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 15 Jan 2014 15:32:51 +0000 -Subject: [PATCH 29/90] Move the vertex data across to a vertex buffer object +Subject: [PATCH 29/94] Move the vertex data across to a vertex buffer object just prior to drawing. --- @@ -7935,10 +7935,10 @@ index b7618e1..0df3749 100644 1.9.3 -From 16e61268a2b1e7869b1e0148196f5c1cca42731d Mon Sep 17 00:00:00 2001 +From 3c6c1c4f9c7aec0f41fd22d7d4e7f5918a70c69a Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 15 Jan 2014 16:04:04 +0000 -Subject: [PATCH 30/90] Move vertex data into an OpenGL VBO when the font cache +Subject: [PATCH 30/94] 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.3 -From 381b4c3922abc68b395cc096a4d4ebaf9c47c527 Mon Sep 17 00:00:00 2001 +From 073c09ba7de6f6b7676c83d71b6933790626874f Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Thu, 16 Jan 2014 16:29:42 +0000 -Subject: [PATCH 31/90] Switch from glDrawArrays() to glDrawElements(). This +Subject: [PATCH 31/94] 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.3 -From 5d6989d2f1d22928ad9b72a5c746d0b11cb59fc8 Mon Sep 17 00:00:00 2001 +From ec39dce3628b276e3ed2fe19c95a056a1aa171b8 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Tue, 4 Feb 2014 16:17:57 +0000 -Subject: [PATCH 32/90] Update Windows project files +Subject: [PATCH 32/94] Update Windows project files --- project/VS2010Express/XBMC.vcxproj | 2 ++ @@ -8497,10 +8497,10 @@ index b536eb3..cb34443 100644 1.9.3 -From db0d869fbe3dfec81709f1115e49e27781481dce Mon Sep 17 00:00:00 2001 +From e25eb385d09a5378be8616f10806610df90416db Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Tue, 4 Feb 2014 16:49:45 +0000 -Subject: [PATCH 33/90] Update XCode project file +Subject: [PATCH 33/94] Update XCode project file --- XBMC.xcodeproj/project.pbxproj | 10 ++++++++++ @@ -8566,10 +8566,10 @@ index fdd10a1..62e7e69 100644 1.9.3 -From 8f7667e4acce7afb1e6ae00b8b7cbd38379a3de5 Mon Sep 17 00:00:00 2001 +From 5f4ebd2e9fd6d503220627b916e522b671d7d9ba Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Tue, 4 Feb 2014 17:44:34 +0000 -Subject: [PATCH 34/90] Clang seems to be more picky than gcc about some C++ +Subject: [PATCH 34/94] Clang seems to be more picky than gcc about some C++ template syntax --- @@ -8637,10 +8637,10 @@ index 895fa72..bd84b9a 100644 1.9.3 -From 66858dfea24f6ddeef0934eebe73d50b474d6a6a Mon Sep 17 00:00:00 2001 +From 33693dc9ff9ba7695bc0e702a41566d54a5135b9 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Tue, 4 Feb 2014 18:52:14 +0000 -Subject: [PATCH 35/90] Fix header to hopefully permit iOS builds to work +Subject: [PATCH 35/94] 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.3 -From 76a9116aa9199705daf3404a54fb62c3cccde974 Mon Sep 17 00:00:00 2001 +From 9b95b3b13bd714d8320dc61c5039eee6cb3c5737 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Tue, 8 Apr 2014 18:14:55 +0100 -Subject: [PATCH 36/90] Fix font display in stereoscopic modes +Subject: [PATCH 36/94] 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.3 -From 888f49bad6c54fbe3cee887e3ece430d25fe4e4b Mon Sep 17 00:00:00 2001 +From d51ef43b61b50de46edb2832f457af8229995cab Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 10 Jan 2014 12:10:43 +0000 -Subject: [PATCH 37/90] [rbp] Don't override dvdplayer with omxplayer. +Subject: [PATCH 37/94] [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.3 -From c11d34767edf115799e4cdf99e8cf740b052f711 Mon Sep 17 00:00:00 2001 +From 3cd01da5418f1693e50ed40273cb17ca9f6d622a Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 10 Jan 2014 15:37:41 +0000 -Subject: [PATCH 38/90] [players] Use default players rather than hard coded +Subject: [PATCH 38/94] [players] Use default players rather than hard coded DVDPlayer/PAPlayer --- @@ -8811,10 +8811,10 @@ index 57dfcdd..7be9799 100644 1.9.3 -From abe4a5fcc579afcee57cb363b90de45e34c783a2 Mon Sep 17 00:00:00 2001 +From 5c4de293325bba93c4b820aed6863ee8d732ce2c Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sat, 11 Jan 2014 18:23:42 +0000 -Subject: [PATCH 39/90] [rbp] Don't force dvdplayer for airplay +Subject: [PATCH 39/94] [rbp] Don't force dvdplayer for airplay --- xbmc/network/AirPlayServer.cpp | 2 ++ @@ -8840,10 +8840,10 @@ index 8040d9b..182daaa 100644 1.9.3 -From 995d1ebbbd08c622eb76df4611613af8faef20d4 Mon Sep 17 00:00:00 2001 +From 454b77543018aac5d7e70769ef13231ae16eefb9 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 13 Jan 2014 13:11:06 +0000 -Subject: [PATCH 40/90] [rbp] Give plugins omxplayer when they request +Subject: [PATCH 40/94] [rbp] Give plugins omxplayer when they request dvdplayer on pi --- @@ -8870,10 +8870,10 @@ index 16f0174..b172d47 100644 1.9.3 -From f23cf9b0fae679c31487395d9e7590072c7af245 Mon Sep 17 00:00:00 2001 +From 7201ee3e0ca664518eaaf3142682b294c34c69c0 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 14 Jan 2014 18:04:07 +0000 -Subject: [PATCH 41/90] [rbp] Allow ALSA to be chosen in addition to Pi sink +Subject: [PATCH 41/94] [rbp] Allow ALSA to be chosen in addition to Pi sink Needs --enable-alsa in ./configure step and alsa support on platform --- @@ -8965,10 +8965,10 @@ index e493123..7df6807 100644 1.9.3 -From 4dd1335676be6031df987b6f036c5bd9e4f2840b Mon Sep 17 00:00:00 2001 +From 8ffa85ccdc4760751849d75d37924fbf6cb1b1c8 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 16 Jan 2014 01:39:29 +0000 -Subject: [PATCH 42/90] [omxcodec] Add hardware decode to dvdplayer for Pi +Subject: [PATCH 42/94] [omxcodec] Add hardware decode to dvdplayer for Pi Hijack the abandoned OpenMaxVideo codec --- @@ -11849,7 +11849,7 @@ index e06c41d..9079c13 100644 // defined(HAVE_LIBOPENMAX) diff --git a/xbmc/cores/dvdplayer/DVDPlayer.cpp b/xbmc/cores/dvdplayer/DVDPlayer.cpp -index 3a37dee..82d3720 100644 +index a485275..d607f55 100644 --- a/xbmc/cores/dvdplayer/DVDPlayer.cpp +++ b/xbmc/cores/dvdplayer/DVDPlayer.cpp @@ -2988,7 +2988,9 @@ bool CDVDPlayer::OpenVideoStream(int iStream, int source, bool reset) @@ -12024,10 +12024,10 @@ index 54d35aa..5b9c2f9 100644 1.9.3 -From b798e107a8ed8a6251630835b889b2d18a409a6d Mon Sep 17 00:00:00 2001 +From e9b71fb1ee80896444d3301f919bf315a96530a3 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sat, 3 May 2014 11:57:25 +0100 -Subject: [PATCH 43/90] [omxcodec] Enable for dvd menus +Subject: [PATCH 43/94] [omxcodec] Enable for dvd menus --- xbmc/cores/dvdplayer/DVDCodecs/DVDFactoryCodec.cpp | 4 ++++ @@ -12052,10 +12052,10 @@ index 18b8e3a..c85c8d2 100644 1.9.3 -From 3eba1146de49aa0aaf3b0d4a389e5964a95561f4 Mon Sep 17 00:00:00 2001 +From a7a4ccc26d85d1362a77b718564ddb1f08ca1246 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 3 Feb 2014 22:27:44 +0000 -Subject: [PATCH 44/90] [omxcodec] Add omx specific texture +Subject: [PATCH 44/94] [omxcodec] Add omx specific texture create/upload/delete functions --- @@ -12133,10 +12133,10 @@ index 0ca56a2..f3dd3d3 100644 1.9.3 -From c244d43c920175124f12a76d6e9462d3cb495b43 Mon Sep 17 00:00:00 2001 +From 6a8bd5509ada85a05ad4672a33b76418573382ea Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 3 Feb 2014 22:50:43 +0000 -Subject: [PATCH 45/90] [omxcodec] Add shared pointer to delay shutdown of +Subject: [PATCH 45/94] [omxcodec] Add shared pointer to delay shutdown of codec until buffers are returned --- @@ -12317,10 +12317,10 @@ index 9079c13..0975e8a 100644 1.9.3 -From c255452fb9dc646c66f9fe7742bcf5fcee94f08a Mon Sep 17 00:00:00 2001 +From e8f40e625203fe4113e2687d3730c38770cc0857 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 3 Feb 2014 23:11:31 +0000 -Subject: [PATCH 46/90] [omxcodec] Fix for aspect ratio in non-square pixel +Subject: [PATCH 46/94] [omxcodec] Fix for aspect ratio in non-square pixel modes --- @@ -12409,10 +12409,10 @@ index 0975e8a..9138a20 100644 1.9.3 -From a8ab60d9666e22fb44be4abba76bce6d73051053 Mon Sep 17 00:00:00 2001 +From e42ca92b464ad88dbe0f8b0d86080d64d52e08a8 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 3 Feb 2014 23:19:22 +0000 -Subject: [PATCH 47/90] [omxcodec] Report error when codec not enabled +Subject: [PATCH 47/94] [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.3 -From e97402cdfd99c05af0df609f2d3231c416a39994 Mon Sep 17 00:00:00 2001 +From 55b0b157ba32d03ca0ec854b7935aee5601810d8 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 4 Feb 2014 17:29:37 +0000 -Subject: [PATCH 48/90] [omxcodec] Add deinterlace support +Subject: [PATCH 48/94] [omxcodec] Add deinterlace support --- xbmc/cores/VideoRenderers/LinuxRendererGLES.cpp | 2 +- @@ -12697,10 +12697,10 @@ index 9138a20..c8ad4d8 100644 1.9.3 -From 231bdced8a4cff5e6de2d7b10e4b840304d07a64 Mon Sep 17 00:00:00 2001 +From 0701b41709e6a18567b9f6bfd0d491285546eedc Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 12 Feb 2014 18:43:14 +0000 -Subject: [PATCH 49/90] Improved file buffering in CArchive. +Subject: [PATCH 49/94] 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.3 -From b423cea59558090b1d481eeee7d8181c6a4b6bd8 Mon Sep 17 00:00:00 2001 +From 2ae9667952e98ab91b0056094231e923570fa64b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 5 Feb 2014 11:46:33 +0000 -Subject: [PATCH 50/90] [rbp/settings] Allow av sync type to be enabled +Subject: [PATCH 50/94] [rbp/settings] Allow av sync type to be enabled It works for dvdplayer --- @@ -13122,10 +13122,10 @@ index 2b7d0a6..1429256 100644 1.9.3 -From ac43bdb1d6b80b69a46c75f1c12716f4f41fcca7 Mon Sep 17 00:00:00 2001 +From 4fb1419b986a36f2e53a5bca71caf90bd13443ba Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 16 Feb 2014 17:38:05 +0000 -Subject: [PATCH 51/90] [omxcodec] Only do essential calls in texture thread +Subject: [PATCH 51/94] [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.3 -From d591804905b4c453f1355b8dce8aec6fab91fe17 Mon Sep 17 00:00:00 2001 +From 182b137323347482bfca46dbb857813e4f984298 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sat, 1 Mar 2014 14:24:08 +0000 -Subject: [PATCH 52/90] [omxplayer] Allow small audio packets to be +Subject: [PATCH 52/94] [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.3 -From f871852584533547924c5f430b27bdd3379777f5 Mon Sep 17 00:00:00 2001 +From 10a9d6134a624bf59096831851ee12191f658da1 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 5 Mar 2014 22:10:01 +0000 -Subject: [PATCH 53/90] [omxplayer] Use media for determing audio delay and +Subject: [PATCH 53/94] [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.3 -From ebdd79f2c6d37d72dc0e387e77cddb28f0b5a4b9 Mon Sep 17 00:00:00 2001 +From 29c5c42b2f5be546c242bc8ef02dc06a8dd0fd17 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 3 Mar 2014 22:24:19 +0000 -Subject: [PATCH 54/90] [omx] Skip the resize when not needed when decoding +Subject: [PATCH 54/94] [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.3 -From c02bdf662dc3bec01aeaa34a6bff59ed098bad8b Mon Sep 17 00:00:00 2001 +From 1156d9abfac43de458d4ba66e5494c1d027e0f17 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sat, 8 Mar 2014 15:36:06 +0000 -Subject: [PATCH 55/90] [hifiberry] Hack: force it to be recognised as IEC958 +Subject: [PATCH 55/94] [hifiberry] Hack: force it to be recognised as IEC958 capable to enable passthrough options --- @@ -14538,17 +14538,17 @@ index b48a4fc..d9897e5 100644 1.9.3 -From 4c7fe76d2750d3ccc29065ad892fdd2f15a8df74 Mon Sep 17 00:00:00 2001 +From 03aa9ebf0993f06d24a34f8dd7d86a183ebd2dcd Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 11 Mar 2014 18:50:23 +0000 -Subject: [PATCH 56/90] [dvdplayer] Use inexact seeking like omxplayer +Subject: [PATCH 56/94] [dvdplayer] Use inexact seeking like omxplayer --- xbmc/cores/dvdplayer/DVDPlayer.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/xbmc/cores/dvdplayer/DVDPlayer.cpp b/xbmc/cores/dvdplayer/DVDPlayer.cpp -index 82d3720..54d22d7 100644 +index d607f55..1d4ba52 100644 --- a/xbmc/cores/dvdplayer/DVDPlayer.cpp +++ b/xbmc/cores/dvdplayer/DVDPlayer.cpp @@ -1935,7 +1935,11 @@ void CDVDPlayer::CheckAutoSceneSkip() @@ -14592,10 +14592,10 @@ index 82d3720..54d22d7 100644 1.9.3 -From d830438bad82c5069341bf523c47e6f09f30b84b Mon Sep 17 00:00:00 2001 +From d4487b87819003a44f59a607074a41108f644915 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 13 Mar 2014 16:08:46 +0000 -Subject: [PATCH 57/90] [omxplayer] Make use of TrueHD fastpath when downmixing +Subject: [PATCH 57/94] [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.3 -From 9f73d904af0da89688bb55d868cd575f413d2509 Mon Sep 17 00:00:00 2001 +From 8dedad4307cbca1416262af9e2ac2404c7490713 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sat, 15 Mar 2014 19:38:38 +0000 -Subject: [PATCH 58/90] [omxplayer] When in dual audio mode, make one output +Subject: [PATCH 58/94] [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.3 -From bd4725221ebc8bf6755724f3e9631455937e1d0b Mon Sep 17 00:00:00 2001 +From 96842193cb39ac3625a1dcbdd67388141733a5ee Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 30 Dec 2013 12:02:14 +0000 -Subject: [PATCH 59/90] [rbp] Hardware accelerated resampling +Subject: [PATCH 59/94] [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.3 -From 9c5f34622e2cbb9d47fa6469155d4c84c33d36ce Mon Sep 17 00:00:00 2001 +From 07042c916d780bf4acb742e174005aa1e38f3a13 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 27 Mar 2014 00:22:05 +0000 -Subject: [PATCH 60/90] [PiResample] Work around AE not providing correct +Subject: [PATCH 60/94] [PiResample] Work around AE not providing correct src_bits --- @@ -15499,10 +15499,10 @@ index 1d7b425..a91e208 100644 1.9.3 -From 71e4447ed63be3a41df5d35d097283694e973bbf Mon Sep 17 00:00:00 2001 +From 16e8c9550b1afc0a4f5c050cc10c2c19ec9cea38 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 25 Mar 2014 19:43:07 +0000 -Subject: [PATCH 61/90] [ffmpeg] Speed up wtv index creation +Subject: [PATCH 61/94] [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.3 -From bd994355a50d9e71cec450fe0c53fcd008b8310a Mon Sep 17 00:00:00 2001 +From c95293a4cfd39a5296b434c330c3e6e24831bb6e Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 7 Apr 2014 18:19:32 +0100 -Subject: [PATCH 62/90] [rbp/omxplayer] When opening a stream don't try to +Subject: [PATCH 62/94] [rbp/omxplayer] When opening a stream don't try to update gui so often --- @@ -15582,10 +15582,10 @@ index e9ba7d3..0fdc3c2 100644 1.9.3 -From c9f2e3415c6127f6c86dee0d84dea56b04808f61 Mon Sep 17 00:00:00 2001 +From 9420d803f17902c7d9f1e6734ab42a78c5d67572 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 7 Apr 2014 15:28:57 +0100 -Subject: [PATCH 63/90] [omxcodec] Clamp video texture at edges to avoid image +Subject: [PATCH 63/94] [omxcodec] Clamp video texture at edges to avoid image wrapping --- @@ -15609,10 +15609,10 @@ index a57abe4..e22a153 100644 1.9.3 -From d227d1fec215827b296edb0e32444fc3636bc349 Mon Sep 17 00:00:00 2001 +From 49c65c8d083952be840d8730f3fa40cfd5e0211c Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 7 Apr 2014 17:36:19 +0100 -Subject: [PATCH 64/90] [PiSink] Remove unneeded header and use CAEChannelInfo +Subject: [PATCH 64/94] [PiSink] Remove unneeded header and use CAEChannelInfo directly --- @@ -15688,10 +15688,10 @@ index 9ce00e3..070e6eb 100644 1.9.3 -From 349134ec1400919ffbed774a495c6141e5fbf92f Mon Sep 17 00:00:00 2001 +From 6ce35e828b39e0a8f2d81cb6fb6162edd53468a8 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 7 Apr 2014 17:37:41 +0100 -Subject: [PATCH 65/90] [omxplayer] Remove PCMRemap and handle multichannel +Subject: [PATCH 65/94] [omxplayer] Remove PCMRemap and handle multichannel mixing like ActiveAE does --- @@ -17352,10 +17352,10 @@ index a273cd1..0000000 1.9.3 -From 2841c81defe9d23935717eaf624e8cac633e6b61 Mon Sep 17 00:00:00 2001 +From f642e8eac4fb16039ce662a8a170908efd43ebf8 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 10 Apr 2014 17:19:18 +0100 -Subject: [PATCH 66/90] [omxplayer] Remove unused framerate functions +Subject: [PATCH 66/94] [omxplayer] Remove unused framerate functions --- xbmc/cores/omxplayer/OMXPlayerVideo.cpp | 4 +--- @@ -17462,10 +17462,10 @@ index f83074a..7bb6d4d 100644 1.9.3 -From f2a6d866f05605f984da4cd0287f3d43d2b71702 Mon Sep 17 00:00:00 2001 +From 652d09aff0c0ed4cab08ab7ebbe0da37118c53ba Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 30 Mar 2014 15:54:34 +0100 -Subject: [PATCH 67/90] [omxplayer] Make the sharpness control act as a +Subject: [PATCH 67/94] [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] @@ -17474,7 +17474,7 @@ This fixes scaling kernel as Mitchell Netravali, and varies sharpness over range 1 file changed, 338 insertions(+) diff --git a/xbmc/cores/omxplayer/OMXPlayer.cpp b/xbmc/cores/omxplayer/OMXPlayer.cpp -index 0b80be5..463ef3c 100644 +index 2515fa1..b09e8e0 100644 --- a/xbmc/cores/omxplayer/OMXPlayer.cpp +++ b/xbmc/cores/omxplayer/OMXPlayer.cpp @@ -1051,6 +1051,334 @@ bool COMXPlayer::IsBetterStream(COMXCurrentStream& current, CDemuxStream* stream @@ -17835,7 +17835,7 @@ index 0b80be5..463ef3c 100644 m_video_fifo = (int)(100.0*(m_omxPlayerVideo.GetDecoderBufferSize()-m_omxPlayerVideo.GetDecoderFreeSpace())/m_omxPlayerVideo.GetDecoderBufferSize()); m_audio_fifo = (int)(100.0*audio_fifo/m_omxPlayerAudio.GetCacheTotal()); -@@ -4569,6 +4906,7 @@ void COMXPlayer::GetRenderFeatures(std::vector &renderFeatures) +@@ -4577,6 +4914,7 @@ void COMXPlayer::GetRenderFeatures(std::vector &renderFeatures) renderFeatures.push_back(RENDERFEATURE_CROP); renderFeatures.push_back(RENDERFEATURE_PIXEL_RATIO); renderFeatures.push_back(RENDERFEATURE_ZOOM); @@ -17847,10 +17847,10 @@ index 0b80be5..463ef3c 100644 1.9.3 -From 7b9b1a2456a423e6dee12879ba3b936b7d57efb1 Mon Sep 17 00:00:00 2001 +From 97a3f2347e45eee8f960a2190891d4bd9de3dda0 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 10 Apr 2014 17:24:51 +0100 -Subject: [PATCH 68/90] [rpi] Include ntsc frequencies in list of supported +Subject: [PATCH 68/94] [rpi] Include ntsc frequencies in list of supported resolutions --- @@ -17984,10 +17984,10 @@ index 0c32947..258a293 100644 1.9.3 -From 407503ff807eb9f59336e8b03817df55d6ec9a6a Mon Sep 17 00:00:00 2001 +From 6e000e35a42863a9db644692246c43300e4ab948 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 10 Apr 2014 17:26:20 +0100 -Subject: [PATCH 69/90] [omxplayer] Allow a framerate callback from GPU to +Subject: [PATCH 69/94] [omxplayer] Allow a framerate callback from GPU to trigger a hdmi mode change --- @@ -18127,10 +18127,10 @@ index d69f854..fd23e70 100644 1.9.3 -From 98e2165dec8f1ef55c06abf5eb5e41686102b07e Mon Sep 17 00:00:00 2001 +From 7d8653f297a2aeea7b10bf36732892878ae89334 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 11 Apr 2014 19:01:26 +0100 -Subject: [PATCH 70/90] [omxplayer] Request to be notified about framerate +Subject: [PATCH 70/94] [omxplayer] Request to be notified about framerate changes --- @@ -18173,10 +18173,10 @@ index 10a7530..148b16f 100644 1.9.3 -From 0db0cfff0eebec44ba0cb58413c1d92c1eab556a Mon Sep 17 00:00:00 2001 +From 12a54cc9ca0c0500f1d86173df0c8466270bd766 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 14 Apr 2014 17:04:57 +0100 -Subject: [PATCH 71/90] [omxplayer] Support stereo view modes with scaling +Subject: [PATCH 71/94] [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. @@ -18453,10 +18453,10 @@ index fd23e70..226000e 100644 1.9.3 -From 4381a745fbe8460321f619d02d642bae5521043b Mon Sep 17 00:00:00 2001 +From 716400b7b3cf13c6546bba6a0d0a2f47825f9117 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 16 Apr 2014 21:18:06 +0100 -Subject: [PATCH 72/90] [omxplayer] Don't propagate 3d flags based on supported +Subject: [PATCH 72/94] [omxplayer] Don't propagate 3d flags based on supported 3d modes --- @@ -18512,10 +18512,10 @@ index d5f3bec..e9f86f3 100644 1.9.3 -From 216a9f75ec3984bed31142ba136778c4e0c8ef9e Mon Sep 17 00:00:00 2001 +From 7f2220746d9efeb3e8cfc4524479a615db5b710c Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 17 Apr 2014 13:00:52 +0100 -Subject: [PATCH 73/90] [graphics] Don't set stereo mode based on resolution +Subject: [PATCH 73/94] [graphics] Don't set stereo mode based on resolution The resolution change should follow stereo mode --- @@ -18559,10 +18559,10 @@ index 5bffdf5..7e4fdd4 100644 1.9.3 -From e2033f17bee8f6423b3a861c57eaa54584f9cdd0 Mon Sep 17 00:00:00 2001 +From 7885d90283809ccbcdb9c39809682dfc099049c4 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 17 Apr 2014 13:01:51 +0100 -Subject: [PATCH 74/90] [graphics] Allow switching to a more suitable 3D +Subject: [PATCH 74/94] [graphics] Allow switching to a more suitable 3D resolution --- @@ -18652,10 +18652,10 @@ index 0a27643..df55e92 100644 1.9.3 -From 8349783893f6780183fe984297f67f83febf0979 Mon Sep 17 00:00:00 2001 +From 49438256c57d11b415f6a90f653857e7fae16a1d Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 17 Apr 2014 13:38:55 +0100 -Subject: [PATCH 75/90] [3D] Support switching to 3D resolutions +Subject: [PATCH 75/94] [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. @@ -18740,10 +18740,10 @@ index 970b822..9ca1be1 100644 1.9.3 -From 19f59c5e93d3e3eeaf6a971279b93c4068ae2074 Mon Sep 17 00:00:00 2001 +From bd077947037288550a8e68efed630a3477a16564 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 23 Apr 2014 00:05:07 +0100 -Subject: [PATCH 76/90] [graphics] Make pixel ratio for 3d modes consistent +Subject: [PATCH 76/94] [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. @@ -18931,10 +18931,10 @@ index 21b8cc4..f57b22b 100644 1.9.3 -From 516aa1c6b62337c1ac7fd0d6975bdd9e682302ff Mon Sep 17 00:00:00 2001 +From 7464b116a5db0be0c2b50314fcf703529d6f646e Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 23 Apr 2014 21:07:51 +0100 -Subject: [PATCH 77/90] [PiSink] More attempts to reduce underrun audio +Subject: [PATCH 77/94] [PiSink] More attempts to reduce underrun audio glitches with multichannl and high samplerate --- @@ -19056,10 +19056,10 @@ index 070e6eb..133b9f6 100644 1.9.3 -From 2e3226777275d9955e8ee9122fb43628f7a3c5eb Mon Sep 17 00:00:00 2001 +From 508c32de290d09c429d73b2497408b930550f1a3 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 23 Apr 2014 22:36:01 +0100 -Subject: [PATCH 78/90] [omxplayer] Fix for aspect ratio of portrait videos +Subject: [PATCH 78/94] [omxplayer] Fix for aspect ratio of portrait videos --- xbmc/cores/omxplayer/OMXPlayerVideo.cpp | 10 ++++++++++ @@ -19090,10 +19090,10 @@ index e9f86f3..7e2c644 100644 1.9.3 -From 04c4f36e7fd31cfd594a93e81e44714bd2497ec4 Mon Sep 17 00:00:00 2001 +From fe9fea7a1aac545aa601b71aae01651bc42a5376 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 22 Apr 2014 12:23:23 +0100 -Subject: [PATCH 79/90] [omxplayer] Make dvdplayer the default for dvd images +Subject: [PATCH 79/94] [omxplayer] Make dvdplayer the default for dvd images --- xbmc/cores/omxplayer/omxplayer_advancedsettings.xml | 2 +- @@ -19115,10 +19115,10 @@ index 77c6a15..51c0daf 100644 1.9.3 -From 73b86af7965e1037734629c0fd429c7d023ec7b1 Mon Sep 17 00:00:00 2001 +From f417d7d303eaa5113edba8ba562cb61ed8a6c59a Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sat, 26 Apr 2014 17:27:52 +0100 -Subject: [PATCH 80/90] [cec] Don't suspend pi on tv switch off - it can't wake +Subject: [PATCH 80/94] [cec] Don't suspend pi on tv switch off - it can't wake up --- @@ -19142,10 +19142,10 @@ index a906628..9b5271a 100644 1.9.3 -From d87923230a3593a7844f9fbe6fb332792079b127 Mon Sep 17 00:00:00 2001 +From 0563f1df1295ac5600fd330fb201e854ad900e02 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sat, 12 Apr 2014 17:57:19 +0100 -Subject: [PATCH 81/90] [omxplayer] Ignore occasionally valid pts values, they +Subject: [PATCH 81/94] [omxplayer] Ignore occasionally valid pts values, they cause live tv stutter --- @@ -19169,10 +19169,10 @@ index 7e2c644..b3786f6 100644 1.9.3 -From b178b5b8b0dc53c04cf0f8aaba0eb3cd8f4f91ba Mon Sep 17 00:00:00 2001 +From cddc5f27f9aa11dfb65e16ec1f84a809cf79c68b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 7 May 2014 14:54:41 +0100 -Subject: [PATCH 82/90] [Pi] Fix naming of refresh rates to avoid lost +Subject: [PATCH 82/94] [Pi] Fix naming of refresh rates to avoid lost calibration settings --- @@ -19256,10 +19256,10 @@ index d1ebb81..59401f5 100644 1.9.3 -From 9baf03170c08e82f4e013c3a5241ba3b7fc29a92 Mon Sep 17 00:00:00 2001 +From a4c36a4925e780b63d9821fb04504453ac982205 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sat, 10 May 2014 11:40:41 +0100 -Subject: [PATCH 83/90] [omxplayer] Skip out of submit loop when closing. +Subject: [PATCH 83/94] [omxplayer] Skip out of submit loop when closing. Avoids a permanent hang at EOF when using IPTV streams --- @@ -19373,10 +19373,10 @@ index 6f19395..8eff32f 100644 1.9.3 -From 08ecf230d185e186ed953055f2656fe45c1cb91d Mon Sep 17 00:00:00 2001 +From b90562b8ffc29c1d9e037e94b0c92b3b0b67413b Mon Sep 17 00:00:00 2001 From: xbmc Date: Mon, 28 May 2012 10:34:39 +0200 -Subject: [PATCH 84/90] videoplayer: adapt lateness detection and dropping to +Subject: [PATCH 84/94] videoplayer: adapt lateness detection and dropping to buffering --- @@ -19993,10 +19993,10 @@ index f8ad541..186e271 100644 1.9.3 -From 6eeb428818297219035db4eb259138ec6c7430ea Mon Sep 17 00:00:00 2001 +From 16d2c2ee305eb2cd3ec42fd0aad474dbf356d75d Mon Sep 17 00:00:00 2001 From: xbmc Date: Sun, 2 Sep 2012 16:05:21 +0200 -Subject: [PATCH 85/90] video player: present correct pts to user for a/v sync +Subject: [PATCH 85/94] video player: present correct pts to user for a/v sync (after buffering in renderer) --- @@ -20048,10 +20048,10 @@ index 186e271..59c7f09 100644 1.9.3 -From 7b2ff31fcd6080d96435cd425d6b5390d9fc1a97 Mon Sep 17 00:00:00 2001 +From afa38b57afee02720263e2db79d20e1411461433 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 12 May 2014 23:06:43 +0100 -Subject: [PATCH 86/90] [omxcodec] Updates to work better with dropping and +Subject: [PATCH 86/94] [omxcodec] Updates to work better with dropping and lateness detection --- @@ -20341,10 +20341,10 @@ index f234f6d..adf53b5 100644 1.9.3 -From 8bb8d290b6f061a05931229f5d5a9fbc35854093 Mon Sep 17 00:00:00 2001 +From 4dd2fcf0f479b6b18dac9a496ddf1788b82388f2 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 11 May 2014 16:13:45 +0100 -Subject: [PATCH 87/90] [rbp] Add config.txt settings to log file +Subject: [PATCH 87/94] [rbp] Add config.txt settings to log file --- xbmc/linux/RBP.cpp | 8 +++++++- @@ -20377,10 +20377,10 @@ index 49dcbb8..9a5e9cb 100644 1.9.3 -From 1db5911eb6721e94f392bc94ebb446dfa2207821 Mon Sep 17 00:00:00 2001 +From eb2cba833f1399befcbd60901f3d97a08e3a2781 Mon Sep 17 00:00:00 2001 From: Alex Deryskyba Date: Thu, 8 May 2014 18:54:54 +0300 -Subject: [PATCH 88/90] Reset display region when video stream properties +Subject: [PATCH 88/94] Reset display region when video stream properties change Currently when video stream properties change, e.g. when user switches to next or previous Live TV channel, and has the same frame width and height, the COMXVideo::SetVideoRect() method is not called, causing the video to play back with default source and destination rectangles, not respecting the user-defined zoom settings. @@ -20408,10 +20408,10 @@ index 61b884e..eaa1e34 100644 1.9.3 -From 368e04b130341c125853de5d1a38dd4608648553 Mon Sep 17 00:00:00 2001 +From 7c369ba5ec4e700f5c06e1caa20095bc26e61195 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 28 May 2014 23:44:11 +0100 -Subject: [PATCH 89/90] [omxplayer] Fix for mapping of multichannel PCM audio +Subject: [PATCH 89/94] [omxplayer] Fix for mapping of multichannel PCM audio --- xbmc/cores/omxplayer/OMXAudio.cpp | 11 ++++++++--- @@ -20447,10 +20447,10 @@ index d9beb68..75eff26 100644 1.9.3 -From 56dfff19dd2a312d6b96e33e7bd9787e2b009713 Mon Sep 17 00:00:00 2001 +From 458ec80741e4aa1ae95fe616f5953e1268a4802e Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 30 May 2014 14:15:10 +0100 -Subject: [PATCH 90/90] [pi] Fix for logged resolutions +Subject: [PATCH 90/94] [pi] Fix for logged resolutions --- xbmc/windowing/egl/EGLNativeTypeRaspberryPI.cpp | 15 +++++---------- @@ -20517,3 +20517,149 @@ index 5b26b20..a3edf0e 100644 -- 1.9.3 + +From 9eb0d69eb1f319421780025cefe6df3ade40c4dc Mon Sep 17 00:00:00 2001 +From: popcornmix +Date: Sat, 7 Jun 2014 16:55:41 +0100 +Subject: [PATCH 91/94] [omx] Remove logging for texture jobs + +This causes a lot of log spam which hasn't proved useful so far. +--- + xbmc/cores/omxplayer/OMXImage.cpp | 5 ----- + 1 file changed, 5 deletions(-) + +diff --git a/xbmc/cores/omxplayer/OMXImage.cpp b/xbmc/cores/omxplayer/OMXImage.cpp +index 262a004..d529b20 100644 +--- a/xbmc/cores/omxplayer/OMXImage.cpp ++++ b/xbmc/cores/omxplayer/OMXImage.cpp +@@ -210,13 +210,11 @@ bool COMXImage::SendMessage(bool (*callback)(EGLDisplay egl_display, EGLContext + mess.sync.Reset(); + { + CSingleLock lock(m_texqueue_lock); +- CLog::Log(LOGDEBUG, "%s: texture job: %p:%p", __func__, &mess, mess.callback); + m_texqueue.push(&mess); + m_texqueue_cond.notifyAll(); + } + // wait for function to have finished (in texture thread) + mess.sync.Wait(); +- CLog::Log(LOGDEBUG, "%s: texture job done: %p:%p = %d", __func__, &mess, mess.callback, mess.result); + // need to ensure texture thread has returned from mess.sync.Set() before we exit and free tex + CSingleLock lock(m_texqueue_lock); + return mess.result; +@@ -429,15 +427,12 @@ void COMXImage::Process() + struct callbackinfo *mess = m_texqueue.front(); + m_texqueue.pop(); + lock.Leave(); +- CLog::Log(LOGDEBUG, "%s: texture job: %p:%p:%p", __func__, mess, mess->callback, mess->cookie); + + mess->result = mess->callback(g_Windowing.GetEGLDisplay(), GetEGLContext(), mess->cookie); +- CLog::Log(LOGDEBUG, "%s: texture job about to Set: %p:%p:%p", __func__, mess, mess->callback, mess->cookie); + { + CSingleLock lock(m_texqueue_lock); + mess->sync.Set(); + } +- CLog::Log(LOGDEBUG, "%s: texture job: %p done", __func__, mess); + } + } + } +-- +1.9.3 + + +From 4c7a42273416f4053a5bb90755ea45cc0a5f7a0b Mon Sep 17 00:00:00 2001 +From: popcornmix +Date: Sun, 15 Jun 2014 13:20:53 +0100 +Subject: [PATCH 92/94] gles: Avoid crash when capturing snapshot when using + dvdplayer + +Note: snapshot will be blank, but that's better than crashing +--- + xbmc/cores/VideoRenderers/LinuxRendererGLES.cpp | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/xbmc/cores/VideoRenderers/LinuxRendererGLES.cpp b/xbmc/cores/VideoRenderers/LinuxRendererGLES.cpp +index e22a153..0cff2c5 100644 +--- a/xbmc/cores/VideoRenderers/LinuxRendererGLES.cpp ++++ b/xbmc/cores/VideoRenderers/LinuxRendererGLES.cpp +@@ -1600,7 +1600,9 @@ bool CLinuxRendererGLES::RenderCapture(CRenderCapture* capture) + return false; + + // If rendered directly by the hardware ++#ifndef TARGET_RASPBERRY_PI + if (m_renderMethod & RENDER_BYPASS) ++#endif + { + capture->BeginRender(); + capture->EndRender(); +-- +1.9.3 + + +From 9805b1c9b218f8ba15c41752cc88f6e8bc3223ad Mon Sep 17 00:00:00 2001 +From: popcornmix +Date: Wed, 28 May 2014 18:30:51 +0100 +Subject: [PATCH 93/94] [omxcodec] Reduce GPU memory use by 2 video frames + +--- + xbmc/cores/dvdplayer/DVDCodecs/Video/OpenMaxVideo.cpp | 14 ++++++++++++++ + 1 file changed, 14 insertions(+) + +diff --git a/xbmc/cores/dvdplayer/DVDCodecs/Video/OpenMaxVideo.cpp b/xbmc/cores/dvdplayer/DVDCodecs/Video/OpenMaxVideo.cpp +index 93cf521..cc45570 100644 +--- a/xbmc/cores/dvdplayer/DVDCodecs/Video/OpenMaxVideo.cpp ++++ b/xbmc/cores/dvdplayer/DVDCodecs/Video/OpenMaxVideo.cpp +@@ -308,6 +308,20 @@ bool COpenMaxVideo::Open(CDVDStreamInfo &hints, CDVDCodecOptions &options, OpenM + return false; + } + ++ { ++ // as we aren't tunnelled to display, we can save memory by setting extrabuffers to 0 ++ OMX_PARAM_U32TYPE extra_buffers; ++ OMX_INIT_STRUCTURE(extra_buffers); ++ extra_buffers.nU32 = 0; ++ ++ omx_err = m_omx_decoder.SetParameter(OMX_IndexParamBrcmExtraBuffers, &extra_buffers); ++ if(omx_err != OMX_ErrorNone) ++ { ++ CLog::Log(LOGERROR, "COMXVideo::Open error OMX_IndexParamBrcmExtraBuffers omx_err(0x%08x)\n", omx_err); ++ return false; ++ } ++ } ++ + // request portsettingschanged on aspect ratio change + OMX_CONFIG_REQUESTCALLBACKTYPE notifications; + OMX_INIT_STRUCTURE(notifications); +-- +1.9.3 + + +From 1b49a6f5b1655918e26d84ca4260fc249c00022f Mon Sep 17 00:00:00 2001 +From: popcornmix +Date: Wed, 18 Jun 2014 23:11:28 +0100 +Subject: [PATCH 94/94] [rbp] Reduce GPU memory use when limited + +Switching from default triple buffered output to double buffered saves 8M with 1080p GUI. +This may slightly reduce framerate, but is likely to be minimal. + +Assume if gpu_mem is set below the default 128M that this memory reduction is wanted +--- + xbmc/linux/RBP.cpp | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/xbmc/linux/RBP.cpp b/xbmc/linux/RBP.cpp +index 9a5e9cb..50d5186 100644 +--- a/xbmc/linux/RBP.cpp ++++ b/xbmc/linux/RBP.cpp +@@ -72,6 +72,9 @@ bool CRBP::Initialize() + if (vc_gencmd(response, sizeof response, "codec_enabled WVC1") == 0) + m_codec_wvc1_enabled = strcmp("WVC1=enabled", response) == 0; + ++ if (m_gpu_mem < 128) ++ setenv("V3D_DOUBLE_BUFFER", "1", 1); ++ + g_OMXImage.Initialize(); + m_omx_image_init = true; + return true; +-- +1.9.3 +