Commit Graph

22 Commits

Author SHA1 Message Date
Herman Chen
6b51725df4 feat[kmpp]: Add kmpp_frame_test
1. Add kmpp frame / buffer / packet / meta define in rk_type.h
2. Move KmppObj, KmppObjDef and KmppShmPtr to rk_type.h
3. Add kmpp_frame_test
4. Add kmpp_objdef_get_offset function in kmpp_obj.c

Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: Ib4aecfc26f60521288b6e33b8c4e0af5afd3213b
2025-04-03 17:18:34 +08:00
Herman Chen
1cbb6a2527 fix[misc]: Fix compile on 32bit platform
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: I5175ed62993116a58e879d434db6b1b94747f605
2024-12-05 10:33:46 +08:00
Herman Chen
f7a92432d1 feat[rk_type.h]: Add kernel driver compat define
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: I9a7916d9219c97a4ce121928adf929603c9c65d4
2024-12-03 17:50:11 +08:00
sayon.chen
55b425c97b [av1d]: Add av1 parser api
Change-Id: Iff3c205d34cd8d8c2074de42eadc8418f5144a42
Signed-off-by: sayon.chen <sayon.chen@rock-chips.com>
2022-01-21 11:20:02 +08:00
Herman Chen
5e396e03d5 [mpp_soc]: Add AVS2 type
1. Add AVS2 coding type.
2. Add AVS2 support on rk3588.

Change-Id: Ifa677830d3f8c1625a4c351a6e008c09098f5122
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2021-11-20 18:34:30 +08:00
timkingh.huang
0f8aeda99d [comment]: add comments in the format of Doxygen
Change-Id: I1df49ed78b5b5cf88ff253c35c59cb0b061b4ea9
Signed-off-by: timkingh.huang <timkingh.huang@rock-chips.com>
2020-10-23 09:27:53 +08:00
Herman Chen
d17861b67b [rk_mpi.h]: Separate rk_mpi_cmd.h into two headers
1. rk_mpi_cmd.h will contain cmd value only.
2. rk_venc_cmd.h will contain all the encoder command structure.
3. Move MppCtxType and MppCodingType to rk_type.h for better include
dependency.
4. Add MppEncRefCfg to MppEncCfgSet.
5. Remove rk_mpi.h dependency inside mpp.

Change-Id: I6b972738100fb60c0a6a9b7cfe0a012abf4205b7
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2019-06-26 10:09:23 +08:00
Herman Chen
cd9a1cca3f [misc]: Change interface header file dependency
Move MppCtx, MppParam, MppFrame, MppPacket, MppBuffer, MppBufferGroup,
MppTask and MppMeta to rk_type.h.

Later development need to bring in cross reference between these
objects. So we choose to move these declaration together.

Change-Id: I7ea39138ca87d6ca4cb86556464a5de89d172846
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2019-06-14 10:15:12 +08:00
hh
8f4199a0f4 [rga]: fix bug of rga config
1. Modify data type of rga_request to keep consistent with kernel
2. Modify error yuv fomrat translate and error yuv2rgb_mode config of rga

Change-Id: Iaee7b101f510c9d6f90aabe7d5ce2794b4502bf7
Signed-off-by: hh <hh@rock-chips.com>
2018-12-19 10:49:08 +08:00
Lin Kesheng
60373a6973 [all]: format code
use fromdos to change file type, remove ^M in code.

Change-Id: I000202dc51fcff57cc0771455baebea595115b1d
Signed-off-by: Lin Kesheng <lks@rock-chips.com>
2016-09-08 15:21:02 +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
DingWei
c7332b7477 1. update h265 compiler problem in vs IDE
2. add prepare function in API
3. update dummy_dec_api.c API
4. update h264d  parse structure

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@295 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-24 03:28:12 +00:00
ChenSiyong
68ee293818 [h265]:add h265 paser and hal part code
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@293 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-24 01:29:14 +00:00
ChenHengming
c89c44512f [all]: change osal file name prefix from rk_ to mpp_
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@58 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-07 08:50:52 +00:00
ChenHengming
d122d27ea8 [misc]: add rk_err.h to rk_type.h, remove osal install script
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@53 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-07 06:32:40 +00:00
ChenHengming
70a75a44c4 [rk_log]: change MODULE_TAG setting
default MODULE_TAG set to NULL, and reset to rk_log in rk_log modules

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@44 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-06 06:59:06 +00:00
ChenHengming
764d72e7c5 [inc]: change LOG_TAG to MODULE_TAG for more general usage
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@38 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-05 10:04:45 +00:00
ChenHengming
4689943122 [mpi]: add <stddef.h> to rk_type.h
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@36 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-05 09:22:33 +00:00
ChenHengming
c0c5222152 [rk_malloc]: add malloc function and test case on window
unit test passed

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@27 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-05 02:15:38 +00:00
ChenHengming
3819a8823a [osal]: fix compiling error on window
1. remove void typedef
2. fix pthread path definition on window
3. fox thread_test compiling error

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@5 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-07-28 01:13:46 +00:00
ChenHengming
58ca309470 [osal]: add rk_log, rk_list, rk_thread to osal directory
linux test ok
window can not compile, need more check

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@3 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-07-27 10:22:37 +00:00
ChenHengming
401480e983 [inc]: add rk_type.h
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@2 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-07-27 01:37:10 +00:00