Zhihua Wang
624d8493d5
[jpege_api_v2]: fix mpp_log mismatch
...
Signed-off-by: Zhihua Wang <hogan.wang@rock-chips.com >
Change-Id: I8b00fea849d100de51e2ac2c00ae999655aa2541
2021-11-24 20:12:44 +08:00
Herman Chen
5bd7798cc5
[hal_h264e_vepu580]: Optimize tuning parameters
...
Change-Id: I75e49be59cd388024c8f7d8004236d9b53fa9fdc
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2021-11-24 18:10:17 +08:00
Herman Chen
ebaacf92f1
[h265d]: Fix memory leak
...
Change-Id: I77e78a2a9d1e11d9fa973c432d1b0a2cdb3bd1e8
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2021-11-24 11:28:07 +08:00
Herman Chen
f7cc1d0460
[hal_vdpu34x]: Fix error log on deinit
...
Change-Id: I20acaeb9aee6a0f932cf2a8e64eaa5a5e87bc0fe
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2021-11-24 09:53:30 +08:00
Herman Chen
1ac53ff5be
[hal_h264e_vepu580]: Add cime config error
...
Change-Id: I9fcdc40ebf7c92e192e3c0b18c69fa154cb139b5
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2021-11-22 20:51:36 +08:00
Herman Chen
254a708f8e
[mpp_enc]: Increase bps max limit to 200M
...
Single core has 100Mbps limit and rk3588 has two cores.
Increase mjpeg max_bps to 800M
Change-Id: I2a3bd830d97085bb9a875063ae9aac8df891969c
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2021-11-22 17:14:51 +08:00
Herman Chen
417e086864
[hal_h264e_vepu580]: Add scalinglist config
...
Change-Id: I479b363d9ab7313175e3d8bee2272ab44fa6c4f2
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2021-11-22 16:28:04 +08:00
Herman Chen
bfe885ffb4
[hal_h265e_vepu580]: Add mirror config
...
Change-Id: I26078ba84e1be653efe36487bc047f771922921b
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2021-11-20 18:34:30 +08:00
Yandong Lin
0d39677317
[m2vd_parser]: Fix a mistake in writing
...
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com >
Change-Id: I10f1ab2e39da4c3c06d815b2a3a76ef3054b4011
2021-11-20 18:34:30 +08:00
sayon.chen
1fb20bb450
[mpp_enc]: Add new roi buffer config mode
...
The roi structure on vepu580 is too complex.
So we provide provide a buffer tunnel for externl user to config encoder
hardware directly.
External user should generate roi data structure according to datasheet.
Then config the base_addr, qp_addr, amv_addr, pmv_addr by metadata.
Change-Id: Iae50bf3ca36c1ff789140055d4d36a79afeb2e58
Signed-off-by: sayon.chen <sayon.chen@rock-chips.com >
2021-11-20 18:34:30 +08:00
Herman Chen
cde64171f7
[hal_h264e_vepu580]: Fix external line buffer size
...
Change-Id: I5afcba3cb76219d8a32871b1444d9408fd031a7f
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2021-11-20 18:34:30 +08:00
sayon.chen
0efce0711a
[hal_hevc580]: Adjust RDO param
...
1. Adjust RDO param set
2. Fix madi madp return issue
Change-Id: Ia41eae40241b1974488a5623060a8710a6cc89ce
Signed-off-by: sayon.chen <sayon.chen@rock-chips.com >
2021-11-20 18:34:30 +08:00
sayon.chen
3f891908ae
[h265e_ps]: Fix ps issue
...
1. Fix DisableDeblockingFilterFlag set issue
2. Rewrite title col num calc
3. Set cuQpdepth as zero, 2 maybe cause some issue
Change-Id: I05eaf0935cef9ab2f3ea4b069cd672cb383a6bfe
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2021-11-20 18:34:30 +08:00
Herman Chen
dc3b52b78d
[hal_h264e_vepu580]: Disable force slice
...
Change-Id: I98f479599b7810c92a314c6c75d34eed75156a46
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2021-11-20 18:34:30 +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
vic.hong
8f0ca9fbbe
[mpp_dec]: Fix hor_stride_pixel is zero issue
...
Set hor_stride_pixel in function mpp_buf_slot_set_prop
Signed-off-by: vic.hong <vic.hong@rock-chips.com >
Change-Id: I832b7d4e9f0d5fda81816e4c42e75ec1ef2d841a
2021-11-18 08:40:35 +08:00
Zhihua Wang
8d41958d4e
[utils]: fix read_with_pixel_width encounter foef
...
Signed-off-by: Zhihua Wang <hogan.wang@rock-chips.com >
Change-Id: Ifb69440c77f538b1aa39b3c3a31b8455646b4c9b
2021-11-16 15:30:17 +08:00
sayon.chen
c682d3b701
[vpu580e]: Fix osd cfg issue
...
1. Fix h264 plt reg define issue
2. Fix osd address reg index offset set issue
Change-Id: I9582048e7791ebd66c3ba05bcf634314d50b6800
Signed-off-by: sayon.chen <sayon.chen@rock-chips.com >
2021-11-15 14:07:28 +08:00
Yandong Lin
64fb143602
[hal_h264e_vepu580]: set aq_thd and aq_step cfg
...
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com >
Change-Id: I73a8cca15cfcc66b5def5dfd654cccf8c36c61c9
2021-11-15 09:30:43 +08:00
Zhihua Wang
462a409575
[hal_h264e_vepu580]: Fix hfill and wfill config
...
Signed-off-by: Zhihua Wang <hogan.wang@rock-chips.com >
Change-Id: I87144fb90cf0567ffbf47b7c34fca6f106c44580
2021-11-15 09:12:45 +08:00
Yandong Lin
7c84000ff6
[hevc_vepu580]: Fix non_ref frame reg cfg issue
...
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com >
Change-Id: I9031999f555de18879a0afe3539daf2c02e740cb
2021-11-15 09:09:16 +08:00
sayon.chen
fd3ca60d07
[hevc580]: Fix title case feedback parm error
...
Change-Id: I181e9d2373e2a2b8b0c5d6ea1ed3d92b8cab9898
Signed-off-by: sayon.chen <sayon.chen@rock-chips.com >
2021-11-13 11:33:19 +08:00
Herman Chen
47bb09d7a1
[hal_h264e_vepu580]: Add over 4K support
...
Change-Id: Idbd2fad22cbc79d73841f1bed60ac1b821ab0308
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2021-11-12 21:06:45 +08:00
sayon.chen
043deeddfb
[vepu580]: support osd config
...
Change-Id: I2e8cc06dcc678e4b3cd86ee0658ef8fa4ca42a68
Signed-off-by: sayon.chen <sayon.chen@rock-chips.com >
2021-11-12 20:13:24 +08:00
Yandong Lin
69b1f8ea33
[hal_vp9d]: Fix segmep size not enough for 8k
...
Support 8k decode for rk3588
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com >
Change-Id: I65a4c7ecb5263f8305e968a5a060a546891920df
2021-11-12 18:44:49 +08:00
sayon.chen
20e82a341d
[hal_h265e_vepu580]: Add hevc580 support
...
Change-Id: I4c09bdabdaa0992c44e9be45455cdf88efae85bf
Signed-off-by: sayon.chen <sayon.chen@rock-chips.com >
2021-11-12 18:40:16 +08:00
Herman Chen
1dd22c15bc
[hal]: Add vepu5xx.h for hardware id
...
Change-Id: I8e439c689fefa1524ea8e7ac46b70d8f6d527164
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2021-11-12 18:26:47 +08:00
Yandong Lin
d19c408ec7
[mpi_dec_utils]: Fix read ivf file err
...
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com >
Change-Id: Id13ef0ac2a43c78b09d2e3df2a8c84e88061f7f3
2021-11-12 17:13:49 +08:00
Yandong Lin
fed47d7f72
[hal_h264e_vepu580]: Add vepu580 h264e support
...
1. Add vepu580 reg definition
2. Add hal_h264e_vepu580.c
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com >
Change-Id: Ibeec58c6c86704f7394295593f5aa73d7abe20e6
2021-11-12 17:10:25 +08:00
Herman Chen
436841d704
[hal_dec]: Add rk3588 8K decoder hw id support
...
Change-Id: Id3debfbb2e8d1bd1661b627976c3627bb431466f
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2021-11-12 15:24:03 +08:00
Herman Chen
6beec8ce65
[mpp_soc]: Add rk3588 support
...
Change-Id: I9a8829a1f0910c6de2062cd1c6b95d0c7ef71803
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2021-11-12 12:29:03 +08:00
Yandong Lin
c2768e1b86
[mpp_impl]: modify dump frame default size
...
Default size is frame size.
If want to scale down, setprop mpp_dump_width/height.
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com >
Change-Id: I6aa877b9c141501f6921985956f377323c38546b
2021-11-11 14:20:23 +08:00
Yandong Lin
1c03947d59
[mpp_dec]: Optimize sort pts function
...
Record every pts of pkt to link, and sort link by pts.
When output the frame, remove the pts from the link and set to frame.
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com >
Change-Id: Id987dea0195c24d2bd573416e80a3ef2f58d6a31
2021-11-10 21:07:43 +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
d097c445c7
[mpp_enc]: Fix rotation case GET_CFG mismatch
...
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
Change-Id: Ie4ba9fed993495b8deddab9740531cf15337a872
2021-11-10 09:29:39 +08:00
Yandong Lin
ac6f8b1384
[h264e_vepu]: add cfg to disable mb rc
...
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com >
Change-Id: I71e72164756b23f181a67a8b8799b9867a0854fb
2021-11-09 18:26:25 +08:00
Herman Chen
0bc33cf484
[hal_task]: Remove hal_enc_task.h
...
Change-Id: I6fefe59d189c80981a253d249afd8364fe9b7242
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2021-11-06 17:44:49 +08:00
Herman Chen
47bb6ea02a
[mpp_hal]: Remove enc define from HalTaskInfo
...
1. HalTaskInfo will be used in decoder only
2. Remove vepu22 support
Change-Id: I6bf1410c570b995a7bb082b0de00d8a7e749d999
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2021-11-06 17:21:13 +08:00
Herman Chen
7e2aa8798c
[mpp_cluster]: Change callback return type
...
Change-Id: I2401f9e52f6af4552814b9c3e39f9341f8af2f10
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2021-11-06 16:25:31 +08:00
Herman Chen
fb144872ba
[hal_task]: Remove unused variable
...
Change-Id: I72b2b8d13e775cafaede45e7322b9909e71f3407
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2021-11-04 09:19:51 +08:00
Herman Chen
6e0f898707
[mpp_dec]: Optimize decoder flow
...
Change-Id: I98805ad6f9595d1a0339c466fddebb7c44348a16
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2021-11-03 15:54:25 +08:00
Herman Chen
f0c57cde02
[mpp_lock]: Add gcc atomic macro define
...
Change-Id: I3e94cc7be9a51f5d674a132c0a2e6f7afba61d34
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2021-11-03 11:27:35 +08:00
Yandong Lin
786b79f976
[h265d_parser]: Fix h265d parser crash issue
...
The split_ctx is malloc in h265d_init, but the split_parse parameter may
be set after init, so need to dynamically judge split_ctx whether is
null.
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com >
Change-Id: I1fe4840cd17a2e1e38833df5af6dc7aaab4853a4
2021-11-03 08:36:49 +08:00
Herman Chen
e63b8d33de
[mpp_meta]: Use macro to generate code
...
Change-Id: Ieba0c0b14239277a1e7e088cf29a4c5d0d344731
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2021-11-02 20:11:05 +08:00
Herman Chen
4a80ff5ed1
[mpp_meta]: Add performance test case
...
Change-Id: Idef21d8fad78bc15f09b98561b102943ae1bbacd
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2021-11-02 19:57:52 +08:00
Herman Chen
e61bfa736f
[mpp_meta]: Improve performance
...
Change-Id: If2177552e5b71cd8acf5bfdb3e0a2ae20af71b4d
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2021-11-02 19:57:52 +08:00
Yandong Lin
53f514c510
[mpp_dec]: Fix double free issue
...
When use mpp_mem_pool to alloc buf, should use mpp_mem_pool_get/put to
alloc/free buf.Otherwise, the buf will be double free.
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com >
Change-Id: I902bc670a4088be36901d4c62e4e21c0233b25fb
2021-10-27 08:48:42 +08:00
sayon.chen
09d2bca7e7
[h265e]: Add sao disable cfg
...
Change-Id: I446178d5d2aefa26750382f126fac582ae93e16c
Signed-off-by: sayon.chen <sayon.chen@rock-chips.com >
2021-10-25 10:21:49 +08:00
Herman Chen
026a768de5
[mpp_buffer]: Reduce lock usage
...
Change-Id: I639922cf582feea5e027edfb2ae0dd9a9fb85bd6
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2021-10-22 11:47:46 +08:00
Yandong Lin
58543adfed
[h264d_slice]: check subsps value
...
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com >
Change-Id: Iff2b668ceef45bac857ed80e0b8d8ae25e992437
2021-10-22 09:08:29 +08:00