Hongjin Li
aa6ae2c5f6
refactor[osal]: Refactor more module from C++ to C
...
Refactor thread, list, queue and time module.
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: I96c07e1549868085867502c8bb974ffd3875ea9d
2025-06-12 18:32:09 +08:00
Yanjun Liao
27ab1e4abd
fix[mpp_frame]: Add rk_fbc fmt for 1126b
...
Change-Id: I357efd122b1bdf3345ca887130d837ebf7cb5afa
Signed-off-by: Yanjun Liao <yanjun.liao@rock-chips.com>
2025-03-26 03:52:12 +00:00
Grey Li
6617e4feed
fix[mpp_frame]: setup color default UNSPECIFIED instead 0
...
Signed-off-by: Grey Li <grey.li@rock-chips.com>
Change-Id: Ia6cb4669a926a747101bb28a8c0e200cc46ddb2a
2023-08-29 16:39:52 +08:00
Xingwen Fang
a8102ad4c7
[mpp_frame]: fix mpp meta memory leak
...
Change-Id: I263f0cc3da523b5d5304937e926d4a9c03114242
Signed-off-by: Xingwen Fang <fxw@rock-chips.com>
2023-05-08 14:49:37 +08:00
Herman Chen
7aece2c5d8
[mpp_frame]: Ignore hdr flag on comparing frame
...
The HDR flag will not change the buffer size just ignore it.
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: Ibebe60b8c0961e87b2b84236dd28a23e05f9d58f
2023-03-09 14:51:47 +08:00
Herman Chen
f7f39557e3
[mpp_frame]: Add MppFrameStatus for internal flow
...
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: Ie0203316dd674eb1dd43f68cb71d021deb650f0b
2023-02-16 17:05:46 +08:00
Yandong Lin
3afc0856d4
[mpp_frame]: add fbc size api for mpp internal using
...
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: I17aafcc7fde528331bcad3773796d27e50644c5f
2022-12-06 16:11:56 +08:00
Yandong Lin
453e80380c
[mpp_frame]: add api about scale down info
...
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: I0aee35b0cec0dd85bd6b49c66a12e31fb48eb483
2022-12-06 11:23:21 +08:00
Yandong Lin
77e8a96f05
[mpp_frame]: add hdr dynamic meta info
...
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: Iea7585709bcd3e17d11c28f7e87093fe9f15f77a
2022-11-24 14:22:58 +08:00
sayon.chen
b05ba20d75
[mpp_frame]: Add fbc hdr stride set & get function
...
Change-Id: I9414f484451722228fa460dc33586851da1a0ec2
Signed-off-by: sayon.chen <sayon.chen@rock-chips.com>
2022-06-16 09:27:47 +08:00
Herman Chen
aec7dd7a27
[mpp_frame]: Add error function name on check
...
Change-Id: I889eb1a55af663ce19d7a716e59c5aaae4ac6410
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2022-05-18 17:06:50 +08:00
Herman Chen
230837e41e
[mpp_frame]: Add task for internal flow
...
1. Remove next entry in MppFrame.
2. Add MppTask in MppFrame
Change-Id: Icdf4f451e54a30977c5725848c5f4357ae54e6d8
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2022-04-29 16:56:50 +08:00
Jeffy Chen
c07169d533
[misc]: Fix a few compile warnings and errors
...
Reported by llvm-clang.
Change-Id: I62f22fe5754d3e8d77405d213c81fda5d9f5e27d
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
2022-03-11 17:45:10 +08:00
Yandong Lin
91cbd85488
[mpp_frame/packet]: Reduce malloc/free
...
Reduce malloc/free of MppFrame/MppPacket
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: Iffa042e162ad1da749305b131f68a52a140763e2
2021-05-01 16:27:05 +08:00
sayon.chen
476e6adfa5
[mpp_frame]: Add hor_stride_pixel interface
...
Change-Id: Ia6065b7c3832511c5d01263e6f07713028e8abd6
Signed-off-by: sayon.chen <sayon.chen@rock-chips.com>
2020-12-24 16:04:21 +08:00
Herman Chen
ff56c151e2
[mpp_frame]: Add stopwatch to MppFrame for timing
...
Usage:
1. Enable timing trace
mpp_frame_set_stopwatch_enable(frame, 1);
2. Get stopwatch and record on each step
stopwatch = mpp_frame_get_stopwatch(frame);
mpp_stopwatch_record(stopwatch, "step 0");
mpp_stopwatch_record(stopwatch, "step 1");
mpp_stopwatch_record(stopwatch, "step 2");
3. Get timing log on stopwatch disable or MppFrame destroy
mpp_frame_set_stopwatch_enable(frame, 0);
or
mpp_frame_deinit(&frame);
Change-Id: I47c235e95c9f2f39d970ef1f2948b72dcc254146
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2020-12-24 11:27:25 +08:00
sayon.chen
e4f4b4f690
[vepu54x]: Compatible different device fbc input
...
RK isp fbc output use AFBC_V1 format.
RK rkvdec fbc output use AFBC_V2 format.
These two formats have different fbc payload offset calculation method.
Change-Id: Id050cbd58e33a1249098a2dc226d47c376d7c163
Signed-off-by: sayon.chen <sayon.chen@rock-chips.com>
2020-11-30 09:46:27 +08:00
Herman Chen
302582b3b9
[mpp_frame]: Add offset x/y for cropping
...
Change-Id: Id3da30527fe709f7f89044a667c089b3dab6ef4f
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2020-11-24 11:53:30 +08:00
Herman Chen
31e911d44b
[mpp_frame]: Add metadata check function
...
Change-Id: I95f722ae95b8db969c484b3157ddbe8c8f92a13f
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2020-07-22 11:07:36 +08:00
Herman Chen
8d8f2273c5
[mpp_frame]: Add frame buffer compression support
...
Add vepu541 FBC support.
Change-Id: Ie5256ab4debb160801467243db353a2810826513
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2020-04-10 17:42:08 +08:00
Herman Chen
dc79923e1d
[mpp_frame]: Add set meta function to mpp_frame
...
Change-Id: I8b61b29d534d6d77f8be0bb2f033d7ba5e2a2496
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2019-09-17 09:07:29 +08:00
Herman Chen
359881f819
[base]: increase meta data ref_count on copy
...
When copy MppFrame or MppPacket increase its meta data reference count.
Change-Id: I72879edbc4e20fbf831e9a013b6c012f4bb1c2dd
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2019-09-12 15:17:40 +08:00
Jonas Karlman
24efdae140
[h265d]: export mastering display and content light metadata
...
Merged from
30ac9fb8b0
Change-Id: Id20e2f6fb511bd365493f1296ec9c9a2a46b4841
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2019-06-24 15:49:55 +08:00
Jonas Karlman
d571f9c4f9
[m2vd]: export aspect ratio information
...
Merged from
30476f13ad
Change-Id: I2f5d9b77f703cb23a6b5720eb5966e1631600ac7
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2019-06-24 15:26:53 +08:00
Herman Chen
0ee116f416
[mpp_frame]: Add MppMeta to MppFrame
...
MppFrame will NOT create meta data by default. Then user and mpp can
attach or remove flexible parameter without adding or remove
interface which will break binary compatibility.
Change-Id: Ia3c0d15d6daa210deab7a7d5dffcb54303fbb73e
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2019-06-14 11:09:48 +08:00
leo.ding
91149039e0
[mpp_frame] remove color parameters check on comparing MppFrame
...
If video stream change the range flag but keep dimenstion parameter the
same mpp should not generate a info change frame to external user.
But this should be handled in better way.
Change-Id: I9f11fb5e7265c4b09951c1eb40580b95e0f753a0
Signed-off-by: leo.ding <leo.ding@rock-chips.com>
2017-02-20 08:49:20 +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
781c812ce5
[frame/packet]: increase mpp_buffer reference count when mpp_buffer is set to mpp_frame or mpp_packet
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1045 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-19 10:40:26 +00:00
DingWei
f658df00fb
[h264d] add yuv422 format support.
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@993 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-08 10:15:05 +00:00
ChenHengming
15ce9ca949
[mpp_frame/mpp_packet]: fix check print lack of input parameter problem
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@973 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-01 09:17:29 +00:00
ChenHengming
c394441f63
[mpp_frame]: add check function to MppFrame
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@911 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-14 09:04:44 +00: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
2e69e3b32e
[mpp]: move all base components to mpp/base
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@816 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-25 06:23:00 +00:00