mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-15 14:50:39 +01:00
![]() iNumRefFrame specifies total number of reference buffers to allocate. For N temporal layers we need at least (N - 1) buffers to store last encoded frames of all reference temporal layers. There is no API in OpenH254 encoder to specify exact set of references to be used to prediction of a given frame. Encoder can theoretically use all available references. Note that there is logic in OpenH264 which overrides iNumRefFrame to max(iNumRefFrame, N - 1): https://source.chromium.org/chromium/chromium/src/+/main:third_party/openh264/src/codec/encoder/core/src/au_set.cpp;drc=8e90a2775c5b9448324fe8fef11d177cb65f36cc;l=122. I.e., this change has no real effect. It only makes setup more clear. Bug: none Change-Id: If4b4970007e1cc55d8f052ea05213ab2e89a878f Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/225480 Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Reviewed-by: Erik Språng <sprang@webrtc.org> Commit-Queue: Sergey Silkin <ssilkin@webrtc.org> Cr-Commit-Position: refs/heads/master@{#34445} |
||
---|---|---|
.. | ||
batch | ||
android_codec_factory_helper.cc | ||
android_codec_factory_helper.h | ||
encoded_video_frame_producer.cc | ||
encoded_video_frame_producer.h | ||
objc_codec_factory_helper.h | ||
objc_codec_factory_helper.mm | ||
plot_webrtc_test_logs.py | ||
video_codec_unittest.cc | ||
video_codec_unittest.h | ||
video_encoder_decoder_instantiation_tests.cc | ||
videocodec_test_fixture_config_unittest.cc | ||
videocodec_test_fixture_impl.cc | ||
videocodec_test_fixture_impl.h | ||
videocodec_test_libaom.cc | ||
videocodec_test_libvpx.cc | ||
videocodec_test_mediacodec.cc | ||
videocodec_test_openh264.cc | ||
videocodec_test_stats_impl.cc | ||
videocodec_test_stats_impl.h | ||
videocodec_test_stats_impl_unittest.cc | ||
videocodec_test_videotoolbox.cc | ||
videoprocessor.cc | ||
videoprocessor.h | ||
videoprocessor_unittest.cc |