commit | aa7f5c075b73953a6998144c3a8a048860752b69 | [log] [tgz] |
---|---|---|
author | Chong Zhang <chz@google.com> | Wed Sep 25 16:24:20 2019 -0700 |
committer | Chong Zhang <chz@google.com> | Wed Sep 25 16:37:09 2019 -0700 |
tree | 19dddfe86b30120c21293ee55b0638b56b8609b4 | |
parent | 3e0b02e336f3b5d59c5162e743d10d86be63c66b [diff] |
Fix dst rect calculation dst rect also need to be adjusted when the source frame has crop. Otherwise the converter will refuse to copy if src and dst size doesn't match. This happens when the decoding is done by some hw decoders where the frame size is large than actual size and a crop is used. test: MediaMetadataRetrieverTests;HeifWriterTest; various heic files with or without tiles. bug: 141418155 Change-Id: I2190f2a23ffb0785f14e4d5830987e898f2a36cb