Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hw_base_enc: inject side data to crop output for AV1
Unlike H264/H265, AV1 contains no fields to crop encoded output to specific sizes. AMD's hardware cannot handle encoding of unaligned dimensions for AV1, hence it codes 1920x1080 as 1920x1088. Add side data to crop the output back to the original dimensions. There's an AV1-spec extension planned to fix this here: AOMediaCodec/av1-spec#346 But it seems to have stuck for now.
- Loading branch information