Name Description Size Coverage
CDMStorageIdProvider.cpp static 2078 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. 1353 -
ChromiumCDMAdapter.cpp 10316 72 %
ChromiumCDMAdapter.h 2153 100 %
ChromiumCDMCallback.h 1950 100 %
ChromiumCDMCallbackProxy.cpp 6753 76 %
ChromiumCDMCallbackProxy.h 2059 100 %
ChromiumCDMChild.cpp 33662 77 %
ChromiumCDMChild.h 6744 14 %
ChromiumCDMCompat.h 5018 0 %
ChromiumCDMParent.cpp unused 52228 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. 9827 100 %
ChromiumCDMProxy.cpp unused 24277 69 %
ChromiumCDMProxy.h 4923 23 %
DecryptJob.cpp 1691 85 %
DecryptJob.h 926 100 %
gmp-api 67 %
GMPCallbackBase.h 778 100 %
GMPChild.cpp 26022 68 %
GMPChild.h 3526 100 %
GMPContentChild.cpp 4279 53 %
GMPContentChild.h This class allows the GMP process to receive requests to create GMP decoder/encoder objects on behalf of the parent/content processes. 2107 67 %
GMPContentParent.cpp 7415 87 %
GMPContentParent.h This class allows the parent/content processes to create GMP decoder/encoder objects in the GMP process. 3298 89 %
GMPCrashHelper.h 1203 100 %
GMPCrashHelperHolder.cpp 1009 100 %
GMPCrashHelperHolder.h 2793 -
GMPDiskStorage.cpp 15075 76 %
GMPLoader.cpp aKeySystem 5924 78 %
GMPLoader.h 2709 100 %
GMPLog.h 1119 -
GMPMemoryStorage.cpp 2554 0 %
GMPMessageUtils.h 8185 67 %
GMPNativeTypes.h 446 -
GMPParent.cpp 49742 66 %
GMPParent.h 8567 93 %
GMPPlatform.cpp 9200 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. 2061 -
GMPProcessChild.cpp static 1709 86 %
GMPProcessChild.h 1090 100 %
GMPProcessParent.cpp static 12020 91 %
GMPProcessParent.h 3769 33 %
GMPSanitizedExports.h 917 -
GMPService.cpp 17937 80 %
GMPService.h IsExclusive = 4376 33 %
GMPServiceChild.cpp 22151 74 %
GMPServiceChild.h IsExclusive = 6577 100 %
GMPServiceParent.cpp 67959 68 %
GMPServiceParent.h Test-only Method ** Trigger GMP-process test metric instrumentation. 10791 93 %
GMPSharedMemManager.cpp 2466 89 %
GMPSharedMemManager.h 1421 50 %
GMPStorage.h 1382 100 %
GMPStorageChild.cpp 6820 84 %
GMPStorageChild.h 2794 100 %
GMPStorageParent.cpp 5910 72 %
GMPStorageParent.h 1431 100 %
GMPTimerChild.cpp 1594 0 %
GMPTimerChild.h 1072 0 %
GMPTimerParent.cpp static 2558 0 %
GMPTimerParent.h 1492 0 %
GMPTypes.ipdlh 3143 -
GMPUtils.cpp 11181 70 %
GMPUtils.h 2517 100 %
GMPVideoDecoderChild.cpp 6890 46 %
GMPVideoDecoderChild.h 2617 67 %
GMPVideoDecoderParent.cpp 13725 47 %
GMPVideoDecoderParent.h 3965 71 %
GMPVideoDecoderProxy.h 2115 33 %
GMPVideoEncodedFrameImpl.cpp static 8696 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. 4893 100 %
GMPVideoEncoderChild.cpp 6821 71 %
GMPVideoEncoderChild.h 2976 67 %
GMPVideoEncoderParent.cpp 8646 67 %
GMPVideoEncoderParent.h 3414 100 %
GMPVideoEncoderProxy.h 2389 0 %
GMPVideoHost.cpp 2816 63 %
GMPVideoHost.h 2017 67 %
GMPVideoi420FrameImpl.cpp = HostReportPolicy::None 17417 69 %
GMPVideoi420FrameImpl.h 4643 100 %
GMPVideoPlaneImpl.cpp 3130 0 %
GMPVideoPlaneImpl.h 1485 0 %
moz.build 3739 -
mozIGeckoMediaPluginChromeService.idl Add a directory to scan for gecko media plugins. @note Main-thread API. 1861 -
mozIGeckoMediaPluginService.idl The GMP thread. Callable from any thread. 4655 -
PChromiumCDM.ipdl 3981 -
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. 3131 -
PGMPContent.ipdl 1085 -
PGMPService.ipdl 1246 -
PGMPStorage.ipdl 1016 -
PGMPTimer.ipdl 700 -
PGMPVideoDecoder.ipdl 1568 -
PGMPVideoEncoder.ipdl 1766 -
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 68 %