<!DOCTYPE lensdatabase SYSTEM "lensfun-database.dtd">
<lensdatabase version="2">

    <mount>
        <name>Leica M</name>
        <compat>M42</compat>
        <compat>M39/1</compat>
        <compat>DKL</compat>
        <compat>T2</compat>
        <compat>Generic</compat>
    </mount>

    <camera>
        <maker>Leica</maker>
        <model>Leica M (Typ 240)</model>
        <mount>Leica M</mount>
        <cropfactor>1</cropfactor>
    </camera>

    <lens>
        <maker>Leica</maker>
        <model>Elmarit-M 1:2.8/28</model>
        <model lang="en">Elmarit-M 28mm f/2.8 ASPH</model>
        <mount>Leica M</mount>
        <cropfactor>1</cropfactor>
        <calibration>
            <!-- Taken with LEICA M (Typ 240) -->
            <distortion model="ptlens" focal="28" a="0.00349" b="-0.00508" c="-0.01721"/>
        </calibration>
    </lens>

    <lens>
        <maker>Leica</maker>
        <model>Elmarit-M 1:2.8/90</model>
        <model lang="en">Elmarit-M 90mm f/2.8</model>
        <mount>Leica M</mount>
        <cropfactor>1</cropfactor>
        <calibration>
            <!-- Taken with Leica M (Typ 240) -->
            <distortion model="ptlens" focal="90" a="-0.00423" b="0.01406" c="-0.00692"/>
        </calibration>
    </lens>

    <lens>
        <maker>Leica</maker>
        <model>Summicron-M 1:2/50</model>
        <!-- Model 11819/11825/11826/11816 -->
        <model lang="en">Summicron-M 50mm f/2</model>
        <mount>Leica M</mount>
        <cropfactor>1</cropfactor>
        <calibration>
            <!-- Taken Leica M (Typ 240) -->
            <distortion model="poly3" focal="50" k1="-0.00072"/>
            <tca model="poly3" focal="50" vr="0.9999915" vb="0.9998735"/>
        </calibration>
    </lens>

</lensdatabase>
