diff --git a/projects/RPi/patches/xbmc/xbmc-gotham_rbp_backports-a725f3b.patch b/projects/RPi/patches/xbmc/xbmc-gotham_rbp_backports-b62557d.patch similarity index 99% rename from projects/RPi/patches/xbmc/xbmc-gotham_rbp_backports-a725f3b.patch rename to projects/RPi/patches/xbmc/xbmc-gotham_rbp_backports-b62557d.patch index 924f435c70..1334308bf7 100644 --- a/projects/RPi/patches/xbmc/xbmc-gotham_rbp_backports-a725f3b.patch +++ b/projects/RPi/patches/xbmc/xbmc-gotham_rbp_backports-b62557d.patch @@ -1,7 +1,7 @@ From 1479d088e4d94dc3ac35db05405fd099b0fa4547 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Mon, 5 Aug 2013 13:12:46 +0100 -Subject: [PATCH 01/63] h264_parser: Initialize the h264dsp context in the +Subject: [PATCH 01/64] h264_parser: Initialize the h264dsp context in the parser as well MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -42,7 +42,7 @@ index aff9ba1..a732f79 100644 From 5149943b49bc77cdbd8c6fc02036e84bf7af61a0 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Mon, 5 Aug 2013 13:12:47 +0100 -Subject: [PATCH 02/63] h264dsp: Factorize code into a new function, +Subject: [PATCH 02/64] h264dsp: Factorize code into a new function, h264_find_start_code_candidate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -171,7 +171,7 @@ index 98ea15c..1be4804 100644 From e44ac52a2314d40e6d8383047e650441a2c34a10 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Mon, 5 Aug 2013 13:12:48 +0100 -Subject: [PATCH 03/63] arm: Add assembly version of +Subject: [PATCH 03/64] arm: Add assembly version of h264_find_start_code_candidate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -508,7 +508,7 @@ index 972aace..363843c 100644 From 6f4cd93d8cf5aa8fa3406945d32f89b3ff601ca6 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 19 Aug 2013 22:48:05 +0100 -Subject: [PATCH 04/63] [ffmpeg] Backport of h264_find_start_code_candidate +Subject: [PATCH 04/64] [ffmpeg] Backport of h264_find_start_code_candidate optimisation --- @@ -1040,7 +1040,7 @@ index 0000000..cdc2d1e From ffc568e30ec22f5c7d51a8eba38d2b5567997c67 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 19 Mar 2014 17:44:59 +0000 -Subject: [PATCH 05/63] truehd: add hand-scheduled ARM asm version of +Subject: [PATCH 05/64] truehd: add hand-scheduled ARM asm version of mlp_filter_channel. Profiling results for overall audio decode and the mlp_filter_channel(_arm) @@ -1596,7 +1596,7 @@ index 84a8aa3..129bcfe 100644 From 0f9191b0d50fd93168977281e121e35e216bb58a Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 19 Mar 2014 17:48:54 +0000 -Subject: [PATCH 06/63] truehd: break out part of rematrix_channels into +Subject: [PATCH 06/64] truehd: break out part of rematrix_channels into platform-specific callback. Verified with profiling that this doesn't have a measurable effect upon @@ -1757,7 +1757,7 @@ index 129bcfe..f98e9be 100644 From 0cd934d878e9720721c9272d3120b28599dac386 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 19 Mar 2014 17:49:48 +0000 -Subject: [PATCH 07/63] truehd: add hand-scheduled ARM asm version of +Subject: [PATCH 07/64] truehd: add hand-scheduled ARM asm version of ff_mlp_rematrix_channel. Profiling results for overall audio decode and the rematrix_channels function @@ -2053,7 +2053,7 @@ index f0ea285..268dfdd 100644 From 64937a907e225a30817d1e097cfe5af8a916c4ff Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 19 Mar 2014 17:50:36 +0000 -Subject: [PATCH 08/63] truehd: tune VLC decoding for ARM. +Subject: [PATCH 08/64] 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 @@ -2118,7 +2118,7 @@ index e9343a5..a998dac 100644 From 61cdd7d0bd88f9c4c98c08a758196a776b0655f2 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 19 Mar 2014 17:54:07 +0000 -Subject: [PATCH 09/63] truehd: break out part of output_data into +Subject: [PATCH 09/64] truehd: break out part of output_data into platform-specific callback. Verified with profiling that this doesn't have a measurable effect upon @@ -2315,7 +2315,7 @@ index f98e9be..5bc901f 100644 From 384050e8c982104fe0b47abf288861f288a3d55c Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 19 Mar 2014 17:54:59 +0000 -Subject: [PATCH 10/63] truehd: add hand-scheduled ARM asm version of +Subject: [PATCH 10/64] truehd: add hand-scheduled ARM asm version of ff_mlp_pack_output. Profiling results for overall decode and the output_data function in @@ -2942,7 +2942,7 @@ index 268dfdd..2d8b98d 100644 From f8989fb6baf0e292e6e86c721abf5527213dd24e Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Thu, 14 Nov 2013 19:48:41 +0000 -Subject: [PATCH 11/63] More efficient infobool expression evaluator +Subject: [PATCH 11/64] 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 @@ -3444,7 +3444,7 @@ index 4e0faee..0a91399 100644 From e2a34798ffd687e2445829101b2d383f9ad1c1ca Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Mon, 24 Mar 2014 22:26:21 +0000 -Subject: [PATCH 12/63] Where an infobool expression failed to parse, evaluate +Subject: [PATCH 12/64] 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. @@ -3474,7 +3474,7 @@ index db461dd..7c54064 100644 From 01067164d7a218b8a24b2a8f67226c68fc6591dc Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Tue, 26 Nov 2013 20:09:48 +0000 -Subject: [PATCH 13/63] Add caching of infolabels +Subject: [PATCH 13/64] Add caching of infolabels The functions CGUIInfoLabel::GetLabel and CGUIInfoLabel::GetItemLabel take a number of strings returned from CGUIInfoManager::GetImage or @@ -3690,7 +3690,7 @@ index 8c1c1dc..418b2c4 100644 From 936234f207865d793b3f527cf387de67951ecbf8 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Tue, 10 Dec 2013 01:12:31 +0000 -Subject: [PATCH 14/63] De-duplication of string cache for non-item and item +Subject: [PATCH 14/64] De-duplication of string cache for non-item and item labels --- @@ -3833,7 +3833,7 @@ index 418b2c4..6d9ebf7 100644 From ddd9508e24e346a4bc51165d85566a69bc0204c5 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 21 Feb 2014 15:16:13 +0000 -Subject: [PATCH 15/63] Faster and simpler portable implementation of +Subject: [PATCH 15/64] 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 @@ -4042,7 +4042,7 @@ index 96af9f4..0dae77d 100644 From 249b154c3be90e143339d38bb9a8947a975a5fba Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 11 Dec 2013 17:21:54 +0000 -Subject: [PATCH 16/63] Move the reference-counting of Begin and End calls from +Subject: [PATCH 16/64] Move the reference-counting of Begin and End calls from DX and GL source files into GUIFontTTF.cpp. --- @@ -4400,7 +4400,7 @@ index a0dacba..6736cf7 100644 From b8eb10945a04f4aa8b8169f61390c13fb57c2bba Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 11 Dec 2013 18:47:54 +0000 -Subject: [PATCH 17/63] Convert CGUIFontTTFBase::m_vertex to be managed as a +Subject: [PATCH 17/64] 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. @@ -4585,7 +4585,7 @@ index 93b7ea6..a4e8571 100644 From 2b0ee58457bc5e3f9c7a93cb9af9b4825abb83c1 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Mon, 16 Dec 2013 18:58:12 +0000 -Subject: [PATCH 18/63] CGUIFontTTFBase::RenderCharacter can now append to +Subject: [PATCH 18/64] CGUIFontTTFBase::RenderCharacter can now append to arbitrary vectors of vertices rather than only CGUIFontTTFBase::m_vertex --- @@ -4664,7 +4664,7 @@ index 35e3cf9..4a6a696 100644 From c6b8ec5cb2ca7cefa7be5b082ba8e9eb79da978d Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 15 Jan 2014 17:18:38 +0000 -Subject: [PATCH 19/63] Add a cache of font glyph bounding box vertices. This +Subject: [PATCH 19/64] 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 @@ -5327,7 +5327,7 @@ index f351c99..9036ba9 100644 From 4fd419d8788bc52c512f5e47d2cf4563087922a7 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Thu, 23 Jan 2014 22:24:17 +0000 -Subject: [PATCH 20/63] Lay the groundwork for hardware clipping. +Subject: [PATCH 20/64] 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 @@ -5595,7 +5595,7 @@ index 98e398a..81ee49e 100644 From 7ad8c9298674efd4ccd657ac5e76853b4151d521 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Thu, 23 Jan 2014 16:42:22 +0000 -Subject: [PATCH 21/63] Increase font cache hit rate by keying on the +Subject: [PATCH 21/64] 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 @@ -5802,7 +5802,7 @@ index 7cb4669..78445ab 100644 From 6d207a3aec79585d42cc6dc65c0c40f68063a08c Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 8 Jan 2014 12:16:33 +0000 -Subject: [PATCH 22/63] Rewrite of scrolling text code. +Subject: [PATCH 22/64] 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 @@ -6124,7 +6124,7 @@ index 2c6f366..b74faf2 100644 From 06896ccb115926cfdb2845c9f01a427c3f340c09 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Mon, 27 Jan 2014 23:21:10 +0000 -Subject: [PATCH 23/63] Move the application of the translation offsets into +Subject: [PATCH 23/64] 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 @@ -6323,7 +6323,7 @@ index cb56987..f6aa081 100644 From 2537339b6dfc33dece9c6251477de4b1581e23df Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 15 Jan 2014 15:28:06 +0000 -Subject: [PATCH 24/63] Rather than applying the translation offsets to the +Subject: [PATCH 24/64] 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. @@ -6473,7 +6473,7 @@ index 81ee49e..d2f9cd1 100644 From f467d3b013caed155e22a42be5616bab64a84875 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 29 Jan 2014 13:21:19 +0000 -Subject: [PATCH 25/63] Enable hardware clipping. +Subject: [PATCH 25/64] Enable hardware clipping. --- xbmc/guilib/GUIFontTTF.cpp | 4 ++-- @@ -6552,7 +6552,7 @@ index fbffaa0..b7618e1 100644 From 04f90bb8f0b962eb9dbcac1d6961af80682c180b Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 15 Jan 2014 15:32:51 +0000 -Subject: [PATCH 26/63] Move the vertex data across to a vertex buffer object +Subject: [PATCH 26/64] Move the vertex data across to a vertex buffer object just prior to drawing. --- @@ -6609,7 +6609,7 @@ index b7618e1..0df3749 100644 From c2b2e91ae7a5137f8f89ab8a145934ec791d49d4 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 15 Jan 2014 16:04:04 +0000 -Subject: [PATCH 27/63] Move vertex data into an OpenGL VBO when the font cache +Subject: [PATCH 27/64] 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. @@ -6887,7 +6887,7 @@ index 6736cf7..168fb21 100644 From 3f614d935e40b23ecef1bce160bd2afbee87a001 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Thu, 16 Jan 2014 16:29:42 +0000 -Subject: [PATCH 28/63] Switch from glDrawArrays() to glDrawElements(). This +Subject: [PATCH 28/64] 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. @@ -7113,7 +7113,7 @@ index dfc4672..0c32947 100644 From da0aa7312a518a92716d1dbc16e282684c6a189c Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Tue, 4 Feb 2014 16:17:57 +0000 -Subject: [PATCH 29/63] Update Windows project files +Subject: [PATCH 29/64] Update Windows project files --- project/VS2010Express/XBMC.vcxproj | 2 ++ @@ -7171,7 +7171,7 @@ index b536eb3..cb34443 100644 From 00271f342a3a337d775b9bff7469df683b1db2f8 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Tue, 4 Feb 2014 16:49:45 +0000 -Subject: [PATCH 30/63] Update XCode project file +Subject: [PATCH 30/64] Update XCode project file --- XBMC.xcodeproj/project.pbxproj | 10 ++++++++++ @@ -7240,7 +7240,7 @@ index b5b96f9..5412e27 100644 From 404111f22e2e487b496233d4ea39190e177af7cc Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Tue, 4 Feb 2014 17:44:34 +0000 -Subject: [PATCH 31/63] Clang seems to be more picky than gcc about some C++ +Subject: [PATCH 31/64] Clang seems to be more picky than gcc about some C++ template syntax --- @@ -7311,7 +7311,7 @@ index 895fa72..bd84b9a 100644 From e86c7c1da8886ef92c17eb36b9aa4180bc34a7df Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Tue, 4 Feb 2014 18:52:14 +0000 -Subject: [PATCH 32/63] Fix header to hopefully permit iOS builds to work +Subject: [PATCH 32/64] 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 @@ -7343,7 +7343,7 @@ index 53bce09..86330cc 100644 From 6d338a78696fe87802e7b407bb879bf68303f09a Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Tue, 8 Apr 2014 18:14:55 +0100 -Subject: [PATCH 33/63] Fix font display in stereoscopic modes +Subject: [PATCH 33/64] 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 @@ -7387,7 +7387,7 @@ index d476409..8466a81 100644 From 6faca103f8eadf2ad587751f6724f023a087e03e Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 10 Jan 2014 12:10:43 +0000 -Subject: [PATCH 34/63] [rbp] Don't override dvdplayer with omxplayer. +Subject: [PATCH 34/64] [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. @@ -7423,7 +7423,7 @@ index 27f0bec..fc12bb7 100644 From 1c3ddc2ddb423210ac381142bb00e6f571109b57 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 10 Jan 2014 15:37:41 +0000 -Subject: [PATCH 35/63] [players] Use default players rather than hard coded +Subject: [PATCH 35/64] [players] Use default players rather than hard coded DVDPlayer/PAPlayer --- @@ -7485,7 +7485,7 @@ index 57dfcdd..7be9799 100644 From 158518e9d7f0edc385e71e0731e17420b7631700 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sat, 11 Jan 2014 18:23:42 +0000 -Subject: [PATCH 36/63] [rbp] Don't force dvdplayer for airplay +Subject: [PATCH 36/64] [rbp] Don't force dvdplayer for airplay --- xbmc/network/AirPlayServer.cpp | 2 ++ @@ -7514,7 +7514,7 @@ index 127a765..13b7ead 100644 From d52e074994eb8191478443320bfc07e96b5dbd6b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 13 Jan 2014 13:11:06 +0000 -Subject: [PATCH 37/63] [rbp] Give plugins omxplayer when they request +Subject: [PATCH 37/64] [rbp] Give plugins omxplayer when they request dvdplayer on pi --- @@ -7544,7 +7544,7 @@ index 6507155..bd92265 100644 From 3deb0526d506609b988a63f52c9afdfe6a39b932 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 14 Jan 2014 18:04:07 +0000 -Subject: [PATCH 38/63] [rbp] Allow ALSA to be chosen in addition to Pi sink +Subject: [PATCH 38/64] [rbp] Allow ALSA to be chosen in addition to Pi sink Needs --enable-alsa in ./configure step and alsa support on platform --- @@ -7639,7 +7639,7 @@ index e493123..7df6807 100644 From d1bfb2ece4c9967ee513c2c53472ce76dfe24903 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 16 Jan 2014 01:39:29 +0000 -Subject: [PATCH 39/63] [omxcodec] Add hardware decode to dvdplayer for Pi +Subject: [PATCH 39/64] [omxcodec] Add hardware decode to dvdplayer for Pi Hijack the abandoned OpenMaxVideo codec --- @@ -10698,7 +10698,7 @@ index 54d35aa..5b9c2f9 100644 From 67af9333092e7382c63fb03e2fc4635fbdd6aa8e Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 20 Jan 2014 16:03:40 +0000 -Subject: [PATCH 40/63] [omxcodec] Enable for dvd menus +Subject: [PATCH 40/64] [omxcodec] Enable for dvd menus --- xbmc/cores/dvdplayer/DVDCodecs/DVDFactoryCodec.cpp | 9 ++++++--- @@ -10750,7 +10750,7 @@ index 2894229..72f87ea 100644 From df67eedcfbec84e07a4f3fa2cc9aa3259e96b7ac Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 3 Feb 2014 22:27:44 +0000 -Subject: [PATCH 41/63] [omxcodec] Add omx specific texture +Subject: [PATCH 41/64] [omxcodec] Add omx specific texture create/upload/delete functions --- @@ -10831,7 +10831,7 @@ index 0ca56a2..f3dd3d3 100644 From 31a936c2d3c1ff79cd44ce29841af0ca4737101c Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 3 Feb 2014 22:50:43 +0000 -Subject: [PATCH 42/63] [omxcodec] Add shared pointer to delay shutdown of +Subject: [PATCH 42/64] [omxcodec] Add shared pointer to delay shutdown of codec until buffers are returned --- @@ -11015,7 +11015,7 @@ index 9079c13..0975e8a 100644 From 963149f84cbc5dad3c1a73bcaa5b33454ef73e52 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 3 Feb 2014 23:11:31 +0000 -Subject: [PATCH 43/63] [omxcodec] Fix for aspect ratio in non-square pixel +Subject: [PATCH 43/64] [omxcodec] Fix for aspect ratio in non-square pixel modes --- @@ -11107,7 +11107,7 @@ index 0975e8a..9138a20 100644 From e807c205a00a57e6d97353f9e6b916c0f3e0430f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 3 Feb 2014 23:19:22 +0000 -Subject: [PATCH 44/63] [omxcodec] Report error when codec not enabled +Subject: [PATCH 44/64] [omxcodec] Report error when codec not enabled --- xbmc/cores/dvdplayer/DVDCodecs/Video/OpenMaxVideo.cpp | 10 +++++++++- @@ -11155,7 +11155,7 @@ index 7e23c87..2ae722b 100644 From 37bc23673e6b6f903368ec250fc611098566883f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 4 Feb 2014 17:29:37 +0000 -Subject: [PATCH 45/63] [omxcodec] Add deinterlace support +Subject: [PATCH 45/64] [omxcodec] Add deinterlace support --- xbmc/cores/VideoRenderers/LinuxRendererGLES.cpp | 2 +- @@ -11395,7 +11395,7 @@ index 9138a20..c8ad4d8 100644 From bed424ce6b3ec4285c344eb8bf437ece1938f097 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Wed, 12 Feb 2014 18:43:14 +0000 -Subject: [PATCH 46/63] Improved file buffering in CArchive. +Subject: [PATCH 46/64] 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 @@ -11788,7 +11788,7 @@ index 0148fcb..5b25be5 100644 From 4473cbfd8d488cd582412633a18b2dfde8851e94 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 5 Feb 2014 11:46:33 +0000 -Subject: [PATCH 47/63] [rbp/settings] Allow av sync type to be enabled +Subject: [PATCH 47/64] [rbp/settings] Allow av sync type to be enabled It works for dvdplayer --- @@ -11820,7 +11820,7 @@ index 2b7d0a6..1429256 100644 From 5a090eebce9bdc02579e60d81e363c209284d63b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 16 Feb 2014 17:38:05 +0000 -Subject: [PATCH 48/63] [omxcodec] Only do essential calls in texture thread +Subject: [PATCH 48/64] [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 @@ -12173,7 +12173,7 @@ index c8ad4d8..f234f6d 100644 From 880f19b407ea73636b2ee72c6bae472bae0bbaf1 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sat, 1 Mar 2014 14:24:08 +0000 -Subject: [PATCH 49/63] [omxplayer] Allow small audio packets to be +Subject: [PATCH 49/64] [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. @@ -12594,7 +12594,7 @@ index 8219015..a4c11777 100644 From 3ef35ee6119448f597cf9be9d89a9ac7b1659a70 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 5 Mar 2014 22:10:01 +0000 -Subject: [PATCH 50/63] [omxplayer] Use media for determing audio delay and +Subject: [PATCH 50/64] [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 @@ -12853,7 +12853,7 @@ index d7d06fe..f83074a 100644 From aa927e5d9d36c844c789271d428da11a41aa0146 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 3 Mar 2014 22:24:19 +0000 -Subject: [PATCH 51/63] [omx] Skip the resize when not needed when decoding +Subject: [PATCH 51/64] [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. @@ -13207,7 +13207,7 @@ index 4456fdb..262a004 100644 From 892ddc6a09a9fe55a1a179f3250cd774edcccf00 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sat, 8 Mar 2014 15:36:06 +0000 -Subject: [PATCH 52/63] [hifiberry] Hack: force it to be recognised as IEC958 +Subject: [PATCH 52/64] [hifiberry] Hack: force it to be recognised as IEC958 capable to enable passthrough options --- @@ -13236,7 +13236,7 @@ index b48a4fc..d9897e5 100644 From 1d4a4a015ca11123373fc8e2e4257f05bf0483e6 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 11 Mar 2014 18:50:23 +0000 -Subject: [PATCH 53/63] [dvdplayer] Use inexact seeking like omxplayer +Subject: [PATCH 53/64] [dvdplayer] Use inexact seeking like omxplayer --- xbmc/cores/dvdplayer/DVDPlayer.cpp | 11 +++++++++++ @@ -13290,7 +13290,7 @@ index 82d3720..54d22d7 100644 From a878b40befe23837ddf1e2c783476bdcd1083685 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 13 Mar 2014 16:08:46 +0000 -Subject: [PATCH 54/63] [omxplayer] Make use of TrueHD fastpath when downmixing +Subject: [PATCH 54/64] [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. @@ -13338,7 +13338,7 @@ index 557e847..7f6ef6e 100644 From e33983a177f520b599c9d03229fe1e48447992f0 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sat, 15 Mar 2014 19:38:38 +0000 -Subject: [PATCH 55/63] [omxplayer] When in dual audio mode, make one output +Subject: [PATCH 55/64] [omxplayer] When in dual audio mode, make one output the slave May help audio sync between the two outputs @@ -13375,7 +13375,7 @@ index 3e64de0..72e42ec 100644 From be75f71dea82ef53499590fdeb1a71bd8589ca3d Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 30 Dec 2013 12:02:14 +0000 -Subject: [PATCH 56/63] [rbp] Hardware accelerated resampling +Subject: [PATCH 56/64] [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. @@ -14117,7 +14117,7 @@ index 99e407a..8d3c86a 100644 From 6b747c328bfbcb188610dbd5873fd7b522f908a7 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 27 Mar 2014 00:22:05 +0000 -Subject: [PATCH 57/63] [PiResample] Work around AE not providing correct +Subject: [PATCH 57/64] [PiResample] Work around AE not providing correct src_bits --- @@ -14163,7 +14163,7 @@ index 4d6f4ae..5d03bb1 100644 From 3345c8fef6c414f9805325bf89c1af75e1c56e5a Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 25 Mar 2014 19:43:07 +0000 -Subject: [PATCH 58/63] [ffmpeg] Speed up wtv index creation +Subject: [PATCH 58/64] [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. @@ -14216,7 +14216,7 @@ index e423370..70898bd 100644 From ec33b6f8ecfeb02637ecd459e8b213be0480810f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 7 Apr 2014 18:19:32 +0100 -Subject: [PATCH 59/63] [rbp/omxplayer] When opening a stream don't try to +Subject: [PATCH 59/64] [rbp/omxplayer] When opening a stream don't try to update gui so often --- @@ -14246,7 +14246,7 @@ index e9ba7d3..0fdc3c2 100644 From dee3c305494fc05eeba47f9c1c1d8a695b371aba Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 7 Apr 2014 15:28:57 +0100 -Subject: [PATCH 60/63] [omxcodec] Clamp video texture at edges to avoid image +Subject: [PATCH 60/64] [omxcodec] Clamp video texture at edges to avoid image wrapping --- @@ -14273,7 +14273,7 @@ index b3efe16..d89fa0b 100644 From 9265479536f07157721db9c96612b0cc4fab5eaf Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 6 Apr 2014 18:35:58 +0100 -Subject: [PATCH 61/63] [PiSink] Grab resample coefficients by submitting +Subject: [PATCH 61/64] [PiSink] Grab resample coefficients by submitting identity samples --- @@ -14370,7 +14370,7 @@ index 5d03bb1..f8e312d 100644 From d8906994d222969b7fd50861d32b24e2f1a4a524 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 7 Apr 2014 17:36:19 +0100 -Subject: [PATCH 62/63] [PiSink] Remove unneeded header and use CAEChannelInfo +Subject: [PATCH 62/64] [PiSink] Remove unneeded header and use CAEChannelInfo directly --- @@ -14449,7 +14449,7 @@ index 9ce00e3..070e6eb 100644 From a725f3b2eaf8e3060c5c1c71b9db2a254742d5b0 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 7 Apr 2014 17:37:41 +0100 -Subject: [PATCH 63/63] [omxplayer] Remove PCMRemap and handle multichannel +Subject: [PATCH 63/64] [omxplayer] Remove PCMRemap and handle multichannel mixing like ActiveAE does --- @@ -16125,3 +16125,30 @@ index a273cd1..0000000 -- 1.9.1 + +From b62557dc1484ddf4a09ea6c189892c777ce92648 Mon Sep 17 00:00:00 2001 +From: popcornmix +Date: Sun, 13 Apr 2014 15:13:10 +0100 +Subject: [PATCH 64/64] [omxplayer] Fix for 3d video in mono mode + +The test for no aspect wasn't correct, causing large black bars +--- + xbmc/cores/omxplayer/OMXVideo.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/xbmc/cores/omxplayer/OMXVideo.cpp b/xbmc/cores/omxplayer/OMXVideo.cpp +index 66a351d..f058a35 100644 +--- a/xbmc/cores/omxplayer/OMXVideo.cpp ++++ b/xbmc/cores/omxplayer/OMXVideo.cpp +@@ -848,7 +848,7 @@ void COMXVideo::SetVideoRect(const CRect& SrcRect, const CRect& DestRect) + + if (configDisplay.dest_rect.width == 0 || configDisplay.dest_rect.height == 0) + configDisplay.fullscreen = OMX_TRUE; +- else ++ if (configDisplay.src_rect.width != 0 && configDisplay.src_rect.height != 0) + configDisplay.noaspect = OMX_TRUE; + + m_omx_render.SetConfig(OMX_IndexConfigDisplayRegion, &configDisplay); +-- +1.9.1 +