History log of /hardware/google/av/codec2/include/C2Param.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
cbc5aca77cf1fd417399174b0ffb2c9b2300b67a 25-May-2018 Lajos Molnar <lajos@google.com> c2: fix C2SupportedValueSet::contains

This used C2Value::Primitive as a union that strangely compiled.

Bug: 80085975
Change-Id: I3c9d9f14ac7c7690a28adbb02a82dc384d2e855e
/hardware/google/av/codec2/include/C2Param.h
a45aa74234a74b13cde64665061ac24d949aaf85 22-May-2018 Lajos Molnar <lajos@google.com> c2: add methods to change the scope of parameters

Bug: 79493409
Change-Id: Ida4b944ca6eef8017008b1d701c47405a057067b
/hardware/google/av/codec2/include/C2Param.h
06de83a8df2346b4bbbb04621e40c1360939f393 15-May-2018 Lajos Molnar <lajos@google.com> c2: add some generic methods to C2Value

This allows handling C2Values in a more generic fashion.
Also fix capitalization for TypeFor()

Bug: 79493409
Change-Id: Ia0a3ccb45e761191374ca58a1c1cab268d12a6a9
/hardware/google/av/codec2/include/C2Param.h
5c63cfdb1fc7fba0bddc0a15bb9c205b3ee3c878 08-May-2018 Lajos Molnar <lajos@google.com> c2: make __GENERATE_GLOBAL__ macro usage dynamic

Allow to generate globals for only portion of the code.

Also make C2EasyEnum conversion inline.

Bug: 79493409
Change-Id: I1fc59e3f22c72c966c764e2dab7380de95747fe2
/hardware/google/av/codec2/include/C2Param.h
493e8165262315157bea75dcea642b30c916a2a7 16-Apr-2018 Lajos Molnar <lajos@google.com> Codec 2.0: query ion mask and flags from component store

This is in lieu of a passthrough HAL or an ion allocator HAL.

Bug: 64121714
Test: screenrecord, stagefright, unit tests
Change-Id: I17b15c760388b31d508043b02e0543299e94940e
/hardware/google/av/codec2/include/C2Param.h
8463da971a53a7171795a020a92723e7ea7702fe 03-May-2018 Lajos Molnar <lajos@google.com> c2: add C2EasyEnum and fix custom enum value macro

C2EasyEnum<enum_type> can be assigned from its underlying type,
which makes switching underlying_types to enum types seamless
for existing code.

Remove unused values from DEFINE_C2_ENUM_VALUE_CUSTOM_HELPER.

Bug: 64121714
Change-Id: Ie0030b5bf8cb63ffcf85904a8cd6853bd852bbb6
/hardware/google/av/codec2/include/C2Param.h
0fbc87b5967275e0d747c7e2c740e4c1b7c916e7 03-May-2018 Lajos Molnar <lajos@google.com> c2: allow C2Value::Primitive to be used for enum and 8-bit types

Assigning is allowed from 8-bit and enum types, but reading the
value is still by standard types for safety.

Bug: 64121714
Change-Id: I455d7e5d3e756e392bccbb6023f43daf80a89863
/hardware/google/av/codec2/include/C2Param.h
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/include/C2Param.h
63884071081694791fb0074ad6a4b1faf3455297 06-Apr-2018 Lajos Molnar <lajos@google.com> Codec 2.0: add some helpers and fix C2ReflectorHelper

- allow getting the end offset of structures
- allow constructing an offseted copy of a field descriptor

Bug: 64121714
Test: unit test
Change-Id: I1c070f6bea2dd10b6753a18d5c343cacac3672f7
/hardware/google/av/codec2/include/C2Param.h
5528a2a16628fec50ebb1f42b5fecf4589aa5233 06-Apr-2018 Lajos Molnar <lajos@google.com> Codec 2.0: don't use named values for structures

Bug: 64121714
Test: unit test
Change-Id: Ib435e7be0ab81c0032d16a0974b004ccd6865e69
/hardware/google/av/codec2/include/C2Param.h
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/include/C2Param.h
fa9e1e20ac4fc80e36547aabd56007d78d629a5e 03-Apr-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge changes from topic "c2field2" into pi-dev

* changes:
Implement CCodec::setParameters()
codec2: rework FIELD_LIST initialization
e1769037aea395c60e88cb882f2fd14d88036d24 31-Mar-2018 Lajos Molnar <lajos@google.com> codec2: implement getParamReflector for hidl

Bug: 64121714
Test: modified screenrecord
Change-Id: I30f9378b92af1d29b412411a962b52a0ed643520
/hardware/google/av/codec2/include/C2Param.h
1cbff72e1f2998f175fe23b79737e4cdb8ddd33a 02-Apr-2018 Lajos Molnar <lajos@google.com> codec2: rework FIELD_LIST initialization

Don't rely on static FIELD_LIST members as their initialization is not
guaranteed across translation units. Instead, use static methods.

Still use static (but private) _FIELD_LIST members for structure
definitions to keep DECLARE_AND_DEFINE_C2_STRUCT macros inside
struct declarations workable - as these must end in a single bracket.

Use std::vector instead of std::initializer_list as the scope is
not clearly defined by the standard (and we cannot return them from
methods).

Remove deprecated and 'probably not working' code related to field
initialization.

Bug: 64121714
Test: build and unit test
Change-Id: I3aa8a7d7bf3fa7293ddaf60ee7b28b04f1bb7e6c
/hardware/google/av/codec2/include/C2Param.h
8c32b5d63c94eeb9ebe1e053a32ad8b6989f5c4d 31-Mar-2018 Lajos Molnar <lajos@google.com> codec2: remove const from C2FieldDescriptor and C2StructDescriptor vectors

Also fix C2FieldDescriptor containing C2StringLiteral

Bug: 64121714
Test: builds
Change-Id: I011e86f105a623b6be6d2cb9147aadec0fd88cb9
/hardware/google/av/codec2/include/C2Param.h
08aa7f79d0b194faf05864645b1f81ad6964267b 29-Mar-2018 Lajos Molnar <lajos@google.com> codec2: add C2InterfaceUtils and basic debug foundation (retry)

One difficult aspect is that C2Param_test must compile without any codec2
utility library, but it tests code that is now in the C2ParamUtils.cpp.
C2ParamUtils.cpp only uses logging, so broke out debug-log only header that
does not introduce further dependencies, and include C2ParamUtils.cpp in
the test.

Bug: 64121714
Test: data/nativetest/codec2_param_test/codec2_param_test, data/nativetest/codec2_test/codec2_test
Change-Id: If258893b674a6c958ff838d01d5b236a41c6eaef
/hardware/google/av/codec2/include/C2Param.h
65eadab38c14bba0603578b0e4f7a5b5f0c81158 30-Mar-2018 Lajos Molnar <lajos@google.com> Revert "codec2: add C2InterfaceUtils and basic debug foundation"

This reverts commit 96d887ddc3ab9b8270652c610d3f5dd2adbfc623.

Reason for revert: build break

Change-Id: I101cc1a64cca8a8bd12afcd3122466f3fffde1d1
/hardware/google/av/codec2/include/C2Param.h
96d887ddc3ab9b8270652c610d3f5dd2adbfc623 29-Mar-2018 Lajos Molnar <lajos@google.com> codec2: add C2InterfaceUtils and basic debug foundation

Bug: 64121714
Change-Id: Ic67f6eeebf99bfa103724c5adbab3e18c4af6c35
/hardware/google/av/codec2/include/C2Param.h
4344f091aebaf3aee3ff062a95a05273bd2b1c57 22-Mar-2018 Wonsik Kim <wonsik@google.com> Move codec2 out of frameworks/av

Bug: 74403547
Test: builds
Change-Id: I4d4e9beb700082f41c88166d31032c823352cf27
/hardware/google/av/codec2/include/C2Param.h