<?xml version="1.0" encoding="UTF-8"?>
<!-- AOSP ExternalCamera HAL: /vendor/etc/external_camera_config.xml -->
<ExternalCamera>
    <Provider>
        <!-- Logical camera IDs start at offset (default external id 100+) -->
        <CameraIdOffset>100</CameraIdOffset>
        <!-- Ignore built-in V4L2 nodes that are not UVC capture cards -->
        <!-- video0=cam-req-mgr, video1=cam_sync; UVC on kebab is usually video2/video3 — do NOT ignore 2 -->
        <ignore>
            <id>0</id>
            <id>1</id>
            <id>32</id>
            <id>33</id>
        </ignore>
    </Provider>
    <Device>
        <MaxJpegBufferSize bytes="5242880"/>
        <NumVideoBuffers count="6"/>
        <NumStillBuffers count="2"/>
        <!-- Portrait phone: UVC landscape source -->
        <Orientation degree="270"/>
        <FpsList>
            <Limit width="640" height="480" fpsBound="60.0"/>
            <Limit width="1280" height="720" fpsBound="60.0"/>
            <Limit width="1920" height="1080" fpsBound="60.0"/>
            <Limit width="3840" height="2160" fpsBound="30.0"/>
        </FpsList>
        <MinimumStreamSize width="320" height="240"/>
    </Device>
</ExternalCamera>
