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

Commit c9e306d4 authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 6286840 from 763e86dc to rvc-release

Change-Id: I17dfd2d59a20741b6e427da1fff39a3fc925bec1
parents 0b39b8db 763e86dc
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;
+5 −0
Original line number Diff line number Diff line
@@ -47,6 +47,11 @@ cc_binary {
        "libbinder",
    ],
    required: ["android.hardware.media.c2@1.1-default-seccomp_policy"],

    // The content in manifest_media_c2_V1_1_default.xml can be included
    // directly in the main device manifest.xml file or via vintf_fragments.
    // (Remove the line below if the entry is already in the main manifest.)
    vintf_fragments: ["manifest_media_c2_V1_1_default.xml"],
}

// seccomp policy file.
+11 −0
Original line number Diff line number Diff line
<manifest version="1.0" type="device">
    <hal>
        <name>android.hardware.media.c2</name>
        <transport>hwbinder</transport>
        <version>1.0</version>
        <interface>
            <name>IComponentStore</name>
            <instance>default</instance>
        </interface>
    </hal>
</manifest>
+11 −0
Original line number Diff line number Diff line
<manifest version="1.0" type="device">
    <hal>
        <name>android.hardware.media.c2</name>
        <transport>hwbinder</transport>
        <version>1.1</version>
        <interface>
            <name>IComponentStore</name>
            <instance>default</instance>
        </interface>
    </hal>
</manifest>
+8 −0
Original line number Diff line number Diff line
@@ -48,6 +48,14 @@ timer_delete: 1
# for dynamically loading extractors
pread64: 1

# mremap: Ensure |flags| are (MREMAP_MAYMOVE | MREMAP_FIXED) TODO: Once minijail
# parser support for '<' is in this needs to be modified to also prevent
# |old_address| and |new_address| from touching the exception vector page, which
# on ARM is statically loaded at 0xffff 0000. See
# http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0211h/Babfeega.html
# for more details.
mremap: arg3 == 3 || arg3 == MREMAP_MAYMOVE

# for FileSource
readlinkat: 1
_llseek: 1