mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 05:40:42 +01:00
![]() kDefaultQpMax=56 was defined in multiple places. Move it to media_constants and split it into two: VPx/AV1 and H26x values. H26x value is set to 51 which is the max bitstream QP value for H264/5. This CL is expected to be a no-op because: 1. VideoCodec::qpMax value has not changed for VP8/9 and AV1. 2. VideoCodec::qpMax is currently not used by OpenH264 wrapper (wiring it up is out-of-scope of this CL). 3. Previous default qpMax=56 exceeded the max value for H26x (=51). External HW H26x encoders likely clamped it and used 51. Bug: webrtc:14852 Change-Id: I1d795e695dac5c78e86ed829b24281e61066f668 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/324282 Reviewed-by: Erik Språng <sprang@webrtc.org> Commit-Queue: Sergey Silkin <ssilkin@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/main@{#40997} |
||
---|---|---|
.. | ||
encoded_image_file_writer.cc | ||
encoded_image_file_writer.h | ||
video_encoder.cc |