Name Description Size Coverage
AgnosticDecoderModule.cpp diagnostic 5324 -
AgnosticDecoderModule.h AgnosticDecoderModule_h_ 1354 -
AOMDecoder.cpp 38063 -
AOMDecoder.h 10273 -
BlankDecoderModule.cpp 5619 -
BlankDecoderModule.h BlankDecoderModule_h_ 2003 -
bytestreams -
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 15794 -
DAV1DDecoder.h 2713 -
DummyMediaDataDecoder.cpp 2814 -
DummyMediaDataDecoder.h 1949 -
eme -
gmp -
NullDecoderModule.cpp 2296 -
VPXDecoder.cpp 22355 -
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) 7002 -