Name Description Size
AgnosticDecoderModule.cpp diagnostic 5474
AgnosticDecoderModule.h AgnosticDecoderModule_h_ 1295
AOMDecoder.cpp 36687
AOMDecoder.h 10171
BlankDecoderModule.cpp 5619
BlankDecoderModule.h BlankDecoderModule_h_ 1946
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 15262
DAV1DDecoder.h 2522
DummyMediaDataDecoder.cpp 2813
DummyMediaDataDecoder.h 1959
eme
gmp
NullDecoderModule.cpp 2241
VPXDecoder.cpp 21843
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