diff options
author | Kibum Kim <kb0929.kim@samsung.com> | 2012-01-07 00:50:06 +0900 |
---|---|---|
committer | Kibum Kim <kb0929.kim@samsung.com> | 2012-01-07 00:50:06 +0900 |
commit | 8d39373915cefb37a60d325ec63cf9423cf68dcd (patch) | |
tree | 5137b9bb420daee4de4da0281676f4381795d186 | |
parent | c6187355e46692f0a73d224377534a3ea743dcea (diff) | |
download | mmfw-sysconf-8d39373915cefb37a60d325ec63cf9423cf68dcd.tar.gz mmfw-sysconf-8d39373915cefb37a60d325ec63cf9423cf68dcd.tar.bz2 mmfw-sysconf-8d39373915cefb37a60d325ec63cf9423cf68dcd.zip |
Git init
-rw-r--r-- | LICENSE | 204 | ||||
-rw-r--r-- | debian/changelog | 7 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 17 | ||||
-rwxr-xr-x | debian/copyright | 13 | ||||
-rw-r--r-- | debian/mmfw-sysconf-cleansdk-target.dirs | 1 | ||||
-rw-r--r-- | debian/mmfw-sysconf-simulator.dirs | 1 | ||||
-rwxr-xr-x | debian/rules | 77 | ||||
-rw-r--r-- | mmfw-sysconf-cleansdk-target/etc/asound.conf | 28 | ||||
-rw-r--r-- | mmfw-sysconf-cleansdk-target/opt/etc/mmfw_camcorder.ini | 111 | ||||
-rw-r--r-- | mmfw-sysconf-cleansdk-target/opt/etc/mmfw_camcorder_dev_video_pri.ini | 150 | ||||
-rw-r--r-- | mmfw-sysconf-cleansdk-target/opt/etc/mmfw_camcorder_dev_video_sec.ini | 150 | ||||
-rw-r--r-- | mmfw-sysconf-cleansdk-target/opt/etc/mmfw_player.ini | 133 | ||||
-rw-r--r-- | mmfw-sysconf-simulator/etc/asound.conf | 28 | ||||
-rw-r--r-- | mmfw-sysconf-simulator/opt/etc/mmfw_camcorder.ini | 117 | ||||
-rw-r--r-- | mmfw-sysconf-simulator/opt/etc/mmfw_camcorder_dev_video_pri.ini | 163 | ||||
-rw-r--r-- | mmfw-sysconf-simulator/opt/etc/mmfw_camcorder_dev_video_sec.ini | 163 | ||||
-rw-r--r-- | mmfw-sysconf-simulator/opt/etc/mmfw_player.ini | 133 | ||||
-rw-r--r-- | packaging/mmfw-sysconf.spec | 95 |
19 files changed, 1592 insertions, 0 deletions
@@ -0,0 +1,204 @@ +Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ 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.
+
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..53ffeef --- /dev/null +++ b/debian/changelog @@ -0,0 +1,7 @@ +mmfw-sysconf (0.1.16-0) unstable; urgency=low + + * Initial release + * Git: pkgs/m/mmfw-sysconf + * Tag: mmfw-sysconf_0.1.16-0 + + -- Jeongmo Yang <jm80.yang@samsung.com> Wed, 07 Dec 2011 12:46:17 +0900 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..960e954 --- /dev/null +++ b/debian/control @@ -0,0 +1,17 @@ +Source: mmfw-sysconf +Section: misc +Priority: extra +Maintainer: Jonghyuk Choi <jhchoi.choi@samsung.com>, Younghwan An <younghwan_.an@samsung.com>, Kwanghui Cho <kwanghui.cho@samsung.com>, Seungbae Shin <seungbae.shin@samsung.com>, Younghun Kim <yh8004.kim@samsung.com>, Jeongmo Yang <jm80.yang@samsung.com>, Yejin Cho <cho.yejin@samsung.com>, Sangchul Lee <sc11.lee@samsung.com> +Build-Depends: debhelper (>= 5) +Standards-Version: 3.7.2 + +Package: mmfw-sysconf-cleansdk-target +Architecture: armel +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Multimedia Framework system configuration package for clean SDK target binary + +Package: mmfw-sysconf-simulator +Architecture: i386 +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Multimedia Framework system configuration package for simulator + diff --git a/debian/copyright b/debian/copyright new file mode 100755 index 0000000..0842a72 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,13 @@ +Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. + +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.
\ No newline at end of file diff --git a/debian/mmfw-sysconf-cleansdk-target.dirs b/debian/mmfw-sysconf-cleansdk-target.dirs new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/debian/mmfw-sysconf-cleansdk-target.dirs @@ -0,0 +1 @@ + diff --git a/debian/mmfw-sysconf-simulator.dirs b/debian/mmfw-sysconf-simulator.dirs new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/debian/mmfw-sysconf-simulator.dirs @@ -0,0 +1 @@ + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..1be4b46 --- /dev/null +++ b/debian/rules @@ -0,0 +1,77 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +configure: configure-stamp +configure-stamp: + dh_testdir + touch configure-stamp + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + mkdir -p $(CURDIR)/debian/tmp$(PREFIX) + + # architecture + ifneq (, $(findstring arm, $(DEB_HOST_ARCH))) + # ARM + cp -af $(CURDIR)/mmfw-sysconf-cleansdk-target/* $(CURDIR)/debian/mmfw-sysconf-cleansdk-target + else + # OTHER + cp -af $(CURDIR)/mmfw-sysconf-simulator/* $(CURDIR)/debian/mmfw-sysconf-simulator + endif + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs +# dh_installexamples + dh_install --sourcedir=debian/tmp +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_python +# dh_installinit +# dh_installcron +# dh_installinfo +# dh_installman +# dh_link +# dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol -s + dh_md5sums + dh_builddeb -s + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure diff --git a/mmfw-sysconf-cleansdk-target/etc/asound.conf b/mmfw-sysconf-cleansdk-target/etc/asound.conf new file mode 100644 index 0000000..2e579c3 --- /dev/null +++ b/mmfw-sysconf-cleansdk-target/etc/asound.conf @@ -0,0 +1,28 @@ +# default sound configuration for c210 + +pcm. !default { + type hw + card 0 +} + +ctl. !default { + type hw + card 0 +} + +pcm. AIF2{ + type hw + card 0 + device 1 +} + +pcm. AIF3{ + type hw + card 0 + device 3 +} + +#LPaudio of C210 not yet implemented +pcm. lpaudio { + type null +} diff --git a/mmfw-sysconf-cleansdk-target/opt/etc/mmfw_camcorder.ini b/mmfw-sysconf-cleansdk-target/opt/etc/mmfw_camcorder.ini new file mode 100644 index 0000000..70937e3 --- /dev/null +++ b/mmfw-sysconf-cleansdk-target/opt/etc/mmfw_camcorder.ini @@ -0,0 +1,111 @@ +; < Camera/Camcorder Configure Main INI file > +; +; - aquila_FUJITSU_M5MOLS +; +; - Header List - +; 1. General +; 2. VideoInput +; 3. AudioInput +; 4. VideoOutput +; 5. Capture +; 6. Record +; 7. VideoEncoder +; 8. AudioEncoder +; 9. ImageEncoder +; 10. Mux +; +; - Note - +; If you want to add a new header, +; add a new enum value to "enum ConfigureCategoryMain" +; and new default table for it in mm_camcorder_configure.c/.h +; + +[General] +SyncStateChange = 1 +;GSTInitOption = --gst-enable-tiny-registry --gst-disable-segtrap || NOT-USE-DEFAULT_VALUE +;GSTInitOption = --gst-enable-tiny-registry --gst-disable-segtrap --gst-debug=3 || NOT-USE-DEFAULT_VALUE +ModelName = GT-TIZEN +;DisabledAttributes = camera-optical-zoom camera-af-touch-x camera-af-touch-y camera-exposure-value camera-f-number camera-shutter-speed camera-hold-af-after-capturing filter-flip filter-hue display-src-x display-src-y display-src-width display-src-height tag-image-description strobe-control strobe-capabilities strobe-mode detect-mode detect-number detect-focus-select detect-select-number detect-status || NO_DEFAULT_VALUE + +[VideoInput] +UseConfCtrl = 1 +ConfCtrlFile0 = mmfw_camcorder_dev_video_pri.ini +ConfCtrlFile1 = mmfw_camcorder_dev_video_sec.ini +VideosrcElement = camerasrc | 2,0 | do-timestamp,1 | num-alloc-buf,7 +UseVideoscale = 0 +VideoscaleElement = videoscale | 3,0 | width,320 | height,240 | method,1 + +[AudioInput] +AudiosrcElement = avsysaudiosrc | 3,0 | do-timestamp,1 | slave-method,3 | latency,0 +AudiomodemsrcElement = audiotestsrc | 2,0 | do-timestamp,1 | slave-method,3 + +[VideoOutput] +; DisplayDevice +;;; 0: MAIN LCD, 1: SUB LCD, 2:TV OUT, 3: MAIN LCD and SUB LCD, 4: MAIN LCD and TV OUT +DisplayDevice = 0 || 0 +; Videosink +;;; 0: X surface, 1: Evas surface, 2: GL surface, 3: NULL surface +Videosink = 0,1,3 || 0 +VideosinkElementX = xvimagesink | 5,0 | draw-borders,0 | force-aspect-ratio,1 | enable-last-buffer,0 | qos,0 | sync,0 +VideosinkElementEvas = evasimagesink | 0,0 +VideosinkElementNull = fakesink | 2,0 | qos,0 | sync,0 +UseVideoscale = 0 +VideoscaleElement = fimcconvert | 1,0 | rotang,90 + +[VideoEncoder] +H263 = omx_h263enc | 0,0 +H264 = omx_h264enc | 0,0 +MPEG4 = omx_mpeg4enc | 0,0 + +[AudioEncoder] +AMR = amrnbenc | 0,0 +;MP3 = lame | 0,0 +;AAC = savsenc_aac | 0,0 +WAVE = wavenc | 0,0 + +[ImageEncoder] +JPEG = secjpeg_enc | 0,0 +;PNG = pngenc | 0,0 + +[Capture] +UseEncodebin = 0 +UseCaptureMode = 0 +VideoscaleElement = videoscale | 1,0 | method,1 +; RecommandPreviewFormat +;;; 0:NV12, 1:NV12T, 2:NV16, 3:NV21, 4:YUYV, 5:UYVY, 6:422P, 7:I420, 8:YV12, 9:RGB565, 10:RGB888, 11:RGBA, 12:ARGB, 13:ENCODED +RecommendPreviewFormat = 4 + +[Record] +UseAudioEncoderQueue = 1 +UseVideoEncoderQueue = 1 +VideoProfile = 0 +VideoAutoAudioConvert = 1 +VideoAutoAudioResample = 0 +VideoAutoColorSpace = 0 +AudioProfile = 1 +AudioAutoAudioConvert = 1 +AudioAutoAudioResample = 0 +AudioAutoColorSpace = 0 +ImageProfile = 2 +ImageAutoAudioConvert = 0 +ImageAutoAudioResample = 0 +ImageAutoColorSpace = 1 +RecordsinkElement = filesink | 1,0 | async,0 +UseNoiseSuppressor = 0 +DropVideoFrame = 0 +PassFirstVideoFrame = 0 +; RecommandPreviewFormat +;;; 0:NV12, 1:NV12T, 2:NV16, 3:NV21, 4:YUYV, 5:UYVY, 6:422P, 7:I420, 8:YV12, 9:RGB565, 10:RGB888, 11:RGBA, 12:ARGB, 13:ENCODED +RecommendPreviewFormat = 0 + +[Mux] +;3GP = ffmux_3gp_ext | 0,0 +3GP = ffmux_3gp | 0,0 +;AMR = ffmux_amr_ext | 0,0 +AMR = ffmux_amr | 0,0 +;MP4 = ffmux_mp4_ext | 0,0 +MP4 = ffmux_mp4 | 0,0 +AVI = avimux | 0,0 +MATROSKA = matroskamux | 0,0 +WAV = wavenc | 0,0 + diff --git a/mmfw-sysconf-cleansdk-target/opt/etc/mmfw_camcorder_dev_video_pri.ini b/mmfw-sysconf-cleansdk-target/opt/etc/mmfw_camcorder_dev_video_pri.ini new file mode 100644 index 0000000..01734f0 --- /dev/null +++ b/mmfw-sysconf-cleansdk-target/opt/etc/mmfw_camcorder_dev_video_pri.ini @@ -0,0 +1,150 @@ +; < Camera/Camcorder Configure Control INI file > +; +; - aquila_FUJITSU_M5MOLS +; +; - Header List - +; 1. Camera +; 2. Strobe +; 3. Effect +; 4. Photograph +; 5. Capture +; 6. Detect +; +; - Note - +; If you want to add a new header, +; add a new enum value to "enum ConfigureCategoryControl" +; and new default table for it in mm_camcorder_configure.c/.h +; + +[Camera] +; Input index - real setting value +;;; 0:PRIMARY_CAMERA, 1:SECONDARY_CAMERA +; Input index - MSL value(convert array index) +;;; -1:NONE, 0:CAMERA0, 1:CAMERA1 +InputIndex = 0,-255 || 0 +DeviceName = m5mols_c210 +PreviewResolution = 128,96 | 160,120 | 176,144 | 176,176 | 240,320 | 320,240 | 240,400 | 400,240 | 352,288 | 480,360 | 640,360 | 640,480 | 720,480 | 800,480 | 800,600 | 1280,720 | 1600,1200 | 1920,1080 || 640,480 +CaptureResolution = 320,240 | 400,240 | 480,360 | 640,360 | 640,480 | 800,480 | 1280,720 | 1280,960 | 1600,1200 | 1920,1080 | 2048,1536 | 2560,1440 | 2560,1536 | 2560,1920 | 3264,1836 | 3264,1960 | 3264,2448 || 2560,1920 +FPS = 0,8,15,24,25,30,60,120 || 30 +; PictureForamt - MSL value +;;; 0:NV12, 1:NV12T, 2:NV16, 3:NV21, 4:YUYV, 5:UYVY, 6:422P, 7:I420, 8:YV12, 9:RGB565, 10:RGB888, 11:RGBA, 12:ARGB, 13:ENCODED +PictureFormat = 0,4,7 || 7 +Overlay = 0,1 || 1 +; Recommend display rotation +;;; 0:NONE, 1:90, 2:180, 3:270 +RecommendDisplayRotation = 3 + + +[Strobe] +;StrobeControl - Not support +;StrobeCapabilities - Not support +; Strobe mode - real setting value +;;; 0:BASE, 1:OFF, 2:AUTO, 3:ON, 4:TORCH, 5:MAX +; Strobe mode - MSL value(convert array index) +;;; 0:OFF, 1:ON, 2:AUTO, 3:REDEYE_REDUCTION, 4:SLOW_SYNC, 5:FRONT_CURTAIN, 6:REAR_CURTAIN, 7:PERMANENT +StrobeMode = 1,3,2,-255,-255,-255,-255,4 || 2 +;StrobeStatus - Not support +;StrobeEV - Not support + + +[Effect] +Brightness = 0,8 || 4 +;Contrast = 1,7 || 4 +Saturation = 0,4 || 2 +Sharpness = 0,4 || 2 + +; White balance - real setting value +;;; 0:BASE, 1:AUTO, 2:SUNNY, 3:CLOUDY, 4:TUNGSTEN, 5:FLUORESCENT +; White balance - MSL value(convert array index) +;;; 0:NONE, 1:AUTO, 2:DAYLIGHT, 3:CLOUDY, 4:FLUORESCENT, 5:INCANDESCENT, 6:SHADE, 7:HORIZON, 8:FLASH, 9:CUSTOM +WhiteBalance = -255,1,2,3,5,4,-255,-255,-255,-255 || 1 + +; Color tone - real setting value +;;; 0:NONE, 1:SEPIA, 2:ANTIQUE, 3:NEGATIVE, 4:EMBOSS, 5:GRAY, 6:OUTLINE, 7:SOLARIZATION +; Color tone - MSL value(convert array index) +;;; 0:NONE, 1:MONO, 2:SEPIA, 3:NEGATIVE, 4:BLUE, 5:GREEN, 6:AQUA, 7:VIOLET, 8:ORANGE, 9:GRAY, 10:RED, +;;; 11:ANTIQUE, 12:WARM, 13:PINK, 14:YELLOW, 15:PURPLE, 16:EMBOSS, 17:OUTLINE, 18:SOLARIZATION_1, 19:SOLARIZATION_2, 20:SOLARIZATION_3, +;;; 21:SOLARIZATION_4, 22:SKETCH_1, 23:SKETCH_2, 24:SKETCH_3, 25:SKETCH_4 +;ColorTone = 1,-255,3,2,11,6,5,18,-255,-255,3,4,10,-255,-255,-255,-255,16,17,12,13,14,15,-255,-255,-255,-255 || 0 +ColorTone = 0,-255,1,3,-255,-255,-255,-255,-255,5,-255,2,-255,-255,-255,-255,4,6,7,-255,-255,-255,-255,-255,-255,-255 || 0 +; Flip - real setting value +;;; 0:NONE, 1:VERTICAL, 2:HORIZONTAL +; Flip - MSL value(convert array index) +;;; 0:HORIZONTAL, 1:VERTICAL, 2:NONE +;Flip = 2,1,0 || 0 + +; Wide Dynamic Range - real setting value +;;; 1:OFF, 2:ON, 3:AUTO +; Wide Dynamic Range - MSL value(convert array index) +;;; 0:OFF, 1:ON, 2:AUTO +WDR = 1,2,3 || 3 + + +[Photograph] +;LensInit = 0,1 || 0 +DigitalZoom = 0,30 || 0 +;OpticalZoom - Not support + +; Focus mode - real setting value +;;; Not Support, no need to convert +; Focus mode - MSL value(convert array index) +;;; 0:NONE, 1:PAN, 2:AUTO, 3:MANUAL, 4:TOUCH_AUTO, 5:CONTINUOUS +FocusMode = 0,2,0,1,3,4 || 3 + +; Auto focus type - real setting value +;;; 0:NORMAL, 1:MACRO, 2:FULL +; Auto focus - MSL value(convert array index) +;;; 0:NONE, 1:NORMAL, 2:MACRO, 3:FULL +AFType = -255,0,1,-255 || 0 + +; Auto exposure type - real setting value +;;; 0:BASE, 1:MATRIX, 2:CENTER, 3:SPOT, 4:MAX +; Auto exposure mode - MSL value(convert array index) +;;; 0,OFF 1,ALL 2,CENTER1 3,CENTER2 4,CENTER3 5,SPOT1 6,SPOT2 7,CUSTOM1 8,CUSTOM2 +AEType = -255,1,2,-255,-255,3,-255,-255,-255 || 1 + +ExposureValue = 1,9 || 5 +;FNumber - Not support +;ShutterSpeed - Not support + +; ISO - real setting value +;;; 0:AUTO, 1:50, 2:100, 3:200, 4:400, 5:800, 6:1600(Not Supported), 7:SPORTS(Not Supported), 8:NIGHT(Not Supported), 9:MOVIE(Not Supported) +; ISO - MSL value(convert array index) +;;; 0:AUTO, 1:50, 2:100, 3:200, 4:400, 5:800, 6:1600, 7:3200 +ISO = 0,1,2,3,4,5,-255,-255 || 0 + +; Program mode - real setting value +;;; 0:BASE, 1:NONE, 2:PORTRAIT, 3:NIGHTSHOT, 4:BACK_LIGHT, 5:LANDSCAPE, 6:SPORTS, 7:PARTY_INDOOR, 8:BEACH_SNOW, 9:SUNSET, 10:DUSK_DAWN, +;;; 11:FALL_COLOR, 12:FIREWORKS, 13:TEXT, 14:CANDLE_LIGHT +; Program mode - MSL value(convert array index) +;;; 0:NORMAL, 1:PORTRAIT, 2:LANDSCAPE, 3:SPORTS, 4:PARTY_N_INDOOR, 5:BEACH_N_INDOOR, 6:SUNSET, 7:DUSK_N_DAWN, 8:FALL_COLOR, 9:NIGHT_SCENE, +;;; 10:FIREWORK, 11:TEXT, 12:SHOW_WINDOW, 13:CANDLE_LIGHT, 14:BACKLIGHT +ProgramMode = 1,2,5,6,7,-255,9,10,11,3,12,13,-255,14,4 || 1 + +; Anti-handshake - real setting value +;;; 0:OFF, 1:Capture, 2:Movie +; Anti-handshake - MSL value(convert array index) +;;; 0:OFF, 1:ON, 2:AUTO, 3:MOVIE_ON +AntiHandshake = 0,1,-255,2 || 0 + + +[Capture] +; Output mode +;;; No need to convert +;;; 0:NV12, 1:NV12T, 2:NV16, 3:NV21, 4:YUYV, 5:UYVY, 6:422P, 7:I420, 8:YV12, 9:RGB565, 10:RGB888, 11:RGBA, 12:ARGB, 13:ENCODED +OutputMode = 0,4,7,13 || 13 +JpegQuality = 0,100 || 50 +MultishotNumber = 1,255 || 1 +SensorEncodedCapture = 1 + + +[Detect] +; Detect mode +;;; No need to convert +;;; 0:OFF, 1:ON +DetectMode = 0,1 || 0 +;DetectNumber - Not support +;DetectFocusSelect - Not support +;DetectSelectNumber - Not support +;DetectStatus - Not support + diff --git a/mmfw-sysconf-cleansdk-target/opt/etc/mmfw_camcorder_dev_video_sec.ini b/mmfw-sysconf-cleansdk-target/opt/etc/mmfw_camcorder_dev_video_sec.ini new file mode 100644 index 0000000..2759d15 --- /dev/null +++ b/mmfw-sysconf-cleansdk-target/opt/etc/mmfw_camcorder_dev_video_sec.ini @@ -0,0 +1,150 @@ +; < Camera/Camcorder Configure Control INI file > +; +; - aquila_FUJITSU_M5MOLS - VGA camera +; +; - Header List - +; 1. Camera +; 2. Strobe +; 3. Effect +; 4. Photograph +; 5. Capture +; 6. Detect +; +; - Note - +; If you want to add a new header, +; add a new enum value to "enum ConfigureCategoryControl" +; and new default table for it in mm_camcorder_configure.c/.h +; + +[Camera] +; Input index - real setting value +;;; 0:PRIMARY_CAMERA, 1:SECONDARY_CAMERA +; Input index - MSL value(convert array index) +;;; -1:NONE, 0:CAMERA0, 1:CAMERA1 +InputIndex = -255,1 || 1 +DeviceName = m4mo_VGA_c210 +PreviewResolution = 176,144 | 320,240 | 400,240 | 352,288 | 640,480 || 640,480 +CaptureResolution = 176,144 | 320,240 | 400,240 | 352,288 | 640,480 || 640,480 +FPS = 0,8,15,25,30 || 15 +; PictureForamt - MSL value +;;; 0:NV12, 1:NV12T, 2:NV16, 3:NV21, 4:YUYV, 5:UYVY, 6:422P, 7:I420, 8:YV12, 9:RGB565, 10:RGB888, 11:RGBA, 12:ARGB, 13:ENCODED +PictureFormat = 0,4,7 || 7 +Overlay = 0,1 || 1 +; Recommend display rotation +;;; 0:NONE, 1:90, 2:180, 3:270 +RecommendDisplayRotation = 3 + + +[Strobe] +; Strobe control - real setting value +;;; 1:OFF, 2:ON, 3:AUTO, 4:MOVIE_ON +; Strobe control - MSL value(convert array index) +;;; 0:OFF, 1:ON, 2:AUTO, 3:MOVIE_ON +StrobeControl = 1,2,3,4 || 3 +;StrobeCapabilities - Not support +;StrobeMode - Not support +;StrobeStatus - Not support +;StrobeEV - Not support + + +[Effect] +Brightness = 0,8 || 4 +;Contrast = 1,7 || 4 +Saturation = 0,4 || 2 +Sharpness = 0,4 || 2 + +; White balance - real setting value +;;; 0:BASE, 1:AUTO, 2:SUNNY, 3:CLOUDY, 4:TUNGSTEN, 5:FLUORESCENT +; White balance - MSL value(convert array index) +;;; 0:NONE, 1:AUTO, 2:DAYLIGHT, 3:CLOUDY, 4:FLUORESCENT, 5:INCANDESCENT, 6:SHADE, 7:HORIZON, 8:FLASH, 9:CUSTOM +WhiteBalance = -255,1,2,3,5,4,-255,-255,-255,-255 || 1 + +; Color tone - real setting value +;0:NONE, 1:SEPIA, 2:ANTIQUE, 3:NEGATIVE, 4:EMBOSS, 5:GRAY, 6:OUTLINE, 7:SOLARIZATION +; Color tone - MSL value(convert array index) +;;; 0:NONE, 1:MONO, 2:SEPIA, 3:NEGATIVE, 4:BLUE, 5:GREEN, 6:AQUA, 7:VIOLET, 8:ORANGE, 9:GRAY, 10:RED, +;;; 11:ANTIQUE, 12:WARM, 13:PINK, 14:YELLOW, 15:PURPLE, 16:EMBOSS, 17:OUTLINE, 18:SOLARIZATION_1, 19:SOLARIZATION_2, 20:SOLARIZATION_3, +;;; 21:SOLARIZATION_4, 22:SKETCH_1, 23:SKETCH_2, 24:SKETCH_3, 25:SKETCH_4 +ColorTone = 0,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255 || 0 + +; Flip - real setting value +;;; 0:NONE, 1:VERTICAL, 2:HORIZONTAL +; Flip - MSL value(convert array index) +;;; 0:HORIZONTAL, 1:VERTICAL, 2:NONE +;Flip = 2,1,0 || 0 + +; Wide Dynamic Range - real setting value +;;; 1:OFF, 2:ON, 3:AUTO +; Wide Dynamic Range - MSL value(convert array index) +;;; 0:OFF, 1:ON, 2:AUTO +WDR = 1,2,3 || 3 + + +[Photograph] +;LensInit = 0,1 || 0 +DigitalZoom = 0,30 || 0 +;OpticalZoom - Not support + +; Focus mode - real setting value +;;; Not Support, no need to convert +; Focus mode - MSL value(convert array index) +;;; 0:NONE, 1:PAN, 2:AUTO, 3:MANUAL, 4:TOUCH_AUTO, 5:CONTINUOUS +FocusMode = 0,-255,0,-255,0,-255 || 0 + +; Auto focus type - real setting value +;;; 0:NORMAL, 1:MACRO, 2:FULL +; Auto focus - MSL value(convert array index) +;;; 0:NONE, 1:NORMAL, 2:MACRO, 3:FULL +AFType = -255,0,1,-255 || 0 + +; Auto exposure type - real setting value +;;; 0:BASE, 1:MATRIX, 2:CENTER, 3:SPOT, 4:MAX +; Auto exposure mode - MSL value(convert array index) +;;; 0:OFF, 1:ALL, 2:CENTER1, 3:CENTER2, 4:CENTER3, 5:SPOT1, 6:SPOT2, 7:CUSTOM1, 8:CUSTOM2 +AEType = -255,1,2,-255,-255,5,-255,-255,-255 || 1 + +ExposureValue = 1,9 || 5 +;FNumber - Not support +;ShutterSpeed - Not support + +; ISO - real setting value +;;; 0:AUTO, 1:50, 2:100, 3:200, 4:400, 5:800, 6:1600(Not Supported), 7:SPORTS(Not Supported), 8:NIGHT(Not Supported), 9:MOVIE(Not Supported) +; ISO - MSL value(convert array index) +;;; 0:AUTO, 1:50, 2:100, 3:200, 4:400, 5:800, 6:1600, 7:3200 +ISO = 0,1,2,3,4,5,-255,-255 || 0 + +; Program mode - real setting value +;;; 0:BASE, 1:NONE, 2:PORTRAIT, 3:NIGHTSHOT, 4:BACK_LIGHT, 5:LANDSCAPE, 6:SPORTS, 7:PARTY_INDOOR, 8:BEACH_SNOW, 9:SUNSET, 10:DUSK_DAWN, +;;; 11:FALL_COLOR, 12:FIREWORKS, 13:TEXT, 14:CANDLE_LIGHT +; Program mode - MSL value(convert array index) +;;; 0:NORMAL, 1:PORTRAIT, 2:LANDSCAPE, 3:SPORTS, 4:PARTY_N_INDOOR, 5:BEACH_N_INDOOR, 6:SUNSET, 7:DUSK_N_DAWN, 8:FALL_COLOR, 9:NIGHT_SCENE, +;;; 10:FIREWORK, 11:TEXT, 12:SHOW_WINDOW, 13:CANDLE_LIGHT, 14:BACKLIGHT +ProgramMode = 1,2,5,6,7,-255,9,10,11,3,12,13,-255,14,4 || 1 + +; Anti-handshake - real setting value +;;; 1:OFF, 2:ON, 3:AUTO, 4:MOVIE_ON +; Anti-handshake - MSL value(convert array index) +;;; 0:OFF, 1:ON, 2:AUTO, 3:MOVIE_ON +AntiHandshake = 1,2,3,4 || 0 + + +[Capture] +; Output mode +;;; No need to convert +;;; 0:NV12, 1:NV12T, 2:NV16, 3:NV21, 4:YUYV, 5:UYVY, 6:422P, 7:I420, 8:YV12, 9:RGB565, 10:RGB888, 11:RGBA, 12:ARGB, 13:ENCODED +OutputMode = 0,4,7,13 || 13 +JpegQuality = 0,100 || 50 +MultishotNumber = 1,255 || 1 +SensorEncodedCapture = 0 + + +[Detect] +; Detect mode +;;; No need to convert +;;; 0:OFF, 1:ON +DetectMode = 0,1 || 0 +;DetectNumber - Not support +;DetectFocusSelect - Not support +;DetectSelectNumber - Not support +;DetectStatus - Not support + diff --git a/mmfw-sysconf-cleansdk-target/opt/etc/mmfw_player.ini b/mmfw-sysconf-cleansdk-target/opt/etc/mmfw_player.ini new file mode 100644 index 0000000..fdc2a40 --- /dev/null +++ b/mmfw-sysconf-cleansdk-target/opt/etc/mmfw_player.ini @@ -0,0 +1,133 @@ +[general] + +; if disabled typefind element will used directely +use decodebin = no ; async state change problem exist + +use sink handler = yes + +disable segtrap = yes ; same effect with --gst-disable-segtrap + +; set default video sink but, it can be replaced with others selected by application +; 0:v4l2sink, 1:ximagesink, 2:xvimagesink, 3:fakesink 4:evasimagesink 5:glimagesink +videosink element = 2 + +video converter element = ffmpegcolorspace + +audiosink element = avsysaudiosink + +drmsrc element = filesrc + +; if yes. gstreamer will not update registry +skip rescan = yes +delay before repeat = 50 ; msec + +; comma separated list of tocken which elemnts has it in it's name will not be used +element exclude keyword = + +async start = yes + +multiple codec supported = no + +; parameters for initializing gstreamer +gstparam1 = +gstparam2 = +gstparam3 = +gstparam4 = +gstparam5 = + +; generating dot file representing pipeline state +generate dot = no + +; parameter for clock provide in audiosink +provide clock = yes + +; allowed timeout for changing pipeline state +live state change timeout = 30 ; sec +localplayback state change timeout = 4 ; sec + +; delay in msec for sending EOS +eos delay = 150 ; msec + + +[http streaming] + +httppsrc element = souphttpsrc + +httpbuffer element = queue2 + +; if set, use file or not use memory for buffering +http temp template = /opt/media/XXXXXX + +http use buffering = yes + +http buffering low limit = 1 ; percent + +http buffering high limit = 15 ; percent + +http file buffer max size = 104857600 ; bytes + +http max size buffers = 0 + +http max size bytes = 4194304 ; bytes + +http max size time = 0 + +http use rate estimate = no + +http timeout = 30 ; sec + +http buffering time = 1.2 + + +[rtsp streaming] + +rtspsrc element = secrtspsrc + +rtsp buffering time = 5000; msec + +rtsp rebuffering time = 15000; msec + +rtsp audio packet drop rate = 0; percent + +rtsp video packet drop rate = 0; percent + +rtsp do typefinding = no; if no, caps on rtspsrc:src pad will be used for autoplugging + +rtsp dump video frame = no + +rtsp dump audio frame = no + +rtsp stack debug = no + +rtsp error concealment = yes + + +[hw accelation] +use video hw accel = no + + +[features] + +audio filter = no + + +[priority] + +use priority setting = no + +demux = 95 + +videosink = 96 + +audiosink = 97 + +ringbuffer = 98 + +[subtitle] + +use subtitle setting = no + +subtitle uri = + +subtitle silent = no + diff --git a/mmfw-sysconf-simulator/etc/asound.conf b/mmfw-sysconf-simulator/etc/asound.conf new file mode 100644 index 0000000..0ecfd1f --- /dev/null +++ b/mmfw-sysconf-simulator/etc/asound.conf @@ -0,0 +1,28 @@ +# default sound configuration for simulator + +pcm. !default { + type hw + card 0 +} + +ctl. !default { + type hw + card 0 +} + +pcm. AIF2{ + type hw + card 0 + device 1 +} + +pcm. AIF3{ + type hw + card 0 + device 3 +} + +#LPaudio of simulator does not supported +pcm. lpaudio { + type null +} diff --git a/mmfw-sysconf-simulator/opt/etc/mmfw_camcorder.ini b/mmfw-sysconf-simulator/opt/etc/mmfw_camcorder.ini new file mode 100644 index 0000000..0648755 --- /dev/null +++ b/mmfw-sysconf-simulator/opt/etc/mmfw_camcorder.ini @@ -0,0 +1,117 @@ +; < Camera/Camcorder Configure Main INI file > +; +; - SDK Camera +; +; - Header List - +; 1. General +; 2. VideoInput +; 3. AudioInput +; 4. VideoOutput +; 5. Capture +; 6. Record +; 7. VideoEncoder +; 8. AudioEncoder +; 9. ImageEncoder +; 10. Mux +; +; - Note - +; If you want to add a new header, +; add a new enum value to "enum ConfigureCategoryMain" +; and new default table for it in mm_camcorder_configure.c/.h +; + +[General] +SyncStateChange = 1 +;GSTInitOption = --gst-enable-tiny-registry --gst-disable-segtrap || NOT-USE-DEFAULT_VALUE +;GSTInitOption = --gst-debug=3,avsysvideosrc:4 || NOT-USE-DEFAULT_VALUE +ModelName = TIZEN_SDK +;DisabledAttributes = camera-optical-zoom camera-af-touch-x camera-af-touch-y camera-exposure-value camera-f-number camera-shutter-speed camera-hold-af-after-capturing filter-flip filter-hue display-src-x display-src-y display-src-width display-src-height tag-image-description strobe-control strobe-capabilities strobe-mode detect-mode detect-number detect-focus-select detect-select-number detect-status || NO_DEFAULT_VALUE + +[VideoInput] +UseConfCtrl = 1 +ConfCtrlFile0 = mmfw_camcorder_dev_video_pri.ini +ConfCtrlFile1 = mmfw_camcorder_dev_video_sec.ini +;VideosrcElement = avsysvideosrc | 3,0 | do-timestamp,1 | use-pad-alloc,1 | num-alloc-buf,5 +VideosrcElement = v4l2src | 1,1 | do-timestamp,1 | device,/dev/video0 +;VideosrcElement = videotestsrc | 0,0 +UseVideoscale = 0 +VideoscaleElement = videoscale | 3,0 | width,320 | height,240 | method,1 + +[AudioInput] +;AudiosrcElement = avsysaudiosrc | 2,0 | do-timestamp,1 | slave-method,3 +AudiosrcElement = audiotestsrc | 2,0 | do-timestamp,1 | is-live,1 +AudiomodemsrcElement = audiotestsrc | 2,0 | do-timestamp,1 | is-live,1 + +[VideoOutput] +; DisplayDevice +;;; 0: MAIN LCD, 1: SUB LCD, 2:TV OUT, 3: MAIN LCD and SUB LCD, 4: MAIN LCD and TV OUT +DisplayDevice = 0 || 0 +; Videosink +;;; 0: X surface, 1: Evas surface, 2: GL surface, 3: NULL surface +Videosink = 0,1,3 || 0 +;VideosinkElementX = ximagesink | 4,0 | force-aspect-ratio,1 | handle-events,1 | qos,0 | sync,0 +VideosinkElementX = xvimagesink | 5,0 | draw-borders,0 | force-aspect-ratio,1 | enable-last-buffer,0 | qos,0 | sync,0 +VideosinkElementEvas = evasimagesink | 0,0 +;VideosinkElementGL = glimagesink | 0,0 +VideosinkElementNull = fakesink | 2,0 | qos,0 | sync,0 +UseVideoscale = 0 +VideoscaleElement = videoscale | 1,0 | method,1 + +[VideoEncoder] +H263 = ffenc_h263 | 0,0 +MPEG4 = ffenc_mpeg4 | 0,0 +THEORA = theoraenc | 1,0 | num-bufs,4 + +[AudioEncoder] +AMR = amrnbenc | 0,0 +MP3 = lame | 0,0 +AAC = ari_aacenc | 0,0 +WAVE = wavenc | 0,0 +VORBIS = vorbisenc | 0,0 + + +[ImageEncoder] +JPEG = jpegenc | 0,0 +PNG = pngenc | 0,0 + +[Capture] +UseEncodebin = 1 +UseCaptureMode = 0 +VideoscaleElement = videoscale | 1,0 | method,1 +; RecommandPreviewFormat +;;; 0:NV12, 1:NV12T, 2:NV16, 3:NV21, 4:YUYV, 5:UYVY, 6:422P, 7:I420, 8:YV12, 9:RGB565, 10:RGB888, 11:RGBA, 12:ARGB, 13:ENCODED +RecommendPreviewFormat = 7 + +[Record] +UseAudioEncoderQueue = 1 +UseVideoEncoderQueue = 1 +VideoProfile = 0 +VideoAutoAudioConvert = 1 +VideoAutoAudioResample = 0 +VideoAutoColorSpace = 0 +AudioProfile = 1 +AudioAutoAudioConvert = 1 +AudioAutoAudioResample = 0 +AudioAutoColorSpace = 0 +ImageProfile = 2 +ImageAutoAudioConvert = 0 +ImageAutoAudioResample = 0 +ImageAutoColorSpace = 0 +RecordsinkElement = filesink | 1,0 | async,0 +UseNoiseSuppressor = 0 +DropVideoFrame = 0 +PassFirstVideoFrame = 0 +; RecommandPreviewFormat +;;; 0:NV12, 1:NV12T, 2:NV16, 3:NV21, 4:YUYV, 5:UYVY, 6:422P, 7:I420, 8:YV12, 9:RGB565, 10:RGB888, 11:RGBA, 12:ARGB, 13:ENCODED +RecommendPreviewFormat = 7 + +[Mux] +;3GP = ffmux_3gp_ext | 0,0 +3GP = ffmux_3gp | 0,0 +;AMR = ffmux_amr_ext | 0,0 +AMR = ffmux_amr | 0,0 +;MP4 = ffmux_mp4_ext | 0,0 +MP4 = ffmux_mp4 | 0,0 +OGG = oggmux | 0,0 +WAV = wavenc | 0,0 + diff --git a/mmfw-sysconf-simulator/opt/etc/mmfw_camcorder_dev_video_pri.ini b/mmfw-sysconf-simulator/opt/etc/mmfw_camcorder_dev_video_pri.ini new file mode 100644 index 0000000..328275a --- /dev/null +++ b/mmfw-sysconf-simulator/opt/etc/mmfw_camcorder_dev_video_pri.ini @@ -0,0 +1,163 @@ +; < Camera/Camcorder Configure Control INI file > +; +; - SDK Camera. Mega Camera. +; +; - Header List - +; 1. Camera +; 2. Strobe +; 3. Effect +; 4. Photograph +; 5. Capture +; 6. Detect +; +; - Note - +; If you want to add a new header, +; add a new enum value to "enum ConfigureCategoryControl" +; and new default table for it in mm_camcorder_configure.c/.h +; + +[Camera] +; Input index - real setting value +;;; 0:PRIMARY_CAMERA, 1:SECONDARY_CAMERA +; Input index - MSL value(convert array index) +;;; -1:NONE, 0:CAMERA0, 1:CAMERA1 +InputIndex = 0,-255 || 0 +DeviceName = virtual driver +PreviewResolution = 160,120 | 176,144 | 320,240 | 352,288 | 640,480 || 640,480 +CaptureResolution = 160,120 | 176,144 | 320,240 | 352,288 | 640,480 || 640,480 +FPS = 30 || 30 +; PictureForamt - MSL value +;;; 0:NV12, 1:NV12T, 2:NV16, 3:NV21, 4:YUYV, 5:UYVY, 6:422P, 7:I420, 8:YV12, 9:RGB565, 10:RGB888, 11:RGBA, 12:ARGB, 13:ENCODED +PictureFormat = 4,7,8 || 4 +Overlay = 0,1 || 1 + + +[Strobe] +; Strobe control - real setting value +;;; 1:OFF, 2:ON, 3:AUTO, 4:MOVIE_ON +; Strobe control - MSL value(convert array index) +;;; 0:OFF, 1:ON, 2:AUTO, 3:MOVIE_ON +;StrobeControl = 1,2,3,4 || 3 +;StrobeCapabilities - Not support +;StrobeMode - Not support +;StrobeStatus - Not support +;StrobeEV - Not support + + +[Effect] +Brightness = 1,20 || 10 +Contrast = 1,20 || 10 +Saturation = 1,20 || 10 +Sharpness = 1,20 || 10 + +; White balance - real setting value +;;; 0:AUTO, 1:INCANDESCENT, 2:FLUORESCENT_HIGH, 3:FLUORESCENT_LOW, 4:DAYLIGHT, 5:CLOUDY, 6:SHADE, 7:HORIZON, 8:CUSTOM , 9:LED_LIGHT +; White balance - MSL value(convert array index) +;;; 0:NONE, 1:AUTO, 2:DAYLIGHT, 3:CLOUDY, 4:FLUOROSCENT, 5:INCANDESCENT, 6:SHADE, 7:HORIZON, 8:FLASH, 9:CUSTOM +;WhiteBalance = -255,1,4,5,3,2,6,7,-255,-255 || 1 +;WhiteBalance = -255,0,4,5,2,1,6,7,9,8 || 0 + +; Color tone - real setting value +;;; 0:NONE, 1:SEPIA, 2:ANTIQUE, 3:NEGATIVE, 4:EMBOSS, 5:GRAY, 6:OUTLINE, 7:SOLARIZATION +; Color tone - MSL value(convert array index) +;;; 0:NONE, 1:MONO, 2:SEPIA, 3:NEGATIVE, 4:BLUE, 5:GREEN, 6:AQUA, 7:VIOLET, 8:ORANGE, 9:GRAY, 10:REC, +;;; 11:ANTIQUE, 12:WARM, 13:PINK, 14:YELLOW, 15:PURPLE, 16:EMBOSS, 17:OUTLINE, 18:SOLARIZATION_1, 19:SOLARIZATION_2, 20:SOLARIZATION_3, +;;; 21:SOLARIZATION_4, 22:SKETCH_1, 23:SKETCH_2, 24:SKETCH_3, 25:SKETCH_4 +;ColorTone = 1,-255,3,2,11,6,5,18,-255,-255,3,4,10,-255,-255,-255,-255,16,17,12,13,14,15,-255,-255,-255,-255 || 0 +;ColorTone = 0,-255,1,3,-255,-255,-255,-255,-255,5,-255,2,-255,-255,-255,-255,4,6,7,-255,-255,-255,-255,-255,-255,-255 || 0 +; Flip - real setting value +;;; 0:NONE, 1:VERTICAL, 2:HORIZONTAL +; Flip - MSL value(convert array index) +;;; 0:HORIZONTAL, 1:VERTICAL, 2:NONE +;Flip = 2,1,0 || 0 + +; Wide Dynamic Range - real setting value +;;; 1:OFF, 2:ON, 3:AUTO +; Wide Dynamic Range - MSL value(convert array index) +;;; 0:OFF, 1:ON, 2:AUTO +;WDR = 1,2,3 || 3 + +; Part color mode - real setting value +;;; 0:OFF, 1:SWAP, 2:ACCENT +; Part color mode - MSL value(convert array index) +;;; 0:OFF, 1:SWAP, 2:ACCENT +;PartColorMode = 0,1,2 || 0 + +; Part color - real setting value +;;; 0:VIOLET, 1:PURPLE, 2:MAGENTA_1, 3:MAGENTA_2, 4:RED_1, 5:RED_2, 6:BROWN, 7:YELLOW, 8:GREEN_1, 9:GREEN_2, 10:GREEN_3, +;;; 11:GREEN_4, 12:COBALT, 13:CYAN, 14:BLUE_1, 15:BLUE_2, 16:GRAY +; Part color - MSL value(convert array index) +;;; 0:VIOLET, 1:PURPLE, 2:MAGENTA_1, 3:MAGENTA_2, 4:RED_1, 5:RED_2, 6:BROWN, 7:YELLOW, 8:GREEN_1, 9:GREEN_2, 10:GREEN_3, +;;; 11:GREEN_4, 12:COBALT_BLUE, 13:CYAN, 14:BLUE_1, 15:BLUE_2, 16:GRAY +;PartColor = 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16 || 0 + + +[Photograph] +;LensInit = 0,1 || 0 +;DigitalZoom = 10,30 || 10 +;OpticalZoom - Not support + +; Focus mode - real setting value +;;; Not Support, no need to convert +; Focus mode - MSL value(convert array index) +;;; 0:NONE, 1:PAN, 2:AUTO, 3:MANUAL, 4:TOUCH_AUTO, 5:CONTINUOUS +;FocusMode = 0,2,0,1,3,4 || 3 + +; Auto focus type - real setting value +;;; 0:NORMAL, 1:MACRO, 2:FULL +; Auto focus - MSL value(convert array index) +;;; 0:NONE, 1:NORMAL, 2:MACRO, 3:FULL +;AFType = -255,0,1,-255 || 0 + +; Auto exposure type - real setting value +;;; 1,ALL 2,CENTER 3,SPOT +; Auto exposure mode - MSL value(convert array index) +;;; 0,OFF 1,ALL 2,CENTER1 3,CENTER2 4,CENTER3 5,SPOT1 6,SPOT2 7,CUSTOM1 8,CUSTOM2 +;AEType = -255,1,2,-255,-255,3,-255,-255,-255 || 1 + +;ExposureValue = 1,9 || 5 +;FNumber - Not support +;ShutterSpeed - Not support + +; ISO - real setting value +;;; 0:AUTO, 1:50, 2:100, 3:200, 4:400, 5:800, 6:1600(Not Supported), 7:3200(Not Supported) +; ISO - MSL value(convert array index) +;;; 0:AUTO, 1:50, 2:100, 3:200, 4:400, 5:800, 6:1600, 7:3200 +;ISO = 0,1,2,3,4,5,-255,-255 || 0 + +; Program mode - real setting value +;;; 0:NONE, 1:FALL_COLOR, 2:DUSK_N_DAWN, 3:CANDLE_LIGHT, 4:BEACH_SNOW, 5:BACKLIGHT, 6:LANDSCAPE, 7:NIGHT_SCENE, 8:PORTRAIT, 9:SPORTS, 10:INDOOR, +;;; 11:FIREWORK, 12:TEXT, 13:SHOW_WINDOW +; Program mode - MSL value(convert array index) +;;; 0:NORMAL, 1:PORTRAIT, 2:LANDSCAPE, 3:SPORTS, 4:PARTY_N_INDOOR, 5:BEACH_N_INDOOR, 6:SUNSET, 7:DUSK_N_DAWN, 8:FALL_COLOR, 9:NIGHT_SCENE, +;;; 10:FIREWORK, 11:TEXT, 12:SHOW_WINDOW, 13:CANDLE_LIGHT, 14:BACKLIGHT +;ProgramMode = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 || 1 +;ProgramMode = 0,8,6,9,10,4,-255,2,1,7,11,12,13,3,5 || 0 + +; Anti-handshake - real setting value +;;; 0:OFF, 1:Capture, 2:Movie +; Anti-handshake - MSL value(convert array index) +;;; 0:OFF, 1:ON, 2:AUTO, 3:MOVIE_ON +;AntiHandshake = 0,1,-255,2 || 0 + + +[Capture] +; Output mode +;;; No need to convert +;;; 0:NV12, 1:NV12T, 2:NV16, 3:NV21, 4:YUYV, 5:UYVY, 6:422P, 7:I420, 8:YV12, 9:RGB565, 10:RGB888, 11:RGBA, 12:ARGB, 13:ENCODED +OutputMode = 4,7,8,13 || 13 +JpegQuality = 0,100 || 50 +MultishotNumber = 1,255 || 1 +SensorEncodedCapture = 0 + + +[Detect] +; Detect mode +;;; No need to convert +;;; 0:OFF, 1:ON +;DetectMode = 0,1 || 0 +;DetectNumber - Not support +;DetectFocusSelect - Not support +;DetectSelectNumber - Not support +;DetectStatus - Not support + diff --git a/mmfw-sysconf-simulator/opt/etc/mmfw_camcorder_dev_video_sec.ini b/mmfw-sysconf-simulator/opt/etc/mmfw_camcorder_dev_video_sec.ini new file mode 100644 index 0000000..873bb71 --- /dev/null +++ b/mmfw-sysconf-simulator/opt/etc/mmfw_camcorder_dev_video_sec.ini @@ -0,0 +1,163 @@ +; < Camera/Camcorder Configure Control INI file > +; +; - SDK Camera - VGA Camera +; +; - Header List - +; 1. Camera +; 2. Strobe +; 3. Effect +; 4. Photograph +; 5. Capture +; 6. Detect +; +; - Note - +; If you want to add a new header, +; add a new enum value to "enum ConfigureCategoryControl" +; and new default table for it in mm_camcorder_configure.c/.h +; + +[Camera] +; Input index - real setting value +;;; 0:PRIMARY_CAMERA, 1:SECONDARY_CAMERA +; Input index - MSL value(convert array index) +;;; -1:NONE, 0:CAMERA0, 1:CAMERA1 +InputIndex = -255,0 || 0 +DeviceName = virtual driver +PreviewResolution = 160,120 | 176,144 | 320,240 | 352,288 | 640,480 || 640,480 +CaptureResolution = 160,120 | 176,144 | 320,240 | 352,288 | 640,480 || 640,480 +FPS = 30 || 30 +; PictureForamt - MSL value +;;; 0:NV12, 1:NV12T, 2:NV16, 3:NV21, 4:YUYV, 5:UYVY, 6:422P, 7:I420, 8:YV12, 9:RGB565, 10:RGB888, 11:RGBA, 12:ARGB, 13:ENCODED +PictureFormat = 4,7,8 || 4 +Overlay = 0,1 || 1 + + +[Strobe] +; Strobe control - real setting value +;;; 1:OFF, 2:ON, 3:AUTO, 4:MOVIE_ON +; Strobe control - MSL value(convert array index) +;;; 0:OFF, 1:ON, 2:AUTO, 3:MOVIE_ON +;StrobeControl = 1,2,3,4 || 3 +;StrobeCapabilities - Not support +;StrobeMode - Not support +;StrobeStatus - Not support +;StrobeEV - Not support + + +[Effect] +Brightness = 1,20 || 10 +Contrast = 1,20 || 10 +Saturation = 1,20 || 10 +Sharpness = 1,20 || 10 + +; White balance - real setting value +;;; 0:AUTO, 1:INCANDESCENT, 2:FLUORESCENT_HIGH, 3:FLUORESCENT_LOW, 4:DAYLIGHT, 5:CLOUDY, 6:SHADE, 7:HORIZON, 8:CUSTOM , 9:LED_LIGHT +; White balance - MSL value(convert array index) +;;; 0:NONE, 1:AUTO, 2:DAYLIGHT, 3:CLOUDY, 4:FLUOROSCENT, 5:INCANDESCENT, 6:SHADE, 7:HORIZON, 8:FLASH, 9:CUSTOM +;WhiteBalance = -255,1,4,5,3,2,6,7,-255,-255 || 1 +;WhiteBalance = -255,0,4,5,2,1,6,7,9,8 || 0 + +; Color tone - real setting value +;;; 0:NONE, 1:SEPIA, 2:ANTIQUE, 3:NEGATIVE, 4:EMBOSS, 5:GRAY, 6:OUTLINE, 7:SOLARIZATION +; Color tone - MSL value(convert array index) +;;; 0:NONE, 1:MONO, 2:SEPIA, 3:NEGATIVE, 4:BLUE, 5:GREEN, 6:AQUA, 7:VIOLET, 8:ORANGE, 9:GRAY, 10:REC, +;;; 11:ANTIQUE, 12:WARM, 13:PINK, 14:YELLOW, 15:PURPLE, 16:EMBOSS, 17:OUTLINE, 18:SOLARIZATION_1, 19:SOLARIZATION_2, 20:SOLARIZATION_3, +;;; 21:SOLARIZATION_4, 22:SKETCH_1, 23:SKETCH_2, 24:SKETCH_3, 25:SKETCH_4 +;ColorTone = 1,-255,3,2,11,6,5,18,-255,-255,3,4,10,-255,-255,-255,-255,16,17,12,13,14,15,-255,-255,-255,-255 || 0 +;ColorTone = 0,-255,1,3,-255,-255,-255,-255,-255,5,-255,2,-255,-255,-255,-255,4,6,7,-255,-255,-255,-255,-255,-255,-255 || 0 +; Flip - real setting value +;;; 0:NONE, 1:VERTICAL, 2:HORIZONTAL +; Flip - MSL value(convert array index) +;;; 0:HORIZONTAL, 1:VERTICAL, 2:NONE +;Flip = 2,1,0 || 0 + +; Wide Dynamic Range - real setting value +;;; 1:OFF, 2:ON, 3:AUTO +; Wide Dynamic Range - MSL value(convert array index) +;;; 0:OFF, 1:ON, 2:AUTO +;WDR = 1,2,3 || 3 + +; Part color mode - real setting value +;;; 0:OFF, 1:SWAP, 2:ACCENT +; Part color mode - MSL value(convert array index) +;;; 0:OFF, 1:SWAP, 2:ACCENT +;PartColorMode = 0,1,2 || 0 + +; Part color - real setting value +;;; 0:VIOLET, 1:PURPLE, 2:MAGENTA_1, 3:MAGENTA_2, 4:RED_1, 5:RED_2, 6:BROWN, 7:YELLOW, 8:GREEN_1, 9:GREEN_2, 10:GREEN_3, +;;; 11:GREEN_4, 12:COBALT, 13:CYAN, 14:BLUE_1, 15:BLUE_2, 16:GRAY +; Part color - MSL value(convert array index) +;;; 0:VIOLET, 1:PURPLE, 2:MAGENTA_1, 3:MAGENTA_2, 4:RED_1, 5:RED_2, 6:BROWN, 7:YELLOW, 8:GREEN_1, 9:GREEN_2, 10:GREEN_3, +;;; 11:GREEN_4, 12:COBALT_BLUE, 13:CYAN, 14:BLUE_1, 15:BLUE_2, 16:GRAY +;PartColor = 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16 || 0 + + +[Photograph] +;LensInit = 0,1 || 0 +;DigitalZoom = 10,30 || 10 +;OpticalZoom - Not support + +; Focus mode - real setting value +;;; Not Support, no need to convert +; Focus mode - MSL value(convert array index) +;;; 0:NONE, 1:PAN, 2:AUTO, 3:MANUAL, 4:TOUCH_AUTO, 5:CONTINUOUS +;FocusMode = 0,2,0,1,3,4 || 3 + +; Auto focus type - real setting value +;;; 0:NORMAL, 1:MACRO, 2:FULL +; Auto focus - MSL value(convert array index) +;;; 0:NONE, 1:NORMAL, 2:MACRO, 3:FULL +;AFType = -255,0,1,-255 || 0 + +; Auto exposure type - real setting value +;;; 1,ALL 2,CENTER 3,SPOT +; Auto exposure mode - MSL value(convert array index) +;;; 0,OFF 1,ALL 2,CENTER1 3,CENTER2 4,CENTER3 5,SPOT1 6,SPOT2 7,CUSTOM1 8,CUSTOM2 +;AEType = -255,1,2,-255,-255,3,-255,-255,-255 || 1 + +;ExposureValue = 1,9 || 5 +;FNumber - Not support +;ShutterSpeed - Not support + +; ISO - real setting value +;;; 0:AUTO, 1:50, 2:100, 3:200, 4:400, 5:800, 6:1600(Not Supported), 7:3200(Not Supported) +; ISO - MSL value(convert array index) +;;; 0:AUTO, 1:50, 2:100, 3:200, 4:400, 5:800, 6:1600, 7:3200 +;ISO = 0,1,2,3,4,5,-255,-255 || 0 + +; Program mode - real setting value +;;; 0:NONE, 1:FALL_COLOR, 2:DUSK_N_DAWN, 3:CANDLE_LIGHT, 4:BEACH_SNOW, 5:BACKLIGHT, 6:LANDSCAPE, 7:NIGHT_SCENE, 8:PORTRAIT, 9:SPORTS, 10:INDOOR, +;;; 11:FIREWORK, 12:TEXT, 13:SHOW_WINDOW +; Program mode - MSL value(convert array index) +;;; 0:NORMAL, 1:PORTRAIT, 2:LANDSCAPE, 3:SPORTS, 4:PARTY_N_INDOOR, 5:BEACH_N_INDOOR, 6:SUNSET, 7:DUSK_N_DAWN, 8:FALL_COLOR, 9:NIGHT_SCENE, +;;; 10:FIREWORK, 11:TEXT, 12:SHOW_WINDOW, 13:CANDLE_LIGHT, 14:BACKLIGHT +;ProgramMode = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 || 1 +;ProgramMode = 0,8,6,9,10,4,-255,2,1,7,11,12,13,3,5 || 0 + +; Anti-handshake - real setting value +;;; 0:OFF, 1:Capture, 2:Movie +; Anti-handshake - MSL value(convert array index) +;;; 0:OFF, 1:ON, 2:AUTO, 3:MOVIE_ON +;AntiHandshake = 0,1,-255,2 || 0 + + +[Capture] +; Output mode +;;; No need to convert +;;; 0:NV12, 1:NV12T, 2:NV16, 3:NV21, 4:YUYV, 5:UYVY, 6:422P, 7:I420, 8:YV12, 9:RGB565, 10:RGB888, 11:RGBA, 12:ARGB, 13:ENCODED +OutputMode = 4,7,8,13 || 13 +JpegQuality = 0,100 || 50 +MultishotNumber = 1,255 || 1 +SensorEncodedCapture = 0 + + +[Detect] +; Detect mode +;;; No need to convert +;;; 0:OFF, 1:ON +;DetectMode = 0,1 || 0 +;DetectNumber - Not support +;DetectFocusSelect - Not support +;DetectSelectNumber - Not support +;DetectStatus - Not support + diff --git a/mmfw-sysconf-simulator/opt/etc/mmfw_player.ini b/mmfw-sysconf-simulator/opt/etc/mmfw_player.ini new file mode 100644 index 0000000..fdc2a40 --- /dev/null +++ b/mmfw-sysconf-simulator/opt/etc/mmfw_player.ini @@ -0,0 +1,133 @@ +[general] + +; if disabled typefind element will used directely +use decodebin = no ; async state change problem exist + +use sink handler = yes + +disable segtrap = yes ; same effect with --gst-disable-segtrap + +; set default video sink but, it can be replaced with others selected by application +; 0:v4l2sink, 1:ximagesink, 2:xvimagesink, 3:fakesink 4:evasimagesink 5:glimagesink +videosink element = 2 + +video converter element = ffmpegcolorspace + +audiosink element = avsysaudiosink + +drmsrc element = filesrc + +; if yes. gstreamer will not update registry +skip rescan = yes +delay before repeat = 50 ; msec + +; comma separated list of tocken which elemnts has it in it's name will not be used +element exclude keyword = + +async start = yes + +multiple codec supported = no + +; parameters for initializing gstreamer +gstparam1 = +gstparam2 = +gstparam3 = +gstparam4 = +gstparam5 = + +; generating dot file representing pipeline state +generate dot = no + +; parameter for clock provide in audiosink +provide clock = yes + +; allowed timeout for changing pipeline state +live state change timeout = 30 ; sec +localplayback state change timeout = 4 ; sec + +; delay in msec for sending EOS +eos delay = 150 ; msec + + +[http streaming] + +httppsrc element = souphttpsrc + +httpbuffer element = queue2 + +; if set, use file or not use memory for buffering +http temp template = /opt/media/XXXXXX + +http use buffering = yes + +http buffering low limit = 1 ; percent + +http buffering high limit = 15 ; percent + +http file buffer max size = 104857600 ; bytes + +http max size buffers = 0 + +http max size bytes = 4194304 ; bytes + +http max size time = 0 + +http use rate estimate = no + +http timeout = 30 ; sec + +http buffering time = 1.2 + + +[rtsp streaming] + +rtspsrc element = secrtspsrc + +rtsp buffering time = 5000; msec + +rtsp rebuffering time = 15000; msec + +rtsp audio packet drop rate = 0; percent + +rtsp video packet drop rate = 0; percent + +rtsp do typefinding = no; if no, caps on rtspsrc:src pad will be used for autoplugging + +rtsp dump video frame = no + +rtsp dump audio frame = no + +rtsp stack debug = no + +rtsp error concealment = yes + + +[hw accelation] +use video hw accel = no + + +[features] + +audio filter = no + + +[priority] + +use priority setting = no + +demux = 95 + +videosink = 96 + +audiosink = 97 + +ringbuffer = 98 + +[subtitle] + +use subtitle setting = no + +subtitle uri = + +subtitle silent = no + diff --git a/packaging/mmfw-sysconf.spec b/packaging/mmfw-sysconf.spec new file mode 100644 index 0000000..6e74b5c --- /dev/null +++ b/packaging/mmfw-sysconf.spec @@ -0,0 +1,95 @@ +Name: mmfw-sysconf +Summary: Multimedia Framework system configuration package +Version: 0.1.8 +Release: 1 +Group: TO_BE/FILLED_IN +License: TO BE FILLED IN +Source0: %{name}-%{version}.tar.gz + +%description +Multimedia Framework system configuration package + +%package simulator +Summary: Multimedia Framework system configuration package for simulator +Group: TO_BE/FILLED_IN + +%description simulator +Multimedia Framework system configuration package for simulator + + +%prep +%setup -q + +%build + +%install +rm -rf %{buildroot} + +mkdir -p %{buildroot}%{_sysconfdir}/mmfw-sysconf +mkdir -p %{buildroot}/opt/etc/mmfw-sysconf + +mkdir -p %{buildroot}%{_sysconfdir}/mmfw-sysconf/mmfw-sysconf-simulator +cp -rf mmfw-sysconf-simulator/etc/* %{buildroot}%{_sysconfdir}/mmfw-sysconf/mmfw-sysconf-simulator/ + +mkdir -p %{buildroot}/opt/etc/mmfw-sysconf/mmfw-sysconf-simulator +cp -rf mmfw-sysconf-simulator/opt/etc/* %{buildroot}/opt/etc/mmfw-sysconf/mmfw-sysconf-simulator/ + +mkdir -p %{buildroot}%{_sysconfdir}/mmfw-sysconf/mmfw-sysconf-cleansdk-target +cp -rf mmfw-sysconf-simulator/etc/* %{buildroot}%{_sysconfdir}/mmfw-sysconf/mmfw-sysconf-cleansdk-target/ + +mkdir -p %{buildroot}/opt/etc/mmfw-sysconf/mmfw-sysconf-cleansdk-target +cp -rf mmfw-sysconf-simulator/opt/etc/* %{buildroot}/opt/etc/mmfw-sysconf/mmfw-sysconf-cleansdk-target/ + +%post simulator +rm -f %{_sysconfdir}/asound.conf +ln -s %{_sysconfdir}/mmfw-sysconf/mmfw-sysconf-simulator/asound.conf %{_sysconfdir}/asound.conf + +rm -f /opt/etc/mmfw_camcorder.ini +rm -f /opt/etc/mmfw_camcorder_dev_video_pri.ini +rm -f /opt/etc/mmfw_camcorder_dev_video_sec.ini +rm -f /opt/etc/mmfw_player.ini + +ln -s /opt/etc/mmfw-sysonf/mmfw-sysconf-simulator/mmfw_camcorder.ini /opt/etc/mmfw_camcorder.ini +ln -s /opt/etc/mmfw-sysonf/mmfw-sysconf-simulator/mmfw_camcorder_dev_video_pri.ini /opt/etc/mmfw_camcorder_dev_video_pri.ini +ln -s /opt/etc/mmfw-sysonf/mmfw-sysconf-simulator/mmfw_camcorder_dev_video_sec.ini /opt/etc/mmfw_camcorder_dev_video_sec.ini +ln -s /opt/etc/mmfw-sysonf/mmfw-sysconf-simulator/mmfw_player.ini /opt/etc/mmfw_player.ini + +%post cleansdk-target +rm -f %{_sysconfdir}/asound.conf +ln -s %{_sysconfdir}/mmfw-sysconf/mmfw-sysconf-cleansdk-target/asound.conf %{_sysconfdir}/asound.conf + +rm -f /opt/etc/mmfw_camcorder.ini +rm -f /opt/etc/mmfw_camcorder_dev_video_pri.ini +rm -f /opt/etc/mmfw_camcorder_dev_video_sec.ini +rm -f /opt/etc/mmfw_player.ini + +ln -s /opt/etc/mmfw-sysonf/mmfw-sysconf-cleansdk-target/mmfw_camcorder.ini /opt/etc/mmfw_camcorder.ini +ln -s /opt/etc/mmfw-sysonf/mmfw-sysconf-cleansdk-target/mmfw_camcorder_dev_video_pri.ini /opt/etc/mmfw_camcorder_dev_video_pri.ini +ln -s /opt/etc/mmfw-sysonf/mmfw-sysconf-cleansdk-target/mmfw_camcorder_dev_video_sec.ini /opt/etc/mmfw_camcorder_dev_video_sec.ini +ln -s /opt/etc/mmfw-sysonf/mmfw-sysconf-cleansdk-target/mmfw_player.ini /opt/etc/mmfw_player.ini + + +%postun simulator +rm -f %{_sysconfdir}/asound.conf +rm -f /opt/etc/mmfw_camcorder.ini +rm -f /opt/etc/mmfw_camcorder_dev_video_pri.ini +rm -f /opt/etc/mmfw_camcorder_dev_video_sec.ini +rm -f /opt/etc/mmfw_player.ini + +%postun cleansdk-target +rm -f %{_sysconfdir}/asound.conf +rm -f /opt/etc/mmfw_camcorder.ini +rm -f /opt/etc/mmfw_camcorder_dev_video_pri.ini +rm -f /opt/etc/mmfw_camcorder_dev_video_sec.ini +rm -f /opt/etc/mmfw_player.ini + + +%files simulator +%defattr(-,root,root,-) +%{_sysconfdir}/mmfw-sysconf/mmfw-sysconf-simulator/* +/opt/etc/mmfw-sysconf/mmfw-sysconf-simulator/* + +%files cleansdk-target +%defattr(-,root,root,-) +%{_sysconfdir}/mmfw-sysconf/mmfw-sysconf-cleansdk-target/* +/opt/etc/mmfw-sysconf/mmfw-sysconf-cleansdk-target/* |