diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2014-06-14 15:16:03 +0200 |
---|---|---|
committer | Paul Kocialkowski <contact@paulk.fr> | 2014-06-14 15:16:03 +0200 |
commit | c3788198e2d1a1216f74a12358d3caf01f212f93 (patch) | |
tree | d91f7982092f438ed3a80060fc3372d44e134342 | |
parent | 6198c76b91db0e07e55b8ff27de40d41c72937c5 (diff) | |
download | device_goldelico_gta04-c3788198e2d1a1216f74a12358d3caf01f212f93.zip device_goldelico_gta04-c3788198e2d1a1216f74a12358d3caf01f212f93.tar.gz device_goldelico_gta04-c3788198e2d1a1216f74a12358d3caf01f212f93.tar.bz2 |
Media codecs config
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
-rw-r--r-- | configs/media_codecs.xml | 44 | ||||
-rw-r--r-- | gta04.mk | 8 |
2 files changed, 48 insertions, 4 deletions
diff --git a/configs/media_codecs.xml b/configs/media_codecs.xml new file mode 100644 index 0000000..bcbe1ef --- /dev/null +++ b/configs/media_codecs.xml @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="utf-8" ?> +<!-- + Copyright (C) 2014 Paul Kocialkowski <contact@paulk.fr> + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. + --> + +<MediaCodecs> + <Decoders> + <MediaCodec name="OMX.google.mp3.decoder" type="audio/mpeg" /> + <MediaCodec name="OMX.google.amrnb.decoder" type="audio/3gpp" /> + <MediaCodec name="OMX.google.amrwb.decoder" type="audio/amr-wb" /> + <MediaCodec name="OMX.google.aac.decoder" type="audio/mp4a-latm" /> + <MediaCodec name="OMX.google.g711.alaw.decoder" type="audio/g711-alaw" /> + <MediaCodec name="OMX.google.g711.mlaw.decoder" type="audio/g711-mlaw" /> + <MediaCodec name="OMX.google.vorbis.decoder" type="audio/vorbis" /> + + <MediaCodec name="OMX.google.mpeg4.decoder" type="video/mp4v-es" /> + <MediaCodec name="OMX.google.h263.decoder" type="video/3gpp" /> + <MediaCodec name="OMX.google.h264.decoder" type="video/avc" /> + <MediaCodec name="OMX.google.vpx.decoder" type="video/x-vnd.on2.vp8" /> + </Decoders> + + <Encoders> + <MediaCodec name="OMX.google.aac.encoder" type="audio/mp4a-latm" /> + <MediaCodec name="OMX.google.amrnb.encoder" type="audio/3gpp" /> + <MediaCodec name="OMX.google.amrwb.encoder" type="audio/amr-wb" /> + <MediaCodec name="OMX.google.h263.encoder" type="video/3gpp" /> + <MediaCodec name="OMX.google.h264.encoder" type="video/avc" /> + <MediaCodec name="OMX.google.mpeg4.encoder" type="video/mp4v-es" /> + <MediaCodec name="OMX.google.flac.encoder" type="audio/flac" /> + </Encoders> +</MediaCodecs> @@ -55,6 +55,10 @@ PRODUCT_LOCALES := hdpi PRODUCT_COPY_FILES += \ device/goldelico/gta04/rootdir/initlogo.rle:root/initlogo.rle +# Media +PRODUCT_COPY_FILES += \ + device/goldelico/gta04/configs/media_codecs.xml:system/etc/media_codecs.xml + # Audio PRODUCT_PACKAGES += \ audio.primary.omap3 @@ -87,10 +91,6 @@ PRODUCT_COPY_FILES += \ PRODUCT_PROPERTY_OVERRIDES += \ wifi.interface=wlan0 -# APNS -PRODUCT_COPY_FILES += \ - vendor/replicant/prebuilt/common/etc/apns-conf.xml:system/etc/apns-conf.xml - # Dalvik PRODUCT_PROPERTY_OVERRIDES += \ dalvik.vm.dexopt-data-only=1 \ |