platform/hal/backend/codec-v4l2.git
4 months agoUpdate
Jeongmo Yang [Tue, 11 Feb 2025 07:57:08 +0000 (16:57 +0900)]
Update

- Add extra settings for capture(output) when S_FMT.
- Change buffer numbers for input and output.

Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
4 months agoBug fix: Reset buffer size when start
Jeongmo Yang [Mon, 10 Feb 2025 11:46:32 +0000 (20:46 +0900)]
Bug fix: Reset buffer size when start

- The buffer size will be increased while playing DRC contents,
  it causes segmentation fault when stop codec.

Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
4 months agoClear idle buffers for input when stop decoder
Jeongmo Yang [Fri, 7 Feb 2025 11:00:42 +0000 (20:00 +0900)]
Clear idle buffers for input when stop decoder

Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
4 months agoUpdate buffer handling
Jeongmo Yang [Fri, 7 Feb 2025 08:41:15 +0000 (17:41 +0900)]
Update buffer handling

Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
4 months agoRemove timeout for __codec_v4l2_get_idle_buffer()
Jeongmo Yang [Tue, 4 Feb 2025 11:38:45 +0000 (20:38 +0900)]
Remove timeout for __codec_v4l2_get_idle_buffer()

The input buffers can be pushed continuously although all buffers are consumed.
In that case, we should wait until buffer is back from driver.

Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
4 months agoHandle EOS event
Jeongmo Yang [Wed, 22 Jan 2025 11:59:41 +0000 (20:59 +0900)]
Handle EOS event

Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
4 months agoSet input buffer size with supported max resolution
Jeongmo Yang [Wed, 22 Jan 2025 06:00:04 +0000 (15:00 +0900)]
Set input buffer size with supported max resolution

- QBUF for input buffer could be failed because of small buffer size.
  The default buffer size is not enough in case of high bitrate content.

Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
4 months agoSupport timestamp and set missed bytesused value
Jeongmo Yang [Tue, 14 Jan 2025 02:35:14 +0000 (11:35 +0900)]
Support timestamp and set missed bytesused value

Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
5 months agoUpdate functions
Jeongmo Yang [Fri, 15 Nov 2024 11:37:13 +0000 (20:37 +0900)]
Update functions

1. Implement decode().
2. Rename internal functions.
3. Handle buffers for input and output.

Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 months agoImplement start()/stop() functions
Jeongmo Yang [Wed, 13 Nov 2024 03:21:00 +0000 (12:21 +0900)]
Implement start()/stop() functions

Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
8 months agoInitial release
Jeongmo Yang [Tue, 24 Sep 2024 11:10:32 +0000 (20:10 +0900)]
Initial release

- Build OK with hal-api-codec package.
- Some functions are implemented, but not completed.
 : init()
 : deinit()
 : configure()
 : release()

Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
8 months agoInitial commit
양정모/Tizen Platform Lab(SR)/삼성전자 [Tue, 24 Sep 2024 04:53:28 +0000 (13:53 +0900)]
Initial commit