diff --git a/projects/RPi/patches/xbmc/xbmc-gotham_rbp_backports.patch b/projects/RPi/patches/xbmc/xbmc-gotham_rbp_backports.patch index 9a03eedbbb..97c02afe8c 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 755db827cdc1f75f38f05f4b4ae90c7339a45ea3 Mon Sep 17 00:00:00 2001 +From 3bd92e8c4fc53bf806161c0b0cbb1b32f174600f Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Mon, 5 Aug 2013 13:12:46 +0100 -Subject: [PATCH 01/88] h264_parser: Initialize the h264dsp context in the +Subject: [PATCH 01/90] 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 eac2807ec9477c523726dd768889ecbf388c8634 Mon Sep 17 00:00:00 2001 +From b58a25d22eacc15d9cfcdd8b5194998233b6ed3c Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Mon, 5 Aug 2013 13:12:47 +0100 -Subject: [PATCH 02/88] h264dsp: Factorize code into a new function, +Subject: [PATCH 02/90] 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 4b12bc6d9297065d125bc5726507aee2f72b017d Mon Sep 17 00:00:00 2001 +From 0101b43f502b952ff73964dd9436629257c948da Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Mon, 5 Aug 2013 13:12:48 +0100 -Subject: [PATCH 03/88] arm: Add assembly version of +Subject: [PATCH 03/90] 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 adcadea9c6ebc47e8e65ba42af0d3a039be3f1de Mon Sep 17 00:00:00 2001 +From 7648971b2ee5f200d18cfea89919152e7324f7af Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 19 Aug 2013 22:48:05 +0100 -Subject: [PATCH 04/88] [ffmpeg] Backport of h264_find_start_code_candidate +Subject: [PATCH 04/90] [ffmpeg] Backport of h264_find_start_code_candidate optimisation --- @@ -1037,10 +1037,10 @@ index 0000000..cdc2d1e 1.9.3 -From 229de7e33bde5692fa90140ca96dde3675af6dc4 Mon Sep 17 00:00:00 2001 +From 2623cca9132eb09d7d68155ce4a5f7173cd8c7ee Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 16 Apr 2014 01:51:31 +0100 -Subject: [PATCH 05/88] h264: Move search code search functions into separate +Subject: [PATCH 05/90] 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 504c24a2bde0d2d33769ba6b2e5f95cfe9944a2f Mon Sep 17 00:00:00 2001 +From 3651456a4ff453b4001cc83ec6c0213eb1f286bd Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 16 Apr 2014 01:51:32 +0100 -Subject: [PATCH 06/88] vc-1: Add platform-specific start code search routine +Subject: [PATCH 06/90] 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 64df474f51f21c5973a3dcdde49ec823d1171219 Mon Sep 17 00:00:00 2001 +From e45250a0a1318ca76e5f0eb8e55ab162506ed395 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 23 Apr 2014 01:41:04 +0100 -Subject: [PATCH 07/88] vc-1: Optimise parser (with special attention to ARM) +Subject: [PATCH 07/90] 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 ba417749ba8624f07dddbd77ecd4b9e07e8db1a8 Mon Sep 17 00:00:00 2001 +From 8dd383647a562f6ea39c1509a4f079f46b7fb90e Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 19 Mar 2014 17:44:59 +0000 -Subject: [PATCH 08/88] truehd: add hand-scheduled ARM asm version of +Subject: [PATCH 08/90] 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 c1bfbddc3b702e17581469dafaa0f7e89bbdcf1c Mon Sep 17 00:00:00 2001 +From 8378a0f3f18ae47b5823fad32ddea56c2858020e Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 19 Mar 2014 17:48:54 +0000 -Subject: [PATCH 09/88] truehd: break out part of rematrix_channels into +Subject: [PATCH 09/90] 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 a46876df68ffa9674e594075e12023423b926677 Mon Sep 17 00:00:00 2001 +From a3f97d26f43c063f8aa89d83eeff3c2954c277e5 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 19 Mar 2014 17:49:48 +0000 -Subject: [PATCH 10/88] truehd: add hand-scheduled ARM asm version of +Subject: [PATCH 10/90] 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 cfce1a565f18bfc810476a65533524802262a919 Mon Sep 17 00:00:00 2001 +From 05d3701065701137d8085324f7e23f1137379bda Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 19 Mar 2014 17:50:36 +0000 -Subject: [PATCH 11/88] truehd: tune VLC decoding for ARM. +Subject: [PATCH 11/90] 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 80219729d75f9ff4f44d4b48fcfa288e3fb7da58 Mon Sep 17 00:00:00 2001 +From e343a3b437de56f990c473190d82d40ed7c4e373 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 19 Mar 2014 17:54:07 +0000 -Subject: [PATCH 12/88] truehd: break out part of output_data into +Subject: [PATCH 12/90] 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 7a631c4cac568aef705f1f84fb9b5f679a5e0729 Mon Sep 17 00:00:00 2001 +From 559cde893327d0b20056903b5b6018eb6759c99e Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 19 Mar 2014 17:54:59 +0000 -Subject: [PATCH 13/88] truehd: add hand-scheduled ARM asm version of +Subject: [PATCH 13/90] 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 8467e651365fc573d767b7816f4768e2784ce286 Mon Sep 17 00:00:00 2001 +From 7a21f98364d3047742320c78a494d95312e38ad9 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Thu, 14 Nov 2013 19:48:41 +0000 -Subject: [PATCH 14/88] More efficient infobool expression evaluator +Subject: [PATCH 14/90] 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 faa4e1c54f77859dbb648734bdb6fb6b1b00aa85 Mon Sep 17 00:00:00 2001 +From e5265c747d0ac81b73c78c727cbf5537517ba923 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Mon, 24 Mar 2014 22:26:21 +0000 -Subject: [PATCH 15/88] Where an infobool expression failed to parse, evaluate +Subject: [PATCH 15/90] 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 7e962904395b459b00bfa018dcbb49cd660d9a01 Mon Sep 17 00:00:00 2001 +From c3d38e2d61a1111c5732228fada524c807efa062 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Tue, 26 Nov 2013 20:09:48 +0000 -Subject: [PATCH 16/88] Add caching of infolabels +Subject: [PATCH 16/90] 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 24bec7c1a8af65aa7e5f115d1f9d1af9bb9270b1 Mon Sep 17 00:00:00 2001 +From 17031380f3de1dd5777d2cb3259b61c974ba6af1 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Tue, 10 Dec 2013 01:12:31 +0000 -Subject: [PATCH 17/88] De-duplication of string cache for non-item and item +Subject: [PATCH 17/90] De-duplication of string cache for non-item and item labels --- @@ -5159,10 +5159,10 @@ index 418b2c4..6d9ebf7 100644 1.9.3 -From 9f4e3722694048e509ff204736ca66e403a988b2 Mon Sep 17 00:00:00 2001 +From 31bfbd7f63cb1d3fa52c9eb79795fb232733a4e5 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 21 Feb 2014 15:16:13 +0000 -Subject: [PATCH 18/88] Faster and simpler portable implementation of +Subject: [PATCH 18/90] 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 64822e17ea73d300d2fab0c5464f16f16c2c21e1 Mon Sep 17 00:00:00 2001 +From 36efec604b8489d52b7e301584c5f14de55d2d8f Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 11 Dec 2013 17:21:54 +0000 -Subject: [PATCH 19/88] Move the reference-counting of Begin and End calls from +Subject: [PATCH 19/90] 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 720a41a7ee98e61c28f807d7d1b71ecf9d61582b Mon Sep 17 00:00:00 2001 +From 4d6ba7dc9c9c0bbc17dc5a71075367c9a5716564 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 11 Dec 2013 18:47:54 +0000 -Subject: [PATCH 20/88] Convert CGUIFontTTFBase::m_vertex to be managed as a +Subject: [PATCH 20/90] 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 c2547d28bd3abedf7db8b70ab8fbafb1913cae1e Mon Sep 17 00:00:00 2001 +From 4c53ac8b275fde1b2afc6f744f52e66a19116cd8 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Mon, 16 Dec 2013 18:58:12 +0000 -Subject: [PATCH 21/88] CGUIFontTTFBase::RenderCharacter can now append to +Subject: [PATCH 21/90] 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 b878140b1ec597043fe34f9a40473deaed8b9885 Mon Sep 17 00:00:00 2001 +From 80c67e743ef6d1c9441adcb036e072fea988cbbe Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 15 Jan 2014 17:18:38 +0000 -Subject: [PATCH 22/88] Add a cache of font glyph bounding box vertices. This +Subject: [PATCH 22/90] 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 60832b92c2c3405aa2ed484b1eeba9914769484d Mon Sep 17 00:00:00 2001 +From cf8f0cfca5dd311680f01ae4909e1db5dbc3982c Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Thu, 23 Jan 2014 22:24:17 +0000 -Subject: [PATCH 23/88] Lay the groundwork for hardware clipping. +Subject: [PATCH 23/90] 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 790b62e1b84f9c996a816a2ddc643af40172e543 Mon Sep 17 00:00:00 2001 +From ad74f2f57bddbfac9c79f8e4b522714b60c56c34 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Thu, 23 Jan 2014 16:42:22 +0000 -Subject: [PATCH 24/88] Increase font cache hit rate by keying on the +Subject: [PATCH 24/90] 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 a38ff9f0d2b1001ee5c71d39ff064b8651a32dad Mon Sep 17 00:00:00 2001 +From 1da3bde78feb1756fa3099f0be197730f5d13fec Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 8 Jan 2014 12:16:33 +0000 -Subject: [PATCH 25/88] Rewrite of scrolling text code. +Subject: [PATCH 25/90] 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 fd0f4cc4d28921f59184ed9b74cbbd2526a0cf49 Mon Sep 17 00:00:00 2001 +From 568f907fb350b30a41bb77c4818322c32da66445 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Mon, 27 Jan 2014 23:21:10 +0000 -Subject: [PATCH 26/88] Move the application of the translation offsets into +Subject: [PATCH 26/90] 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 30965ec6473376642361498159e79171b343f72f Mon Sep 17 00:00:00 2001 +From f9cd716db57b0fd2f9fb8b5efdfcf2d8862f9105 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 15 Jan 2014 15:28:06 +0000 -Subject: [PATCH 27/88] Rather than applying the translation offsets to the +Subject: [PATCH 27/90] 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 6090f19fbafb8669527c5a5569af00ed3f7c5f87 Mon Sep 17 00:00:00 2001 +From cccecc4b6a770ba7729e250a830ff3103c288650 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 29 Jan 2014 13:21:19 +0000 -Subject: [PATCH 28/88] Enable hardware clipping. +Subject: [PATCH 28/90] Enable hardware clipping. --- xbmc/guilib/GUIFontTTF.cpp | 4 ++-- @@ -7878,10 +7878,10 @@ index fbffaa0..b7618e1 100644 1.9.3 -From 32a78d9068d4ca64034f8bec0ea8fd91ed3abad5 Mon Sep 17 00:00:00 2001 +From bdbc469d6fb6671c4becc2cc8e5ac068ede7a062 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 15 Jan 2014 15:32:51 +0000 -Subject: [PATCH 29/88] Move the vertex data across to a vertex buffer object +Subject: [PATCH 29/90] 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 64a87a6c4d7d844d5600744c5874ea4920e33894 Mon Sep 17 00:00:00 2001 +From 89d18c2b413f25ec84e93139a5acfb33b50b7cd4 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 15 Jan 2014 16:04:04 +0000 -Subject: [PATCH 30/88] Move vertex data into an OpenGL VBO when the font cache +Subject: [PATCH 30/90] 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 fbdb2c034e69e8338473ed91904b4c5a63e4d703 Mon Sep 17 00:00:00 2001 +From fbf0daa60062466630ad8ea6832577faa4a92de7 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Thu, 16 Jan 2014 16:29:42 +0000 -Subject: [PATCH 31/88] Switch from glDrawArrays() to glDrawElements(). This +Subject: [PATCH 31/90] 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 f607fb5673e1145bad4a68328df8901d79610317 Mon Sep 17 00:00:00 2001 +From bf3b8d9a8960a4d7306330454f19a2bcc047fcf5 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Tue, 4 Feb 2014 16:17:57 +0000 -Subject: [PATCH 32/88] Update Windows project files +Subject: [PATCH 32/90] Update Windows project files --- project/VS2010Express/XBMC.vcxproj | 2 ++ @@ -8497,10 +8497,10 @@ index b536eb3..cb34443 100644 1.9.3 -From e81bb9d08740a2c47d5aa4c93d9be422697c0841 Mon Sep 17 00:00:00 2001 +From bf6c46bc8a502463c10c0018b04772465d9a5453 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Tue, 4 Feb 2014 16:49:45 +0000 -Subject: [PATCH 33/88] Update XCode project file +Subject: [PATCH 33/90] Update XCode project file --- XBMC.xcodeproj/project.pbxproj | 10 ++++++++++ @@ -8566,10 +8566,10 @@ index fdd10a1..62e7e69 100644 1.9.3 -From 098c8190deba94872efabab64364507d2d18363b Mon Sep 17 00:00:00 2001 +From 55a68c9b9c8355362bc383b0c33025624dae4c91 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Tue, 4 Feb 2014 17:44:34 +0000 -Subject: [PATCH 34/88] Clang seems to be more picky than gcc about some C++ +Subject: [PATCH 34/90] 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 9e9d56af0b65f93489b816ff182b4a95bd076ca1 Mon Sep 17 00:00:00 2001 +From 773568c721e21d2823561cff6c31b7e9b8130d8d Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Tue, 4 Feb 2014 18:52:14 +0000 -Subject: [PATCH 35/88] Fix header to hopefully permit iOS builds to work +Subject: [PATCH 35/90] 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 37b35cb903e778e8906a07610b40a2a16ffd5d26 Mon Sep 17 00:00:00 2001 +From c479fe00bd3ad3ea125703658b996520ab9d846c Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Tue, 8 Apr 2014 18:14:55 +0100 -Subject: [PATCH 36/88] Fix font display in stereoscopic modes +Subject: [PATCH 36/90] 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 22c556b579982ff7f873646e7612ea59a05bfd8b Mon Sep 17 00:00:00 2001 +From 37f7464856ceaac7d905346a155586bf81be2750 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 10 Jan 2014 12:10:43 +0000 -Subject: [PATCH 37/88] [rbp] Don't override dvdplayer with omxplayer. +Subject: [PATCH 37/90] [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 704c4fe6549d3edd93de34642e6da3f6cc1b973b Mon Sep 17 00:00:00 2001 +From 10a3b0a938628ea6638c5211fd5671d5a50c5423 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 10 Jan 2014 15:37:41 +0000 -Subject: [PATCH 38/88] [players] Use default players rather than hard coded +Subject: [PATCH 38/90] [players] Use default players rather than hard coded DVDPlayer/PAPlayer --- @@ -8811,10 +8811,10 @@ index 57dfcdd..7be9799 100644 1.9.3 -From 5b4256d0fe8018541d92f3e4c69d88b2a06d4f31 Mon Sep 17 00:00:00 2001 +From fca8acdaa669117760dd2a12d3141d8e8c423603 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sat, 11 Jan 2014 18:23:42 +0000 -Subject: [PATCH 39/88] [rbp] Don't force dvdplayer for airplay +Subject: [PATCH 39/90] [rbp] Don't force dvdplayer for airplay --- xbmc/network/AirPlayServer.cpp | 2 ++ @@ -8840,10 +8840,10 @@ index 8040d9b..182daaa 100644 1.9.3 -From 8c3a423de3b359dd4a39ee7c7d46a9322053268c Mon Sep 17 00:00:00 2001 +From ae738b0023276a44ce27c7c39a587276c4ff21ec Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 13 Jan 2014 13:11:06 +0000 -Subject: [PATCH 40/88] [rbp] Give plugins omxplayer when they request +Subject: [PATCH 40/90] [rbp] Give plugins omxplayer when they request dvdplayer on pi --- @@ -8870,10 +8870,10 @@ index 16f0174..b172d47 100644 1.9.3 -From 5741a5082fc96eca6a3605ae104a436985b18cd1 Mon Sep 17 00:00:00 2001 +From 21bd629271074e9040d1b4cb437a1136f024c999 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 14 Jan 2014 18:04:07 +0000 -Subject: [PATCH 41/88] [rbp] Allow ALSA to be chosen in addition to Pi sink +Subject: [PATCH 41/90] [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 63a9aa58ab9f68f2b6bcf913228e338f41889b5c Mon Sep 17 00:00:00 2001 +From 87cca19d26f6eda95930f1d7e9a3965e76a5045d Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 16 Jan 2014 01:39:29 +0000 -Subject: [PATCH 42/88] [omxcodec] Add hardware decode to dvdplayer for Pi +Subject: [PATCH 42/90] [omxcodec] Add hardware decode to dvdplayer for Pi Hijack the abandoned OpenMaxVideo codec --- @@ -12024,10 +12024,10 @@ index 54d35aa..5b9c2f9 100644 1.9.3 -From f9a40ac221a8f2f1729a5aa09be533fb15e8ba79 Mon Sep 17 00:00:00 2001 +From eb6f6b0805c1e136a4b951406b6fb36917ff9bb5 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sat, 3 May 2014 11:57:25 +0100 -Subject: [PATCH 43/88] [omxcodec] Enable for dvd menus +Subject: [PATCH 43/90] [omxcodec] Enable for dvd menus --- xbmc/cores/dvdplayer/DVDCodecs/DVDFactoryCodec.cpp | 4 ++++ @@ -12052,10 +12052,10 @@ index 18b8e3a..c85c8d2 100644 1.9.3 -From e52a7ad896a99c25957de1699bc526cb0c101a1f Mon Sep 17 00:00:00 2001 +From cb5d7b4bd8197be0e68057817169037520b02db0 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 3 Feb 2014 22:27:44 +0000 -Subject: [PATCH 44/88] [omxcodec] Add omx specific texture +Subject: [PATCH 44/90] [omxcodec] Add omx specific texture create/upload/delete functions --- @@ -12133,10 +12133,10 @@ index 0ca56a2..f3dd3d3 100644 1.9.3 -From b1e011ea09abbb2b08a0eaed0e2e739b6775538c Mon Sep 17 00:00:00 2001 +From e283676b2f2baccc269761e786d24bff4131b609 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 3 Feb 2014 22:50:43 +0000 -Subject: [PATCH 45/88] [omxcodec] Add shared pointer to delay shutdown of +Subject: [PATCH 45/90] [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 79b5c7b475bfa6eff132c93fa6e1d82b5c6c6236 Mon Sep 17 00:00:00 2001 +From 0939900fdecd307b99500df8dd8605f5a025c6c0 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 3 Feb 2014 23:11:31 +0000 -Subject: [PATCH 46/88] [omxcodec] Fix for aspect ratio in non-square pixel +Subject: [PATCH 46/90] [omxcodec] Fix for aspect ratio in non-square pixel modes --- @@ -12409,10 +12409,10 @@ index 0975e8a..9138a20 100644 1.9.3 -From d1d5a19b94ef887fb3f215b4cab287f7b802cdfd Mon Sep 17 00:00:00 2001 +From b4bc5bb07d6bd641131c9de73db59734b1081d38 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 3 Feb 2014 23:19:22 +0000 -Subject: [PATCH 47/88] [omxcodec] Report error when codec not enabled +Subject: [PATCH 47/90] [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 d5b26e9d129671c04c4fd829b17be5a6f23f7d82 Mon Sep 17 00:00:00 2001 +From 41582085c5a68041c7fe84a3b8fdcacf8edd4fdf Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 4 Feb 2014 17:29:37 +0000 -Subject: [PATCH 48/88] [omxcodec] Add deinterlace support +Subject: [PATCH 48/90] [omxcodec] Add deinterlace support --- xbmc/cores/VideoRenderers/LinuxRendererGLES.cpp | 2 +- @@ -12697,10 +12697,10 @@ index 9138a20..c8ad4d8 100644 1.9.3 -From 4da24da7c04a56ae56080e39c245bbe7cfe40381 Mon Sep 17 00:00:00 2001 +From 2d4142f34c034d0ea6adf31d20ab1dfbf10467a6 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 12 Feb 2014 18:43:14 +0000 -Subject: [PATCH 49/88] Improved file buffering in CArchive. +Subject: [PATCH 49/90] 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 03ebc04fb52910599e31d656538637fae38a3221 Mon Sep 17 00:00:00 2001 +From 2161f3bab9c700a3cb3e2c34ff414cb66c24d24a Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 5 Feb 2014 11:46:33 +0000 -Subject: [PATCH 50/88] [rbp/settings] Allow av sync type to be enabled +Subject: [PATCH 50/90] [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 c4dfdf886c9600edc1b80cb5ee459a14b654ebaa Mon Sep 17 00:00:00 2001 +From 4ee39098059f078449a386de7b60df0430aa2b1f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 16 Feb 2014 17:38:05 +0000 -Subject: [PATCH 51/88] [omxcodec] Only do essential calls in texture thread +Subject: [PATCH 51/90] [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 d68b0befd1c0fb6141406cd143647ccc0465a89e Mon Sep 17 00:00:00 2001 +From d51d0d1eaef95148fbe3f73c24a73cf6bfd1a0ef Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sat, 1 Mar 2014 14:24:08 +0000 -Subject: [PATCH 52/88] [omxplayer] Allow small audio packets to be +Subject: [PATCH 52/90] [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 6ca8643d2be3f8ca1d7c448c0c842fa693068897 Mon Sep 17 00:00:00 2001 +From ca90f3e85e93e46ae618c30da815df3cebd268f7 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 5 Mar 2014 22:10:01 +0000 -Subject: [PATCH 53/88] [omxplayer] Use media for determing audio delay and +Subject: [PATCH 53/90] [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 ef428a6da5a1d59d637117c36c17242ae6e2299e Mon Sep 17 00:00:00 2001 +From ff1c79402b264bdd347c6c65a9da20940d3e970d Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 3 Mar 2014 22:24:19 +0000 -Subject: [PATCH 54/88] [omx] Skip the resize when not needed when decoding +Subject: [PATCH 54/90] [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 bd78efe076320626e98b47e485258fca4b3be5e4 Mon Sep 17 00:00:00 2001 +From 4c5e11cbe3fea106a0ce7f408cb1944ac93c7563 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sat, 8 Mar 2014 15:36:06 +0000 -Subject: [PATCH 55/88] [hifiberry] Hack: force it to be recognised as IEC958 +Subject: [PATCH 55/90] [hifiberry] Hack: force it to be recognised as IEC958 capable to enable passthrough options --- @@ -14538,10 +14538,10 @@ index b48a4fc..d9897e5 100644 1.9.3 -From 98545f928a07cd15494323afc147d1ee470729bf Mon Sep 17 00:00:00 2001 +From 29c7ff7b929ef3cdeef609bdbb90173df7dae5e0 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 11 Mar 2014 18:50:23 +0000 -Subject: [PATCH 56/88] [dvdplayer] Use inexact seeking like omxplayer +Subject: [PATCH 56/90] [dvdplayer] Use inexact seeking like omxplayer --- xbmc/cores/dvdplayer/DVDPlayer.cpp | 11 +++++++++++ @@ -14592,10 +14592,10 @@ index 82d3720..54d22d7 100644 1.9.3 -From de380170d0567f2063aa9e73fc5e3c70167d5d1e Mon Sep 17 00:00:00 2001 +From 6f86e616edef7237ca45f4f8a0344d49c7e68762 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 13 Mar 2014 16:08:46 +0000 -Subject: [PATCH 57/88] [omxplayer] Make use of TrueHD fastpath when downmixing +Subject: [PATCH 57/90] [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 a2bbb3c2e96d893fb68743e03eec0ff9f4f580a1 Mon Sep 17 00:00:00 2001 +From 330e3d1a4ce37867c831846b6f425a7037352238 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sat, 15 Mar 2014 19:38:38 +0000 -Subject: [PATCH 58/88] [omxplayer] When in dual audio mode, make one output +Subject: [PATCH 58/90] [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 a69777ca817cb07c42d21f133bdb50111a7eba2b Mon Sep 17 00:00:00 2001 +From d6dfc15e02e26cfa8d8e47b3b43c723110ccc16c Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 30 Dec 2013 12:02:14 +0000 -Subject: [PATCH 59/88] [rbp] Hardware accelerated resampling +Subject: [PATCH 59/90] [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 00c90ee3048fb66453ebe0d86d1cc30a2bd67039 Mon Sep 17 00:00:00 2001 +From 4f2785e2a0311490ee983115e12b0f31798dbb97 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 27 Mar 2014 00:22:05 +0000 -Subject: [PATCH 60/88] [PiResample] Work around AE not providing correct +Subject: [PATCH 60/90] [PiResample] Work around AE not providing correct src_bits --- @@ -15499,10 +15499,10 @@ index 1d7b425..a91e208 100644 1.9.3 -From 3814bea71721851d424f06f2801931bc8b96d67d Mon Sep 17 00:00:00 2001 +From 40c552c40f3dbcf8327b9f5ea5bcc7ed25548e0a Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 25 Mar 2014 19:43:07 +0000 -Subject: [PATCH 61/88] [ffmpeg] Speed up wtv index creation +Subject: [PATCH 61/90] [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 fc1d5398f274cc24ec433e03bb96057e0f7565da Mon Sep 17 00:00:00 2001 +From cb720d278bcff22ae9342ceaa4f15759bc2972f7 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 7 Apr 2014 18:19:32 +0100 -Subject: [PATCH 62/88] [rbp/omxplayer] When opening a stream don't try to +Subject: [PATCH 62/90] [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 990682c0f32becce18f26e7fcaed37e625acc14f Mon Sep 17 00:00:00 2001 +From 9bf235a818adc6a741b07a54ed82552e5bf8696a Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 7 Apr 2014 15:28:57 +0100 -Subject: [PATCH 63/88] [omxcodec] Clamp video texture at edges to avoid image +Subject: [PATCH 63/90] [omxcodec] Clamp video texture at edges to avoid image wrapping --- @@ -15609,10 +15609,10 @@ index a57abe4..e22a153 100644 1.9.3 -From b1cb42fc056c936624d8d95d6ce329107c39d47c Mon Sep 17 00:00:00 2001 +From 5053b52bfd8a9951e8c31e4ed819e5ce04f98a49 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 7 Apr 2014 17:36:19 +0100 -Subject: [PATCH 64/88] [PiSink] Remove unneeded header and use CAEChannelInfo +Subject: [PATCH 64/90] [PiSink] Remove unneeded header and use CAEChannelInfo directly --- @@ -15688,10 +15688,10 @@ index 9ce00e3..070e6eb 100644 1.9.3 -From 05d8f11cf7f2163a9e298d3fdb9399ce3159521a Mon Sep 17 00:00:00 2001 +From 1b3e97a568967cb29cbfc84023911234f5ae85c1 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 7 Apr 2014 17:37:41 +0100 -Subject: [PATCH 65/88] [omxplayer] Remove PCMRemap and handle multichannel +Subject: [PATCH 65/90] [omxplayer] Remove PCMRemap and handle multichannel mixing like ActiveAE does --- @@ -17352,10 +17352,10 @@ index a273cd1..0000000 1.9.3 -From 515a6f6bc80e0b050780bcdff8e501d953cf5418 Mon Sep 17 00:00:00 2001 +From 214dd0bfaea1ae84350eb07f25596fcedad607a4 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 10 Apr 2014 17:19:18 +0100 -Subject: [PATCH 66/88] [omxplayer] Remove unused framerate functions +Subject: [PATCH 66/90] [omxplayer] Remove unused framerate functions --- xbmc/cores/omxplayer/OMXPlayerVideo.cpp | 4 +--- @@ -17462,10 +17462,10 @@ index f83074a..7bb6d4d 100644 1.9.3 -From bd0c89699971a95287bf7d361b673abfbde7260e Mon Sep 17 00:00:00 2001 +From d9c9ba5283b9857d1152034d42a251cac488d9b4 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 30 Mar 2014 15:54:34 +0100 -Subject: [PATCH 67/88] [omxplayer] Make the sharpness control act as a +Subject: [PATCH 67/90] [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] @@ -17847,10 +17847,10 @@ index 0b80be5..463ef3c 100644 1.9.3 -From 55a0217489fef614cc635f3ea1cb11036b4d625a Mon Sep 17 00:00:00 2001 +From 03a5d907df721de8571b03d1848337c9bde95e25 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 10 Apr 2014 17:24:51 +0100 -Subject: [PATCH 68/88] [rpi] Include ntsc frequencies in list of supported +Subject: [PATCH 68/90] [rpi] Include ntsc frequencies in list of supported resolutions --- @@ -17984,10 +17984,10 @@ index 0c32947..258a293 100644 1.9.3 -From 5d4856e9d4c12a19abdd6563e362fda5b8f1113d Mon Sep 17 00:00:00 2001 +From 830bb17554e4ed14618e17c7556237d844d2cd0d Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 10 Apr 2014 17:26:20 +0100 -Subject: [PATCH 69/88] [omxplayer] Allow a framerate callback from GPU to +Subject: [PATCH 69/90] [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 cf55c674653e182068f951c6044c069e66226dd1 Mon Sep 17 00:00:00 2001 +From 3b3b7ea3e78ecfe07e36397671f3e8a44ef2751a Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 11 Apr 2014 19:01:26 +0100 -Subject: [PATCH 70/88] [omxplayer] Request to be notified about framerate +Subject: [PATCH 70/90] [omxplayer] Request to be notified about framerate changes --- @@ -18173,10 +18173,10 @@ index 10a7530..148b16f 100644 1.9.3 -From bd466a846d6e5d973b6bbfb6c1501b21296ed8de Mon Sep 17 00:00:00 2001 +From 17096aadce54057fc5000230283e5ad2b2bbce29 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 14 Apr 2014 17:04:57 +0100 -Subject: [PATCH 71/88] [omxplayer] Support stereo view modes with scaling +Subject: [PATCH 71/90] [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 af1919b74274135b7a0cfde2b0d9e9874089e043 Mon Sep 17 00:00:00 2001 +From e6f845f4a533bab508f45767413143092c77a1ed Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 16 Apr 2014 21:18:06 +0100 -Subject: [PATCH 72/88] [omxplayer] Don't propagate 3d flags based on supported +Subject: [PATCH 72/90] [omxplayer] Don't propagate 3d flags based on supported 3d modes --- @@ -18512,10 +18512,10 @@ index d5f3bec..e9f86f3 100644 1.9.3 -From ed1723bd2c6b1e0eec14017bab7e30f9a4309c2b Mon Sep 17 00:00:00 2001 +From 45121032784bf3f65f7cf607a4cba28192c78b53 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 17 Apr 2014 13:00:52 +0100 -Subject: [PATCH 73/88] [graphics] Don't set stereo mode based on resolution +Subject: [PATCH 73/90] [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 df852843ef2574f33d6b7e40e09da6d15b6c9c06 Mon Sep 17 00:00:00 2001 +From 286262a0ddfd4d813d3aef2369e7b2bd34a8b99a Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 17 Apr 2014 13:01:51 +0100 -Subject: [PATCH 74/88] [graphics] Allow switching to a more suitable 3D +Subject: [PATCH 74/90] [graphics] Allow switching to a more suitable 3D resolution --- @@ -18652,10 +18652,10 @@ index 0a27643..df55e92 100644 1.9.3 -From 8fa5e019095f798310211a2644ab63e68696e0b1 Mon Sep 17 00:00:00 2001 +From b05388841a23f20493fcfed8cd3d7c34793cd52f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 17 Apr 2014 13:38:55 +0100 -Subject: [PATCH 75/88] [3D] Support switching to 3D resolutions +Subject: [PATCH 75/90] [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 e3ff03c6bf2c3ed18aff778b8dc7ffd714edb946 Mon Sep 17 00:00:00 2001 +From b7880dbb07c68b9c6bbf46eca2b9ddb6ac44cfe3 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 23 Apr 2014 00:05:07 +0100 -Subject: [PATCH 76/88] [graphics] Make pixel ratio for 3d modes consistent +Subject: [PATCH 76/90] [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 35f93e97642d7cad55731363276500f8359bc226 Mon Sep 17 00:00:00 2001 +From fe98b520ba9e52e7f5a82e1a83cc7f5f76cd3e5a Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 23 Apr 2014 21:07:51 +0100 -Subject: [PATCH 77/88] [PiSink] More attempts to reduce underrun audio +Subject: [PATCH 77/90] [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 d9584c9bde746a500fce687d373f61b9021957de Mon Sep 17 00:00:00 2001 +From 1de30a60ca2fdbe0f0b0edcb6078086501828637 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 23 Apr 2014 22:36:01 +0100 -Subject: [PATCH 78/88] [omxplayer] Fix for aspect ratio of portrait videos +Subject: [PATCH 78/90] [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 cd282d367d4f0677fc3f84aed5f5dc12b45611f1 Mon Sep 17 00:00:00 2001 +From b9fc2e6ff71158e29e1d5f8005aac5057abe8301 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 22 Apr 2014 12:23:23 +0100 -Subject: [PATCH 79/88] [omxplayer] Make dvdplayer the default for dvd images +Subject: [PATCH 79/90] [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 ce176c56750dd57117e5f50aab9483d0c9dbff63 Mon Sep 17 00:00:00 2001 +From f31f632936a55ade27b2baeea93dcc7fcdcd189f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sat, 26 Apr 2014 17:27:52 +0100 -Subject: [PATCH 80/88] [cec] Don't suspend pi on tv switch off - it can't wake +Subject: [PATCH 80/90] [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 bd42268a3c2989120be5127552403d5afefa2d1b Mon Sep 17 00:00:00 2001 +From 612adea0b2c6e2583018d1d6a1ef55a6b48a85fd Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sat, 12 Apr 2014 17:57:19 +0100 -Subject: [PATCH 81/88] [omxplayer] Ignore occasionally valid pts values, they +Subject: [PATCH 81/90] [omxplayer] Ignore occasionally valid pts values, they cause live tv stutter --- @@ -19169,10 +19169,10 @@ index 7e2c644..b3786f6 100644 1.9.3 -From 68c9b842ad29a32f928030ce22a18a62cfa0d6f6 Mon Sep 17 00:00:00 2001 +From 5b386f6af8db0678b3340a2789ba0806889c6da3 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 7 May 2014 14:54:41 +0100 -Subject: [PATCH 82/88] [Pi] Fix naming of refresh rates to avoid lost +Subject: [PATCH 82/90] [Pi] Fix naming of refresh rates to avoid lost calibration settings --- @@ -19256,10 +19256,10 @@ index d1ebb81..59401f5 100644 1.9.3 -From cf0d6dfd02e2700c8479ea7b8b3614f3d2ff51c4 Mon Sep 17 00:00:00 2001 +From 1f1a6eb2c833723185ab31ed114a58d24c1a7245 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sat, 10 May 2014 11:40:41 +0100 -Subject: [PATCH 83/88] [omxplayer] Skip out of submit loop when closing. +Subject: [PATCH 83/90] [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 0d7173c0136a4d2f14a3cb96d6328e36116b3857 Mon Sep 17 00:00:00 2001 +From 78a9c55db7f1cb961a74aab1b519fe3b2857f840 Mon Sep 17 00:00:00 2001 From: xbmc Date: Mon, 28 May 2012 10:34:39 +0200 -Subject: [PATCH 84/88] videoplayer: adapt lateness detection and dropping to +Subject: [PATCH 84/90] videoplayer: adapt lateness detection and dropping to buffering --- @@ -19993,10 +19993,10 @@ index f8ad541..186e271 100644 1.9.3 -From aca54d66385a5d81124e355bbdcf79fab0d48526 Mon Sep 17 00:00:00 2001 +From 270ef609630edd89b2fca8e0482d26c7808d8d0b Mon Sep 17 00:00:00 2001 From: xbmc Date: Sun, 2 Sep 2012 16:05:21 +0200 -Subject: [PATCH 85/88] video player: present correct pts to user for a/v sync +Subject: [PATCH 85/90] 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 1a0fed516ef3111bcc9c444bf72d31fd1d4fd1c3 Mon Sep 17 00:00:00 2001 +From faa3769200d74d90c4f75854f63eb56c60e2c504 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 12 May 2014 23:06:43 +0100 -Subject: [PATCH 86/88] [omxcodec] Updates to work better with dropping and +Subject: [PATCH 86/90] [omxcodec] Updates to work better with dropping and lateness detection --- @@ -20341,10 +20341,10 @@ index f234f6d..adf53b5 100644 1.9.3 -From bacb1dad355250244121f44eb351435a83473b0d Mon Sep 17 00:00:00 2001 +From b91193aa98469c1521d7b70d721b0ffa069308a3 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 11 May 2014 16:13:45 +0100 -Subject: [PATCH 87/88] [rbp] Add config.txt settings to log file +Subject: [PATCH 87/90] [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 7e618ab0d68cc203afc4b540a1c73ab59e85599a Mon Sep 17 00:00:00 2001 +From 1c000a5292cb82b13dba2dd83146597c6ba8bff7 Mon Sep 17 00:00:00 2001 From: Alex Deryskyba Date: Thu, 8 May 2014 18:54:54 +0300 -Subject: [PATCH 88/88] Reset display region when video stream properties +Subject: [PATCH 88/90] 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. @@ -20407,3 +20407,113 @@ index 61b884e..eaa1e34 100644 -- 1.9.3 + +From 9a5954261e1316cba50a40a73193ff252cea1ed3 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 + +--- + xbmc/cores/omxplayer/OMXAudio.cpp | 11 ++++++++--- + 1 file changed, 8 insertions(+), 3 deletions(-) + +diff --git a/xbmc/cores/omxplayer/OMXAudio.cpp b/xbmc/cores/omxplayer/OMXAudio.cpp +index d9beb68..75eff26 100644 +--- a/xbmc/cores/omxplayer/OMXAudio.cpp ++++ b/xbmc/cores/omxplayer/OMXAudio.cpp +@@ -606,13 +606,18 @@ bool COMXAudio::Initialize(AEAudioFormat format, OMXClock *clock, CDVDStreamInfo + if (m_InputChannels <= 2) + stdLayout = AE_CH_LAYOUT_2_0; + +- uint64_t m_dst_chan_layout = GetAVChannelLayout(stdLayout); ++ ++ CAEChannelInfo resolvedMap = channelMap; ++ resolvedMap.ResolveChannels(stdLayout); ++ uint64_t m_dst_chan_layout = GetAVChannelLayout(resolvedMap); + uint64_t m_src_chan_layout = GetAVChannelLayout(channelMap); +- m_OutputChannels = stdLayout.Count(); ++ ++ m_InputChannels = channelMap.Count(); ++ m_OutputChannels = resolvedMap.Count(); + + int m_dst_channels = m_OutputChannels; + int m_src_channels = m_InputChannels; +- SetAudioProps(m_Passthrough, GetChannelMap(stdLayout, m_Passthrough)); ++ SetAudioProps(m_Passthrough, GetChannelMap(resolvedMap, m_Passthrough)); + + CLog::Log(LOGINFO, "%s::%s remap:%p chan:%d->%d norm:%d upmix:%d %llx:%llx", CLASSNAME, __func__, remapLayout, m_src_channels, m_dst_channels, normalize, upmix, m_src_chan_layout, m_dst_chan_layout); + +-- +1.9.3 + + +From ed385963dbffe134bd87a883e6dcd778929ff24c 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 + +--- + xbmc/windowing/egl/EGLNativeTypeRaspberryPI.cpp | 15 +++++---------- + 1 file changed, 5 insertions(+), 10 deletions(-) + +diff --git a/xbmc/windowing/egl/EGLNativeTypeRaspberryPI.cpp b/xbmc/windowing/egl/EGLNativeTypeRaspberryPI.cpp +index 5b26b20..a3edf0e 100644 +--- a/xbmc/windowing/egl/EGLNativeTypeRaspberryPI.cpp ++++ b/xbmc/windowing/egl/EGLNativeTypeRaspberryPI.cpp +@@ -483,10 +483,8 @@ bool CEGLNativeTypeRaspberryPI::ProbeResolutions(std::vector &r + + if(resolutions.size() == 0) + { +- RESOLUTION_INFO res; +- CLog::Log(LOGDEBUG, "EGL probe resolution %s:%x\n", m_desktopRes.strMode.c_str(), m_desktopRes.dwFlags); +- + AddUniqueResolution(m_desktopRes, resolutions); ++ CLog::Log(LOGDEBUG, "EGL probe resolution %s:%x\n", m_desktopRes.strMode.c_str(), m_desktopRes.dwFlags); + } + + if(resolutions.size() < 2) +@@ -576,13 +574,12 @@ void CEGLNativeTypeRaspberryPI::GetSupportedModes(HDMI_RES_GROUP_T group, std::v + res.iScreenWidth = tv->width; + res.iScreenHeight = tv->height; + res.fPixelRatio = get_display_aspect_ratio((HDMI_ASPECT_T)tv->aspect_ratio) / ((float)res.iScreenWidth / (float)res.iScreenHeight); ++ res.iSubtitles = (int)(0.965 * res.iHeight); + ++ AddUniqueResolution(res, resolutions); + 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); + +- res.iSubtitles = (int)(0.965 * res.iHeight); +- +- AddUniqueResolution(res, resolutions); + if (tv->frame_rate == 24 || tv->frame_rate == 30 || tv->frame_rate == 60) + { + RESOLUTION_INFO res2 = res; +@@ -596,11 +593,10 @@ 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); +- CLog::Log(LOGDEBUG, "EGL mode %d: %s (%.2f)\n", i, res2.strMode.c_str(), res2.fPixelRatio); +- + res2.iSubtitles = (int)(0.965 * res2.iHeight); + + AddUniqueResolution(res2, resolutions); ++ CLog::Log(LOGDEBUG, "EGL mode %d: %s (%.2f)\n", i, res2.strMode.c_str(), res2.fPixelRatio); + if (tv->frame_rate == 24 || tv->frame_rate == 30 || tv->frame_rate == 60) + { + res2.fRefreshRate = (float)tv->frame_rate * (1000.0f/1001.0f); +@@ -612,11 +608,10 @@ 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); +- CLog::Log(LOGDEBUG, "EGL mode %d: %s (%.2f)\n", i, res2.strMode.c_str(), res2.fPixelRatio); +- + res2.iSubtitles = (int)(0.965 * res2.iHeight); + + AddUniqueResolution(res2, resolutions); ++ CLog::Log(LOGDEBUG, "EGL mode %d: %s (%.2f)\n", i, res2.strMode.c_str(), res2.fPixelRatio); + if (tv->frame_rate == 24 || tv->frame_rate == 30 || tv->frame_rate == 60) + { + res2.fRefreshRate = (float)tv->frame_rate * (1000.0f/1001.0f); +-- +1.9.3 +