Add QtiMapperExtensions 1.3

getMetaDataValue allows fetching metadata without a bytestream.

Change-Id: I596db1ae3e9bd54028ae2c3ed374ae43c721d6ea
This commit is contained in:
Tharaga Balachandran
2021-10-28 15:05:01 -04:00
parent 3aa9ef36c5
commit cd731ee9b9
3 changed files with 72 additions and 0 deletions

View File

@@ -76,3 +76,6 @@ fa035077927f2dff68d2b1ad6e6379822d29364999aa3fd70c5d2ffe93707d9b vendor.qti.hard
e609d77b00158060ca222ccd13e0ba8019a42336e3b6a6a32c6396f7b7ea2077 vendor.qti.hardware.display.composer@3.1::IQtiComposer
ee6870d17e33bf8e2365165637b75559ceffda57770b1a35f3a9a8bbf3769266 vendor.qti.hardware.display.composer@3.1::IQtiComposerClient
550322847ebc31fd2c13a34aefa1f75df1c879cb423422831d5a5f35ba77aca4 vendor.qti.hardware.display.demura@2.0::IDemuraFileFinder
#HAL released in Android T
1e8de36267058910c4a1b4b0d92322640c5c24f961d1c9e05b5b033e65e8e0e6 vendor.qti.hardware.display.mapperextensions@1.3::IQtiMapperExtensions

View File

@@ -0,0 +1,19 @@
// This file is autogenerated by hidl-gen -Landroidbp.
hidl_interface {
name: "vendor.qti.hardware.display.mapperextensions@1.3",
owner: "qti",
root: "vendor.qti.hardware.display",
system_ext_specific: true,
srcs: [
"IQtiMapperExtensions.hal",
],
interfaces: [
"android.hidl.base@1.0",
"android.hardware.graphics.mapper@4.0",
"vendor.qti.hardware.display.mapperextensions@1.0",
"vendor.qti.hardware.display.mapperextensions@1.1",
"vendor.qti.hardware.display.mapperextensions@1.2",
],
gen_java: false,
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted (subject to the limitations in the
* disclaimer below) provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* * Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
*
* * Neither the name of Qualcomm Innovation Center, Inc. nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE
* GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT
* HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
* IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
* IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package vendor.qti.hardware.display.mapperextensions@1.3;
import android.hardware.graphics.mapper@4.0::types;
import android.hardware.graphics.mapper@4.0;
import vendor.qti.hardware.display.mapperextensions@1.2::IQtiMapperExtensions;
import vendor.qti.hardware.display.mapperextensions@1.0::Error;
interface IQtiMapperExtensions extends @1.2::IQtiMapperExtensions {
/*
* Fast path for get metadata.
*/
@callflow(next="*")
getMetaDataValue(pointer src, MetadataType metadataType, pointer in) generates (@1.0::Error error);
};