Permalink
Browse files

Update libmythbluray to match commit 8c15fdad7797854bc4f98cdb339074a4…

…f9f2dbb3 (just after 1.0.2) from git://git.videolan.org/git/libbluray.git
  • Loading branch information...
peper03 committed May 21, 2018
1 parent da7c8c7 commit 3ea8dda2f07c01e21cdeb55e90e67c6c2fa70369
Showing with 5,668 additions and 1,901 deletions.
  1. +381 −0 mythtv/external/libmythbluray/contrib/asm/src/org/objectweb/asm/commons/LocalVariablesSorter.java
  2. +223 −0 mythtv/external/libmythbluray/contrib/asm/src/org/objectweb/asm/commons/Remapper.java
  3. +79 −0 .../external/libmythbluray/contrib/asm/src/org/objectweb/asm/commons/RemappingAnnotationAdapter.java
  4. +135 −0 mythtv/external/libmythbluray/contrib/asm/src/org/objectweb/asm/commons/RemappingClassAdapter.java
  5. +71 −0 mythtv/external/libmythbluray/contrib/asm/src/org/objectweb/asm/commons/RemappingFieldAdapter.java
  6. +224 −0 mythtv/external/libmythbluray/contrib/asm/src/org/objectweb/asm/commons/RemappingMethodAdapter.java
  7. +155 −0 ...v/external/libmythbluray/contrib/asm/src/org/objectweb/asm/commons/RemappingSignatureAdapter.java
  8. +75 −0 mythtv/external/libmythbluray/contrib/asm/src/org/objectweb/asm/commons/SimpleRemapper.java
  9. +228 −0 mythtv/external/libmythbluray/contrib/asm/src/org/objectweb/asm/signature/SignatureReader.java
  10. +238 −0 mythtv/external/libmythbluray/contrib/asm/src/org/objectweb/asm/signature/SignatureVisitor.java
  11. +227 −0 mythtv/external/libmythbluray/contrib/asm/src/org/objectweb/asm/signature/SignatureWriter.java
  12. +30 −21 mythtv/external/libmythbluray/libmythbluray.pro
  13. +0 −200 mythtv/external/libmythbluray/libmythbluray.pro.user.3.2-pre1
  14. +33 −3 mythtv/external/libmythbluray/src/file/dir_posix.c
  15. +26 −4 mythtv/external/libmythbluray/src/file/dl_posix.c
  16. +11 −1 mythtv/external/libmythbluray/src/file/dl_win32.c
  17. +258 −41 mythtv/external/libmythbluray/src/libbluray/bdj/bdj.c
  18. +2 −0 mythtv/external/libmythbluray/src/libbluray/bdj/bdj.h
  19. +1 −0 mythtv/external/libmythbluray/src/libbluray/bdj/bdjo_data.h
  20. +6 −25 mythtv/external/libmythbluray/src/libbluray/bdj/bdjo_parse.c
  21. +5 −0 mythtv/external/libmythbluray/src/libbluray/bdj/java-j2se/java/io/BDFileSystemImpl.java
  22. +7 −4 mythtv/external/libmythbluray/src/libbluray/bdj/java-j2se/org/videolan/PortingHelper.java
  23. +21 −5 mythtv/external/libmythbluray/src/libbluray/bdj/java/java/awt/Area.java
  24. +8 −6 mythtv/external/libmythbluray/src/libbluray/bdj/java/java/awt/BDRootWindow.java
  25. +4 −0 mythtv/external/libmythbluray/src/libbluray/bdj/java/java/io/FileInputStream.java
  26. +1 −2 mythtv/external/libmythbluray/src/libbluray/bdj/java/javax/media/CachingControlEvent.java
  27. +1 −2 mythtv/external/libmythbluray/src/libbluray/bdj/java/javax/media/DataStarvedEvent.java
  28. +1 −2 mythtv/external/libmythbluray/src/libbluray/bdj/java/javax/media/DeallocateEvent.java
  29. +1 −2 mythtv/external/libmythbluray/src/libbluray/bdj/java/javax/media/EndOfMediaEvent.java
  30. +1 −2 mythtv/external/libmythbluray/src/libbluray/bdj/java/javax/media/GainChangeEvent.java
  31. +18 −36 mythtv/external/libmythbluray/src/libbluray/bdj/java/javax/media/Manager.java
  32. +1 −2 mythtv/external/libmythbluray/src/libbluray/bdj/java/javax/media/MediaHandler.java
  33. +1 −2 mythtv/external/libmythbluray/src/libbluray/bdj/java/javax/media/MediaLocator.java
  34. +1 −2 mythtv/external/libmythbluray/src/libbluray/bdj/java/javax/media/Player.java
  35. +1 −2 mythtv/external/libmythbluray/src/libbluray/bdj/java/javax/media/PrefetchCompleteEvent.java
  36. +1 −2 mythtv/external/libmythbluray/src/libbluray/bdj/java/javax/media/RealizeCompleteEvent.java
  37. +1 −2 mythtv/external/libmythbluray/src/libbluray/bdj/java/javax/media/RestartingEvent.java
  38. +1 −2 mythtv/external/libmythbluray/src/libbluray/bdj/java/javax/media/StartEvent.java
  39. +1 −2 mythtv/external/libmythbluray/src/libbluray/bdj/java/javax/media/StopAtTimeEvent.java
  40. +1 −2 mythtv/external/libmythbluray/src/libbluray/bdj/java/javax/media/StopByRequestEvent.java
  41. +1 −2 mythtv/external/libmythbluray/src/libbluray/bdj/java/javax/media/StopEvent.java
  42. +1 −2 mythtv/external/libmythbluray/src/libbluray/bdj/java/javax/media/TransitionEvent.java
  43. +6 −12 mythtv/external/libmythbluray/src/libbluray/bdj/java/javax/tv/graphics/AlphaColor.java
  44. +1 −2 mythtv/external/libmythbluray/src/libbluray/bdj/java/javax/tv/graphics/TVContainer.java
  45. +3 −6 mythtv/external/libmythbluray/src/libbluray/bdj/java/javax/tv/locator/InvalidLocatorException.java
  46. +1 −1 mythtv/external/libmythbluray/src/libbluray/bdj/java/javax/tv/locator/LocatorFactory.java
  47. +1 −1 mythtv/external/libmythbluray/src/libbluray/bdj/java/javax/tv/locator/LocatorFactoryImpl.java
  48. +2 −4 mythtv/external/libmythbluray/src/libbluray/bdj/java/javax/tv/locator/MalformedLocatorException.java
  49. +1 −2 mythtv/external/libmythbluray/src/libbluray/bdj/java/javax/tv/media/MediaSelectListener.java
  50. +1 −3 mythtv/external/libmythbluray/src/libbluray/bdj/java/javax/tv/media/MediaSelectPermission.java
  51. +0 −1 mythtv/external/libmythbluray/src/libbluray/bdj/java/javax/tv/service/SIElement.java
  52. +7 −11 mythtv/external/libmythbluray/src/libbluray/bdj/java/javax/tv/service/SIManager.java
  53. +5 −7 mythtv/external/libmythbluray/src/libbluray/bdj/java/javax/tv/service/SIManagerImpl.java
  54. +0 −1 mythtv/external/libmythbluray/src/libbluray/bdj/java/javax/tv/service/SIRequestor.java
  55. +0 −1 mythtv/external/libmythbluray/src/libbluray/bdj/java/javax/tv/service/Service.java
  56. +4 −8 mythtv/external/libmythbluray/src/libbluray/bdj/java/javax/tv/service/ServiceInformationType.java
  57. +1 −2 ...v/external/libmythbluray/src/libbluray/bdj/java/javax/tv/service/guide/ContentRatingAdvisory.java
  58. +3 −6 mythtv/external/libmythbluray/src/libbluray/bdj/java/javax/tv/service/guide/ProgramSchedule.java
  59. +1 −2 ...ternal/libmythbluray/src/libbluray/bdj/java/javax/tv/service/guide/ProgramScheduleChangeType.java
  60. +1 −2 ...tv/external/libmythbluray/src/libbluray/bdj/java/javax/tv/service/guide/ProgramScheduleEvent.java
  61. +1 −2 ...external/libmythbluray/src/libbluray/bdj/java/javax/tv/service/guide/ProgramScheduleListener.java
  62. +4 −8 ...external/libmythbluray/src/libbluray/bdj/java/javax/tv/service/navigation/DeliverySystemType.java
  63. +1 −2 ...v/external/libmythbluray/src/libbluray/bdj/java/javax/tv/service/navigation/ServiceComponent.java
  64. +1 −2 ...libmythbluray/src/libbluray/bdj/java/javax/tv/service/navigation/ServiceComponentChangeEvent.java
  65. +2 −4 mythtv/external/libmythbluray/src/libbluray/bdj/java/javax/tv/service/navigation/ServiceDetails.java
  66. +1 −2 ...libmythbluray/src/libbluray/bdj/java/javax/tv/service/navigation/ServiceDetailsSIChangeEvent.java
  67. +1 −2 ...tv/external/libmythbluray/src/libbluray/bdj/java/javax/tv/service/navigation/ServiceIterator.java
  68. +3 −1 ...tv/external/libmythbluray/src/libbluray/bdj/java/javax/tv/service/navigation/ServiceListImpl.java
  69. +1 −2 .../libmythbluray/src/libbluray/bdj/java/javax/tv/service/navigation/ServiceProviderInformation.java
  70. +1 −2 ...l/libmythbluray/src/libbluray/bdj/java/javax/tv/service/navigation/SortNotAvailableException.java
  71. +1 −2 .../external/libmythbluray/src/libbluray/bdj/java/javax/tv/service/selection/NormalContentEvent.java
  72. +1 −2 ...nal/libmythbluray/src/libbluray/bdj/java/javax/tv/service/selection/PresentationChangedEvent.java
  73. +1 −2 mythtv/external/libmythbluray/src/libbluray/bdj/java/javax/tv/service/selection/ServiceContext.java
  74. +1 −2 ...external/libmythbluray/src/libbluray/bdj/java/javax/tv/service/selection/ServiceContextEvent.java
  75. +1 −2 ...ternal/libmythbluray/src/libbluray/bdj/java/javax/tv/service/selection/ServiceContextFactory.java
  76. +2 −4 ...al/libmythbluray/src/libbluray/bdj/java/javax/tv/service/selection/ServiceContextFactoryImpl.java
  77. +1 −2 .../external/libmythbluray/src/libbluray/bdj/java/javax/tv/service/transport/BouquetChangeEvent.java
  78. +2 −3 ...v/external/libmythbluray/src/libbluray/bdj/java/javax/tv/service/transport/BouquetCollection.java
  79. +1 −2 mythtv/external/libmythbluray/src/libbluray/bdj/java/javax/tv/service/transport/Network.java
  80. +1 −2 .../external/libmythbluray/src/libbluray/bdj/java/javax/tv/service/transport/NetworkChangeEvent.java
  81. +2 −3 ...v/external/libmythbluray/src/libbluray/bdj/java/javax/tv/service/transport/NetworkCollection.java
  82. +1 −2 ...al/libmythbluray/src/libbluray/bdj/java/javax/tv/service/transport/ServiceDetailsChangeEvent.java
  83. +2 −4 mythtv/external/libmythbluray/src/libbluray/bdj/java/javax/tv/service/transport/Transport.java
  84. +1 −2 ...ernal/libmythbluray/src/libbluray/bdj/java/javax/tv/service/transport/TransportSIChangeEvent.java
  85. +4 −7 ...al/libmythbluray/src/libbluray/bdj/java/javax/tv/service/transport/TransportStreamCollection.java
  86. +1 −2 mythtv/external/libmythbluray/src/libbluray/bdj/java/javax/tv/xlet/Xlet.java
  87. +1 −2 mythtv/external/libmythbluray/src/libbluray/bdj/java/javax/tv/xlet/XletStateChangeException.java
  88. +1 −2 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/bluray/application/AppAttributes.java
  89. +2 −4 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/bluray/media/AudioControl.java
  90. +1 −2 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/bluray/media/PanningControl.java
  91. +3 −6 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/bluray/media/PiPControl.java
  92. +2 −4 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/bluray/media/PlayListChangeControl.java
  93. +3 −6 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/bluray/media/PlaybackControl.java
  94. +4 −8 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/bluray/media/SubtitlingControl.java
  95. +1 −2 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/bluray/media/UOMaskTableListener.java
  96. +6 −2 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/bluray/net/BDLocator.java
  97. +2 −2 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/bluray/storage/BindingunitDataAreaInfo.java
  98. +2 −2 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/bluray/storage/PersistentDataAreaInfo.java
  99. +17 −0 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/bluray/system/RegisterAccess.java
  100. +1 −2 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/bluray/ti/PlayItemImpl.java
  101. +4 −0 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/bluray/ti/TitleImpl.java
  102. +6 −5 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/bluray/ti/selection/TitleContextImpl.java
  103. +0 −1 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/bluray/ui/ImageFrameAccurateAnimation.java
  104. +0 −1 ...ternal/libmythbluray/src/libbluray/bdj/java/org/blurayx/s3d/media/AlignedSubtitleChangeEvent.java
  105. +1 −3 ...v/external/libmythbluray/src/libbluray/bdj/java/org/blurayx/s3d/media/AlignedSubtitleControl.java
  106. +0 −1 ...libmythbluray/src/libbluray/bdj/java/org/blurayx/s3d/media/GraphicsOffsetSequenceChangeEvent.java
  107. +0 −1 ...nal/libmythbluray/src/libbluray/bdj/java/org/blurayx/s3d/media/GraphicsOffsetSequenceControl.java
  108. +1 −1 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/blurayx/s3d/ti/StereoscopicCodingType.java
  109. +0 −1 .../external/libmythbluray/src/libbluray/bdj/java/org/blurayx/s3d/ui/HGraphicsConfigTemplateS3D.java
  110. +1 −4 ...v/external/libmythbluray/src/libbluray/bdj/java/org/blurayx/s3d/ui/HGraphicsConfigurationS3D.java
  111. +0 −1 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/blurayx/s3d/ui/HVideoConfigTemplateS3D.java
  112. +4 −1 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/blurayx/s3d/ui/S3DProperty.java
  113. +27 −0 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/blurayx/uhd/system/UHDRegisters.java
  114. +47 −0 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/blurayx/uhd/ti/UHDCodingType.java
  115. +39 −0 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/blurayx/uhd/ui/ColorSpaceProperty.java
  116. +25 −0 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/blurayx/uhd/ui/DeviceConfigurationsUHD.java
  117. +65 −0 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/blurayx/uhd/ui/DynamicRangeProperty.java
  118. +46 −0 .../libmythbluray/src/libbluray/bdj/java/org/blurayx/uhd/ui/HBackgroundConfigurationTemplateUHD.java
  119. +46 −0 ...al/libmythbluray/src/libbluray/bdj/java/org/blurayx/uhd/ui/HGraphicsConfigurationTemplateUHD.java
  120. +51 −0 ...ernal/libmythbluray/src/libbluray/bdj/java/org/blurayx/uhd/ui/HVideoConfigurationTemplateUHD.java
  121. +1 −2 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/davic/media/LanguageControl.java
  122. +1 −2 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/davic/media/MediaTimeEventControl.java
  123. +4 −0 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/davic/net/Locator.java
  124. +2 −2 ...tv/external/libmythbluray/src/libbluray/bdj/java/org/dvb/io/persistent/FileAccessPermissions.java
  125. +1 −1 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/dvb/lang/DVBClassLoader.java
  126. +2 −2 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/dvb/ui/DVBBufferedImage.java
  127. +10 −4 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/dvb/user/Preference.java
  128. +4 −0 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/havi/ui/HScreenDimension.java
  129. +4 −0 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/havi/ui/HScreenPoint.java
  130. +8 −0 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/havi/ui/HScreenRectangle.java
  131. +1 −1 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/havi/ui/HTextLook.java
  132. +2 −2 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/havi/ui/HVisible.java
  133. +1 −1 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/videolan/Arrays.java
  134. +1 −1 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/videolan/BDJActionManager.java
  135. +19 −6 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/videolan/BDJActionQueue.java
  136. +20 −17 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/videolan/BDJAppProxy.java
  137. +37 −4 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/videolan/BDJClassFileTransformer.java
  138. +85 −22 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/videolan/BDJClassLoader.java
  139. +41 −0 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/videolan/BDJClassLoaderAdapter.java
  140. +2 −2 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/videolan/BDJException.java
  141. +3 −2 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/videolan/BDJListeners.java
  142. +12 −10 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/videolan/BDJLoader.java
  143. +9 −3 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/videolan/BDJSecurityManager.java
  144. +6 −7 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/videolan/BDJThreadGroup.java
  145. +2 −4 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/videolan/BDJUtil.java
  146. +10 −12 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/videolan/BDJXletContext.java
  147. +2 −5 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/videolan/BUMFParser.java
  148. +11 −5 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/videolan/CacheDir.java
  149. +2 −2 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/videolan/FontIndex.java
  150. +6 −6 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/videolan/FontIndexData.java
  151. +16 −26 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/videolan/IxcRegistryImpl.java
  152. +130 −39 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/videolan/Libbluray.java
  153. +6 −2 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/videolan/Logger.java
  154. +13 −4 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/videolan/MountManager.java
  155. +6 −6 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/videolan/PlaylistInfo.java
  156. +7 −5 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/videolan/StrUtil.java
  157. +7 −7 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/videolan/StreamInfo.java
  158. +7 −7 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/videolan/TIClip.java
  159. +7 −7 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/videolan/TIMark.java
  160. +1 −3 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/videolan/VFSCache.java
  161. +8 −13 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/videolan/bdjo/AppCache.java
  162. +3 −3 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/videolan/bdjo/AppEntry.java
  163. +10 −16 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/videolan/bdjo/AppProfile.java
  164. +14 −22 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/videolan/bdjo/Bdjo.java
  165. +10 −6 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/videolan/bdjo/GraphicsResolution.java
  166. +9 −15 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/videolan/bdjo/PlayListTable.java
  167. +10 −16 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/videolan/bdjo/TerminalInfo.java
  168. +3 −4 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/videolan/media/content/BDHandler.java
  169. +7 −7 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/videolan/media/content/PlayerManager.java
  170. +0 −1 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/videolan/media/content/audio/Handler.java
  171. +6 −12 ...hbluray/src/libbluray/bdj/java/org/videolan/media/content/playlist/DVBMediaSelectControlImpl.java
  172. +1 −1 ...tv/external/libmythbluray/src/libbluray/bdj/java/org/videolan/media/content/playlist/Handler.java
  173. +1 −1 ...hbluray/src/libbluray/bdj/java/org/videolan/media/content/playlist/PlayListChangeControlImpl.java
  174. +0 −1 ...libmythbluray/src/libbluray/bdj/java/org/videolan/media/content/playlist/PlaybackControlImpl.java
  175. +6 −3 ...ternal/libmythbluray/src/libbluray/bdj/java/org/videolan/media/content/playlist/VideoControl.java
  176. +1 −1 ...mythbluray/src/libbluray/bdj/java/org/videolan/media/content/playlist/VideoFormatControlImpl.java
  177. +5 −5 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/videolan/media/content/sound/Handler.java
  178. +6 −14 ...j/java/org/videolan/media/content/video/dvb/mpeg/drip/BackgroundVideoPresentationControlImpl.java
  179. +11 −5 ...ythbluray/src/libbluray/bdj/java/org/videolan/media/content/video/dvb/mpeg/drip/VideoControl.java
  180. +2 −2 ...xternal/libmythbluray/src/libbluray/bdj/java/org/videolan/media/protocol/dripfeed/DataSource.java
  181. +241 −0 mythtv/external/libmythbluray/src/libbluray/bdj/java/org/videolan/mmbd/Adapter.java
  182. +3 −3 mythtv/external/libmythbluray/src/libbluray/bdj/native/bdjo.c
  183. +48 −19 mythtv/external/libmythbluray/src/libbluray/bdj/native/org_videolan_Libbluray.c
  184. +31 −6 mythtv/external/libmythbluray/src/libbluray/bdj/native/util.c
  185. +7 −16 mythtv/external/libmythbluray/src/libbluray/bdnav/bdid_parse.c
  186. +75 −0 mythtv/external/libmythbluray/src/libbluray/bdnav/bdmv_parse.c
  187. +34 −0 mythtv/external/libmythbluray/src/libbluray/bdnav/bdmv_parse.h
  188. +2 −4 mythtv/external/libmythbluray/src/libbluray/bdnav/bdparse.h
  189. +1 −7 mythtv/external/libmythbluray/src/libbluray/bdnav/clpi_data.h
  190. +124 −55 mythtv/external/libmythbluray/src/libbluray/bdnav/clpi_parse.c
  191. +1 −1 mythtv/external/libmythbluray/src/libbluray/bdnav/clpi_parse.h
  192. +15 −21 mythtv/external/libmythbluray/src/libbluray/bdnav/index_parse.c
  193. +3 −1 mythtv/external/libmythbluray/src/libbluray/bdnav/index_parse.h
  194. +0 −5 mythtv/external/libmythbluray/src/libbluray/bdnav/meta_data.h
  195. +8 −3 mythtv/external/libmythbluray/src/libbluray/bdnav/meta_parse.c
  196. +3 −0 mythtv/external/libmythbluray/src/libbluray/bdnav/meta_parse.h
  197. +200 −0 mythtv/external/libmythbluray/src/libbluray/bdnav/mpls_data.h
  198. +127 −120 mythtv/external/libmythbluray/src/libbluray/bdnav/mpls_parse.c
  199. +2 −166 mythtv/external/libmythbluray/src/libbluray/bdnav/mpls_parse.h
  200. +62 −24 mythtv/external/libmythbluray/src/libbluray/bdnav/navigation.c
  201. +3 −6 mythtv/external/libmythbluray/src/libbluray/bdnav/navigation.h
  202. +5 −0 mythtv/external/libmythbluray/src/libbluray/bdnav/sound_parse.c
  203. +77 −0 mythtv/external/libmythbluray/src/libbluray/bdnav/uo_mask.c
  204. +57 −0 mythtv/external/libmythbluray/src/libbluray/bdnav/uo_mask.h
  205. +1 −29 mythtv/external/libmythbluray/src/libbluray/bdnav/uo_mask_table.h
  206. +5 −1 mythtv/external/libmythbluray/src/libbluray/bluray-version.h
  207. +186 −226 mythtv/external/libmythbluray/src/libbluray/bluray.c
  208. +79 −66 mythtv/external/libmythbluray/src/libbluray/bluray.h
  209. +13 −22 mythtv/external/libmythbluray/src/libbluray/decoders/graphics_controller.c
  210. +1 −1 mythtv/external/libmythbluray/src/libbluray/decoders/graphics_controller.h
  211. +2 −0 mythtv/external/libmythbluray/src/libbluray/decoders/ig.h
  212. +2 −2 mythtv/external/libmythbluray/src/libbluray/decoders/ig_decode.c
  213. +17 −22 mythtv/external/libmythbluray/src/libbluray/decoders/overlay.h
  214. +1 −1 mythtv/external/libmythbluray/src/libbluray/decoders/textst_render.c
  215. +1 −1 mythtv/external/libmythbluray/src/libbluray/disc/aacs.c
  216. +12 −0 mythtv/external/libmythbluray/src/libbluray/disc/bdplus.c
  217. +3 −0 mythtv/external/libmythbluray/src/libbluray/disc/bdplus.h
  218. +18 −4 mythtv/external/libmythbluray/src/libbluray/disc/dec.c
  219. +1 −0 mythtv/external/libmythbluray/src/libbluray/disc/dec.h
  220. +120 −36 mythtv/external/libmythbluray/src/libbluray/disc/disc.c
  221. +16 −1 mythtv/external/libmythbluray/src/libbluray/disc/disc.h
  222. +234 −0 mythtv/external/libmythbluray/src/libbluray/disc/properties.c
  223. +55 −0 mythtv/external/libmythbluray/src/libbluray/disc/properties.h
  224. +17 −4 mythtv/external/libmythbluray/src/libbluray/hdmv/hdmv_vm.c
  225. +2 −1 mythtv/external/libmythbluray/src/libbluray/hdmv/mobj_data.h
  226. +19 −24 mythtv/external/libmythbluray/src/libbluray/hdmv/mobj_parse.c
  227. +5 −5 mythtv/external/libmythbluray/src/libbluray/hdmv/mobj_print.c
  228. +5 −1 mythtv/external/libmythbluray/src/libbluray/player_settings.h
  229. +72 −19 mythtv/external/libmythbluray/src/libbluray/register.c
  230. +26 −10 mythtv/external/libmythbluray/src/libbluray/register.h
  231. +4 −0 mythtv/external/libmythbluray/src/util/bits.c
  232. +8 −5 mythtv/external/libmythbluray/src/util/logging.c
  233. +21 −0 mythtv/external/libmythbluray/src/util/strutl.c
  234. +3 −0 mythtv/external/libmythbluray/src/util/strutl.h
@@ -0,0 +1,381 @@
/***
* ASM: a very small and fast Java bytecode manipulation framework
* Copyright (c) 2000-2011 INRIA, France Telecom
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of the copyright holders nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*/
package org.objectweb.asm.commons;
import org.objectweb.asm.AnnotationVisitor;
import org.objectweb.asm.Label;
import org.objectweb.asm.MethodVisitor;
import org.objectweb.asm.Opcodes;
import org.objectweb.asm.Type;
import org.objectweb.asm.TypePath;
/**
* A {@link MethodVisitor} that renumbers local variables in their order of
* appearance. This adapter allows one to easily add new local variables to a
* method. It may be used by inheriting from this class, but the preferred way
* of using it is via delegation: the next visitor in the chain can indeed add
* new locals when needed by calling {@link #newLocal} on this adapter (this
* requires a reference back to this {@link LocalVariablesSorter}).
*
* @author Chris Nokleberg
* @author Eugene Kuleshov
* @author Eric Bruneton
*/
public class LocalVariablesSorter extends MethodVisitor {
private static final Type OBJECT_TYPE = Type
.getObjectType("java/lang/Object");
/**
* Mapping from old to new local variable indexes. A local variable at index
* i of size 1 is remapped to 'mapping[2*i]', while a local variable at
* index i of size 2 is remapped to 'mapping[2*i+1]'.
*/
private int[] mapping = new int[40];
/**
* Array used to store stack map local variable types after remapping.
*/
private Object[] newLocals = new Object[20];
/**
* Index of the first local variable, after formal parameters.
*/
protected final int firstLocal;
/**
* Index of the next local variable to be created by {@link #newLocal}.
*/
protected int nextLocal;
/**
* Indicates if at least one local variable has moved due to remapping.
*/
private boolean changed;
/**
* Creates a new {@link LocalVariablesSorter}. <i>Subclasses must not use
* this constructor</i>. Instead, they must use the
* {@link #LocalVariablesSorter(int, int, String, MethodVisitor)} version.
*
* @param access
* access flags of the adapted method.
* @param desc
* the method's descriptor (see {@link Type Type}).
* @param mv
* the method visitor to which this adapter delegates calls.
* @throws IllegalStateException
* If a subclass calls this constructor.
*/
public LocalVariablesSorter(final int access, final String desc,
final MethodVisitor mv) {
this(Opcodes.ASM5, access, desc, mv);
if (getClass() != LocalVariablesSorter.class) {
throw new IllegalStateException();
}
}
/**
* Creates a new {@link LocalVariablesSorter}.
*
* @param api
* the ASM API version implemented by this visitor. Must be one
* of {@link Opcodes#ASM4} or {@link Opcodes#ASM5}.
* @param access
* access flags of the adapted method.
* @param desc
* the method's descriptor (see {@link Type Type}).
* @param mv
* the method visitor to which this adapter delegates calls.
*/
protected LocalVariablesSorter(final int api, final int access,
final String desc, final MethodVisitor mv) {
super(api, mv);
Type[] args = Type.getArgumentTypes(desc);
nextLocal = (Opcodes.ACC_STATIC & access) == 0 ? 1 : 0;
for (int i = 0; i < args.length; i++) {
nextLocal += args[i].getSize();
}
firstLocal = nextLocal;
}
@Override
public void visitVarInsn(final int opcode, final int var) {
Type type;
switch (opcode) {
case Opcodes.LLOAD:
case Opcodes.LSTORE:
type = Type.LONG_TYPE;
break;
case Opcodes.DLOAD:
case Opcodes.DSTORE:
type = Type.DOUBLE_TYPE;
break;
case Opcodes.FLOAD:
case Opcodes.FSTORE:
type = Type.FLOAT_TYPE;
break;
case Opcodes.ILOAD:
case Opcodes.ISTORE:
type = Type.INT_TYPE;
break;
default:
// case Opcodes.ALOAD:
// case Opcodes.ASTORE:
// case RET:
type = OBJECT_TYPE;
break;
}
mv.visitVarInsn(opcode, remap(var, type));
}
@Override
public void visitIincInsn(final int var, final int increment) {
mv.visitIincInsn(remap(var, Type.INT_TYPE), increment);
}
@Override
public void visitMaxs(final int maxStack, final int maxLocals) {
mv.visitMaxs(maxStack, nextLocal);
}
@Override
public void visitLocalVariable(final String name, final String desc,
final String signature, final Label start, final Label end,
final int index) {
int newIndex = remap(index, Type.getType(desc));
mv.visitLocalVariable(name, desc, signature, start, end, newIndex);
}
@Override
public AnnotationVisitor visitLocalVariableAnnotation(int typeRef,
TypePath typePath, Label[] start, Label[] end, int[] index,
String desc, boolean visible) {
Type t = Type.getType(desc);
int[] newIndex = new int[index.length];
for (int i = 0; i < newIndex.length; ++i) {
newIndex[i] = remap(index[i], t);
}
return mv.visitLocalVariableAnnotation(typeRef, typePath, start, end,
newIndex, desc, visible);
}
@Override
public void visitFrame(final int type, final int nLocal,
final Object[] local, final int nStack, final Object[] stack) {
if (type != Opcodes.F_NEW) { // uncompressed frame
throw new IllegalStateException(
"ClassReader.accept() should be called with EXPAND_FRAMES flag");
}
if (!changed) { // optimization for the case where mapping = identity
mv.visitFrame(type, nLocal, local, nStack, stack);
return;
}
// creates a copy of newLocals
Object[] oldLocals = new Object[newLocals.length];
System.arraycopy(newLocals, 0, oldLocals, 0, oldLocals.length);
updateNewLocals(newLocals);
// copies types from 'local' to 'newLocals'
// 'newLocals' already contains the variables added with 'newLocal'
int index = 0; // old local variable index
int number = 0; // old local variable number
for (; number < nLocal; ++number) {
Object t = local[number];
int size = t == Opcodes.LONG || t == Opcodes.DOUBLE ? 2 : 1;
if (t != Opcodes.TOP) {
Type typ = OBJECT_TYPE;
if (t == Opcodes.INTEGER) {
typ = Type.INT_TYPE;
} else if (t == Opcodes.FLOAT) {
typ = Type.FLOAT_TYPE;
} else if (t == Opcodes.LONG) {
typ = Type.LONG_TYPE;
} else if (t == Opcodes.DOUBLE) {
typ = Type.DOUBLE_TYPE;
} else if (t instanceof String) {
typ = Type.getObjectType((String) t);
}
setFrameLocal(remap(index, typ), t);
}
index += size;
}
// removes TOP after long and double types as well as trailing TOPs
index = 0;
number = 0;
for (int i = 0; index < newLocals.length; ++i) {
Object t = newLocals[index++];
if (t != null && t != Opcodes.TOP) {
newLocals[i] = t;
number = i + 1;
if (t == Opcodes.LONG || t == Opcodes.DOUBLE) {
index += 1;
}
} else {
newLocals[i] = Opcodes.TOP;
}
}
// visits remapped frame
mv.visitFrame(type, number, newLocals, nStack, stack);
// restores original value of 'newLocals'
newLocals = oldLocals;
}
// -------------
/**
* Creates a new local variable of the given type.
*
* @param type
* the type of the local variable to be created.
* @return the identifier of the newly created local variable.
*/
public int newLocal(final Type type) {
Object t;
switch (type.getSort()) {
case Type.BOOLEAN:
case Type.CHAR:
case Type.BYTE:
case Type.SHORT:
case Type.INT:
t = Opcodes.INTEGER;
break;
case Type.FLOAT:
t = Opcodes.FLOAT;
break;
case Type.LONG:
t = Opcodes.LONG;
break;
case Type.DOUBLE:
t = Opcodes.DOUBLE;
break;
case Type.ARRAY:
t = type.getDescriptor();
break;
// case Type.OBJECT:
default:
t = type.getInternalName();
break;
}
int local = newLocalMapping(type);
setLocalType(local, type);
setFrameLocal(local, t);
changed = true;
return local;
}
/**
* Notifies subclasses that a new stack map frame is being visited. The
* array argument contains the stack map frame types corresponding to the
* local variables added with {@link #newLocal}. This method can update
* these types in place for the stack map frame being visited. The default
* implementation of this method does nothing, i.e. a local variable added
* with {@link #newLocal} will have the same type in all stack map frames.
* But this behavior is not always the desired one, for instance if a local
* variable is added in the middle of a try/catch block: the frame for the
* exception handler should have a TOP type for this new local.
*
* @param newLocals
* the stack map frame types corresponding to the local variables
* added with {@link #newLocal} (and null for the others). The
* format of this array is the same as in
* {@link MethodVisitor#visitFrame}, except that long and double
* types use two slots. The types for the current stack map frame
* must be updated in place in this array.
*/
protected void updateNewLocals(Object[] newLocals) {
}
/**
* Notifies subclasses that a local variable has been added or remapped. The
* default implementation of this method does nothing.
*
* @param local
* a local variable identifier, as returned by {@link #newLocal
* newLocal()}.
* @param type
* the type of the value being stored in the local variable.
*/
protected void setLocalType(final int local, final Type type) {
}
private void setFrameLocal(final int local, final Object type) {
int l = newLocals.length;
if (local >= l) {
Object[] a = new Object[Math.max(2 * l, local + 1)];
System.arraycopy(newLocals, 0, a, 0, l);
newLocals = a;
}
newLocals[local] = type;
}
private int remap(final int var, final Type type) {
if (var + type.getSize() <= firstLocal) {
return var;
}
int key = 2 * var + type.getSize() - 1;
int size = mapping.length;
if (key >= size) {
int[] newMapping = new int[Math.max(2 * size, key + 1)];
System.arraycopy(mapping, 0, newMapping, 0, size);
mapping = newMapping;
}
int value = mapping[key];
if (value == 0) {
value = newLocalMapping(type);
setLocalType(value, type);
mapping[key] = value + 1;
} else {
value--;
}
if (value != var) {
changed = true;
}
return value;
}
protected int newLocalMapping(final Type type) {
int local = nextLocal;
nextLocal += type.getSize();
return local;
}
}
Oops, something went wrong.

0 comments on commit 3ea8dda

Please sign in to comment.