diff options
author | David Wagner <david.wagner@intel.com> | 2015-02-18 15:15:04 +0100 |
---|---|---|
committer | David Wagner <david.wagner@intel.com> | 2015-02-18 15:15:04 +0100 |
commit | 8a4661428263e1f1a082b635a4e860818fb2fb52 (patch) | |
tree | 7a9d640b291f90723af9b463878dc5ed951bd4f2 /Schemas/Parameter.xsd | |
parent | d37ca914061debbd6135840834f2cae2ffbeb07e (diff) | |
parent | 36423a49fdde5755faea5914e554b64363034b0c (diff) | |
download | external_parameter-framework-8a4661428263e1f1a082b635a4e860818fb2fb52.zip external_parameter-framework-8a4661428263e1f1a082b635a4e860818fb2fb52.tar.gz external_parameter-framework-8a4661428263e1f1a082b635a4e860818fb2fb52.tar.bz2 |
Merge pull request #49 from pafonso/iminleg_rebase
Iminleg rebase
Diffstat (limited to 'Schemas/Parameter.xsd')
-rw-r--r-- | Schemas/Parameter.xsd | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/Schemas/Parameter.xsd b/Schemas/Parameter.xsd index 3b635fc..f174b6e 100644 --- a/Schemas/Parameter.xsd +++ b/Schemas/Parameter.xsd @@ -34,12 +34,21 @@ <xs:complexType name="Adaptation">
<xs:attribute name="Offset" type="xs:integer" default="0"/>
</xs:complexType>
- <xs:element name="LinearAdaptation">
+ <xs:complexType name="LinearAdaptationType">
+ <xs:complexContent>
+ <xs:extension base="Adaptation">
+ <xs:attribute name="SlopeNumerator" type="xs:double" default="1"/>
+ <xs:attribute name="SlopeDenominator" type="xs:double" default="1"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:element name="LinearAdaptation" type="LinearAdaptationType"/>
+ <xs:element name="LogarithmicAdaptation">
<xs:complexType>
<xs:complexContent>
- <xs:extension base="Adaptation">
- <xs:attribute name="SlopeNumerator" type="xs:double" default="1"/>
- <xs:attribute name="SlopeDenominator" type="xs:double" default="1"/>
+ <xs:extension base="LinearAdaptationType">
+ <xs:attribute name="LogarithmBase" type="xs:double" default="10"/>
+ <xs:attribute name="FloorValue" type="xs:double" default="-INF"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
@@ -63,6 +72,7 @@ <xs:extension base="Parameter">
<xs:choice minOccurs="0">
<xs:element ref="LinearAdaptation"/>
+ <xs:element ref="LogarithmicAdaptation"/>
</xs:choice>
<xs:attributeGroup ref="IntegerParameterAttributes"/>
<xs:attribute name="Unit" type="xs:token" use="optional"/>
|