Name Description Size Coverage
CDMStorageIdProvider.cpp static 1998 70 %
CDMStorageIdProvider.h CDM will try to request a latest version(0) of storage id. If the storage id computation algorithm changed, we should increase the kCurrentVersion. 1273 -
ChromiumCDMAdapter.cpp 10236 72 %
ChromiumCDMAdapter.h 2073 100 %
ChromiumCDMCallback.h 1884 100 %
ChromiumCDMCallbackProxy.cpp 6646 76 %
ChromiumCDMCallbackProxy.h 2021 67 %
ChromiumCDMChild.cpp 35714 76 %
ChromiumCDMChild.h 6865 14 %
ChromiumCDMCompat.h 4938 0 %
ChromiumCDMParent.cpp unused 52096 65 %
ChromiumCDMParent.h ChromiumCDMParent is the content process IPC actor used to communicate with a CDM in the GMP process (where ChromiumCDMChild lives). All non-static members of this class are GMP thread only. 9773 100 %
ChromiumCDMProxy.cpp unused 24156 69 %
ChromiumCDMProxy.h 4802 23 %
DecryptJob.cpp 1611 85 %
DecryptJob.h 805 100 %
gmp-api 67 %
GMPCallbackBase.h 698 100 %
GMPChild.cpp 25740 70 %
GMPChild.h 3446 100 %
GMPContentChild.cpp 4199 76 %
GMPContentChild.h This class allows the GMP process to receive requests to create GMP decoder/encoder objects on behalf of the parent/content processes. 2027 67 %
GMPContentParent.cpp 7335 89 %
GMPContentParent.h This class allows the parent/content processes to create GMP decoder/encoder objects in the GMP process. 3218 89 %
GMPCrashHelper.h 1081 100 %
GMPCrashHelperHolder.cpp 888 100 %
GMPCrashHelperHolder.h 2713 -
GMPDiskStorage.cpp 14986 81 %
GMPLoader.cpp aKeySystem 9652 78 %
GMPLoader.h 2609 100 %
GMPLog.h 1039 -
GMPMemoryStorage.cpp 2493 93 %
GMPMessageUtils.h 9287 67 %
GMPNativeTypes.h 366 -
GMPParent.cpp 49662 72 %
GMPParent.h 8487 93 %
GMPPlatform.cpp 9120 26 %
GMPPlatform.h This is intended to be used by encoders/decoders that will make a GMP call that is a synchronous post to the GMP worker thread. Because the GMP worker threads can synchronously callback to the main thread, this has the potential for a deadlock. If the encoder/decoder tracks any outstanding requests that will result in a synchronous callback to the main thread, we can simply spin the event loop on those callbacks until they are completed. Then we can safefully make our own synchronous call to the GMP worker thread without fear of a deadlock. Note that each encoder/decoder has its own worker thread, so assuming we drain the synchronous events for that specific encoder/decoder, we know there are no more forthcoming to cause us to deadlock. 1981 -
GMPProcessChild.cpp static 1629 86 %
GMPProcessChild.h 1010 100 %
GMPProcessParent.cpp static 11920 91 %
GMPProcessParent.h 3669 33 %
GMPSanitizedExports.h 802 -
GMPService.cpp 17857 82 %
GMPService.h IsExclusive = 4296 33 %
GMPServiceChild.cpp 22071 74 %
GMPServiceChild.h IsExclusive = 6497 100 %
GMPServiceParent.cpp 67933 79 %
GMPServiceParent.h Test-only Method ** Trigger GMP-process test metric instrumentation. 10711 93 %
GMPSharedMemManager.cpp 2386 89 %
GMPSharedMemManager.h 1341 50 %
GMPStorage.h 1302 100 %
GMPStorageChild.cpp 8641 87 %
GMPStorageChild.h 3064 100 %
GMPStorageParent.cpp 5821 73 %
GMPStorageParent.h 1351 100 %
GMPTimerChild.cpp 1514 0 %
GMPTimerChild.h 992 0 %
GMPTimerParent.cpp static 2478 0 %
GMPTimerParent.h 1412 0 %
GMPTypes.ipdlh 3115 -
GMPUtils.cpp 11249 70 %
GMPUtils.h 2437 100 %
GMPVideoDecoderChild.cpp 6810 46 %
GMPVideoDecoderChild.h 2537 67 %
GMPVideoDecoderParent.cpp 13645 51 %
GMPVideoDecoderParent.h 3885 71 %
GMPVideoDecoderProxy.h 2035 33 %
GMPVideoEncodedFrameImpl.cpp static 8941 66 %
GMPVideoEncodedFrameImpl.h Copyright (c) 2014, Mozilla Corporation 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. 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 HOLDER 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. 4813 100 %
GMPVideoEncoderChild.cpp 6741 71 %
GMPVideoEncoderChild.h 2896 67 %
GMPVideoEncoderParent.cpp 8566 71 %
GMPVideoEncoderParent.h 3334 100 %
GMPVideoEncoderProxy.h 2309 0 %
GMPVideoHost.cpp 2736 63 %
GMPVideoHost.h 1937 67 %
GMPVideoi420FrameImpl.cpp = HostReportPolicy::None 17370 69 %
GMPVideoi420FrameImpl.h 4563 100 %
GMPVideoPlaneImpl.cpp 3050 0 %
GMPVideoPlaneImpl.h 1405 0 %
moz.build 3650 -
mozIGeckoMediaPluginChromeService.idl Add a directory to scan for gecko media plugins. @note Main-thread API. 1781 -
mozIGeckoMediaPluginService.idl The GMP thread. Callable from any thread. 4575 -
PChromiumCDM.ipdl 4099 -
PGMP.ipdl This method is used to notify a child process to start processing module loading events in UntrustedModulesProcessor. This should be called when the parent process has gone idle. 3051 -
PGMPContent.ipdl 1005 -
PGMPService.ipdl 1166 -
PGMPStorage.ipdl 936 -
PGMPTimer.ipdl 620 -
PGMPVideoDecoder.ipdl 1488 -
PGMPVideoEncoder.ipdl 1686 -
README.txt This directory contains code supporting Gecko Media Plugins (GMPs). The GMP API is not the same thing as the Media Plugin API (MPAPI). 135 -
rlz 78 %
widevine-adapter 69 %