Loading media/codec2/components/avc/C2SoftAvcDec.cpp +5 −1 Original line number Diff line number Diff line Loading @@ -34,7 +34,11 @@ namespace { constexpr char COMPONENT_NAME[] = "c2.android.avc.decoder"; constexpr uint32_t kDefaultOutputDelay = 8; constexpr uint32_t kMaxOutputDelay = 16; /* avc specification allows for a maximum delay of 16 frames. As soft avc decoder supports interlaced, this delay would be 32 fields. And avc decoder implementation has an additional delay of 2 decode calls. So total maximum output delay is 34 */ constexpr uint32_t kMaxOutputDelay = 34; constexpr uint32_t kMinInputBytes = 4; } // namespace Loading Loading
media/codec2/components/avc/C2SoftAvcDec.cpp +5 −1 Original line number Diff line number Diff line Loading @@ -34,7 +34,11 @@ namespace { constexpr char COMPONENT_NAME[] = "c2.android.avc.decoder"; constexpr uint32_t kDefaultOutputDelay = 8; constexpr uint32_t kMaxOutputDelay = 16; /* avc specification allows for a maximum delay of 16 frames. As soft avc decoder supports interlaced, this delay would be 32 fields. And avc decoder implementation has an additional delay of 2 decode calls. So total maximum output delay is 34 */ constexpr uint32_t kMaxOutputDelay = 34; constexpr uint32_t kMinInputBytes = 4; } // namespace Loading