Name Description Size Coverage
AgnosticDecoderModule.cpp diagnostic 4005 70 %
AgnosticDecoderModule.h AgnosticDecoderModule_h_ 1097 67 %
AOMDecoder.cpp 42263 67 %
AOMDecoder.h 10273 89 %
BlankDecoderModule.cpp 5439 73 %
BlankDecoderModule.h BlankDecoderModule_h_ 1751 75 %
bytestreams 82 %
DAV1DDecoder.cpp Based on the result we print out from the dav1decoder [1], the following information shows the number of tiles for AV1 videos served on Youtube. Each Tile can be decoded in parallel, so we would like to make sure we at least use enough threads to match the number of tiles. ---------------------------- | resolution row col total | | 480p 2 1 2 | | 720p 2 2 4 | | 1080p 4 2 8 | | 1440p 4 2 8 | | 2160p 8 4 32 | ---------------------------- Besides the tile thread count, the frame thread count also needs to be considered. As we didn't find anything about what the best number is for the count of frame thread, just simply use 2 for parallel jobs, which is similar with Chromium's implementation. They uses 3 frame threads for 720p+ but less tile threads, so we will still use more total threads. In addition, their data is measured on 2019, our data should be closer to the current real world situation. [1] https://searchfox.org/mozilla-central/rev/2f5ed7b7244172d46f538051250b14fb4d8f1a5f/third_party/dav1d/src/decode.c#2940 15684 3 %
DAV1DDecoder.h 2591 0 %
DummyMediaDataDecoder.cpp 2692 97 %
DummyMediaDataDecoder.h 1827 75 %
eme 46 %
gmp 3 %
NullDecoderModule.cpp 2139 89 %
VPXDecoder.cpp 22509 76 %
VPXDecoder.h 0 CS_UNKNOWN Unknown (in this case the color space must be signaled outside the VP9 bitstream). 1 CS_BT_601 Rec. ITU-R BT.601-7 2 CS_BT_709 Rec. ITU-R BT.709-6 3 CS_SMPTE_170 SMPTE-170 4 CS_SMPTE_240 SMPTE-240 5 CS_BT_2020 Rec. ITU-R BT.2020-2 6 CS_RESERVED Reserved 7 CS_RGB sRGB (IEC 61966-2-1) 6880 83 %