Herman Chen
da3fc7c4a8
[mpp_list]: Add more wait functions
...
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
Change-Id: Icc8457ce1bff75eee7e5b8b8cc34360a339571a8
2022-04-29 09:52:22 +08:00
Herman Chen
275705e088
[mpp_list]: Add wait function
...
NOTE: The wait function MUST be used with lock protection.
Change-Id: I14f48795d5833c9aedc311c56139775bf07f0e79
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2022-04-01 18:08:11 +08:00
Yandong Lin
ea564af5c6
[mpp_list]: Add list_sort func
...
Porting from kernel lib/list_sort.c
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com >
Change-Id: If6b0e07a863a8e95b47f2b89a2941d21674c9108
2021-11-10 21:06:49 +08:00
Herman Chen
6cc2ef5f75
[mpp_list]: Add list_mode and list_move_tail
...
Change-Id: I7be6f69a073eeedef1b0d9ff7e9a47b48df8a8fa
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2021-09-17 11:11:43 +08:00
Herman Chen
53a5653cc8
[mpp_list]: Update C macro
...
Change-Id: I05813bdc0f6047617d10654579949226900b781f
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2021-05-17 11:26:50 +08:00
Yandong Lin
ed69e9077f
[mpp_mem_pool]: Add common module MppMemPool
...
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com >
Change-Id: Id778f4395f457a773812db78164ecad4038b2ff4
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2021-05-01 16:27:00 +08:00
Herman Chen
0ce3ed3048
[mpp_list]: Use class inheritance
...
Change-Id: I3ef33ca9bdcfea80a6c05a8c69db2d4938a5d0eb
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2021-01-19 17:06:16 +08:00
Herman Chen
2797a44932
[mpp_list]: Add list_for_each_entry_reverse
...
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
Change-Id: I0270f5d045434e1a7a9bd25fe35f2a75c1759f2a
2019-12-19 09:02:11 +08:00
Herman Chen
666782b834
[mpp_list]: Add fifo function to mpp_list
...
Add fifo access function to mpp_list class.
NOTE: The interface is different and node contain RK_S32 size data
before real data.
Change-Id: I8875312a7a6247b71be7df71044d2b779c228b0a
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2019-08-19 15:02:13 +08:00
LongChair
a3f463f9ce
[mpi] : Add a block timeout control command.
...
When retrieving frames current API only allows to define wether
the API should block without any timeout or not block at all.
This allows to specify a block timeout via the
MPP_SET_OUTPUT_BLOCK_TIMEOUT control operation.
Change-Id: Id35ad3d48f72881184009f830c406c3a655e1a90
Signed-off-by: LongChair <LongChair@hotmail.com >
Signed-off-by: Randy Li <randy.li@rock-chips.com >
2017-03-24 11:43:08 +08:00
ChenHengming
c0866a76f9
[comment]: fix company name hand writing error
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@906 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-13 09:42:31 +00:00
ChenHengming
43f0baf2e9
[hal_task]: change task mechanism to status
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@313 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-28 16:52:30 +00:00
ChenHengming
7cc518a721
[mpp_list]: add condition to mpp_list
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@253 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-09 15:17:44 +00:00
ChenHengming
7facfbaa5c
[mpp_list]: change mpp_list lock mechanism
...
1. add mutex function to mpp_list for auto lock
2. remove all lock in list operation, so lock need to be add externally
[hal_task]: use new mpp_list to implement task group
[mpp_dec/mpp_enc]: change mpp_list usage
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@231 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-07 16:06:33 +00:00
ChenHengming
5d255679a6
[osal]: add lock/unlock to mpp_list interface
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@229 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-07 15:20:10 +00:00
ChenHengming
a46c542696
[mpp_dec]: add parser deinit call on mpp_dec_deinit
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@213 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-06 14:26:20 +00:00
ChenHengming
1417648f19
[mpp_list]: use __inline to replace inline in order to avoid C file compiling error
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@195 6e48237b-75ef-9749-8fc9-41990f28c85a
2008-01-25 21:13:49 +00:00
ChenHengming
3057548e07
[format]: use astyle to format all source file
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@96 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-13 02:26:39 +00:00
ChenHengming
848f7d93fe
[all]: rename function names
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@60 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-07 09:14:00 +00:00
ChenHengming
1b5d44e56e
[all]: rename file and macro from RK to MPP
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@59 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-07 09:00:27 +00:00