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

Commit f23b4735 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "media/codec2: clarify low latency mode for android" into rvc-dev am:...

Merge "media/codec2: clarify low latency mode for android" into rvc-dev am: 31979b7a am: 25408f4a am: 249d794e

Change-Id: Id200fb238c58cab7296c334116f68dc0934a2bd9
parents 768912d5 249d794e
Loading
Loading
Loading
Loading
+5 −4
Original line number Original line Diff line number Diff line
@@ -248,7 +248,7 @@ enum C2ParamIndexKind : C2Param::type_index_t {


    kParamIndexSurfaceAllocator, // u32
    kParamIndexSurfaceAllocator, // u32


    // low latency mode for decoders
    // low latency mode
    kParamIndexLowLatencyMode, // bool
    kParamIndexLowLatencyMode, // bool
};
};


@@ -812,9 +812,10 @@ typedef C2PipelineDelayTuning C2ActualPipelineDelayTuning; // deprecated
constexpr char C2_PARAMKEY_PIPELINE_DELAY[] = "algo.delay";
constexpr char C2_PARAMKEY_PIPELINE_DELAY[] = "algo.delay";


/**
/**
 * Enable/disable low latency decoding mode.
 * Enable/disable low latency mode.
 * If true, low latency decoding mode is enabled, and the decoder doesn't hold input and output
 * If true, low latency is preferred over low power. Disable power optimizations that
 * data more than required by the codec standards.
 * may result in increased latency. For decoders, this means that the decoder does not
 * hold input and output data more than required by the codec standards.
 */
 */
typedef C2GlobalParam<C2Tuning, C2EasyBoolValue, kParamIndexLowLatencyMode>
typedef C2GlobalParam<C2Tuning, C2EasyBoolValue, kParamIndexLowLatencyMode>
        C2GlobalLowLatencyModeTuning;
        C2GlobalLowLatencyModeTuning;