commit | c2607559689f358b014808a493fd6d0b431368a5 | [log] [tgz] |
---|---|---|
author | Patryk Busse <pbusse@google.com> | Mon Sep 05 11:33:07 2022 +0000 |
committer | Patryk Busse <pbusse@google.com> | Tue Sep 13 08:33:22 2022 +0000 |
tree | a254a5ff7e2b524059f24c10f798a0678adcf8e8 | |
parent | f03a0a2738744303011e77bab326d38861fa09d6 [diff] |
Correct crop size for software encoders When using surface crop size may be set to incorrect value and cause errors when copying buffers. To prevent that, encoders will set crop size to expected image size. Bug: b/232396154 Test: android.mediav2.cts.CodecEncoderSurfaceTest android.mediav2.cts.CodecEncoderTest Change-Id: Iafa4f9f1a49760c2b5345b8768b476a2fd7510f6