diff options
author | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2015-09-24 15:11:57 +0200 |
---|---|---|
committer | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2015-09-24 15:11:57 +0200 |
commit | 0ded58328e444217dea007e46eb51564dcf5d092 (patch) | |
tree | c68d616c9797abc6e5c6dbcc313f258c5e2fd08c | |
parent | 6ae9fdf827e93f1843c846f7daa5e23831d6fc19 (diff) | |
download | device_samsung_smdk4412-common-0ded58328e444217dea007e46eb51564dcf5d092.zip device_samsung_smdk4412-common-0ded58328e444217dea007e46eb51564dcf5d092.tar.gz device_samsung_smdk4412-common-0ded58328e444217dea007e46eb51564dcf5d092.tar.bz2 |
make video recording working again
-rw-r--r-- | BoardCommonConfig.mk | 9 | ||||
-rw-r--r-- | common.mk | 17 | ||||
-rw-r--r-- | configs/media_codecs.xml | 10 |
3 files changed, 36 insertions, 0 deletions
diff --git a/BoardCommonConfig.mk b/BoardCommonConfig.mk index b4ae1bf..e0f6852 100644 --- a/BoardCommonConfig.mk +++ b/BoardCommonConfig.mk @@ -90,6 +90,15 @@ BOARD_CAMERA_HAVE_ISO := true COMMON_GLOBAL_CFLAGS += -DHAVE_ISO COMMON_GLOBAL_CFLAGS += -DSAMSUNG_CAMERA_HARDWARE +# OMX +BOARD_USE_SAMSUNG_COLORFORMAT := true +BOARD_NONBLOCK_MODE_PROCESS := true +BOARD_USE_STOREMETADATA := true +BOARD_USE_METADATABUFFERTYPE := true +BOARD_USES_MFC_FPS := true +BOARD_USE_S3D_SUPPORT := true +BOARD_USE_CSC_FIMC := false + # RIL BOARD_MOBILEDATA_INTERFACE_NAME := "pdp0" @@ -81,6 +81,23 @@ PRODUCT_PACKAGES += \ charger \ charger_res_images +# MFC API +PRODUCT_PACKAGES += \ + libsecmfcdecapi \ + libsecmfcencapi + +# OMX +PRODUCT_PACKAGES += \ + libstagefrighthw \ + libSEC_OMX_Resourcemanager \ + libSEC_OMX_Core \ + libOMX.SEC.AVC.Decoder \ + libOMX.SEC.M4V.Decoder \ + libOMX.SEC.WMV.Decoder \ + libOMX.SEC.AVC.Encoder \ + libOMX.SEC.M4V.Encoder +# libOMX.SEC.VP8.Decoder + PRODUCT_COPY_FILES += \ $(COMMON_PATH)/configs/media_profiles.xml:system/etc/media_profiles.xml \ $(COMMON_PATH)/configs/media_codecs.xml:system/etc/media_codecs.xml diff --git a/configs/media_codecs.xml b/configs/media_codecs.xml index e4298a8..c8719db 100644 --- a/configs/media_codecs.xml +++ b/configs/media_codecs.xml @@ -77,6 +77,12 @@ Only the three quirks included above are recognized at this point: <MediaCodecs> <Decoders> + <MediaCodec name="OMX.SEC.AVC.Decoder" type="video/avc" /> + <MediaCodec name="OMX.SEC.MPEG4.Decoder" type="video/mp4v-es" /> + <MediaCodec name="OMX.SEC.H263.Decoder" type="video/3gpp" /> + <MediaCodec name="OMX.SEC.AVC.Decoder" type="video/avc" /> + <MediaCodec name="OMX.SEC.VP8.Decoder" type="video/x-vnd.on2.vp8" /> + <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" /> @@ -91,6 +97,10 @@ Only the three quirks included above are recognized at this point: </Decoders> <Encoders> + <MediaCodec name="OMX.SEC.MPEG4.Encoder" type="video/mp4v-es" /> + <MediaCodec name="OMX.SEC.H263.Encoder" type="video/3gpp" /> + <MediaCodec name="OMX.SEC.AVC.Encoder" type="video/avc" /> + <MediaCodec name="OMX.google.amrnb.encoder" type="audio/3gpp" /> <MediaCodec name="OMX.google.amrwb.encoder" type="audio/amr-wb" /> <MediaCodec name="OMX.google.aac.encoder" type="audio/mp4a-latm" /> |