History log of /hardware/google/av/codec2/vndk/util/C2InterfaceHelper.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4f6b9cc507dffa5667a644abcdd75ce0a124442c 16-May-2018 Lajos Molnar <lajos@google.com> c2: avoid unsigned overflow in field offsets

Invalid field is using UINT64_MAX, but at times C2Param size is
added to it, which causes an overflow. Handle invalid field
offset before adding C2Param size.

Bug: 79493409
Change-Id: I19b7e7827283ca28b1ae8b233acea7e155f55a41
/hardware/google/av/codec2/vndk/util/C2InterfaceHelper.cpp
51ea56a991d6371e35c8d0bb5001e721cc63f8ee 01-May-2018 Lajos Molnar <lajos@google.com> c2: rework C2Config.h header dependency

- move enum macros from C2Config.h to C2Enum.h
- move enum helpers from C2ParamUtils.h to C2Enum.h
- move _C2MacroUtils into the main Codec 2.0 headers
- move C2UtilsTest into main Codec 2.0 tests
- remove C2Config.h from C2Work.h
- remove _C2Tuple from C2ParamUtils.h

Bug: 64121714
Change-Id: Ida8e06ff31ababbcfed63dd86cb5d141e5ba4f02
/hardware/google/av/codec2/vndk/util/C2InterfaceHelper.cpp
567d452560fc8a36f08ee9d259904d8067b70fca 16-Apr-2018 Lajos Molnar <lajos@google.com> C2InterfaceHelper: pass resulting param settings back in config

Bug: 64121714
Change-Id: I9896846d2aacb4dc53d7522e8c73d91246584166
/hardware/google/av/codec2/vndk/util/C2InterfaceHelper.cpp
9556908781ead9a85000091e97d8df76a060a3a3 06-Apr-2018 Lajos Molnar <lajos@google.com> Codec 2.0: initial drop of C2FieldUtils

- implement C2FieldUtils::enumerateField() and locateField()
- use field enumerators add fields automatically to constValue params
- add param validation to C2InterfaceHelper (e.g. to verify it has
fields and a setter)
- rename ParamHelper::Build to DefineParam
- minor code cleanup

Bug: 64121714
Test: unit tests
Change-Id: I5774b3052107f849e40f263c18ed4a3c5fea024f
/hardware/google/av/codec2/vndk/util/C2InterfaceHelper.cpp
a0e1ab0c7ad9ce3334b16ca818eecf3a0b03928c 04-Apr-2018 Lajos Molnar <lajos@google.com> Codec2: fix tabs in copyright message

These were inadvertantly introduced

Bug: 64121714
Test: Builds
Change-Id: I4773243703e5697e68dff620eaf96ec258e5c85a
/hardware/google/av/codec2/vndk/util/C2InterfaceHelper.cpp
731ddf6772e099ce0eef38d6113714a08bb60301 30-Mar-2018 Lajos Molnar <lajos@google.com> codec2: initial drop of C2InterfaceHelper

C2InterfaceHelper allows implementing Codec 2.0 interfaces
in a uniform and structured way while providing query and reflection
capabilities, and ensuring proper dependency handling.

Bug: 64121714
Test: data/nativetests/codec2_test/codec2_test, c2iface test util
Change-Id: I1db4911fadc8fd6946595a57b8e349a2c5faafc9
/hardware/google/av/codec2/vndk/util/C2InterfaceHelper.cpp