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

Commit 4e7baf5c 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

Change-Id: I6f63cecd442fd54e708bbe477818f2aed9d8ee32
parents a3f79764 25408f4a
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;