Commit graph

4 commits

Author SHA1 Message Date
xiaoxu.chen
ef11356680 fix[osal]: Align MppMemPoolNode to 8-byte
Aligning MppMemPoolNode to 8-byte is aimed at avoiding alignment traps caused by compiler optimizations.

Log:
[   41.929204] Alignment trap: not handling instruction f44c6adf at [<a6f0aec4>]
[   41.929236] Unhandled fault: alignment exception (0x801) at 0xa6205cbc

Change-Id: Ia9867225eabfc0e8ab37754a7161814bb596e645
Signed-off-by: xiaoxu.chen <xiaoxu.chen@rock-chips.com>
2025-10-23 07:13:23 +00:00
Herman Chen
5497c458fe fix[kmpp_obj]: Fix grp_cfg and buf_cfg leak in kmpp_obj_test
1. Use mem pool to alloc KmppObjImpl
2. Add kmpp_obj_put_impl to release KmppObjImpl header only.
3. Add grp_cfg and buf_cfg release operation.
4. Use MPP_SINGLETON to init kmpp_venc_cfg.

Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: I865d4d990d7e89598b2f17d85460b809f7f602df
2025-07-08 17:48:39 +08:00
Herman Chen
e31839cc74 refactor[mpp_mem_pool]: Add exit leak pool print
1. Refactor caller parameter on pool functions.
2. Add name on pool init.
3. Add exit leak pool print.

Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: I39a8a966db895340a9e01ddff3a7894f1ca4b825
2025-06-17 11:09:54 +08:00
Hongjin Li
92d81597bb refactor[mem_pool]: Refactor C++ mem_pool to C
Signed-off-by: Chandler Chen <chandler.chen@rock-chips.com>
Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: I53603de9b0000560d7b0835a216e9addc944554c
2025-06-11 18:33:42 +08:00
Renamed from osal/mpp_mem_pool.cpp (Browse further)