Jeongmo Yang [Fri, 10 Nov 2023 10:11:56 +0000 (19:11 +0900)]
fix up! tizencamerasrc: Use bytesused field for non-TBM preview and capture buffer
[Version] 1.20.0-24
[Issue Type] Bug fix
Change-Id: I97f39afde630ff037676802ef310efba673a4086
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 10 Nov 2023 01:32:25 +0000 (10:32 +0900)]
tizencamerasrc: Use bytesused field for non-TBM preview and capture buffer
In case of encoded format(ex:H.264), the actual data size is not sent.
As a result, the application received invalid data size.
[Version] 1.20.0-23
[Issue Type] Bug fix
Change-Id: I5a1bad766239fcd085850507d1a96c2cc4f8d091
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 10 Aug 2023 23:18:14 +0000 (08:18 +0900)]
tizencamerasrc: Remove duplicated log
Change-Id: I11104063a6640a24065035a1c363a06c3e4d9e14
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 8 Aug 2023 10:04:58 +0000 (19:04 +0900)]
tizencamerasrc: Add camera status for AE and AWB to metadata
[Version] 1.20.0-22
[Issue Type] New feature
Change-Id: I6835a17a98bde89b9da4de52d303bf6f19caf490
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
jiyong.min [Mon, 7 Aug 2023 23:33:59 +0000 (08:33 +0900)]
tizenwlsink: Add null check for 'wl_compositor_create_surface'
- Previously, it's null if memory allocation is failed.
[Version] 1.20.0-21
[Issue Type] Bug fix
Change-Id: Ic8ea420eb1f595682a9395993fd82c792f140ca6
Youngwoo Cho [Mon, 31 Jul 2023 08:28:17 +0000 (17:28 +0900)]
wfdmanager: Fix Svace Issue - DEREF_OF_NULL.RET.STAT
[Version] 1.20.0-20
[Issue Type] Svace
Change-Id: I5cee9f968a1fd3f8321f0653138d1613c0f4fb67
Signed-off-by: Youngwoo Cho <young222.cho@samsung.com>
jiyong.min [Tue, 18 Jul 2023 00:09:55 +0000 (09:09 +0900)]
tizenwlsink: Add null checking for 'tizen_video_viewport'
- Previously, it's null if memory allocation is failed.
[Version] 1.20.0-19
[Issue Type] Bug fix
Change-Id: I00bbf350dede8c4df8702984ba18a0ee5b72eca2
Jeongmo Yang [Thu, 4 May 2023 01:04:54 +0000 (10:04 +0900)]
tizencamerasrc: Add exception handling for hal-name property
- Previously, it's failed if the empty string("") is set for HAL name.
[Version] 1.20.0-18
[Issue Type] Update
Change-Id: I4bd1d76ad1870777e7cec04da7aa6ec45d29355a
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 19 Apr 2023 04:55:16 +0000 (13:55 +0900)]
tizencamerasrc: Update error handling while previewing
[Version] 1.20.0-17
[Issue Type] Error handling
Change-Id: I2cad0a4bebdd58652e21507ba83d56c60a9a800b
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 2 May 2023 10:46:34 +0000 (19:46 +0900)]
tizenencodebin: Add new format capability for image pad
- NV12, NV21, SN12, SN21
[Version] 1.20.0-16
[Issue Type] New feature
Change-Id: Id4f85cfdbf48a9a8d08253386878a166007244ea
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 25 Nov 2022 04:04:58 +0000 (13:04 +0900)]
Merge branch 'tizen' into tizen_7.0
Change-Id: I9c819b5e6b1e2bf2eeb5e796e537ba863db6f31b
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 24 Nov 2022 08:33:05 +0000 (17:33 +0900)]
tizencamerasrc: Change data type for device_port
- (int) -> (char *)
[Version] 1.20.0-15
[Issue Type] Update
Change-Id: Iaccf7ead7287588517ff90a6b2c4e7c44884665b
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 15 Nov 2022 05:50:33 +0000 (14:50 +0900)]
Merge branch 'tizen' into tizen_7.0
Change-Id: Ide913ed77763d9bc2821d41a672e2d4bb219ecee
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 14 Nov 2022 23:48:13 +0000 (08:48 +0900)]
tizencamerasrc: Add new properties for device bus and port
- "device-bus", "device-port"
[Version] 1.20.0-14
[Issue Type] New feature
Change-Id: I5eb39688ff67c9ab7bb714182a50589aa1dc7a8f
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 14 Nov 2022 22:43:45 +0000 (07:43 +0900)]
Merge branch 'tizen' into tizen_7.0
Change-Id: I323a18d209062490b0faa0df20c7805e1098574e
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 9 Nov 2022 05:34:00 +0000 (14:34 +0900)]
Add new property to set maximum number of live buffer for RAW format
[Version] 1.20.0-13
[Issue Type] New feature
Change-Id: I8cef9a2617d3e58130f1f8e97777b7c5428e167c
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 2 Nov 2022 02:23:41 +0000 (11:23 +0900)]
Merge branch 'tizen' into tizen_7.0
Change-Id: Ifeed4304daaa0e0831602ca973cfe7d6f1f5ac81
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Hyunsoo Park [Tue, 18 Oct 2022 08:51:12 +0000 (17:51 +0900)]
wfd : Modify data type which assign gsize
- Change variables data type enable to get gsize variable.
[Version] 1.20.0-12
[Issue Type] Update
Change-Id: I6021ad8443a015c7b3f6aef8ff459753aca2767c
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Jeongmo Yang [Thu, 13 Oct 2022 11:27:46 +0000 (20:27 +0900)]
tizencamerasrc: Add zero copy format to srcpad template for YUY2 and UYVY
[Version] 1.20.0-11
[Issue Type] Update
Change-Id: I1c9884d7a8339bf9c57e6178f6b42b817a325d9e
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Hyunsoo Park [Wed, 12 Oct 2022 08:06:28 +0000 (17:06 +0900)]
gstwfdsrc: Remove duplicate unref
[Version] 1.20.0-10
[Issue Type] Bug Fix
Change-Id: I4622d2ef09613cdb6c2339a965700a41955071e5
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Jeongmo Yang [Mon, 25 Jul 2022 06:03:58 +0000 (15:03 +0900)]
tizencamerasrc: Add sub function to release buffer
[Version] 1.20.0-9
[Issue Type] Update
Change-Id: I356d753481777c496e8f0f18faa2715830fa18bc
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 25 Jul 2022 02:39:00 +0000 (11:39 +0900)]
tizencamerasrc: Remove "jpg" or "JPG" in capture quality related words
- The capture format could be another format, not JPEG.
[Version] 1.20.0-8
[Issue Type] Update
Change-Id: Ie0d0f8ad30fedef219f309caeabd6d02c5cee74b
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 19 Jul 2022 11:02:18 +0000 (20:02 +0900)]
tizencamerasrc: Fix bug for live buffer check
[Version] 1.20.0-7
[Issue Type] Update
Change-Id: Ie450f00fc4ca19a1881937541fe512e4a535aac2
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 29 Jun 2022 03:32:13 +0000 (12:32 +0900)]
tizencamerasrc: Fix bug for exposure value
- The type of exposure value is integer, not fraction.
[Version] 1.20.0-6
[Issue Type] Bug fix
Change-Id: I73ec11164c0eb760a91b804dd1eb3572c7efe23f
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Hyunsoo Park [Thu, 12 May 2022 07:08:41 +0000 (16:08 +0900)]
gstwfdbasesrc: Sets c_mashaller to generic
[Version] 1.20.0-5
[Issue Type] Bug Fix
If c_marshaller is NULL, g_cclosure_marshal_generic() will be used as the marshaller for this signal by default.
Change-Id: Icb0f73a380d602dce947b8c60659ae6b1bb3eaa5
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Jeongmo Yang [Wed, 20 Apr 2022 10:36:09 +0000 (19:36 +0900)]
tizencamerasrc: Add missed code for NV21 and JPEG
[Version] 1.20.0-4
[Issue Type] Bug fix
Change-Id: I959c1d637f35471549849db77b3c35e833a93691
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 30 Mar 2022 11:56:58 +0000 (20:56 +0900)]
tizencamerasrc: Support zero-copy with encoded format
[Version] 1.20.0-3
[Issue Type] New feature
Change-Id: I2975a5013a7267246891d878d4ed59c54b5b887a
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 3 Mar 2022 07:04:03 +0000 (16:04 +0900)]
tizencamerasrc: Use proper value for tbm surface
[Version] 1.20.0-2
[Issue Type] Bug fix
Change-Id: Iedc405c396232c773992cffed3ea4dbe1ce067e0
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Hyunil [Wed, 23 Feb 2022 06:11:32 +0000 (15:11 +0900)]
alfec: fix coverity issue
- Unchecked return value (CHECKED_RETURN)
[Version] 1.20.0-1
[Issue Type] Bug fix
Change-Id: Ia546dbe1208ce6473f82a6a2312c931963a1aa9f
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
Jeongmo Yang [Wed, 16 Feb 2022 02:44:52 +0000 (11:44 +0900)]
Merge branch 'tizen_gst_1.20.0' into tizen
Change-Id: I930aeaac00a55858605ac44d44a852bc5a67160e
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 15 Feb 2022 12:47:47 +0000 (21:47 +0900)]
tizenencodebin: Fix crash when it's disposed
[Version] 1.20.0
[Issue Type] Bug fix
Change-Id: I3688675544fca0da2f9bb92a889906ecf267f7f3
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 14 Dec 2021 12:36:35 +0000 (21:36 +0900)]
tizencamerasrc: Remove element dependency from buffer if TBM is not used
- The element should not be released if outgoing buffer is remained if TBM is used,
so it increases reference count of element when buffer is created.
On the other hand, there is no need to keep element if TBM is not used.
[Version] 1.16.2-51
[Issue Type] Improvement
Change-Id: I9937b8b7cd477880074a25b9d1ee531e58bbb5a3
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 14 Dec 2021 11:14:05 +0000 (20:14 +0900)]
Add fallback for older Glib versions
- Use g_memdup2() if available, otherwise use g_memdup().
[Version] 1.16.2-50
[Issue Type] Glib compatibility
Change-Id: I74aeec2107a2bd6cc0e6e6aa4447715756a918c2
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Hyunsoo Park [Mon, 13 Dec 2021 06:49:02 +0000 (15:49 +0900)]
wfdtsdemux,tizencamerasrc: replace g_memdup() to g_memdup2()
- g_memdup() was removed in glib2
Change-Id: Ie581ea35b0f83c71f01aa6a99a69b3aacd581b9d
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Jeongmo Yang [Thu, 2 Dec 2021 12:14:54 +0000 (21:14 +0900)]
tizencamerasrc: Post error message when preview buffer failed
[Version] 1.16.2-48
[Issue Type] Error handling
Change-Id: I41ec4a3c53ec640fc16319c5798b5e4cbaacdde6
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Hyunil [Thu, 25 Nov 2021 06:32:49 +0000 (15:32 +0900)]
tizenwlsink: Add condition to avoids releasing last_buffer which is flush buffer
- the condition avoids duplicated unref of the last buffer for each geometry update,
in case of the prepare async situation after flush event received from qtivdec.
[Version] 1.16.2-47
[Issue Type] Bug fix
Change-Id: I2381680b866008a19e8600bed75ad6e0e5c60d5d
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
Jeongmo Yang [Wed, 24 Nov 2021 11:34:29 +0000 (20:34 +0900)]
tizencamerasrc: Check flushing when preview buffer failed
[Version] 1.16.2-46
[Issue Type] Improvement
Change-Id: I910157fe64c9e560f316e34231809c36b95b4f4e
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 11 Nov 2021 08:03:45 +0000 (17:03 +0900)]
tizencamerasrc: Move function call to add message callback
[Version] 1.16.2-45
[Issue Type] Update
Change-Id: Ifbcc918ccd41df9bc67f85dbb2896565c8e3afb4
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 26 Oct 2021 12:41:44 +0000 (21:41 +0900)]
tizencamerasrc: Add some metadata to buffer
- Added metadata
: focus state
: facing direction
: flip
: rotation
[Version] 1.16.2-44
[Issue Type] New feature
Change-Id: I80218ba39392de6765f708ec336735250558bf01
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 21 Oct 2021 11:05:25 +0000 (20:05 +0900)]
tizencamerasrc: Make proper caps of capture sample
[Version] 1.16.2-43
[Issue Type] Improvement
Change-Id: I12cfcc34db9c0ddb83248a9323539e6c2fc34e12
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Hyunil [Fri, 8 Oct 2021 03:38:06 +0000 (12:38 +0900)]
tizenwlsink : Change the position of the function call that gets flush_request value
- Sometimes when operating with OMX, flush buffer is continuously created.
[Version] 1.16.2-42
[Issue Type] Bug fix
Change-Id: Ic223b6e56e090b6af5f5a3b56d6f415e6c0a5892
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
Jeongmo Yang [Thu, 7 Oct 2021 06:30:03 +0000 (15:30 +0900)]
tizencamerasrc: Fix plugin load failure
- The instance for plugin should not be bigger than G_MAXUINT16,
but, it's exceeded because size of device_info(camera_device_info_list_s) is changed in camera HAL interface.
So, this commit reduces the size of instance by dynamic allocation for device_info and the issue is fixed.
[Version] 1.16.2-41
[Issue Type] Bug fix
Change-Id: Ibfaf70c5cc3486e0cd4f1da822e0e5d867e69cfb
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 15 Sep 2021 05:49:43 +0000 (14:49 +0900)]
tizencamerasrc: Add new interface for extra preview GOP interval
[Version] 1.16.2-40
[Issue Type] New feature
Change-Id: I2e5fd7c8fc60bd2f944b97cb43589d843adb0bb7
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 8 Sep 2021 06:19:21 +0000 (15:19 +0900)]
tizencamerasrc: Set delta unit flag for encoded frame
[Version] 1.16.2-39
[Issue Type] Update
Change-Id: Ib7242e29e17831b0f372571ab0f9db01a1f479fc
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Hyunil [Thu, 2 Sep 2021 05:38:41 +0000 (14:38 +0900)]
waylandsrc: Add instructions for getting valid property value about mirroring coordinate information
[Version] 1.16.2-38
[Issue Type] Bug fix
Change-Id: Ib4a75a9730cdcb0ee3e990a7f2028b5c63b2ab3d
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
Jeongmo Yang [Thu, 2 Sep 2021 07:23:45 +0000 (16:23 +0900)]
tizencamerasrc: Add new interface for extra preview bitrate
[Version] 1.16.2-38
[Issue Type] New feature
Change-Id: I6329265a8aa7243f13c122ed6c147e7a7631a467
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Hyunil [Wed, 25 Aug 2021 02:19:34 +0000 (11:19 +0900)]
waylandsrc: Add properties to get mirroring coordinate information
- Add calculation function to get mirrorng coordinate information which is same as Enlightenment
[Version] 1.16.2-37
[Issue Type] New feature
Change-Id: I209e198166fcce6f546f76373f32453b95378bf1
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
Jeongmo Yang [Mon, 9 Aug 2021 02:52:56 +0000 (11:52 +0900)]
tizencamerasrc: Skip buffer waiting for NON-TBM buffer
- No need to wait for buffer when stop preview if TBM is not used.
[Version] 1.16.2-36
[Issue Type] Update
Change-Id: I6350d106192d6e16e668d00f31b71efed9cb3799
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Hyunil [Wed, 21 Jul 2021 06:48:08 +0000 (15:48 +0900)]
tizenwlsink: Apply gst_video_overlay_set_wl_window_exported_shell_handle interface
- Exported shell handle can be set by video overlay interface
[Version] 1.16.2-36
[Issue Type] New feature
Change-Id: Ia58bb5cd7b8428034b2c2ef481f5810df46a4c5d
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
Eunhye Choi [Wed, 21 Jul 2021 02:45:58 +0000 (11:45 +0900)]
video360: fix svace issue
[Version] 1.16.2-35
[Issue Type] SVACE : DEREF_OF_NULL.RET.PROC.STAT
Change-Id: Ie689203dd452474e889e682cdf172c0e0711f767
Jeongmo Yang [Thu, 8 Jul 2021 05:52:20 +0000 (14:52 +0900)]
tizenwlsink: Fix svace issue - DEREF_OF_NULL.RET.PROC.STAT
[Version] 1.16.2-34
[Issue Type] Svace
Change-Id: I4cf38d04ab18ccde453c57b4697516ed4368594b
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 1 Jul 2021 02:26:54 +0000 (11:26 +0900)]
tizencamerasrc: Update caps template for VP8 and VP9
- Additional minor change
: Update max value for width and height in caps template
[Version] 1.16.2-33
[Issue Type] Update
Change-Id: I5786c846c83fb7b27b5f9a8803dbc93e67be6018
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Hyunil [Mon, 10 May 2021 07:54:26 +0000 (16:54 +0900)]
[tizenwlsink] Add foreign shell for UI and Video synchronization
- Create foreign shell using exported shell handle and wayland tizen importer
for UI and video synchronization
- Add property for setting a handle of wayland tizen exported shell
- Add wtz-foregin-client to BuildRequire and configuar.ac
[Version] 1.16.2-32
[Issue Type] New feature
Change-Id: I27ce540e5963fe7021330d1de2000eca8dcb2e6a
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
Jeongmo Yang [Fri, 18 Jun 2021 02:28:22 +0000 (11:28 +0900)]
tizencamerasrc: Copy all plane's data for VP8 and VP9 formats
[Version] 1.16.2-31
[Issue Type] Update
Change-Id: I145306860aa80ed1ea00997345a19e57e49164cf
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 8 Jun 2021 10:56:12 +0000 (19:56 +0900)]
tizencamerasrc: Add new interface for extra preview stream format
[Version] 1.16.2-30
[Issue Type] New feature
Change-Id: I0f6802e333576fc71178ccc193468b78f228cdca
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 3 Jun 2021 10:40:01 +0000 (19:40 +0900)]
[tizencamerasrc] Support new format - VP8, VP9
[Version] 1.16.2-29
[Issue Type] New feature
Change-Id: I335108007601c6169cd6722207628d99dcd3162e
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 13 May 2021 11:05:37 +0000 (20:05 +0900)]
[tizencamerasrc] Support control for focus level
- Minor change
: Fix type of parameter for hal_camera_get_command()
[Version] 1.16.2-28
[Issue Type] New feature
Change-Id: I9ba78b59966e3a19bdf26f2ee87a072254321c64
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 11 Mar 2021 11:23:21 +0000 (20:23 +0900)]
[tizencamerasrc] Add new interface for extra preview callback
[Version] 1.16.2-27
[Issue Type] New feature
Change-Id: I08a55bf7580f10f7094accefdd56a856bf1dc55f
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Hyunil [Thu, 8 Apr 2021 02:07:28 +0000 (11:07 +0900)]
[tizenwlsink] Set gst_base_sink_set_last_sample_enabled(FALSE) to return last_buffer to decoder
- flush_buffer is used to return last_buffer to decoder.
but if gst_base_sink_is_last_sample_enabled() is set, the last_buffer cannot
be returned to decoder because last_buffer becomes free when basesink get a
new buffer from decoder.
decoder can give a new buffer only when all buffer are retreived in flush situation.
- this problem occurred in the operation with V4L2 hardware decoder in RPI4
[Version] 1.16.2-26
[Issue Type] Bug fix
Change-Id: I4f94f8bd79361bea1da001c47706ea220c80de5c
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
Jeongmo Yang [Wed, 31 Mar 2021 08:06:47 +0000 (17:06 +0900)]
[tizencamerasrc] Add new property - "empty-buffer-timeout"
- Timeout to wait for buffer to be available. (ms, 0 = unlimited)
- Minor change
: Change debug category name from "camerasrc" to "tizencamerasrc"
[Version] 1.16.2-25
[Issue Type] New feature
Change-Id: I8d55f53a9e1fa190d8409d17026a73d43b3007ac
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Hyunil [Tue, 16 Feb 2021 11:13:48 +0000 (20:13 +0900)]
[tizenwlsink] Add setting video_info_changed in signal-handoffs property
- If this value is set then gst_wl_window_resize_tizen_video_viewport() is
called before the first wl_buffer is rendered and tizen_viewport_set_source,
tizen_destination_mode_set and tizen_viewport_set_transform is set for setting
video layout.
[Version] 1.16.2-24
[Issue Type] Bug fix
Change-Id: I7883c965274278f0e55aadabe01c9f48bed9cee9
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
Jeongmo Yang [Mon, 8 Feb 2021 11:00:23 +0000 (20:00 +0900)]
[tizencamerasrc] Support Next camera HAL for tizen 6.5
[Version] 1.16.2-23
[Issue Type] Update
Change-Id: Ic37c963af63e16eac7826629e6af0108a583d314
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 27 Jan 2021 06:49:41 +0000 (15:49 +0900)]
[tizencamerasrc] Support new camera control - strobe brightness
- Minor change
: Refactoring gst_tizencamerasrc_fill_ctrl_list() function
[Version] 1.16.2-22
[Issue Type] New feature
Change-Id: Id1082f7d291fe8c946a83a5b16462239380b90cc
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Hyunil [Thu, 28 Jan 2021 05:53:45 +0000 (14:53 +0900)]
[tizenwlsink] Use last_sample to change geometry in GST_STATE_PAUSED when
last_buffer is NULL and visible is TRUE
- Modify unref last_buffer in gst_tizen_wl_sink_stop_video()
[Version] 1.16.2-21
[Issue Type] Bug fix
Change-Id: I8fd950d61d7e6b90a1b5500bf0d8bb9f543546d8
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
Hyunil [Wed, 27 Jan 2021 08:29:21 +0000 (17:29 +0900)]
[tizenwlsink] Unref the last buffer before rendering the NULL buffer
[Version] 1.16.2-20
[Issue Type] Bug fix
Change-Id: I5987fd0d0f4727d2c3fb1cf505d9660c4a02d472
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
Hyunil [Wed, 27 Jan 2021 00:21:06 +0000 (09:21 +0900)]
[tizenwlsink] Add flush buffer creation condition
[Version] 1.16.2-19
[Issue Type] Improvement
Change-Id: Ifa3e3fd402e2fe2ebdca00bfb96db6f99f55d273
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
Jeongmo Yang [Tue, 29 Dec 2020 06:30:38 +0000 (15:30 +0900)]
[tizencamerasrc] Set capture count and interval to HAL
[Version] 1.16.2-18
[Issue Type] Update
Change-Id: I49683f24f33ad59f205a2bfd486559aad2031593
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 9 Dec 2020 12:01:28 +0000 (21:01 +0900)]
[tizenwlsink] Handle FLUSH_START event to release last buffer
[Version] 1.16.2-17
[Issue Type] Update
Change-Id: I3276b05db2c00eeddecb5a1e5861d9216975ec64
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
desperadok [Wed, 2 Dec 2020 05:07:37 +0000 (14:07 +0900)]
[alfec] fix compiler hint for more usual case
Change-Id: I214999107fa6a5bb279ddaf1e8dfa8f338046ef7
Hyunil [Thu, 3 Dec 2020 08:48:25 +0000 (17:48 +0900)]
[tizenwlsink] Add NULL buffer to retrieve the buffer attached to wayland server
- It renders a null buffer and releases previous buffer from the wayland-server.
- When using gst-launch, the general operation is to use tizenwlsink buffer pool and
when the state is PAUSED_TO_READY, it force unref of the buffer that have not yet been freed.
- But, sometimes, buffer owner is previous plugin.
[Version] 1.16.2-16
[Issue Type] Bug fix
Change-Id: I47c9592376f3bbb88180d6f51f528d3bbb82441a
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
Hyunil [Mon, 23 Nov 2020 10:45:51 +0000 (19:45 +0900)]
[alfec] add do-fec property to alfecencoder
- If the property is set, it performs Forward Error Correction,
otherwise it pushes the buffer without touching it.
[Version] 1.16.2-15
[Issue Type] Improvement
Change-Id: Ia979fab5b762d0c541f4d070b147535e36332a46
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
Hyunil [Mon, 16 Nov 2020 03:33:24 +0000 (12:33 +0900)]
[alfec] Modify gstbuffer to be writable
- Error is occurred about assertion 'gst_buffer_is_writable (buffer)' failed
[Version] 1.16.2-13
[Issue Type] Bug fix
Change-Id: I61dc2b2593d25e07c291ef34f56452df2714a7dc
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
Jeongmo Yang [Fri, 13 Nov 2020 09:07:35 +0000 (18:07 +0900)]
[tizencamerasrc] Remove camera HAL interface initialization in plugin init function.
- The camera HAL interface will be initialized when "hal-name" property is set.
- This change has dependency for libmm-camcorder.
[Version] 1.16.2-14
[Issue Type] Optimization
Change-Id: I4ce0b95cd99f051a2bb5ae87fbb2dd903437d5f9
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 12 Nov 2020 05:59:09 +0000 (14:59 +0900)]
[tizencamerasrc] Enable TIZEN_FEATURE_ENABLE_CAMERA_HAL_INTERFACE_INIT on TV
[Version] 1.16.2-13
[Issue Type] Bug fix
Change-Id: I38d0ace17b3fe1eec6d1f8d222f7ff265c9e3b54
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 29 Oct 2020 03:47:30 +0000 (12:47 +0900)]
Rename "encodebin" to "tizenencodebin"
- There is a duplicated name in gst-plugins-base.
[Version] 1.16.2-12
[Issue Type] Rename
Change-Id: I3794d49aaa3b83d48c9285eaaf43b7569ae69a16
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 16 Oct 2020 06:05:23 +0000 (15:05 +0900)]
[tizencamerasrc] Add new property : "hal-name"
- To select camera HAL implementation.
- The default name of camera HAL is "libtizen-camera".
- Minor change
: Add new feature to avoid unnecessary HAL interface loading.
(feature name: TIZEN_FEATURE_ENABLE_CAMERA_HAL_INTERFACE_INIT)
[Version] 1.16.2-11
[Issue Type] New property
Change-Id: I7eaac75f79931dc383623709fb58841ed49eb9eb
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Hyunil [Thu, 22 Oct 2020 04:27:43 +0000 (13:27 +0900)]
[tizenwlsink] Remove memory curruption detected by valgrind
- self(GstWlBuffer) could be freed
[Version] 1.16.2-10
[Profile] Common
[Issue Type]
Change-Id: Id139bec588f24c49446db0d611d7bbe3ee3d3ac6
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
Jeongmo Yang [Thu, 23 Jul 2020 10:43:07 +0000 (19:43 +0900)]
[tizencamerasrc] Support capture function
[Version] 1.16.2-9
[Profile] Common
[Issue Type] Update
Change-Id: I3e9f7804edddd96eb29981813974146bae670722
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 16 Jul 2020 06:55:23 +0000 (15:55 +0900)]
[tizenwlsink] Avoid crash when flush buffer
- In some target, the sizes of src and dst buffer are different, it can cause crash.
At that case, avoid to copy with invalid size and print warning log.
[Version] 1.16.2-8
[Profile] Common
[Issue Type] Improvement
Change-Id: I2cca99315cd812f15a26810c5cb8fec0bfcd31da
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 29 Jun 2020 01:17:21 +0000 (10:17 +0900)]
[tizencamerasrc] Fix Svace issue - FALL_THROUGH
[Version] 1.16.2-7
[Profile] Common
[Issue Type]
Change-Id: I2e970efbcbb05866658c324f54f310b64a53de8c
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 16 Jun 2020 02:43:13 +0000 (11:43 +0900)]
[tizencamerasrc] Add new property to prevent buffer(fd) overflow
[Version] 1.16.2-6
[Profile] Common
[Issue Type] Update
Change-Id: I5b93b92c3ebcc41c295c126f25575079975e7eb8
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Hyuntae Kim [Mon, 8 Jun 2020 01:01:25 +0000 (10:01 +0900)]
[camera] svace issue about g_malloc
Change-Id: I52ee9fd9097b9fb8aa9682ea7ea38db667a14048
Hyunsoo Park [Fri, 22 May 2020 06:59:19 +0000 (15:59 +0900)]
[waylandsrc] Release memory when 'make_shm_pool' failed
Change-Id: I117c0bb3fb3ec0e24e698f03444e27597cc04164
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Jeongmo Yang [Mon, 6 Apr 2020 03:11:25 +0000 (12:11 +0900)]
[tizencamerasrc] Set capture resolution while previewing
- Add missed capture resolution setting after start preview
[Version] 1.16.2-3
[Profile] Common
[Issue Type] Bug fix
Change-Id: I5c3c9ae0928d8642283707a5303e7b29a093d35e
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 1 Apr 2020 05:20:34 +0000 (14:20 +0900)]
[video360] Fix 2 bugs
1. Remove invalid buffer referencing
: It seems that the additional buffer referencing is needed because of bug in gstvideofilter,
But, it's fixed and now, this buffer referencing code causes buffer handling error after that.
So, the buffer referencing code should be removed.
2. Correct passthrough function
: Previously, the new output buffer is allocated and it's pushed without any change, so it caused black screen.
This patch changes the logic when passthrough is true like below.
- Just assign input buffer as output buffer without new allocation.
[Version] 1.16.2-2
[Profile] Common
[Issue Type] Bug fix
Change-Id: Ida2f2926ea4f2e8374f12acfbc80b587217bebbf
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 19 Mar 2020 05:53:37 +0000 (14:53 +0900)]
[tizencamerasrc] Fix invalid memory access after finalize
[Version] 1.16.2-1
[Profile] Common
[Issue Type] Bug fix
Change-Id: I6efa1d58a6b57b76e9ed7e6d536822c20a7d09e6
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 11 Mar 2020 09:25:37 +0000 (18:25 +0900)]
Update package version for GStreamer upgrade
- Synchronize package version with GStreamer packages
- Remove duplicated code in configure.ac
- Clean up Makefile.am
[Version] 1.16.2-0
[Profile] Common
[Issue Type] Update
Change-Id: I650eef85e2c7a2aa797ad542e4de5dd2f06a9a8f
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 4 Mar 2020 07:26:57 +0000 (16:26 +0900)]
[tizencamerasrc] Replace GstCameraControlClass by GstCameraControlInterface
[Version] 1.0.0-99
[Profile] Common
[Issue Type] Update
Change-Id: I58ec2c15694e6275587d2c74adea960e48a88c36
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Hyunsoo Park [Thu, 13 Feb 2020 11:07:13 +0000 (20:07 +0900)]
Resolve memory related and unreachable code issue
Change-Id: Id93d689e9f4766e9db1a90f7d046c9cad0f90f69
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Jeongmo Yang [Fri, 7 Feb 2020 02:58:52 +0000 (11:58 +0900)]
[tizencamerasrc] Get device info list when the element is created.
[Version] 1.0.0-97
[Profile] Common
[Issue Type] Update
Change-Id: Ifb6f84c2d883e096f1ae8f0b04a4bc61bc65ad4f
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Hyuntae Kim [Tue, 28 Jan 2020 06:47:20 +0000 (15:47 +0900)]
[tizencamerasrc] implementation for mjpeg input from camera device
[Version] 1.0.0-96
[Profile] Common
[Issue Type] Update
Change-Id: Idb3c51c8cf04972c204376cbca95d697f1bf21ed
Jeongmo Yang [Thu, 9 Jan 2020 02:13:52 +0000 (11:13 +0900)]
[tizencamerasrc] Add new property : "device-name"
- The "device-name" property is used for camera_open_device_ext(),
and the "camera-id" will be ignored if "device-name" is set.
[Version] 1.0.0-95
[Profile] Common
[Issue Type] Update
Change-Id: I73c63258a30f89f217285451ad09643603fd444a
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Hyunil [Thu, 2 Jan 2020 07:11:39 +0000 (16:11 +0900)]
Update PLUGINS file
Change-Id: I2429596fb8e2107904a94d36ddf83203d00e9031
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
Hyunil [Fri, 13 Dec 2019 05:58:43 +0000 (14:58 +0900)]
tizenwlsink: Add a restriction for propose allocation
Change-Id: I5c3d2f17efd5f359f6dd2053236f2511a842651a
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
Hyunsoo Park [Tue, 10 Dec 2019 07:26:18 +0000 (16:26 +0900)]
[gstwfdtizensrc] Add memory release codes for rtsp message body.
In case of error, funtion is closed without releasing body memory is allocated by g_string_new.
So I add release codes.
Change-Id: Ic96be615a327e01791375e9952e045943ce0101f
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Mon, 25 Nov 2019 06:25:27 +0000 (15:25 +0900)]
[wfdtizensrc] Check condition of 'gst_pad_link'
Checks whether it is true or not.
Change-Id: Ie4ef95763216f31bc5b5ceea7541209476093663
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Jeongmo Yang [Tue, 10 Dec 2019 05:26:03 +0000 (14:26 +0900)]
[tizencamerasrc] Fix coverity issue - Unchecked return value
[Version] 1.0.0-93
[Profile] Common
[Issue Type] Coverity
Change-Id: Id4f0f4fd219e42286b46dccb382a569a350c1cd0
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 4 Dec 2019 02:19:25 +0000 (11:19 +0900)]
[tizencamerasrc] Update code to handle error from HAL
[Version] 1.0.0-92
[Profile] Common
[Issue Type] Update
Change-Id: I14cf320eb036ea233eaea82a2dc8971e7c5c1b0b
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 5 Dec 2019 05:35:23 +0000 (14:35 +0900)]
Revert "[tizencamerasrc] h264 stream memory copy code revert"
This reverts commit
c209019b6847a5589e60be59611357009170f816.
[Version] 1.0.0-91
[Profile] Common
[Issue Type] Revert
Change-Id: I1a1eac7132b186ce1a175be31f282ca2e6604e4a
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 3 Dec 2019 02:54:54 +0000 (11:54 +0900)]
[video360] Fix coverity issue - unchecked return value
Change-Id: I097badbf38ce0ecfa8a5efeff4979ef2d7dd40b3
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>