84 lines
3.6 KiB
XML
84 lines
3.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<protocol name="aml_config">
|
|
|
|
<copyright>
|
|
Copyright © 2019 Collabora Ltd.
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a
|
|
copy of this software and associated documentation files (the "Software"),
|
|
to deal in the Software without restriction, including without limitation
|
|
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
and/or sell copies of the Software, and to permit persons to whom the
|
|
Software is furnished to do so, subject to the following conditions:
|
|
|
|
The above copyright notice and this permission notice (including the next
|
|
paragraph) shall be included in all copies or substantial portions of the
|
|
Software.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
DEALINGS IN THE SOFTWARE.
|
|
</copyright>
|
|
|
|
<interface name="aml_config" version="1">
|
|
<description summary="aml config for client">
|
|
Weston extension to inform the clients of the new interface added by amlogic.
|
|
</description>
|
|
|
|
<request name="destroy" type="destructor">
|
|
<description summary="destroy factory object">
|
|
Destroys the factory object, but does not affect any other objects.
|
|
</description>
|
|
</request>
|
|
<request name="render_to_osd">
|
|
<description summary="force render buffer to osd">
|
|
force render buffer to osd.
|
|
</description>
|
|
<arg name="dmabuf" type="object" interface="zwp_linux_buffer_params_v1"
|
|
summary="force render buffer to osd"/>
|
|
</request>
|
|
<request name="need_vsync_callback">
|
|
<description summary="need vsync callback to client">
|
|
need vsync callback to client. This is mostly used when software vsync thread is created.
|
|
</description>
|
|
<arg name="compositor_res" type="object" interface="wl_compositor"
|
|
summary="compositor resource"/>
|
|
<arg name="output_id" type="int" summary="output id"/>
|
|
</request>
|
|
<request name="get_dpss_latency">
|
|
<description summary="client need dpss latency for sync">
|
|
client need dpss latency for avsync.
|
|
</description>
|
|
<arg name="compositor_res" type="object" interface="wl_compositor"
|
|
summary="compositor resource"/>
|
|
<arg name="input_fps" type="int" summary="input fps"/>
|
|
<arg name="output_id" type="int" summary="output id"/>
|
|
</request>
|
|
<event name="aml_config_list">
|
|
<description summary="aml config list">
|
|
The aml_config_list event inform the clients of the new interface add by amlogic
|
|
</description>
|
|
<arg name="list" type="string"
|
|
summary="the new interface added by amlogic"/>
|
|
</event>
|
|
<event name="vsync_callback">
|
|
<description summary="vsync callback to client">
|
|
This is mostly used when software vsync thread is created.
|
|
</description>
|
|
<arg name="vsync_hi" type="uint" summary="high 32 bits of vsync timestamp"/>
|
|
<arg name="vsync_lo" type="uint" summary="low 32 bits of vsync timestamp"/>
|
|
<arg name="interval" type="uint" summary="vsync interval"/>
|
|
</event>
|
|
<event name="dpss_latency">
|
|
<description summary="dpss latency to client">
|
|
This is used when dpss is enabled
|
|
</description>
|
|
<arg name="latency" type="uint" summary="latency of dpss"/>
|
|
</event>
|
|
</interface>
|
|
</protocol>
|