commit | cf6ae6c9abb299bbe2fef6323b16f9d8b2d2bd8b | [log] [tgz] |
---|---|---|
author | Atneya Nair <atneya@google.com> | Tue Aug 16 16:32:10 2022 -0700 |
committer | Atneya Nair <atneya@google.com> | Thu Aug 25 20:08:30 2022 -0700 |
tree | 3e16ee5279eeface35d3a06b41352e85a9a8ce50 | |
parent | a709cd724b7d48340764ef331965e39934ef2159 [diff] |
Add InPlaceFunction to mediautils This utility class is an almost drop-in replacement for std::function which never allocates, and always stores the functional object in an in-line buffer of parametrizable size. Test: atest inplace_function_tests Bug: 238654698 Change-Id: I48a7c16fad7673ccf03f8ae83036f2c96d76e994