platform/hal/api/codec.git
2 days agoSupport fd for decode 84/325084/6 accepted/tizen_unified accepted/tizen_unified_x tizen accepted/tizen/unified/20250613.040652 accepted/tizen/unified/x/20250613.044716
Jeongmo Yang [Mon, 2 Jun 2025 12:27:29 +0000 (21:27 +0900)]
Support fd for decode

- Update TIDL file for decoding using fd
- Support new interface
- Update Test for new interface
- Extract common function to process fd on backend service

[Version] 1.6.1
[Issue Type] New feature

Change-Id: Ic254801eb3c49193d262e3759b362b51f9784d75
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2 weeks ago[HALACR-40] Add new format: HAL_CODEC_FORMAT_MJPEG 44/323244/3 accepted/tizen/unified/20250604.100245 accepted/tizen/unified/x/20250604.075614
Jeongmo Yang [Thu, 24 Apr 2025 11:59:08 +0000 (20:59 +0900)]
[HALACR-40] Add new format: HAL_CODEC_FORMAT_MJPEG

[Version] 1.6.0
[Issue Type] New feature

Change-Id: I5419980e02b91fe065b3375447aa55454c312d20
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 weeks agoFix duplicated buffer issue for output buffer 43/323243/1 accepted/tizen/unified/20250530.090452 accepted/tizen/unified/x/20250531.233015
Jeongmo Yang [Thu, 24 Apr 2025 11:46:50 +0000 (20:46 +0900)]
Fix duplicated buffer issue for output buffer

- Previously, the mutex for output buffer was locked
  after return rpc_port_proxy_codec_invoke_release_output_buffer().
  The problem is that output_buffer[] array could be accessed in message_cb()
  before remove released buffer in output_buffer[] array
  and it caused duplicated output buffer error although it's released actually.

[Version] 1.5.1
[Issue Type] Bug fix

Change-Id: I31ac0afba1ae5323ab19c52cf3a41862ec54543f
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 weeks agoTIDL: Separate message callback 06/323106/4
Jeongmo Yang [Wed, 23 Apr 2025 05:45:14 +0000 (14:45 +0900)]
TIDL: Separate message callback

- from single callback to 2 callbacks
 : Callback with fd which is used for decoder output.
 : Callback without fd which is used for encoder output and other messages.

[Version] 1.5.0
[Issue Type] Improvement

Change-Id: Ifdcf432d8611742fc55bf59736ef8564ad820ea5
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
8 weeks agoTIDL: Support encoder 84/322784/12
Jeongmo Yang [Wed, 16 Apr 2025 01:13:04 +0000 (10:13 +0900)]
TIDL: Support encoder

- Minor change
 : Fix output dump related code of TCs.
 : Update async return logic.
 : Remove unnecessary log.

[Version] 1.4.0
[Issue Type] New feature

Change-Id: I1a657042efcd783c2c6e97292cb38fe64972af5a
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
8 weeks agoFix to support both ipc and passthrough transport 06/322606/2
Youngjae Cho [Fri, 11 Apr 2025 07:53:08 +0000 (16:53 +0900)]
Fix to support both ipc and passthrough transport

The platform can now specify both ipc and passthrough to platform
manifest. It gives chance for backend to choose one of it through
backend manifest. It is possible that a backend may not specify one.
If then, the first specified platform transport, the passthrough,
is used as a default transport.

Change-Id: I6f6e4abaaa748b03eda9498b8d30afa4a10daa77
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
8 weeks agotest: Separate test class for decoder and encoder 53/322753/1
Jeongmo Yang [Tue, 15 Apr 2025 10:00:24 +0000 (19:00 +0900)]
test: Separate test class for decoder and encoder

[Version] 1.3.2
[Issue Type] Test

Change-Id: I8e9ca0ac7c0a3eb3625ca11aff042c1d034fd380
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2 months agoTIDL: Support DRC from HAL backend 70/322370/1
Jeongmo Yang [Tue, 8 Apr 2025 06:12:14 +0000 (15:12 +0900)]
TIDL: Support DRC from HAL backend

[Version] 1.3.1
[Issue Type] Improvement

Change-Id: I443d4f07d0d32218a82916af5d0ccc34bd2e4bbc
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2 months agotest: Add HAL TCs for encoder 53/322153/4
Jeongmo Yang [Fri, 4 Apr 2025 02:39:37 +0000 (11:39 +0900)]
test: Add HAL TCs for encoder

- Additional changes
 : EOS handling is added for decoder TC
 : Rename TCs

[Version] 1.3.0
[Issue Type] Test

Change-Id: I0a909b735c148830e82256d6a073b744d94fd3c6
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2 months agoFix deadlock with TIDL operation 22/321822/11
Jeongmo Yang [Thu, 27 Mar 2025 06:34:26 +0000 (15:34 +0900)]
Fix deadlock with TIDL operation

- Update TIDL interface
- Add new thread for TIDL delegate callback
- Add new TIDL delegate callback for async return value

[Version] 1.2.0
[Issue Type] Improvement

Change-Id: I8f42ee0865c10cd62add4e5527a97052cf9fa886
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2 months agoFix coverity issues 15/321615/2 accepted/tizen/unified/20250327.154211 accepted/tizen/unified/x/20250327.215015
Jeongmo Yang [Wed, 26 Mar 2025 01:13:24 +0000 (10:13 +0900)]
Fix coverity issues

- Resource leak
- Dereference after null check
- Waiting while holding a lock

[Version] 1.1.3
[Issue Type] Coverity

Change-Id: Id7217ec7a678b50e756d40fe79375da987b4987d
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2 months agoFix coverity defects (Resource leak) 96/321496/1
Seungbae Shin [Mon, 24 Mar 2025 06:26:36 +0000 (15:26 +0900)]
Fix coverity defects (Resource leak)

[Version] 1.1.2
[Issue Type] Coverity

Change-Id: Idad3f7a9038fc7cd62624abe8a4635676408cac8

2 months agoAdd missing get_state ipc implementation 94/321294/2
Seungbae Shin [Tue, 18 Mar 2025 11:08:54 +0000 (20:08 +0900)]
Add missing get_state ipc implementation

[Version] 1.1.1
[Issue Type] Update

Change-Id: Ic617dbc72a0f84a87a8438b1f2c934a9eabb34d0

2 months agoChange to get stub proc name from hal-api-common 29/321329/1 accepted/tizen/unified/20250322.012727 accepted/tizen/unified/x/20250323.134016
SangYoun Kwak [Wed, 19 Mar 2025 04:50:59 +0000 (13:50 +0900)]
Change to get stub proc name from hal-api-common

Since the stub proc name can be vary, it should not be hard-coded but
synced with the stub.
To accomplish this, an api function from the hal-api-common is used:
hal_common_get_stub_proc_name().
This function returns stub proc name which created dynamically in the
build time.

Change-Id: I3ac5334d81edf1e7b2f672177c6cbadc1282ac73
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
3 months agoSupport HAL backend service 39/320939/5 accepted/tizen/unified/20250313.164544 accepted/tizen/unified/x/20250314.100501
Jeongmo Yang [Tue, 11 Mar 2025 10:59:00 +0000 (19:59 +0900)]
Support HAL backend service

[Version] 1.1.0
[Issue Type] New feature

Change-Id: I315f224b589702c6688424f9bbda359a9df7973b
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
4 months ago[HALACR-16] Add HAL interface for Codec 67/316967/9 accepted/tizen_unified_x_asan accepted/tizen/unified/20250121.155638 accepted/tizen/unified/x/20250226.020336 accepted/tizen/unified/x/asan/20250211.003331
Jeongmo Yang [Mon, 23 Sep 2024 10:12:37 +0000 (19:12 +0900)]
[HALACR-16] Add HAL interface for Codec

- Add "doc" directory for documentation.
- Replace HAL test for new codec HAL interface.

[Version] 1.0.0
[Issue Type] New feature

Change-Id: I6ab283d173a7ec7008a3fa70ebc3c01a7c4698a6
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
3 years agoCheck supported HW codec 30/261330/3 accepted/tizen_6.5_unified accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix accepted/tizen_8.0_unified accepted/tizen_9.0_unified tizen_6.5 tizen_7.0 tizen_7.0_hotfix tizen_8.0 tizen_9.0 accepted/tizen/6.5/unified/20211028.114834 accepted/tizen/7.0/unified/20221110.060909 accepted/tizen/7.0/unified/hotfix/20221116.110324 accepted/tizen/8.0/unified/20231005.094408 accepted/tizen/9.0/unified/20241030.232725 accepted/tizen/unified/20210716.131313 accepted/tizen/unified/x/asan/20241224.003755 submit/tizen/20210716.003845 submit/tizen_6.5/20211028.163201 tizen_6.5.m2_release tizen_7.0_m2_release tizen_8.0_m2_release tizen_9.0_m2_release
Jeongmo Yang [Thu, 15 Jul 2021 09:15:38 +0000 (18:15 +0900)]
Check supported HW codec

[Version] 0.0.2
[Issue Type] Update

Change-Id: Ie495f05eed982192dfb3318c7dd851aca8e3873b
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
4 years agoInitial release 94/259494/3 accepted/tizen/unified/20210614.061501 submit/tizen/20210614.015451
Jeongmo Yang [Wed, 9 Jun 2021 03:52:27 +0000 (12:52 +0900)]
Initial release

- The "codec-haltests" is only included in this package,
  because there is no codec HAL interface, but GStreamer codec plugin is used for HAL.

[Version] 0.0.1
[Issue Type] Initial release

Change-Id: I58074e4fb13dd68dc6a8b75664288f6adcbc04ec
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
4 years agoInitial empty repository master
Tizen Infrastructure [Wed, 6 Jan 2021 00:59:10 +0000 (00:59 +0000)]
Initial empty repository