commit | ea0eb37207cf6fffb3ee7926e8b8cff7ec38c0fd | [log] [tgz] |
---|---|---|
author | Harish Mahendrakar <harish.mahendrakar@ittiam.com> | Thu Nov 21 10:33:05 2019 -0800 |
committer | Harish Mahendrakar <harish.mahendrakar@ittiam.com> | Thu Nov 21 19:36:29 2019 +0000 |
tree | c8edcb33bb25edd4303ebc7e3f29896d765dbf4f | |
parent | 71a763b4753628b916c4d3ece5b2da8e898dc03f [diff] |
C2SoftAvcEnc: Allocate output buffer as per clip's dimensions Instead of allocating a fixed size output buffer, allocate it as per width and height of the input being encoded. To ensure for very low resolutions, this size doesn't become too small, use a minimum size of 512K Bytes. Bug: 144928581 Test: h264 related tests in android.media.cts.VideoEncoderTest Change-Id: I01c1aa03456043824354005f1708f07b3268d97e