Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b7e7c659 authored by Wonsik Kim's avatar Wonsik Kim Committed by Automerger Merge Worker
Browse files

Merge "codec2: add API_SAME_INPUT_BUFFER" into rvc-dev am: 993ff884 am:...

Merge "codec2: add API_SAME_INPUT_BUFFER" into rvc-dev am: 993ff884 am: 8d8f279a am: 8530ce13 am: eeed8129

Change-Id: I2ea3ee397cf52a963b84d733f84c4f7cdf851e0c
parents b74e1e56 eeed8129
Loading
Loading
Loading
Loading
+6 −3
Original line number Original line Diff line number Diff line
@@ -278,16 +278,19 @@ typedef C2GlobalParam<C2Setting, C2SimpleValueStruct<C2Config::api_level_t>, kPa
        C2ApiLevelSetting;
        C2ApiLevelSetting;
constexpr char C2_PARAMKEY_API_LEVEL[] = "api.level";
constexpr char C2_PARAMKEY_API_LEVEL[] = "api.level";


enum C2Config::api_feature_t : uint64_t {
C2ENUM(C2Config::api_feature_t, uint64_t,
    API_REFLECTION       = (1U << 0),  ///< ability to list supported parameters
    API_REFLECTION       = (1U << 0),  ///< ability to list supported parameters
    API_VALUES           = (1U << 1),  ///< ability to list supported values for each parameter
    API_VALUES           = (1U << 1),  ///< ability to list supported values for each parameter
    API_CURRENT_VALUES   = (1U << 2),  ///< ability to list currently supported values for each parameter
    API_CURRENT_VALUES   = (1U << 2),  ///< ability to list currently supported values for each parameter
    API_DEPENDENCY       = (1U << 3),  ///< have a defined parameter dependency
    API_DEPENDENCY       = (1U << 3),  ///< have a defined parameter dependency


    API_SAME_INPUT_BUFFER = (1U << 16),   ///< supporting multiple input buffers
                                          ///< backed by the same allocation

    API_STREAMS          = (1ULL << 32),  ///< supporting variable number of streams
    API_STREAMS          = (1ULL << 32),  ///< supporting variable number of streams


    API_TUNNELING        = (1ULL << 48),  ///< tunneling API
    API_TUNNELING        = (1ULL << 48)   ///< tunneling API
};
)


// read-only
// read-only
typedef C2GlobalParam<C2Setting, C2SimpleValueStruct<C2Config::api_feature_t>, kParamIndexApiFeatures>
typedef C2GlobalParam<C2Setting, C2SimpleValueStruct<C2Config::api_feature_t>, kParamIndexApiFeatures>