android.hardware.media.c2: Move to staging/
Bug: 254050314 Test: m Change-Id: I4bc2c0b59453240f0638ccaa2f911ec8423e930d
This commit is contained in:
parent
dc45fc1865
commit
a8c9aa3173
59 changed files with 5 additions and 1288 deletions
|
@ -373,15 +373,6 @@
|
|||
<regex-instance>vendor[0-9]*_software</regex-instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="aidl" optional="true">
|
||||
<name>android.hardware.media.c2</name>
|
||||
<version>1</version>
|
||||
<interface>
|
||||
<name>IComponentStore</name>
|
||||
<regex-instance>default[0-9]*</regex-instance>
|
||||
<regex-instance>vendor[0-9]*_software</regex-instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="aidl" optional="true">
|
||||
<name>android.hardware.memtrack</name>
|
||||
<version>1</version>
|
||||
|
|
|
@ -102,6 +102,10 @@ bool ShouldCheckMissingHalsInFcm(const std::string& package) {
|
|||
"android.hardware.thermal@1.0",
|
||||
"android.hardware.thermal@1.1",
|
||||
"android.hardware.wifi.offload@1.0",
|
||||
|
||||
// Under hardware/interfaces/staging, still in development
|
||||
// AIDL
|
||||
"android.hardware.media.c2",
|
||||
};
|
||||
|
||||
auto package_has_prefix = [&](const std::string& prefix) {
|
||||
|
|
|
@ -1,39 +0,0 @@
|
|||
/*
|
||||
* Copyright (C) 2022 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.media.c2;
|
||||
@VintfStability
|
||||
union BaseBlock {
|
||||
android.hardware.common.NativeHandle nativeBlock;
|
||||
android.hardware.media.bufferpool2.BufferStatusMessage pooledBlock;
|
||||
}
|
|
@ -1,40 +0,0 @@
|
|||
/*
|
||||
* Copyright (C) 2022 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.media.c2;
|
||||
@VintfStability
|
||||
parcelable Block {
|
||||
int index;
|
||||
android.hardware.media.c2.Params meta;
|
||||
android.hardware.common.NativeHandle fence;
|
||||
}
|
|
@ -1,39 +0,0 @@
|
|||
/*
|
||||
* Copyright (C) 2022 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.media.c2;
|
||||
@VintfStability
|
||||
parcelable Buffer {
|
||||
android.hardware.media.c2.Params info;
|
||||
android.hardware.media.c2.Block[] blocks;
|
||||
}
|
|
@ -1,62 +0,0 @@
|
|||
/*
|
||||
* Copyright (C) 2022 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.media.c2;
|
||||
@VintfStability
|
||||
parcelable FieldDescriptor {
|
||||
android.hardware.media.c2.FieldId fieldId;
|
||||
android.hardware.media.c2.FieldDescriptor.Type type;
|
||||
int structIndex;
|
||||
int extent;
|
||||
String name;
|
||||
android.hardware.media.c2.FieldDescriptor.NamedValue[] namedValues;
|
||||
@Backing(type="int") @VintfStability
|
||||
enum Type {
|
||||
NO_INIT = 0,
|
||||
INT32 = 1,
|
||||
UINT32 = 2,
|
||||
CNTR32 = 3,
|
||||
INT64 = 4,
|
||||
UINT64 = 5,
|
||||
CNTR64 = 6,
|
||||
FLOAT = 7,
|
||||
STRING = 256,
|
||||
BLOB = 257,
|
||||
STRUCT = 131072,
|
||||
}
|
||||
@VintfStability
|
||||
parcelable NamedValue {
|
||||
String name;
|
||||
long value;
|
||||
}
|
||||
}
|
|
@ -1,39 +0,0 @@
|
|||
/*
|
||||
* Copyright (C) 2022 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.media.c2;
|
||||
@VintfStability
|
||||
parcelable FieldId {
|
||||
int offset;
|
||||
int sizeBytes;
|
||||
}
|
|
@ -1,41 +0,0 @@
|
|||
/*
|
||||
* Copyright (C) 2022 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.media.c2;
|
||||
@VintfStability
|
||||
union FieldSupportedValues {
|
||||
boolean empty;
|
||||
android.hardware.media.c2.ValueRange range;
|
||||
long[] values;
|
||||
long[] flags;
|
||||
}
|
|
@ -1,44 +0,0 @@
|
|||
/*
|
||||
* Copyright (C) 2022 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.media.c2;
|
||||
@VintfStability
|
||||
parcelable FieldSupportedValuesQuery {
|
||||
android.hardware.media.c2.ParamField field;
|
||||
android.hardware.media.c2.FieldSupportedValuesQuery.Type type;
|
||||
@Backing(type="int") @VintfStability
|
||||
enum Type {
|
||||
POSSIBLE = 0,
|
||||
CURRENT = 1,
|
||||
}
|
||||
}
|
|
@ -1,39 +0,0 @@
|
|||
/*
|
||||
* Copyright (C) 2022 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.media.c2;
|
||||
@VintfStability
|
||||
parcelable FieldSupportedValuesQueryResult {
|
||||
android.hardware.media.c2.Status status;
|
||||
android.hardware.media.c2.FieldSupportedValues values;
|
||||
}
|
|
@ -1,47 +0,0 @@
|
|||
/*
|
||||
* Copyright (C) 2022 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.media.c2;
|
||||
@VintfStability
|
||||
parcelable FrameData {
|
||||
int flags;
|
||||
android.hardware.media.c2.WorkOrdinal ordinal;
|
||||
android.hardware.media.c2.Buffer[] buffers;
|
||||
android.hardware.media.c2.Params configUpdate;
|
||||
android.hardware.media.c2.InfoBuffer[] infoBuffers;
|
||||
const int DROP_FRAME = 1;
|
||||
const int END_OF_STREAM = 2;
|
||||
const int DISCARD_FRAME = 4;
|
||||
const int FLAG_INCOMPLETE = 8;
|
||||
const int CODEC_CONFIG = -2147483648;
|
||||
}
|
|
@ -1,53 +0,0 @@
|
|||
/*
|
||||
* Copyright (C) 2022 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.media.c2;
|
||||
@VintfStability
|
||||
interface IComponent {
|
||||
android.hardware.common.NativeHandle configureVideoTunnel(in int avSyncHwId);
|
||||
android.hardware.media.c2.IComponent.BlockPool createBlockPool(in int allocatorId);
|
||||
void destroyBlockPool(in long blockPoolId);
|
||||
void drain(in boolean withEos);
|
||||
android.hardware.media.c2.WorkBundle flush();
|
||||
android.hardware.media.c2.IComponentInterface getInterface();
|
||||
void queue(in android.hardware.media.c2.WorkBundle workBundle);
|
||||
void release();
|
||||
void reset();
|
||||
void setOutputSurface(in long blockPoolId, in android.view.Surface surface, in android.hardware.media.c2.SurfaceSyncObj syncObject);
|
||||
void start();
|
||||
void stop();
|
||||
parcelable BlockPool {
|
||||
long blockPoolId;
|
||||
android.hardware.media.c2.IConfigurable configurable;
|
||||
}
|
||||
}
|
|
@ -1,38 +0,0 @@
|
|||
/*
|
||||
* Copyright (C) 2022 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.media.c2;
|
||||
@VintfStability
|
||||
interface IComponentInterface {
|
||||
android.hardware.media.c2.IConfigurable getConfigurable();
|
||||
}
|
|
@ -1,53 +0,0 @@
|
|||
/*
|
||||
* Copyright (C) 2022 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.media.c2;
|
||||
@VintfStability
|
||||
interface IComponentListener {
|
||||
oneway void onError(in android.hardware.media.c2.Status status, in int errorCode);
|
||||
oneway void onFramesRendered(in android.hardware.media.c2.IComponentListener.RenderedFrame[] renderedFrames);
|
||||
oneway void onInputBuffersReleased(in android.hardware.media.c2.IComponentListener.InputBuffer[] inputBuffers);
|
||||
oneway void onTripped(in android.hardware.media.c2.SettingResult[] settingResults);
|
||||
oneway void onWorkDone(in android.hardware.media.c2.WorkBundle workBundle);
|
||||
@VintfStability
|
||||
parcelable InputBuffer {
|
||||
long frameIndex;
|
||||
int arrayIndex;
|
||||
}
|
||||
@VintfStability
|
||||
parcelable RenderedFrame {
|
||||
long bufferQueueId;
|
||||
int slotId;
|
||||
long timestampNs;
|
||||
}
|
||||
}
|
|
@ -1,66 +0,0 @@
|
|||
/*
|
||||
* Copyright (C) 2022 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.media.c2;
|
||||
@VintfStability
|
||||
interface IComponentStore {
|
||||
void copyBuffer(in android.hardware.media.c2.Buffer src, in android.hardware.media.c2.Buffer dst);
|
||||
android.hardware.media.c2.IComponent createComponent(in String name, in android.hardware.media.c2.IComponentListener listener, in android.hardware.media.bufferpool2.IClientManager pool);
|
||||
android.hardware.media.c2.IComponentInterface createInterface(in String name);
|
||||
android.hardware.media.c2.IConfigurable getConfigurable();
|
||||
android.hardware.media.bufferpool2.IClientManager getPoolClientManager();
|
||||
android.hardware.media.c2.StructDescriptor[] getStructDescriptors(in int[] indices);
|
||||
android.hardware.media.c2.IComponentStore.ComponentTraits[] listComponents();
|
||||
@VintfStability
|
||||
parcelable ComponentTraits {
|
||||
String name;
|
||||
android.hardware.media.c2.IComponentStore.ComponentTraits.Domain domain;
|
||||
android.hardware.media.c2.IComponentStore.ComponentTraits.Kind kind;
|
||||
int rank;
|
||||
String mediaType;
|
||||
String[] aliases;
|
||||
@Backing(type="int") @VintfStability
|
||||
enum Kind {
|
||||
OTHER = 0,
|
||||
DECODER = 1,
|
||||
ENCODER = 2,
|
||||
}
|
||||
@Backing(type="int") @VintfStability
|
||||
enum Domain {
|
||||
OTHER = 0,
|
||||
VIDEO = 1,
|
||||
AUDIO = 2,
|
||||
IMAGE = 3,
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,48 +0,0 @@
|
|||
/*
|
||||
* Copyright (C) 2022 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.media.c2;
|
||||
@VintfStability
|
||||
interface IConfigurable {
|
||||
android.hardware.media.c2.IConfigurable.ConfigResult config(in android.hardware.media.c2.Params inParams, in boolean mayBlock);
|
||||
int getId();
|
||||
String getName();
|
||||
android.hardware.media.c2.Params query(in int[] indices, in boolean mayBlock);
|
||||
android.hardware.media.c2.ParamDescriptor[] querySupportedParams(in int start, in int count);
|
||||
android.hardware.media.c2.FieldSupportedValuesQueryResult[] querySupportedValues(in android.hardware.media.c2.FieldSupportedValuesQuery[] inFields, in boolean mayBlock);
|
||||
@VintfStability
|
||||
parcelable ConfigResult {
|
||||
android.hardware.media.c2.Params params;
|
||||
android.hardware.media.c2.SettingResult[] failures;
|
||||
}
|
||||
}
|
|
@ -1,39 +0,0 @@
|
|||
/*
|
||||
* Copyright (C) 2022 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.media.c2;
|
||||
@VintfStability
|
||||
parcelable InfoBuffer {
|
||||
int index;
|
||||
android.hardware.media.c2.Buffer buffer;
|
||||
}
|
|
@ -1,48 +0,0 @@
|
|||
/*
|
||||
* Copyright (C) 2022 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.media.c2;
|
||||
@VintfStability
|
||||
parcelable ParamDescriptor {
|
||||
int index;
|
||||
int attrib;
|
||||
String name;
|
||||
int[] dependencies;
|
||||
const int ATTRIBUTE_REQUIRED = 1;
|
||||
const int ATTRIBUTE_PERSISTENT = 2;
|
||||
const int ATTRIBUTE_STRICT = 4;
|
||||
const int ATTRIBUTE_READ_ONLY = 8;
|
||||
const int ATTRIBUTE_HIDDEN = 16;
|
||||
const int ATTRIBUTE_INTERNAL = 32;
|
||||
const int ATTRIBUTE_CONST = 64;
|
||||
}
|
|
@ -1,39 +0,0 @@
|
|||
/*
|
||||
* Copyright (C) 2022 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.media.c2;
|
||||
@VintfStability
|
||||
parcelable ParamField {
|
||||
int index;
|
||||
android.hardware.media.c2.FieldId fieldId;
|
||||
}
|
|
@ -1,39 +0,0 @@
|
|||
/*
|
||||
* Copyright (C) 2022 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.media.c2;
|
||||
@VintfStability
|
||||
parcelable ParamFieldValues {
|
||||
android.hardware.media.c2.ParamField paramOrField;
|
||||
android.hardware.media.c2.FieldSupportedValues[] values;
|
||||
}
|
|
@ -1,38 +0,0 @@
|
|||
/*
|
||||
* Copyright (C) 2022 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.media.c2;
|
||||
@VintfStability
|
||||
parcelable Params {
|
||||
byte[] params;
|
||||
}
|
|
@ -1,53 +0,0 @@
|
|||
/*
|
||||
* Copyright (C) 2022 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.media.c2;
|
||||
@VintfStability
|
||||
parcelable SettingResult {
|
||||
android.hardware.media.c2.SettingResult.Failure failure;
|
||||
android.hardware.media.c2.ParamFieldValues field;
|
||||
android.hardware.media.c2.ParamFieldValues[] conflicts;
|
||||
@Backing(type="int") @VintfStability
|
||||
enum Failure {
|
||||
BAD_TYPE = 0,
|
||||
BAD_PORT = 1,
|
||||
BAD_INDEX = 2,
|
||||
READ_ONLY = 3,
|
||||
MISMATCH = 4,
|
||||
BAD_VALUE = 5,
|
||||
CONFLICT = 6,
|
||||
UNSUPPORTED = 7,
|
||||
INFO_BAD_VALUE = 8,
|
||||
INFO_CONFLICT = 9,
|
||||
}
|
||||
}
|
|
@ -1,52 +0,0 @@
|
|||
/*
|
||||
* Copyright (C) 2022 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.media.c2;
|
||||
@VintfStability
|
||||
parcelable Status {
|
||||
int status;
|
||||
const int OK = 0;
|
||||
const int BAD_VALUE = -22;
|
||||
const int BAD_INDEX = -75;
|
||||
const int CANNOT_DO = -2147483646;
|
||||
const int DUPLICATE = -17;
|
||||
const int NOT_FOUND = -2;
|
||||
const int BAD_STATE = -38;
|
||||
const int BLOCKING = -9930;
|
||||
const int NO_MEMORY = -12;
|
||||
const int REFUSED = -1;
|
||||
const int TIMED_OUT = -110;
|
||||
const int OMITTED = -74;
|
||||
const int CORRUPTED = -2147483648;
|
||||
const int NO_INIT = -19;
|
||||
}
|
|
@ -1,39 +0,0 @@
|
|||
/*
|
||||
* Copyright (C) 2022 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.media.c2;
|
||||
@VintfStability
|
||||
parcelable StructDescriptor {
|
||||
int type;
|
||||
android.hardware.media.c2.FieldDescriptor[] fields;
|
||||
}
|
|
@ -1,41 +0,0 @@
|
|||
/*
|
||||
* Copyright (C) 2022 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.media.c2;
|
||||
@VintfStability
|
||||
parcelable SurfaceSyncObj {
|
||||
android.hardware.common.NativeHandle syncMemory;
|
||||
long bqId;
|
||||
int generationId;
|
||||
long consumerUsage;
|
||||
}
|
|
@ -1,42 +0,0 @@
|
|||
/*
|
||||
* Copyright (C) 2022 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.media.c2;
|
||||
@VintfStability
|
||||
parcelable ValueRange {
|
||||
long min;
|
||||
long max;
|
||||
long step;
|
||||
long num;
|
||||
long denom;
|
||||
}
|
|
@ -1,42 +0,0 @@
|
|||
/*
|
||||
* Copyright (C) 2022 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.media.c2;
|
||||
@VintfStability
|
||||
parcelable Work {
|
||||
byte[] chainInfo;
|
||||
android.hardware.media.c2.FrameData input;
|
||||
android.hardware.media.c2.Worklet[] worklets;
|
||||
int workletsProcessed;
|
||||
android.hardware.media.c2.Status result;
|
||||
}
|
|
@ -1,39 +0,0 @@
|
|||
/*
|
||||
* Copyright (C) 2022 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.media.c2;
|
||||
@VintfStability
|
||||
parcelable WorkBundle {
|
||||
android.hardware.media.c2.Work[] works;
|
||||
android.hardware.media.c2.BaseBlock[] baseBlocks;
|
||||
}
|
|
@ -1,40 +0,0 @@
|
|||
/*
|
||||
* Copyright (C) 2022 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.media.c2;
|
||||
@VintfStability
|
||||
parcelable WorkOrdinal {
|
||||
long timestampUs;
|
||||
long frameIndex;
|
||||
long customOrdinal;
|
||||
}
|
|
@ -1,41 +0,0 @@
|
|||
/*
|
||||
* Copyright (C) 2022 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.media.c2;
|
||||
@VintfStability
|
||||
parcelable Worklet {
|
||||
int componentId;
|
||||
byte[] tunings;
|
||||
android.hardware.media.c2.SettingResult[] failures;
|
||||
android.hardware.media.c2.FrameData output;
|
||||
}
|
|
@ -13,6 +13,7 @@ aidl_interface {
|
|||
name: "android.hardware.media.c2",
|
||||
vendor_available: true,
|
||||
double_loadable: true,
|
||||
unstable: true,
|
||||
srcs: ["android/hardware/media/c2/*.aidl"],
|
||||
include_dirs: [
|
||||
"frameworks/native/aidl/gui",
|
||||
|
@ -21,7 +22,6 @@ aidl_interface {
|
|||
"android.hardware.common-V2",
|
||||
"android.hardware.media.bufferpool2-V1",
|
||||
],
|
||||
stability: "vintf",
|
||||
backend: {
|
||||
cpp: {
|
||||
enabled: false,
|
|
@ -25,7 +25,6 @@ import android.hardware.common.NativeHandle;
|
|||
* decoded data, codec-specific data, and other codec-related data are all sent
|
||||
* in the form of BaseBlocks.
|
||||
*/
|
||||
@VintfStability
|
||||
union BaseBlock {
|
||||
/**
|
||||
* #nativeBlock is the opaque representation of a buffer.
|
|
@ -26,7 +26,6 @@ import android.hardware.media.c2.Params;
|
|||
* attributes may differ among `Block` objects that refer to the same
|
||||
* `BaseBlock` in the same `WorkBundle`.
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable Block {
|
||||
/**
|
||||
* Identity of a `BaseBlock` within a `WorkBundle`. This is an index into
|
|
@ -24,7 +24,6 @@ import android.hardware.media.c2.Params;
|
|||
*
|
||||
* This is a part of @ref FrameData.
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable Buffer {
|
||||
/**
|
||||
* Metadata associated with the buffer.
|
|
@ -21,12 +21,10 @@ import android.hardware.media.c2.FieldId;
|
|||
/**
|
||||
* Description of a field inside a C2Param structure.
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable FieldDescriptor {
|
||||
/**
|
||||
* Possible types of the field.
|
||||
*/
|
||||
@VintfStability
|
||||
@Backing(type="int")
|
||||
enum Type {
|
||||
NO_INIT = 0,
|
||||
|
@ -55,7 +53,6 @@ parcelable FieldDescriptor {
|
|||
* Named value type. This is used for defining an enum value for a numeric
|
||||
* type.
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable NamedValue {
|
||||
/**
|
||||
* Name of the enum value. This must be unique for each enum value in
|
|
@ -22,7 +22,6 @@ package android.hardware.media.c2;
|
|||
* Within a given C2Param structure, each field is uniquely identified by @ref
|
||||
* FieldId.
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable FieldId {
|
||||
/**
|
||||
* Offset of the field in bytes.
|
|
@ -26,7 +26,6 @@ import android.hardware.media.c2.ValueRange;
|
|||
* The intended type of values must be made clear in the context where
|
||||
* `FieldSupportedValues` is used.
|
||||
*/
|
||||
@VintfStability
|
||||
union FieldSupportedValues {
|
||||
/**
|
||||
* No supported values
|
|
@ -22,9 +22,7 @@ import android.hardware.media.c2.ParamField;
|
|||
* Query information for supported values of a field. This is used as input to
|
||||
* IConfigurable::querySupportedValues().
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable FieldSupportedValuesQuery {
|
||||
@VintfStability
|
||||
@Backing(type="int")
|
||||
enum Type {
|
||||
/**
|
|
@ -23,7 +23,6 @@ import android.hardware.media.c2.Status;
|
|||
* This structure is used to hold the result from
|
||||
* IConfigurable::querySupportedValues().
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable FieldSupportedValuesQueryResult {
|
||||
/**
|
||||
* Result of the query. Possible values are
|
|
@ -31,7 +31,6 @@ import android.hardware.media.c2.WorkOrdinal;
|
|||
* @note `FrameData` is the HIDL counterpart of `C2FrameData` in the Codec 2.0
|
||||
* standard.
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable FrameData {
|
||||
/** List of frame flags */
|
||||
/**
|
|
@ -32,7 +32,6 @@ import android.hardware.media.c2.SurfaceSyncObj;
|
|||
* All methods in `IComponent` must not block. If a method call cannot be
|
||||
* completed in a timely manner, it must throw `Status::TIMED_OUT`.
|
||||
*/
|
||||
@VintfStability
|
||||
interface IComponent {
|
||||
/**
|
||||
* The reference object from framwork to HAL C2BlockPool.
|
|
@ -26,7 +26,6 @@ import android.hardware.media.c2.IConfigurable;
|
|||
*
|
||||
* An actual component exposes this interface via IComponent::getInterface().
|
||||
*/
|
||||
@VintfStability
|
||||
interface IComponentInterface {
|
||||
/**
|
||||
* Returns the @ref IConfigurable instance associated to this component
|
|
@ -23,13 +23,11 @@ import android.hardware.media.c2.WorkBundle;
|
|||
/**
|
||||
* Callback interface for handling notifications from @ref IComponent.
|
||||
*/
|
||||
@VintfStability
|
||||
oneway interface IComponentListener {
|
||||
/**
|
||||
* Identifying information for an input buffer previously queued to the
|
||||
* component via IComponent::queue().
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable InputBuffer {
|
||||
/**
|
||||
* This value comes from `Work::input.ordinal.frameIndex` in a `Work`
|
||||
|
@ -45,7 +43,6 @@ oneway interface IComponentListener {
|
|||
/**
|
||||
* Information about rendering of a frame to a `Surface`.
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable RenderedFrame {
|
||||
/**
|
||||
* Id of the `BufferQueue` containing the rendered buffer.
|
|
@ -34,21 +34,17 @@ import android.hardware.media.c2.StructDescriptor;
|
|||
* @note This is an extension of version 1.1 of `IComponentStore`. The purpose
|
||||
* of the extension is to add support for blocking output buffer allocator.
|
||||
*/
|
||||
@VintfStability
|
||||
interface IComponentStore {
|
||||
/**
|
||||
* Component traits.
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable ComponentTraits {
|
||||
@VintfStability
|
||||
@Backing(type="int")
|
||||
enum Kind {
|
||||
OTHER = 0,
|
||||
DECODER,
|
||||
ENCODER,
|
||||
}
|
||||
@VintfStability
|
||||
@Backing(type="int")
|
||||
enum Domain {
|
||||
OTHER = 0,
|
|
@ -28,7 +28,6 @@ import android.hardware.media.c2.SettingResult;
|
|||
* This interface must be supported in all states of the owning object, and must
|
||||
* not change the state of the owning object.
|
||||
*/
|
||||
@VintfStability
|
||||
interface IConfigurable {
|
||||
/**
|
||||
* Return parcelable for config() interface.
|
||||
|
@ -36,7 +35,6 @@ interface IConfigurable {
|
|||
* This includes the successful config settings along with the failure reasons of
|
||||
* the specified setting.
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable ConfigResult {
|
||||
Params params;
|
||||
SettingResult[] failures;
|
|
@ -23,7 +23,6 @@ import android.hardware.media.c2.Buffer;
|
|||
*
|
||||
* This is a part of @ref FrameData.
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable InfoBuffer {
|
||||
/**
|
||||
* A C2Param structure index.
|
|
@ -21,7 +21,6 @@ package android.hardware.media.c2;
|
|||
*
|
||||
* @ref ParamDescriptor is returned by IConfigurable::querySupportedParams().
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable ParamDescriptor {
|
||||
/** The list of bit flags for attrib */
|
||||
/**
|
|
@ -21,7 +21,6 @@ import android.hardware.media.c2.FieldId;
|
|||
/**
|
||||
* Reference to a field in a C2Param structure.
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable ParamField {
|
||||
/**
|
||||
* Index of the C2Param structure.
|
|
@ -26,7 +26,6 @@ import android.hardware.media.c2.ParamField;
|
|||
* values object. This structure is used when reporting parameter configuration
|
||||
* failures and conflicts.
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable ParamFieldValues {
|
||||
/**
|
||||
* Reference to a field or a C2Param structure.
|
|
@ -30,7 +30,6 @@ package android.hardware.media.c2;
|
|||
* - 4 bytes: size of the C2Param object (unsigned 4-byte integer).
|
||||
* - (size - 8) bytes: data of the C2Param object.
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable Params {
|
||||
byte[] params;
|
||||
}
|
|
@ -22,12 +22,10 @@ import android.hardware.media.c2.ParamFieldValues;
|
|||
* Information describing the reason the parameter settings may fail, or may be
|
||||
* overridden.
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable SettingResult {
|
||||
/**
|
||||
* Failure code
|
||||
*/
|
||||
@VintfStability
|
||||
@Backing(type="int")
|
||||
enum Failure {
|
||||
/**
|
|
@ -19,7 +19,6 @@ package android.hardware.media.c2;
|
|||
/**
|
||||
* Common return values for Codec2 operations.
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable Status {
|
||||
/**
|
||||
* Operation completed successfully.
|
|
@ -22,7 +22,6 @@ import android.hardware.media.c2.FieldDescriptor;
|
|||
* Description of a C2Param structure. It consists of an index and a list of
|
||||
* `FieldDescriptor`s.
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable StructDescriptor {
|
||||
/**
|
||||
* Index of the structure.
|
|
@ -22,7 +22,6 @@ import android.hardware.common.NativeHandle;
|
|||
* output buffers. This keeps # of dequeued buffers from Surface less than
|
||||
* configured max # of dequeued buffers all the time.
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable SurfaceSyncObj {
|
||||
/**
|
||||
* ASharedMemory for synchronization data. Layout is below
|
|
@ -38,7 +38,6 @@ package android.hardware.media.c2;
|
|||
* The division in the formula may truncate the result if the data type of
|
||||
* these values is an integral type.
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable ValueRange {
|
||||
/**
|
||||
* Lower end of the range (inclusive).
|
|
@ -34,7 +34,6 @@ import android.hardware.media.c2.Worklet;
|
|||
*
|
||||
* `Work` is a part of @ref WorkBundle.
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable Work {
|
||||
/**
|
||||
* Additional work chain info not part of this work.
|
|
@ -35,7 +35,6 @@ import android.hardware.media.c2.Work;
|
|||
* Codec 2.0 standard. The presence of #baseBlocks helps with minimizing the
|
||||
* data transferred over an IPC.
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable WorkBundle {
|
||||
/**
|
||||
* A list of Work items.
|
|
@ -31,7 +31,6 @@ package android.hardware.media.c2;
|
|||
* @note `WorkOrdinal` is the HIDL counterpart of `C2WorkOrdinalStruct` in the
|
||||
* Codec 2.0 standard.
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable WorkOrdinal {
|
||||
/**
|
||||
* Timestamp in microseconds.
|
|
@ -28,7 +28,6 @@ import android.hardware.media.c2.SettingResult;
|
|||
* a @ref Work object for each expected output before calling
|
||||
* IComponent::queue().
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable Worklet {
|
||||
/**
|
||||
* Component id. (Input)
|
Loading…
Reference in a new issue