Add device tree for Orange Pi 5 Ultra LineageOS ATV
This commit is contained in:
parent
ff9874b632
commit
ae84f8e65e
147 changed files with 7890 additions and 1 deletions
24
media/media_codecs.xml
Normal file
24
media/media_codecs.xml
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2018 The Android Open Source Project
|
||||
Copyright (C) 2021-2022 KonstaKANG
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<MediaCodecs>
|
||||
<Include href="media_codecs_ffmpeg_c2.xml" />
|
||||
<Include href="media_codecs_google_c2_audio.xml" />
|
||||
<Include href="media_codecs_google_c2_tv.xml" />
|
||||
<Include href="media_codecs_google_c2_video.xml" />
|
||||
</MediaCodecs>
|
||||
109
media/media_codecs_ffmpeg_c2.xml
Normal file
109
media/media_codecs_ffmpeg_c2.xml
Normal file
|
|
@ -0,0 +1,109 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2022 Michael Goffioul <michael.goffioul@gmail.com>
|
||||
Copyright (C) 2025 KonstaKANG
|
||||
Copyright (C) 2025 Venkata Atchuta Bheemeswara Sarma Darbha
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<MediaCodecs>
|
||||
<Decoders>
|
||||
<!-- Audio codecs -->
|
||||
<MediaCodec name="c2.ffmpeg.aac.decoder" type="audio/mp4a-latm">
|
||||
<Alias name="OMX.ffmpeg.aac.decoder" />
|
||||
<Limit name="channel-count" max="8" />
|
||||
<Limit name="sample-rate" ranges="8000-192000" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.ffmpeg.ac3.decoder" type="audio/ac3">
|
||||
<Alias name="OMX.ffmpeg.ac3.decoder" />
|
||||
<Limit name="channel-count" max="8" />
|
||||
<Limit name="sample-rate" ranges="8000-192000" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.ffmpeg.alac.decoder" type="audio/alac">
|
||||
<Alias name="OMX.ffmpeg.alac.decoder" />
|
||||
<Limit name="channel-count" max="8" />
|
||||
<Limit name="sample-rate" ranges="8000-192000" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.ffmpeg.flac.decoder" type="audio/flac">
|
||||
<Alias name="OMX.ffmpeg.flac.decoder" />
|
||||
<Limit name="channel-count" max="8" />
|
||||
<Limit name="sample-rate" ranges="8000-192000" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.ffmpeg.mp2.decoder" type="audio/mpeg-L2">
|
||||
<Alias name="OMX.ffmpeg.mp2.decoder" />
|
||||
<Limit name="channel-count" max="8" />
|
||||
<Limit name="sample-rate" ranges="8000-192000" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.ffmpeg.mp3.decoder" type="audio/mpeg">
|
||||
<Alias name="OMX.ffmpeg.mp3.decoder" />
|
||||
<Limit name="channel-count" max="8" />
|
||||
<Limit name="sample-rate" ranges="8000-192000" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.ffmpeg.vorbis.decoder" type="audio/vorbis">
|
||||
<Alias name="OMX.ffmpeg.vorbisac3.decoder" />
|
||||
<Limit name="channel-count" max="8" />
|
||||
<Limit name="sample-rate" ranges="8000-192000" />
|
||||
</MediaCodec>
|
||||
|
||||
<!-- Video codecs -->
|
||||
<MediaCodec name="c2.ffmpeg.av1.decoder" type="video/av01">
|
||||
<Alias name="OMX.ffmpeg.av1.decoder" />
|
||||
<Limit name="size" min="2x2" max="2048x2048" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Feature name="adaptive-playback" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.ffmpeg.h263.decoder" type="video/3gpp">
|
||||
<Alias name="OMX.ffmpeg.h263.decoder" />
|
||||
<Limit name="size" min="2x2" max="2048x2048" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Feature name="adaptive-playback" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.ffmpeg.h264.decoder" type="video/avc">
|
||||
<Alias name="OMX.ffmpeg.h264.decoder" />
|
||||
<Limit name="size" min="2x2" max="7700x7700" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Feature name="adaptive-playback" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.ffmpeg.hevc.decoder" type="video/hevc">
|
||||
<Alias name="OMX.ffmpeg.hevc.decoder" />
|
||||
<Limit name="size" min="2x2" max="7700x7700" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Feature name="adaptive-playback" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.ffmpeg.mpeg2.decoder" type="video/mpeg2">
|
||||
<Alias name="OMX.ffmpeg.mpeg2.decoder" />
|
||||
<Limit name="size" min="2x2" max="2048x2048" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Feature name="adaptive-playback" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.ffmpeg.mpeg4.decoder" type="video/mp4v-es">
|
||||
<Alias name="OMX.ffmpeg.mpeg4.decoder" />
|
||||
<Limit name="size" min="2x2" max="2048x2048" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Feature name="adaptive-playback" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.ffmpeg.vp8.decoder" type="video/x-vnd.on2.vp8">
|
||||
<Alias name="OMX.ffmpeg.vp8.decoder" />
|
||||
<Limit name="size" min="2x2" max="2048x2048" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Feature name="adaptive-playback" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.ffmpeg.vp9.decoder" type="video/x-vnd.on2.vp9">
|
||||
<Alias name="OMX.ffmpeg.vp9.decoder" />
|
||||
<Limit name="size" min="2x2" max="4096x4096" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Feature name="adaptive-playback" />
|
||||
</MediaCodec>
|
||||
</Decoders>
|
||||
</MediaCodecs>
|
||||
29
media/media_codecs_v4l2_c2_video.xml
Normal file
29
media/media_codecs_v4l2_c2_video.xml
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<MediaCodecs>
|
||||
<Encoders>
|
||||
<MediaCodec name="c2.v4l2.avc.encoder" type="video/avc">
|
||||
<Limit name="size" min="32x32" max="1920x1088" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" range="1-244800" />
|
||||
<Limit name="bitrate" range="1-12000000" />
|
||||
<Limit name="concurrent-instances" max="8" />
|
||||
<Limit name="performance-point-1280x720" range="30-30" />
|
||||
</MediaCodec>
|
||||
|
||||
</Encoders>
|
||||
|
||||
<Decoders>
|
||||
<MediaCodec name="c2.v4l2.avc.decoder" type="video/avc" >
|
||||
<Limit name="size" min="16x16" max="4096x4096" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="1" max="1879200" />
|
||||
<Limit name="bitrate" range="1-62500000" />
|
||||
<Limit name="concurrent-instances" max="8" />
|
||||
<Limit name="performance-point-3840x2160" range="30-30" />
|
||||
<Feature name="adaptive-playback" />
|
||||
</MediaCodec>
|
||||
|
||||
</Decoders>
|
||||
</MediaCodecs>
|
||||
Loading…
Add table
Add a link
Reference in a new issue