Skip to content

Commit

Permalink
libhb: Unify VCN quality tuning for all encoders.
Browse files Browse the repository at this point in the history
For the H.264 encoder (and now the H.265 encoder), sets P=I+2 and B=P+2.
Previously these were set to I=P and B=P+2. Adopts the offset taper as
added with the AV1 encoder, so P and B offset from I are reduced as I
approaches 0, ensuring max quality is achievable for all frame types.

Removes the extensive H.265 encoder tuning added in HandBrake 1.4.0
to work around major limitations in drivers and hardware available at
the time, e.g. RX 580. While still useful in some scenarios, it is no
longer strictly necessary to achieve reasonable quality.
  • Loading branch information
bradleysepos authored and galad87 committed Oct 7, 2023
1 parent ba6c1c1 commit 5344767
Showing 1 changed file with 32 additions and 386 deletions.
Loading

0 comments on commit 5344767

Please sign in to comment.