Jeongmo Yang [Thu, 13 May 2021 05:30:49 +0000 (14:30 +0900)]
Fix typo and value type
[Version] 0.10.234
[Issue Type] Typo
Change-Id: I8ee3c8f3869ae8f6788452a1028a9e46cb1c9cde
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 11 May 2021 12:20:33 +0000 (21:20 +0900)]
Add new attribute for focus level
[Version] 0.10.233
[Issue Type] New feature
Change-Id: I6860e9a6ec8a5e764c5ac71c547559c26aee69a0
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 13 Apr 2021 09:44:09 +0000 (18:44 +0900)]
Support extra preview stream
- Additional minor changes
: Add sub function to measure preview FPS
: Fix memory leak in video stream callback
[Version] 0.10.232
[Issue Type] New feature
Change-Id: I135e0ba9018333ced35646973893c580e6d1e596
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 25 Mar 2021 11:12:21 +0000 (20:12 +0900)]
Add new attributes for element name
- MMCAM_VIDEOSRC_ELEMENT_NAME for VideosrcElement
- MMCAM_AUDIOSRC_ELEMENT_NAME for AudiosrcElement
- Additional minor change : Remove unnecessary code
[Version] 0.10.231
[Issue Type] New attribute
Change-Id: Id01a5509c10fc5530688d5eaeecc127bd5322976
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 17 Mar 2021 10:21:06 +0000 (19:21 +0900)]
Remove global extern variable - mmcam_log_level
[Version] 0.10.230
[Issue Type] SAM Improvement
Change-Id: If8ac0fb1fef56fed49a021d71c3afafeecb97f47
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Seungbae Shin [Wed, 17 Mar 2021 05:00:43 +0000 (14:00 +0900)]
Use static for global variables
[Version] 0.10.229
[Issue Type] SAM Improvement
Change-Id: I59fa8d5c794d6c57938accd90b43a8231897b842
Jeongmo Yang [Tue, 2 Feb 2021 08:08:43 +0000 (17:08 +0900)]
Add new attribute for strobe brightness
[Version] 0.10.228
[Issue Type] New feature
Change-Id: I29fdbe03708191c80b8ee8099d41637d0bdd870d
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 13 Nov 2020 09:03:01 +0000 (18:03 +0900)]
Remove condition to set "hal-name" property
- The camera HAL interface will be initialized when "hal-name" property is set.
- Duplicated camera HAL interface initialization will be removed in plugin init of tizencamerasrc.
[Version] 0.10.227
[Issue Type] Update
Change-Id: I4a32c5bb46f5cd4f89c002a9bebdcda0e3cac95f
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 6 Nov 2020 05:01:17 +0000 (14:01 +0900)]
Set device type as camera id in case of network camera
[Version] 0.10.226
[Issue Type] Update
Change-Id: I5301c47bd34f6f87e1a9bc27066e904621fdb8af
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Seungbae Shin [Wed, 4 Nov 2020 10:51:48 +0000 (19:51 +0900)]
Fix typos
[Version] 0.10.225
[Issue Type] Revise
Change-Id: Ibe301ecc3b1738d92e0dd9edf9de9c044a7d652f
Jeongmo Yang [Wed, 4 Nov 2020 01:51:44 +0000 (10:51 +0900)]
Set network camera HAL name to camerasrc element
[Version] 0.10.224
[Issue Type] Update
Change-Id: I013a281c696413b43167908d8c944da3c0e2a64e
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Seungbae Shin [Fri, 30 Oct 2020 10:06:01 +0000 (19:06 +0900)]
Add missing dbus method result unref
[Version] 0.10.223
[Issue Type] Bug
Change-Id: If4196631e9335fb9556196547bcf6d7de0f155d0
Jeongmo Yang [Thu, 29 Oct 2020 05:53:16 +0000 (14:53 +0900)]
Change element name for recording
- "encodebin" -> "tizenencodebin"
- The original "encodebin" in gst-plugins-base will be enabled.
[Version] 0.10.222
[Issue Type] Update
Change-Id: I2aaf3427a938bd16b49c50dc352865f027aedcaa
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 26 Oct 2020 07:40:13 +0000 (16:40 +0900)]
Set buffer pointer if encoded preview format
- The max live buffer count of tizencamerasrc works as expected only with zero copy format(ex:SN12),
but, this patch changes it work with encoded preview format(ex:H.264, MJPEG).
[Version] 0.10.221
[Issue Type] Update
Change-Id: I83bb15a0422e021cc387f798feecb3c8a238fd2d
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 21 Oct 2020 06:35:30 +0000 (15:35 +0900)]
Fix ASAN issue : heap-use-after-free
- The bus message callback from gstreamer could be invoked by gmainloop
after source element of message is released by glibc.
- This patch drops all bus messages not to be called by gmainloop in bus sync callback.
- Minor change
: Remove unused code
[Version] 0.10.220
[Issue Type] ASAN
Change-Id: Iaa921aab14897e0f03afb6acd9a3946a2b4b63d2
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 19 Oct 2020 05:59:31 +0000 (14:59 +0900)]
Fix ASAN issue : heap-use-after-free
- Prevent to access freed element in gstreamer asynchronous callback.
[Version] 0.10.219
[Issue Type] ASAN
Change-Id: I094947f7293bf6db3b0e7e359829961c47377377
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Sungjae Pyo [Tue, 13 Oct 2020 01:54:33 +0000 (10:54 +0900)]
1.Modify to use the sub scaler in case of the resource conflict. it looks like MJPEG decoder + sub scaler has no longer issue
2.Set "device-scaler" of the videosink with the virtual device id, not the real device id
3.Modify to use the resource center in _mmcamcorder_rm_allocate()
[Version] 0.10.218
Change-Id: Ide1bdc76c986ea6b56ea681a7744ca30252380ff
Jeongmo Yang [Thu, 15 Oct 2020 08:01:17 +0000 (17:01 +0900)]
Revise log related code
1. Set default log level - MM_CAMCORDER_LOG_LEVEL_INFO
2. Fix bug : Log level is not applied when audio only recording mode
3. Change level for some log
4. Remove unnecessary comment
[Version] 0.10.217
[Issue Type] Log feature
Change-Id: I1b775b23d201f436ccc34e7b231dbe78306fad92
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 24 Sep 2020 03:52:30 +0000 (12:52 +0900)]
Support white balance setting for latest v4l2src plugin
[Version] 0.10.216
[Issue Type] Update
Change-Id: Ic9a6e39af8fb6888169c552ba847f782f99b15d7
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 17 Sep 2020 10:51:05 +0000 (19:51 +0900)]
Revise log related code
- Rearrange log level.
enum MMCamcorderLogLevel {
MM_CAMCORDER_LOG_LEVEL_CRITICAL = 0,
MM_CAMCORDER_LOG_LEVEL_ERROR,
MM_CAMCORDER_LOG_LEVEL_WARNING,
MM_CAMCORDER_LOG_LEVEL_INFO,
MM_CAMCORDER_LOG_LEVEL_DEBUG,
MM_CAMCORDER_LOG_LEVEL_VERBOSE
};
- The default value is MM_CAMCORDER_LOG_LEVEL_INFO(3).
- Add new field to mmfw_camcorder.ini to control log level.
[General]
...
LogLevel = 3
[Version] 0.10.215
[Issue Type] Log feature
Change-Id: I055534ab7d8274e4df1f5d64ba8090c4adad2d63
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 14 Sep 2020 10:53:20 +0000 (19:53 +0900)]
Bug fix - correct preview resolution for video stream callback
- The actual preview resolution could be changed while video recording,
but, the fixed resolution was used for video stream callback.
[Version] 0.10.214
[Issue Type] Bug fix
Change-Id: I41c942d97b617bd887bb9f63ad26c5e4614ae7dd
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 7 Sep 2020 07:03:03 +0000 (16:03 +0900)]
Support platform privilege for camera device
- Enable to check platform privilege for camera device,
"PlatformPrivilegeCamera" in [General] category is needed in mmfw_camcorder.ini
which should be read-only file.
[General]
...
PlatformPrivilegeCamera = http://tizen.org/privilege/xxx
[Version] 0.10.213
[Issue Type] New feature
Change-Id: Ia6a75422126c9482992466e7c814f855d3199ec4
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 2 Sep 2020 03:31:47 +0000 (12:31 +0900)]
Fix typo
[Version] 0.10.212
[Issue Type] Typo
Change-Id: Ic9f75621ab643fe5cb793639acac0e622b786f6d
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 28 Aug 2020 05:29:07 +0000 (14:29 +0900)]
Support video scaling for video recording
- This feature is just for the target which does not support dual stream recording.
- Add "UseVideoscale" and "VideoscaleElement" like below in mmfw_camcorder.ini file to enable this feature.
[Record]
...
UseVideoscale = 1
VideoscaleElement = videoscale | 1,0 | method,1
- It will be disabled when video resolution is bigger than preview resolution although "UseVideoscale" is 1.
[Version] 0.10.211
[Issue Type] New feature
Change-Id: Ia7ea1740da8dbf934c9e574261e26fa460f33e61
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 21 Aug 2020 00:46:17 +0000 (09:46 +0900)]
Set missed data_type in stream data for normal buffer
[Version] 0.10.210
[Issue Type] Bug fix
Change-Id: Ifaa02746c2061498f290385023e5ed913253dfbb
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 19 Aug 2020 11:33:14 +0000 (20:33 +0900)]
Fix missed preview resolution setting when start preview
- It causes 0x0 resolution in preview stream callback
[Version] 0.10.209
[Issue Type] Bug fix
Change-Id: I765fee04abb5a6d41f450f717ea0cafdbe188898
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 28 Jul 2020 01:27:31 +0000 (10:27 +0900)]
Add new API for video encode decision callback
- API prototype
typedef gboolean (*mm_camcorder_video_encode_decision_callback)(MMCamcorderVideoStreamDataType *stream, void *user_param);
int mm_camcorder_set_video_encode_decision_callback(MMHandleType camcorder, mm_camcorder_video_encode_decision_callback callback, void* user_data);
- Detail of change
: Add above APIs
: Add sub function to invoke video stream callbacks for preview and video stream
[Version] 0.10.208
[Profile] Common
[Issue Type] New feature
Change-Id: I690dddc872e72cf7ba192a99aa19747673640ac3
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 27 Jul 2020 05:39:24 +0000 (14:39 +0900)]
Add sub function to remove duplicated code
[Version] 0.10.207
[Profile] Common
[Issue Type] Optimization
Change-Id: I91b4bf5b7d53157b3826f3211ae6dbf2775d0a88
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Hyuntae Kim [Mon, 13 Jul 2020 00:36:35 +0000 (09:36 +0900)]
Resolution changes for encoded frame without pipeline pause, resume
Change-Id: Ib3e644d5e7012dd7d4e6fd83e142ee7438f63817
jae915 [Wed, 8 Jul 2020 05:48:18 +0000 (14:48 +0900)]
Exclude camera-conf-mgr-tv package for some product binary
Change-Id: I364d1da79e506f31b021ce49aaa7e4d3f19925b1
Hyuntae Kim [Thu, 18 Jun 2020 03:44:30 +0000 (12:44 +0900)]
For supporting various usb camera, configuration file name will be vendor and product name
Change-Id: I42dd596d0329327229b03b94f647010638c2d31e
Hyuntae Kim [Mon, 8 Jun 2020 05:19:42 +0000 (14:19 +0900)]
Fix resource manager memory leak issue
Change-Id: I1e109efe9e54aa566236d5c0857a50334e9a573f
YoungHun Kim [Thu, 28 May 2020 00:51:57 +0000 (09:51 +0900)]
Change the return value of the resource release callback to true
Change-Id: I5b622f365d8b93fc6e2eec6ab3d12e6dc320e06d
Hyuntae Kim [Wed, 13 May 2020 23:44:49 +0000 (08:44 +0900)]
code match for g_malloc and g_free
Change-Id: Icc54fa193578de7f1d5a7354380d7c0561d076bb
Jeongmo Yang [Tue, 12 May 2020 07:05:10 +0000 (16:05 +0900)]
Reconstruct audio encoding pipeline
- Some muxer(ex:avmux_amr) should be created newly for next recording after cancel.
Otherwise, it returns error when start next recording.
[Version] 0.10.201
[Profile] Common
[Issue Type] Improvement
Change-Id: I79949e2aa8bb53fa83dd6316e45da2a0078109e4
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Hyuntae Kim [Wed, 6 May 2020 23:46:01 +0000 (08:46 +0900)]
exif crash issue without prefix data
Change-Id: I52f1f014122da182f3f8021ab9e68412a55b7432
Jeongmo Yang [Mon, 27 Apr 2020 07:35:09 +0000 (16:35 +0900)]
Add feature for line coverage measurement
[Version] 0.1.199-1
[Profile] Common
[Issue Type] Line coverage
Change-Id: Icf08978bce1adfc385404cca1eaf9eaafff94752
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Hyuntae Kim [Wed, 22 Apr 2020 22:53:17 +0000 (07:53 +0900)]
fix svace issue list
Change-Id: Idb46079214bcd620a94d80945abd557189c6f16e
Jeongmo Yang [Tue, 21 Apr 2020 08:07:25 +0000 (17:07 +0900)]
Increase try count to wait for recording frames
- The audio frames come after 2 seconds if the target has no mic device.
(It seems that there is some internal delay in that case.)
- This commit changes total waiting time from 2 seconds to 3 seconds.
[Version] 0.10.198
[Profile] Common
[Issue Type] Update
Change-Id: Iafad6824186bcf2b756affa79686fb50e1e52c97
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
hj kim [Fri, 17 Apr 2020 07:09:38 +0000 (16:09 +0900)]
Fix build warning
Change-Id: I73c2ae9f0ea30c9adbd01f2a7fe0ebd365a695aa
hj kim [Fri, 17 Apr 2020 06:44:00 +0000 (15:44 +0900)]
Use mm_util_encode_to_jpeg_memory() instead of old deprecated mm_util_jpeg_encode_to_memory()
Change-Id: Ic22826da0c05f8263da82ff7389e0960e86d71d8
Hyuntae Kim [Wed, 8 Apr 2020 06:38:39 +0000 (15:38 +0900)]
mjpeg resource allcation routine changes according to resource information
Change-Id: I8e16bb03cd78cbdf890b28dd15ec95bc0a413782
Hyuntae Kim [Tue, 25 Feb 2020 01:19:38 +0000 (10:19 +0900)]
mjpeg preview support for usb camera in tv platform
Change-Id: I4732c7f1f1746b0621f3e975b9a19bacb4a9b1e4
Jeongmo Yang [Mon, 3 Feb 2020 07:04:46 +0000 (16:04 +0900)]
Fix coverity issue - Resource leak
[Version] 0.10.194
[Profile] Common
[Issue Type] coverity
Change-Id: Ic5414715f4e128a73351c14c473d31a9c76b2c76
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 10 Jan 2020 08:40:55 +0000 (17:40 +0900)]
Add new field to check delta frame for H.264 preview data
[Version] 0.10.193
[Profile] Common
[Issue Type] Update
Change-Id: Id7eb25fc110a48f221352ce3c8af5c2f8058cca9
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 23 Dec 2019 10:22:41 +0000 (19:22 +0900)]
Fix build error due to toolchain upgrade (gcc6 -> gcc9)
: -Werror=format-truncation
[Version] 0.10.192
[Profile] Common
[Issue Type] Toolchain
Change-Id: I4c4e5dac5b0a07be3a49b7d1daa370a16d581a94
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 6 Dec 2019 08:16:15 +0000 (17:16 +0900)]
Update code for encoded preview setting
[Version] 0.10.191
[Profile] Common
[Issue Type] Update
Change-Id: I39eebc1d0ac65d1eb368fd60b80cb867846b3270
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Hyuntae Kim [Wed, 27 Nov 2019 02:11:24 +0000 (11:11 +0900)]
Add camera resource manage into all display case
[Version] 0.10.190
[Profile] TV
[Issue Type] Update
Change-Id: Id32ada6f715c0803322eefbd58c3af2ddb232042
Hyuntae Kim [Tue, 12 Nov 2019 08:50:09 +0000 (17:50 +0900)]
Set display handle for directvideosink
[Version] 0.10.189
[Profile] TV
[Issue Type] Update
Change-Id: Ic8cf1ddd6470ddd4786ca083e479d613130920ec
Jeongmo Yang [Tue, 12 Nov 2019 01:57:40 +0000 (10:57 +0900)]
Update code to set display handle
[Version] 0.10.188
[Profile] Common
[Issue Type] Update
Change-Id: I678122025cbff2e5cd27a132356765a2eedb37bd
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 16 Oct 2019 01:59:21 +0000 (10:59 +0900)]
Add sub functions for recording
- _mmcamcorder_get_storage_validity()
- _mmcamcorder_adjust_recording_max_size()
[Version] 0.10.187
[Profile] Common
[Issue Type] Update
Change-Id: I525510ddc5fed1e6ef561c6ae47dc606ee60ff65
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 14 Oct 2019 01:33:16 +0000 (10:33 +0900)]
Revert "Fix bug for fps setting"
- Fix recording failure on TM1 target.(TFDF-6096)
This reverts commit
bdad389a82163907448863d6c66cf71c8cc08c87.
[Version] 0.10.186
[Profile] Common
[Issue Type] Revert
Change-Id: Iedc0061a664a16c24ad724af80d87029285d3055
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 25 Sep 2019 01:21:32 +0000 (10:21 +0900)]
Fix bug for fps setting
- Return INVALID_STATE error if pipeline is created.
[Version] 0.10.187
[Profile] Common
[Issue Type] Bug fix
Change-Id: I8997af8d57deb20f79ec91de58ab0ff272468908
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 23 Sep 2019 09:42:09 +0000 (18:42 +0900)]
Improvement Cyclomatic Complexity for _mmcamcorder_encode_pipeline_bus_sync_callback()
[Version] 0.10.186
[Profile] Common
[Issue Type] Improvement
Change-Id: Id3f90fe7993723f53676cc7010c45dda05259aa6
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Hyuntae Kim [Wed, 18 Sep 2019 02:23:38 +0000 (11:23 +0900)]
Bugfix - H.264 stream data probe issue
1. before prepare, I-frame will comes to preview cb with h.264 stream. If drop, preview does not work as soon as possible
2. h.264 stream needs to use gst_buffer_get_all_memory for getting correct memory size
3. with gst_buffer_get_all_memory, buffer should be unref
Change-Id: I68b7f14d8a70306daa0e92d9924401bcbc886938
Jeongmo Yang [Wed, 28 Aug 2019 07:17:20 +0000 (16:17 +0900)]
Fix coverity issue - Unchecked return value
[Version] 0.10.185
[Profile] Common
[Issue Type] Coverity
Change-Id: I19478dc28216d1fa903223df25cda0dea0ce3582
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Hyuntae Kim [Tue, 6 Aug 2019 01:29:10 +0000 (10:29 +0900)]
Bugfix - directvideosink settings and add exception case without resource manager when display null
1. Adding directvideosink propery settings
2. Do not control resource manager when display null
[Version] 0.10.184
[Profile] TV Profile
[Issue Type] Bug fix
Change-Id: Ib3071a857e183d69afa37c2fc0ebf9ec91dc47e5
Hyunil [Tue, 23 Jul 2019 04:30:50 +0000 (13:30 +0900)]
Change input value type for wl_surface_id
Change-Id: I19daaa75e980a160ca322a7c7c10d8ce077b711c
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
Jeongmo Yang [Wed, 12 Jun 2019 09:15:40 +0000 (18:15 +0900)]
Bug fix - pan and tilt setting
[Version] 0.10.184
[Profile] Common
[Issue Type] Bug fix
Change-Id: Iaa994900dd12903e6b5f535a3eae66d79c8fec4f
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 15 May 2019 06:25:54 +0000 (15:25 +0900)]
Set pipeline state as NULL when cancel audio recording
- Previously, filesink element only changed as NULL state when cancel audio recording,
and it caused crash in mp4mux if next recording is started.(NULL trak pointer in mp4mux)
[Version] 0.10.183
[Profile] Common
[Issue Type] Bug fix
Change-Id: I5a588b0e93e8e5c04f81166ce24bdb4214b39221
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 11 Apr 2019 08:48:56 +0000 (17:48 +0900)]
Replace GST_ERROR by _mmcam_dbg_err
[Version] 0.10.182
[Profile] Common
[Issue Type] Typo
Change-Id: I5f0d6adf34737d82b14bb0d2b878e707e2729fe0
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 11 Apr 2019 06:08:25 +0000 (15:08 +0900)]
Revise code to skip EXIF related sequence in capture callback
[Version] 0.10.181
[Profile] Common
[Issue Type] Update
Change-Id: I25b1a92ca27550d38600b2d7d94ebb498c81299a
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 9 Apr 2019 06:37:24 +0000 (06:37 +0000)]
Merge "Support user buffer fd" into tizen
jiyong.min [Wed, 13 Mar 2019 23:43:41 +0000 (08:43 +0900)]
Change to resize image with mm_util_image_h
- Changed function
: mm_util_resize_image()
- This function resize mm_util_image_h image with width & height,
it will return allocated resized mm_util_image_h image.
before changing, it has too few parameter to check problem
like buffer overflow.
So, change parameter to mm_util_image_h with mandotory information.
[Version] 0.10.180
[Profile] Common
[Issue Type] Update image-utility
[Dependency module] N/A
[Test] Svace=(OK, http://10.113.170.22:8810/build/2920)
Change-Id: I461f96a1051d9918b81e5ec76ed434df5739b0bb
Jeongmo Yang [Wed, 20 Feb 2019 08:35:45 +0000 (17:35 +0900)]
Support user buffer fd
[Version] 0.10.180
[Profile] Common
[Issue Type] Update
Change-Id: I7e7902a05bdce954c4820a032e43c44aa254d1b8
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 11 Feb 2019 08:45:53 +0000 (17:45 +0900)]
Change flag for some attributes
- Changed attributes
: MMCAM_CAPTURED_SCREENNAIL, MMCAM_CAPTURED_EXIF_RAW_DATA, MMCAM_DISPLAY_EVAS_SURFACE_SINK
- These attributes are set by mm_attrs_set_* functions internally,
but, it will return error if flag is not writable
and there is no way to set them without attribute lock.
So, change the flag from READABLE to RW.
[Version] 0.10.179
[Profile] Common
[Issue Type] Bug fix
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-unified_20190207.2]
Change-Id: Ia652bd7c371acb794c4d69761fa2f6db2fb7a0a9
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 3 Jan 2019 09:57:10 +0000 (18:57 +0900)]
Refactor "_mmcamcorder_create" function
- Seperate into several sub-functions
[Version] 0.10.178
[Profile] Common
[Issue Type] Refactoring
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-unified_20181231.3]
Change-Id: I1509b5d622d2d95866e2b0e08c2358608e706c8d
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 14 Dec 2018 01:14:29 +0000 (10:14 +0900)]
Fix invalid format usage - Phase#2
[Version] 0.10.177
[Profile] Common
[Issue Type] Bug fix
[Dependency module] N/A
Change-Id: I8cc80815e59fa8ed9f69da5df83e9ab073c12954
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 7 Dec 2018 05:53:14 +0000 (14:53 +0900)]
Fix invalid format usage
[Version] 0.10.176
[Profile] Common
[Issue Type] Bug fix
[Dependency module] N/A
Change-Id: I3b084d794bffc31414475f724957d6328879de07
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 6 Dec 2018 05:06:36 +0000 (14:06 +0900)]
Do not use "errno" to determine return value for configure file
- "errno" could be changed unexpectedly by some other module anytime,
so, we got unexpected return value sometimes.
[Version] 0.10.175
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-unified_20181203.2]
Change-Id: I565078d5a6a1f3dda1a268808d7d0796356e7dfb
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 30 Nov 2018 07:51:22 +0000 (16:51 +0900)]
Update unit test
[Version] 0.10.174
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-unified_20181126.2]
Change-Id: Ic4ff7f830aa21ff5d304c8ea537bbe6f80f220f4
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 21 Nov 2018 02:52:31 +0000 (11:52 +0900)]
Add unit test
- Precondition to run gtests-libmm-camcorder
: The executable label should be changed to "User" after install
: The user should be "owner"
[Version] 0.10.173
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-unified_20181113.3]
Change-Id: I11d1dc586f36d4d407fc9180a20abcbc84f32223
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Sangchul Lee [Thu, 1 Nov 2018 07:29:10 +0000 (16:29 +0900)]
Apply new attribute API of libmm-common
- Remove dependency of mm_attrs_private.h.
- Use new API set in mm_attrs.h instead of those.
[Version] 0.10.172
[Profile] Common
[Issue Type] Clean-up
[Dependency module] libmm-common
Change-Id: I006034e34abf0efc851a192e696df8e572dcb6b9
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Jeongmo Yang [Tue, 13 Nov 2018 08:48:23 +0000 (17:48 +0900)]
Remove unused parameter
[Version] 0.10.171
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
Change-Id: If5ad00af93a5f2aa9ea67ef9f81c4df5368f1660
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 29 Oct 2018 06:11:37 +0000 (15:11 +0900)]
Update error handling for capture while recording
- Move timing to check error for target which does not support capture while recording.
- Remove unnecessary error message in this case, because the error is already returned.
[Version] 0.10.170
[Profile] Common
[Issue Type] Bug fix
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-unified_20181024.1]
Change-Id: I7ca3f358d534da6a1e1cd77831b0cf908b86b569
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 28 Sep 2018 08:51:16 +0000 (17:51 +0900)]
Remove unused files
[Version] 0.10.169-1
[Profile] Common
[Issue Type] Clean-up
[Dependency module] N/A
Change-Id: I43fc15e95f08a4df1c3a1e428ecc80d6d5a44b80
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 10 Sep 2018 08:05:14 +0000 (17:05 +0900)]
Update code for RGB data handling in preview callback
[Version] 0.10.169
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-unified_20180910.1]
Change-Id: Ied08466a39f1a2b602e0aacf65719473f7847908
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 5 Sep 2018 07:39:45 +0000 (16:39 +0900)]
Drop first recording buffer if it's from tizen allocator
- In single stream device, preview buffer is also used for recording,
and the first recording buffer to appsrc is copied, because its reference count is bigger than 1.
Dropping buffer will decrease reference count and avoid to copy it.
[Version] 0.10.168
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-unified_20180903.2]
Change-Id: I658bf7822f62cb3f86a5749fe4dacc120bf44685
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 29 Aug 2018 02:35:42 +0000 (11:35 +0900)]
Change zero copy buffer handling
[Version] 0.10.167
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-unified_20180823.2]
Change-Id: I31677bb23243df4dc4ec1f5c7ec0148ff5d83a12
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 28 Aug 2018 07:07:30 +0000 (16:07 +0900)]
Fix coverity issue - Dereference after null check
[Version] 0.10.166
[Profile] Common
[Issue Type] Coverity
[Dependency module] N/A
Change-Id: I0c6d07b0dbce0d4adc3b59e4a747eb7a8f8fe21f
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 22 Aug 2018 05:35:06 +0000 (14:35 +0900)]
Rollback valid range for some attributes
- API team recommeneded not to add restriction for APIs
- API description will be added for the guide to set recommended input
[Version] 0.10.165
[Profile] Common
[Issue Type] Rollback
[Dependency module] N/A
Change-Id: I44e450be1e892d341ce31168c5b65314e2162119
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 14 Aug 2018 07:51:43 +0000 (16:51 +0900)]
Update valid range for encoded preview format related attributes
[Version] 0.10.164
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
Change-Id: I36e817c714dcc1de696d574c7f038179016581dd
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Hyunil [Tue, 14 Aug 2018 01:32:44 +0000 (10:32 +0900)]
Change api for setting display ROI area
Change-Id: I74d485014cb426d8e81390243c1a6bd52dd94898
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
Jeongmo Yang [Wed, 1 Aug 2018 11:53:10 +0000 (20:53 +0900)]
Correct return value for out-of-range error
[Version] 0.10.162
[Profile] Common
[Issue Type] Bug fix
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-unified_20180725.2]
Change-Id: I2743e4c60f7578dadc544838a571c6cfed1fd988
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 16 Jul 2018 11:10:32 +0000 (20:10 +0900)]
Support new format - INVZ for depth data
[Version] 0.10.161
[Profile] Common
[Issue Type] Update
[Dependency module] libmm-common
Change-Id: I806ff17d04dbefdafae28e42fd85518024cacac9
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 15 Jun 2018 09:32:37 +0000 (18:32 +0900)]
Support raw image capture with encodebin
[Version] 0.10.160
[Profile] Common
[Issue Type] Bug fix
[Dependency module] N/A
Change-Id: Ifccdbc4884c88176b83236224a65f83c9d723195
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 1 Jun 2018 07:29:41 +0000 (16:29 +0900)]
Fix return value for resource conflict error
[Version] 0.10.159
[Profile] Common
[Issue Type] Bug fix
[Dependency module] N/A
Change-Id: I2eb97dcbffd3490dac0df2f833df1f5fa0037357
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 17 May 2018 02:22:25 +0000 (11:22 +0900)]
Fix build warning
[Version] 0.10.158
[Profile] Common
[Issue Type] Bug fix
[Dependency module] N/A
Change-Id: I790a6216e9777e707bd977ddc5ffbf0c9fd39526
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 23 Apr 2018 08:40:04 +0000 (17:40 +0900)]
Change feature name for TV product
[Version] 0.10.157-1
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
Change-Id: I8339199444b160c7f1ad0fd2a8aeb05cf9fe895a
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 2 Apr 2018 11:05:51 +0000 (20:05 +0900)]
Fix coverity issue - Resource leak
[Version] 0.10.157
[Profile] Common
[Issue Type] Coverity
[Dependency module] N/A
Change-Id: If6dc7cde938019e9201f8a9649b7bdb8cfac6578
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 26 Mar 2018 09:45:52 +0000 (18:45 +0900)]
Remove display method check for display rect setting
[Version] 0.10.156
[Profile] Common
[Issue Type] ACR
Change-Id: I1ede3571ec0756fc130e813d13dd9da493518964
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 21 Mar 2018 10:10:31 +0000 (19:10 +0900)]
Set camera-id at end of property settings
- It's for camera device node selection on target which has multiple camera nodes
[Version] 0.10.155
[Profile] Common
[Issue Type] Update
[Dependency module] gst-plugins-good, mmfw-sysconf
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-unified_20180320.2]
Change-Id: I968601c3de8b37acce9ffcd7bd8bd03f3d582a97
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Sangchul Lee [Wed, 7 Mar 2018 03:57:10 +0000 (12:57 +0900)]
Remove codes related to session backward compatibility
dependency of mm-sound is removed also.
attribute of "pid-for-sound-focus" is renamed to "client-pid".
rename variable of asm_lock to interrupt_lock.
[Version] 0.10.154
[Profile] Common
[Issue Type] Clean-up
Change-Id: I6717b7e26889eae5fc56b4863ea1aae435ac1ded
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Jeongmo Yang [Thu, 22 Feb 2018 01:51:41 +0000 (10:51 +0900)]
Update code for changed mm-utility functions
[Version] 0.10.153
[Profile] Common
[Issue Type] Update
Change-Id: I2a36f96fe36481c563897db82c1065190de0944f
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 13 Feb 2018 08:08:49 +0000 (17:08 +0900)]
Add new configuration field to skip frame when start preview or capture
- In some target, unstable video frame could be captured
[Version] 0.10.152
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
Change-Id: Idafacf13d3396f2af26a1df79613e9a910eb6b86
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 13 Feb 2018 02:11:54 +0000 (11:11 +0900)]
Add code to get replay gain information after audio recording
[Version] 0.10.151
[Profile] Common
[Issue Type] Update
Change-Id: I50138e697fa923f01f868aa6ef4de14d534304f9
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 8 Feb 2018 07:33:41 +0000 (16:33 +0900)]
Update enums for refactorying of libmm-utility
[Version] 0.10.150
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
Change-Id: I594797d19611841b0b0560ee9af8ecb006c1fa1c
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 5 Jan 2018 02:28:36 +0000 (11:28 +0900)]
Add "Hue" field for configure files
- It's for new API, but missed in previous patch.
[Version] 0.10.149
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-unified_20180104.2]
Change-Id: I5bf6bfa7abb80f052027924a7edd6079158f6192
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 18 Dec 2017 03:06:39 +0000 (12:06 +0900)]
Remove unused field in INI file and rename device related INI files
[Version] 0.10.148
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-4.0-unified_20171207.4]
Change-Id: I0f35c7de2f654539feebf7e015a80ad14f856649
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 30 Nov 2017 10:08:22 +0000 (19:08 +0900)]
Remove unused function
[Version] 0.10.147
[Profile] Common
[Issue Type] Optimization
[Dependency module] N/A
Change-Id: I9426d392222489fa6a1fde617ac5edc0bd971668
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>