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

Commit 45a59bce 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 am: f23b4735

Change-Id: I7b5c4041e903a2e6015717ba0c5f35a1a0514e1b
parents 7a78fcc7 f23b4735
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -248,7 +248,7 @@ enum C2ParamIndexKind : C2Param::type_index_t {

    kParamIndexSurfaceAllocator, // u32

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

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

/**
 * Enable/disable low latency decoding mode.
 * If true, low latency decoding mode is enabled, and the decoder doesn't hold input and output
 * data more than required by the codec standards.
 * Enable/disable low latency mode.
 * If true, low latency is preferred over low power. Disable power optimizations that
 * 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>
        C2GlobalLowLatencyModeTuning;