mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-17 15:47:53 +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} |
||
---|---|---|
.. | ||
decoded_frames_history.cc | ||
decoded_frames_history.h | ||
decoded_frames_history_unittest.cc | ||
frame_dropper.cc | ||
frame_dropper.h | ||
frame_dropper_unittest.cc | ||
framerate_controller.cc | ||
framerate_controller.h | ||
framerate_controller_unittest.cc | ||
ivf_file_reader.cc | ||
ivf_file_reader.h | ||
ivf_file_reader_unittest.cc | ||
ivf_file_writer.cc | ||
ivf_file_writer.h | ||
ivf_file_writer_unittest.cc | ||
qp_parser.cc | ||
qp_parser.h | ||
qp_parser_unittest.cc | ||
quality_scaler.cc | ||
quality_scaler.h | ||
quality_scaler_unittest.cc | ||
simulcast_rate_allocator.cc | ||
simulcast_rate_allocator.h | ||
simulcast_rate_allocator_unittest.cc | ||
simulcast_test_fixture_impl.cc | ||
simulcast_test_fixture_impl.h | ||
simulcast_utility.cc | ||
simulcast_utility.h | ||
vp8_header_parser.cc | ||
vp8_header_parser.h | ||
vp9_uncompressed_header_parser.cc | ||
vp9_uncompressed_header_parser.h | ||
vp9_uncompressed_header_parser_unittest.cc |