Jeongmo Yang [Tue, 23 Jan 2024 02:01:49 +0000 (11:01 +0900)]
Support videofilter2 element and preview callback for it
- The added preview callback is used for new internal API
: camera_set_media_packet_preview_internal_cb()
- Clean up code for video stream callback
[Version] 1.1.0
[Issue Type] New feature
Change-Id: I3f03bc570cab07cb1674193f62085a21f348ed68
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 11 Jun 2024 05:07:51 +0000 (14:07 +0900)]
Fix Svace issue
- UNREACHABLE_CODE.RET
[Version] 1.0.1
[Issue Type] Svace
Change-Id: I77d742840691493b2cd9835c7d7b7c8f1b6c95c1
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
jae915 [Wed, 29 May 2024 00:00:23 +0000 (09:00 +0900)]
change appid acquisition method due to AMD latency
Change-Id: Ie2b4b1c1f49e4c041e507c6896834e970797d780
Jeongmo Yang [Fri, 26 Apr 2024 03:34:10 +0000 (12:34 +0900)]
Add version of so files
- Previously, there is no version for so files in this package.
- The initial version of so files is 0.5.0, not 1.0.0.
Because the version of so files can be managed differently with package version,
and the prebuilt binary which has dependency of this package will be failed
while loading this shared library by different so name if version of so file is 1.0.0.
(new:libmmfcamcorder.so.1 vs old:libmmfcamcorder.so.0)
[Version] 1.0.0-1
[Issue Type] Update
Change-Id: I29c9c9da8ef7bb9221b9154aa0a2b72158b172f3
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 17 Apr 2024 02:39:17 +0000 (11:39 +0900)]
Release version 1.0.0
[Version] 1.0.0
[Issue Type] Version up
Change-Id: I5e5c4d0f65e240d70019c3c04909b7931b9b8478
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 9 Jan 2024 11:24:20 +0000 (20:24 +0900)]
Fix SVACE issue - NULL_AFTER_DEREF
[Version] 0.10.301
[Issue Type] SVACE
Change-Id: Idc8e39998808bf270104d2de0142a022340c6afb
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 2 Jan 2024 11:16:21 +0000 (20:16 +0900)]
Fix coverity issue - Data race condition
[Version] 0.10.300
[Issue Type] Coverity
Change-Id: I642f23505e67b6b616a757561cdc5dc76a5c4d38
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 19 Sep 2023 09:48:03 +0000 (18:48 +0900)]
Fix SVACE issues - NULL_AFTER_DEREF
[Version] 0.10.299
[Issue Type] SVACE
Change-Id: Iee35c03c497a900213b74aa47fb4a9b4b1b68007
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 22 Aug 2023 02:55:17 +0000 (11:55 +0900)]
Bug fix - Incorrect information in preview callback
- The width and height information in preview callback can be incorrect.
It's happened when "VideoFilterElement" is added and it rotates preview frames as 90CW or 90CCW.
[Version] 0.10.298
[Issue Type] Bug fix
Change-Id: I87983fac0daac2b75b63db9e2bcdba74a7798347
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 8 Aug 2023 10:06:12 +0000 (19:06 +0900)]
Add camera status for AE and AWB to stream data
[Version] 0.10.297
[Issue Type] New feature
Change-Id: I9222f4383551a32c760c683a069403e05aa00096
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 4 Aug 2023 06:26:02 +0000 (15:26 +0900)]
Add new function to get exposure from device
[Version] 0.10.296
[Issue Type] New feature
Change-Id: I367574551a8859f60178c55b43d5581e96c2a30b
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 3 Aug 2023 02:35:28 +0000 (11:35 +0900)]
Improve continuous capture logic
- Previously, in capture mode ENCODEBIN or IMAGE_PAD,
1. The continuous capture is not supported.
2. The capture interval is ignored.
- This patch adds the logic for continuous capture and capture interval.
[Version] 0.10.295
[Issue Type] Improvement
Change-Id: I2dbef7808c53992e05bc77fbcbbc0fb442a1a5fe
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 1 Aug 2023 02:57:06 +0000 (11:57 +0900)]
Set exposure value before start preview
- It can be missed if it's set before start preview.
[Version] 0.10.294
[Issue Type] Improvement
Change-Id: Iea0fe4f459a5afcce4c7401f3ac45768a160210c
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 14 Jun 2023 05:00:32 +0000 (14:00 +0900)]
Remove unused function - mm_camcorder_get_focus_level()
[Version] 0.10.293
[Issue Type] Clean up
Change-Id: I3a7beed7982c83f449a00fda9a88577dcf915891
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 3 May 2023 06:16:41 +0000 (15:16 +0900)]
Correct caps for encoding pipeline
- The resolution of stream could be changed if it's rotated by video filter plugin,
but it was not considered before.
[Version] 0.10.292
[Issue Type] Bug fix
Change-Id: Iaf2db364f7c75ece2f460ea37b6d7f6835270958
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 24 Apr 2023 06:21:05 +0000 (15:21 +0900)]
Support additional meta for preview frame
[Version] 0.10.291
[Issue Type] Update
Change-Id: I0e3eb384202e177970cf128295082b29ca8d6799
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 15 May 2023 06:50:58 +0000 (15:50 +0900)]
Change name for task thread
- The maximum length of thread name is 15.
[Version] 0.10.290
[Issue Type] Bug fix
Change-Id: I55255df5fc198b688bd3072aa16c24c9e454ef84
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 7 Apr 2023 08:50:30 +0000 (17:50 +0900)]
Fix coverity issue
- UNUSED_VALUE
[Version] 0.10.289
[Issue Type] Coverity
Change-Id: I265c9c553947c00fd2209d2294736f4dc86cc174
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 21 Mar 2023 06:50:15 +0000 (15:50 +0900)]
Support timestamp in protection meta
[Version] 0.10.288
[Issue Type] New feature
Change-Id: If8193d90dccab88aaa5a30abd7eb4bb24802905d
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 20 Mar 2023 07:24:50 +0000 (16:24 +0900)]
Add new APIs for camera settings
[Version] 0.10.287
[Issue Type] New feature
Change-Id: I4946c7b40e4edb315f5f8906bbbdd03334de4fdf
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 10 Feb 2023 02:31:26 +0000 (11:31 +0900)]
Add defensive code for spurious wakeup in _mmcamcorder_sound_solo_play_wait()
[Version] 0.10.286
[Issue Type] Improvement
Change-Id: I8e8c5cd2ea403823a99b8f9776c78156cb4c8f6a
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 7 Feb 2023 11:51:38 +0000 (20:51 +0900)]
Fix ASAN issue: heap-use-after-free
- The callback for sound play could be called after handle is freed.
- This patch allocates structures for the parameter of callback.
It will not be freed if the callback is not called when handle is destroyed
and prevents the heap-use-after-free issue as a result.
[Version] 0.10.285
[Issue Type] ASAN issue
Change-Id: Ie15ed724b47d9f4615d4a476420e02fbd203fb27
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 22 Dec 2022 10:06:37 +0000 (19:06 +0900)]
Add new configuration for video filter element
- Added list
: VideoFilterCropX, VideoFilterCropY, VideoFilterCropW, VideoFilterCropH
[Version] 0.10.284
[Issue Type] New feature
Change-Id: I69d3dedeb14ae12c96ccc639979aa50f1186cab8
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 20 Dec 2022 03:55:01 +0000 (12:55 +0900)]
Fix extra preview mode
- For MM_CAMCORDER_EXTRA_PREVIEW_MODE_PIPELINE_SRCPAD
: It's failed to link because camerasrc element and capsfilter for extra preview are not in same bin.
- For MM_CAMCORDER_EXTRA_PREVIEW_MODE_PIPELINE_ELEMENT
: It's missed to set "hal-name" to initialize handle of camera HAL interface.
[Version] 0.10.283
[Issue Type] Bug fix
Change-Id: I175f24e907ede75cda1b9af7ad879fb721d4eca8
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 15 Dec 2022 09:36:31 +0000 (18:36 +0900)]
Fix build error related with boost_tv
[Version] 0.10.282-1
[Issue Type] Build error
Change-Id: Ida6275d0d26e9166883c9e9eaca1ddb104437669
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
jae915 [Fri, 9 Dec 2022 05:28:35 +0000 (14:28 +0900)]
add API for thread boosting
Change-Id: I156b686643170ecca1c938a218bf169551f2f52d
Jeongmo Yang [Thu, 24 Nov 2022 08:11:39 +0000 (17:11 +0900)]
Update element's nickname
[Version] 0.10.281
[Issue Type] Update
Change-Id: Id2183521f2d7b6bc41fa7eb34ae200090d92abde
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 17 Nov 2022 06:14:10 +0000 (15:14 +0900)]
Export MM_CAMCORDER_EXTRA_PREVIEW_STREAM_MAX
[Version] 0.10.280
[Issue Type] Update
Change-Id: I0230b9dfc41d3a77fcfed747a86c4e9d7524f195
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 1 Nov 2022 08:18:38 +0000 (17:18 +0900)]
Bug fix - The extra preview callback is not invoked
- The extra preview callback is not invoked
if it's enabled after start preview.
[Version] 0.10.279
[Issue Type] Bug fix
Change-Id: I231a4e64fbb814d467dc46765f8872e56b033bf0
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Sun, 23 Oct 2022 08:41:17 +0000 (17:41 +0900)]
Add new field "timestamp_nsec" in MMCamcorderVideoStreamDataType
[Version] 0.10.278
[Issue Type] New feature
Change-Id: I8b5548ded608f2ec26944359bb58a6105b328657
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Sun, 23 Oct 2022 00:00:55 +0000 (09:00 +0900)]
Update nickname and log for capsfilter elements
[Version] 0.10.277
[Issue Type] Update
Change-Id: Ied3b00387f03be7044fcfd0a5eca58699a8626b1
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 24 Oct 2022 09:20:47 +0000 (18:20 +0900)]
Add "VideoFilterElement" for preview pipeline
[Version] 0.10.276
[Issue Type] New feature
Change-Id: I29b9260498a539f75ee8a9b29e81bc8a7f05c2a7
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 24 Oct 2022 03:52:10 +0000 (12:52 +0900)]
Replace "FILT" in pipeline enums by "CAPS"
[Version] 0.10.275
[Issue Type] Update
Change-Id: I31bedf430a03f06895b443528cef9defb3f9af14
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 17 Oct 2022 09:59:58 +0000 (18:59 +0900)]
Add new interface to request codec config
[Version] 0.10.274
[Issue Type] New feature
Change-Id: I40ec4367cd753b8e22246112d1dac1ba9923dc25
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 18 Oct 2022 05:51:20 +0000 (14:51 +0900)]
fix up! Support H.264 video recording on RB5
[Version] 0.10.273
[Issue Type] Bug fix
Change-Id: Ifaf61bc20bfd8dcacdb53b758a5bf703839998e5
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 20 Sep 2022 11:46:32 +0000 (20:46 +0900)]
Add new INI fields to use multiple camera plugin
- "AltVideosrcElement"
: The alternative videosrc element will be used instead of "VideosrcElement"
in main configuration file, if exists.
- "AltUseZeroCopyFormat"
: The alternative value of "UseZeroCopyFormat",
it will be used if it's not default value(-1).
[Version] 0.10.272
[Issue Type] New feature
Change-Id: I6c27b4d2155c692e666e9913f0d2ef7daf999d8d
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 22 Sep 2022 08:20:42 +0000 (17:20 +0900)]
Fix build error for product TV
[Version] 0.10.271
[Issue Type] Bug fix
Change-Id: Ia189b3820283c7cd15d0dfbd731dc9f1ac7eb7c3
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 8 Sep 2022 08:39:20 +0000 (17:39 +0900)]
Support new extra preview mode
- The defined extra preview mode
: MM_CAMCORDER_EXTRA_PREVIEW_MODE_CAMERA_CONTROL
: MM_CAMCORDER_EXTRA_PREVIEW_MODE_PIPELINE_SRCPAD -> Changed from MM_CAMCORDER_EXTRA_PREVIEW_MODE_VIDEO_PAD
: MM_CAMCORDER_EXTRA_PREVIEW_MODE_PIPELINE_ELEMENT -> New
- Minor change
: Add sub function to get element and element name.
: Make some functions as static.
[Version] 0.10.270
[Issue Type] New feature
Change-Id: If1d2188aae227ee32437cd2409c2ee2226143dec
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 6 Sep 2022 11:12:47 +0000 (20:12 +0900)]
Add new util function to get video caps
[Version] 0.10.269
[Issue Type] Update
Change-Id: I1877c34b0e064a6b009b9893e639258957932853
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 1 Sep 2022 09:06:30 +0000 (18:06 +0900)]
Support H.264 video recording on RB5
[Version] 0.10.268
[Issue Type] Improvement
Change-Id: I3966d064ceeb1cd173706eb485f525276a85ecf4
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 24 Aug 2022 11:35:42 +0000 (20:35 +0900)]
Support new extra preview mode
- The defined extra preview mode
: MM_CAMCORDER_EXTRA_PREVIEW_MODE_CAMERA_CONTROL
: MM_CAMCORDER_EXTRA_PREVIEW_MODE_VIDEO_PAD -> New
- Currently, only 1 extra preview stream is supported
when it's MM_CAMCORDER_EXTRA_PREVIEW_MODE_VIDEO_PAD mode.
[Version] 0.10.267
[Issue Type] New feature
Change-Id: I0521335875569d9ffa2820f48172e7ab897ad2dc
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 5 Aug 2022 11:01:52 +0000 (20:01 +0900)]
Unmap buffer after use
- The crash is occurred when access mapped data pointer after unmap buffer.
So, change the timing to unmap buffer.
[Version] 0.10.266
[Issue Type] Bug fix
Change-Id: I0f40014992065e4593dd32aa4038d398806f0503
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 25 Jul 2022 11:52:48 +0000 (20:52 +0900)]
Support new capture mode
- The defined capture mode
: MM_CAMCORDER_CAPTURE_MODE_ENCODEBIN
: MM_CAMCORDER_CAPTURE_MODE_CAMERA_CONTROL
: MM_CAMCORDER_CAPTURE_MODE_IMAGE_PAD -> New
[Version] 0.10.265
[Issue Type] New feature
Change-Id: I8763f6802a0ce518cf71d17750870c996413b3db
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 25 Jul 2022 07:27:18 +0000 (16:27 +0900)]
Remove unused code - MM_DISPLAY_SURFACE_REMOTE
[Version] 0.10.264
[Issue Type] Clean up
Change-Id: Ib1d7f73f0b1915e63308f4940ea2e3f5b41205d4
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 25 Jul 2022 06:50:57 +0000 (15:50 +0900)]
Support YUYV format for zero-copy buffer
[Version] 0.10.263
[Issue Type] Update
Change-Id: Ida9ae840c2d6019e4b6d861d6ed3e825896c168b
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 20 Jul 2022 06:32:23 +0000 (15:32 +0900)]
Always set internal buffer
- Previously, too much memory could be used when buffers which is copied from gst buffer
are not returned from client after use in time.
- The buffers can be limited by setting internal buffer and camerasrc plugin.
[Version] 0.10.262
[Issue Type] Update
Change-Id: I73206c3c0aef4cccaedb4ce45175876b71cb4c76
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 13 Jul 2022 12:28:19 +0000 (21:28 +0900)]
Do not add audio related buffer probe when audio is disabled
[Version] 0.10.261
[Issue Type] Bug fix
Change-Id: Icbf5a8c23a58c9d6b2aa7075e90daa83e7d417ae
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 29 Jun 2022 03:06:39 +0000 (12:06 +0900)]
Fix bug for exposure value
- The type of exposure value is integer, not fraction.
[Version] 0.10.260
[Issue Type] Bug fix
Change-Id: If4430916d7db6890b02ce2c6c53fcf6ccc3fdd8a
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 9 Jun 2022 00:39:56 +0000 (09:39 +0900)]
Revise log for audio disable
[Version] 0.10.259
[Issue Type] Log
Change-Id: I308b5d7f876d72988ba9d8960b3091794541179f
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 25 May 2022 12:45:11 +0000 (21:45 +0900)]
Move "SupportExtraPreview" from main to control configure
[Version] 0.10.258
[Issue Type] Update
Change-Id: I763c6a97dfa24fca4f9f97672d2b361e6e0b6998
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 19 May 2022 01:32:05 +0000 (10:32 +0900)]
Remove "execute" from configure and source files
[Version] 0.10.257-1
[Issue Type] File permission
Change-Id: Ic7774f813799d93c20c7050de4f462b45568e540
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 26 Apr 2022 08:41:08 +0000 (17:41 +0900)]
Remove unused configuration
[Version] 0.10.257
[Issue Type] Clean up
Change-Id: I01ef4aa1bac8c7647becf54d504537645b22ebcc
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 31 Mar 2022 09:01:08 +0000 (18:01 +0900)]
Support zero-copy with encoded format
- Additional change
: Clean up code for _mmcamcorder_invoke_video_stream_cb().
[Version] 0.10.256
[Issue Type] New feature
Change-Id: Ib582d92dad9eacf8e2224e9d53baf49bf0db8020
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 6 Apr 2022 04:11:13 +0000 (13:11 +0900)]
fix up! Add new attribute for extra preview support
[Version] 0.10.255
[Issue Type] Bug fix
Change-Id: I64fa5d9798e8f41d154fef746c6028a4356fbab1
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 23 Mar 2022 12:27:00 +0000 (21:27 +0900)]
Add new attribute for extra preview support
[Version] 0.10.254
[Issue Type] New feature
Change-Id: I1ae8eea3c805fcfeebde5efcc593dc1fa53bdd6f
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 17 Feb 2022 12:54:17 +0000 (21:54 +0900)]
Change buffer push function for dual stream video recording
- Previously, gst_app_src_push_buffer() is used and it did not increase reference count of buffer.
But, the buffer is also released when gst sample which is parent of buffer is released.
So, the reference count of buffer should be increased when it's pushed to appsrc.
[Version] 0.10.253
[Issue Type] Bug fix
Change-Id: I6dae38fe48162a5451fdb9ec3e17eced5424b990
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 16 Feb 2022 02:45:46 +0000 (11:45 +0900)]
Merge branch 'tizen_gst_1.20.0' into tizen
Change-Id: Ib631cbb6d65a10462a3880fb4ec004ff9bdeb6a5
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 15 Feb 2022 10:02:51 +0000 (19:02 +0900)]
Replace deprecated API for GStreamer upgrade
[Version] 0.10.252
[Issue Type] Update
Change-Id: Ic1f12ca591b13ef1dc072aa57b5b02784bcb481e
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 24 Dec 2021 05:34:38 +0000 (14:34 +0900)]
Add missed parameter for EOS of dbus sound play
[Version] 0.10.251
[Issue Type] Bug fix
Change-Id: I0acd51f67676e0288908f9e65e8b13e5576150a0
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 16 Dec 2021 12:28:32 +0000 (21:28 +0900)]
Use "format" field instead of videoinfo
- The gst_video_info_from_caps() could be failed when caps is not fixed.
But, the "format" field is fixed and available, so we can use it.
[Version] 0.10.250
[Issue Type] Improvement
Change-Id: I2d663e699ad71ca6ced9ddc13232faa0ddd7d0bf
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 10 Nov 2021 03:21:57 +0000 (12:21 +0900)]
Replace gst_structure_get_int() by gst_structure_get()
[Version] 0.10.249
[Issue Type] Update
Change-Id: Ic28b50cfcfcb0d97abf69d0f1b2495659deb8fd3
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 26 Oct 2021 12:43:03 +0000 (21:43 +0900)]
Add new fields to MMCamcorderVideoStreamDataType for metadata
[Version] 0.10.248
[Issue Type] New feature
Change-Id: Ic58d433867b4826cd85887a70ae9678e0aeefd04
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 15 Sep 2021 08:14:03 +0000 (17:14 +0900)]
Add new field to mmfw_camcorder.ini for default encoded preview bitrate
- Field name
: "DefaultEncodedPreviewBitrate" in [VideoInput] category.
- Minor change
: Change default encoded preview bitrate from 10M to 4M.
: Remove duplicated set for bitrate and GOP interval.
: Remove preview format restriction in commit function
for MMCAM_ENCODED_PREVIEW_BITRATE attribute.
[Version] 0.10.247
[Issue Type] New feature
Change-Id: I8f87f9872685997d24dbe6009e8b865019d8c71f
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 15 Sep 2021 05:12:17 +0000 (14:12 +0900)]
Add new functions for extra preview GOP interval
[Version] 0.10.246
[Issue Type] New feature
Change-Id: I6e9520a0e84b31272adf5eb1e5e891302e1b1b84
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 31 Aug 2021 08:36:03 +0000 (17:36 +0900)]
Add new functions for extra preview bitrate
[Version] 0.10.245
[Issue Type] New feature
Change-Id: I76a51c210079fd2cf4c347f520adf4afe1614e4f
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 27 Aug 2021 06:36:31 +0000 (15:36 +0900)]
Increase timeout for GStreamer state change
[Version] 0.10.244
[Issue Type] Update
Change-Id: Ia4a9c111f82103f51cd8c8ad73d3aab5b0f9fe6d
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 18 Aug 2021 08:46:55 +0000 (17:46 +0900)]
Add "\r" to delimiters for ini parsing
- The carriage return("\r") could be included in ini file
and it causes unexpected parsing error.
[Version] 0.10.243
[Issue Type] Improvement
Change-Id: Ib6f8c157ec79f4ef1fdab520665fa8598e92a99b
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 18 Aug 2021 05:21:07 +0000 (14:21 +0900)]
Check media type first to get pixel format from caps
[Version] 0.10.242
[Issue Type] Update
Change-Id: If7994b5696a1b76030bd97fcaeab0c6c5310385e
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 6 Jul 2021 08:07:19 +0000 (17:07 +0900)]
Fix coverity issue - Logically dead code
[Version] 0.10.241
[Issue Type] Coverity
Change-Id: I656f43b93372abd545ac29ca666fbff598e1da86
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 15 Jun 2021 00:29:07 +0000 (09:29 +0900)]
Add new functions for extra preview stream format
[Version] 0.10.240
[Issue Type] New feature
Change-Id: I28971ea91dae20d93af7f921d1820ce7bcc836ba
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 9 Jun 2021 06:37:19 +0000 (15:37 +0900)]
Fix typo
[Version] 0.10.239
[Issue Type] Typo
Change-Id: Id6bd891e95f7390f48f6198d66a23321621ca966
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 3 Jun 2021 11:30:55 +0000 (20:30 +0900)]
Support new pixel format - VP8, VP9
[Version] 0.10.238
[Issue Type] New feature
Change-Id: I8bd940fb25f19eb289ab22cc5ce4b58bd118b7ad
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 1 Jun 2021 10:18:13 +0000 (19:18 +0900)]
Revise _mmcamcorder_get_pixel_format()
[Version] 0.10.237
[Issue Type] Revise
Change-Id: I4e2cdfb02ecdf8df308c22c8ff0cdd5752ebdd16
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 1 Jun 2021 02:40:16 +0000 (11:40 +0900)]
Change path for configuration file
[Version] 0.10.236
[Issue Type] Update
Change-Id: I2ed6a77de57f3e6533646466e96d4ce183974e9c
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 25 Nov 2020 22:56:20 +0000 (07:56 +0900)]
Add code to load ini file for network camera
[Version] 0.10.235
[Issue Type] Update
Change-Id: I07776e5fe91cdce83d82c8e19841bcb7df42cdfe
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Sungjae Pyo [Tue, 24 Nov 2020 08:17:55 +0000 (17:17 +0900)]
RM : set 'device-scaler' property in [directvideosink] before calling gst_video_overlay_set_xxx().
Change-Id: I2838abb21239a0a6af99955b42651c7828dfe638
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
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>