Jeongmo Yang [Wed, 28 Aug 2024 11:33:01 +0000 (20:33 +0900)]
Fix svace issues
- Issue list
: SEC_DO_NOT_USE_POINTER_WITH_INT_IN_UNION
: SEC_INVALID_ASSIGNMENT_WITH_UNSIGNED_VALUES
: SEC_DO_NOT_ASSIGN_SIZE_OF_INT
: SEC_MALLOC_ALIGNMENT
: SIGNED_TO_BIGGER_UNSIGNED
[Version] 1.2.5
[Issue Type] Svace
Change-Id: I0e40bde1fd2fbb3173f6eb6b54882352313cc9cf
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 28 Aug 2024 08:06:43 +0000 (17:06 +0900)]
Reset drop count for encoded format
- The first frame for encoded format should not be dropped.
[Version] 1.2.4
[Issue Type] Bug fix
Change-Id: I884bb88e10246374c2dcdf64bdc6a36d957e738d
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 23 Aug 2024 07:00:55 +0000 (16:00 +0900)]
Fix TCT failure #2
1. Native UTC/ITC - camera_change_device() in emulator
: In emulator, the supported device count is 2,
but, actual device node is 1 only.
It caused the preview format setting failure when create handle.
[Version] 1.2.3
[Issue Type] Bug fix
Change-Id: I71a8ca2778b2bea48bb9b2025bfa3b8a336ddf37
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 16 Aug 2024 10:04:52 +0000 (19:04 +0900)]
Fix TCT failure
1. Native UTC - recorder
: Check invalid parameter for attribute of resolutions.
2. CSharp - Tizen.Camera.Tests
: Exclude FPS which is not described in native camera API.
[Version] 1.2.2
[Issue Type] Bug fix
Change-Id: I62c2ebaad1a707ab65154b56f7c18689990db242
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 16 Aug 2024 05:05:58 +0000 (14:05 +0900)]
Add new configuration to update capsfilter by stream rotation
[Version] 1.2.1
[Issue Type] Update
Change-Id: I5998b616b8b56b6c7d961f876f709560ba452087
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 16 Jul 2024 06:24:50 +0000 (15:24 +0900)]
Support device capability provided by camera HAL
- Previously, libmm-camcorder uses only ini files from media-config package.
But, it's proper for target which has fixed capability camera.
(built-in or USB camera, but not changable.)
- The device capability from camera HAL does not support All functions,
but, format, resolution and fps are supported only now.
- If camera HAL supports device capability, libmm-camcorder will update
the related attributes after load ini files.
[Version] 1.2.0
[Issue Type] New feature
Change-Id: I9ba8302020b79271c3422f5dcda9e1ab2aedf7d4
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
YoungHun Kim [Wed, 12 Jun 2024 06:26:43 +0000 (15:26 +0900)]
Enable resource manager commonization
[Version] 1.1.3
[Issue Type] Update
Change-Id: I59fa7e33da9d7cebe8d9508093322c41e3d7742f
Jeongmo Yang [Tue, 16 Jul 2024 07:57:11 +0000 (16:57 +0900)]
workaround: Update preview callback flag
- The preview callback flag should be updated
when preview callback is set by latest mmsvc-camera module,
but it could be missed with old mmsvc-camera module.
- Update preview callback flag when preview callback is set, but flag is not set.
- This is workaround patch and it will be removed after mmsvc-camera module is updated.
[Version] 1.1.2
[Issue Type] Compatibility
Change-Id: I810e6909cb5f0cb5ec431e2172556e58b7eca3b5
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 11 Jul 2024 07:11:15 +0000 (16:11 +0900)]
Fix Svace issue
- LIB.INSECURE_STRNCMP
[Version] 1.1.1
[Issue Type] Svace
Change-Id: I5d18f1cc112d65c836655f8e578c12f2e421406a
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
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>