Adjust the hal layer compilation structure
and fix the lib interdependence issue.
Change-Id: I7b400b679c8592b12fae865ff0638f177bbf0d60
Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
feedback ONE_SLICE_FINISH irq is not a err.
Change-Id: I350252b78750672dc3123e0983b1edf7d870c26e
Signed-off-by: Yanjun Liao <yanjun.liao@rock-chips.com>
pass1 frame will disable split mode, so split out need to be disable.
Change-Id: Id1d504f954848c6b4b270788ecf077897238f82f
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Some compilers, such as ndk16, will have problems when linking
revert: e83980a9 fix[hal_enc]: Fix lib dependency issue
fix: refactor[hal_av1d]: Migrate av1d from vpu to rkdec
Change-Id: I5592ac1040ab23e25860b595ca38e1748911e4a4
Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
rkenc/vpu generates library files for hal/common to use.
So under rkenc/vpu, should not rely on the target library
in hal/common.
Change-Id: I9521364829aef90f9024b8388339f00f05cc3f96
Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
Now there are 2 mode for downscale thumbnail frame buffer
1.MPP_FRAME_THUMBNAIL_MIXED (already use on RK3528 box):
Each buffer contains original output frame and 2x2 downscale
small frame, small image's buffer offset will be set in frame
meta info;
2.MPP_FRAME_THUMBNAIL_ONLY (newly added for rk3576 8K video):
for rk3576: vop & gpu does not support 8K frame,
in this case, mpp use 4K downscale buffer as decoder output
Signed-off-by: Chandler Chen <chandler.chen@rock-chips.com>
Change-Id: I3acf9486a657fa3e999ca16140f40b2a01ebcaf4
set hor stride alignment when decoder init
former commit:8759039d5f
feat[vdpu383]: align hor stride to 128 odds + 64 byte
Signed-off-by: Chandler Chen <chandler.chen@rock-chips.com>
Change-Id: I5428919cea58705f3c05100d4f83276be607cb00
When the buffer length is set incorrectly,
the interface mpp_put_bits does not return
in time and the buffer is written out of
bounds.
Change-Id: I2ee7d69a6b405ff3cc8aa2fe6389a0ee288f95c7
Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
When using old global paras, it is necessary to clean up the bit
positions that need to be updated, otherwise it will affect the
global parameter configuration and cause global parameter
configuration errors.
Change-Id: I7f1a7bf77d9e56a6b5f532ff70494e8937cc63a7
Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
When MPP_FRAME_HDR is enabled, mpp_frame_get_fmt gets a non-zero value,
then force 8bit output invalid.
Change-Id: Iab43fb1784bfa6f68b80430fb0dbd4f829f34303
Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
Some registers are deprecated, no need to assign.
Change-Id: Ia313a770579aa3539dc13661bacc01c27f003e59
Signed-off-by: Tingjin Huang <timkingh.huang@rock-chips.com>
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
Change-Id: Iddd667985c67a06b195761598548efa6ac744ce6
tips:
In vdpu383 version, it not need to copy the spspps data to
range 0~MAX_PPS_ID. And only read the data of base_addr,
instead of the base_addr+pps_id*spspps_size.
Change-Id: I987134752ad81c66e05a594094fa90c667c84e1e
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
Configure parameters such as anti-smear, skin_opt, text_opt, etc.,
according to the register modification table of VEPU510.
Change-Id: Iaad9f09027e03715b2fe129b4c162b7d242a213e
Signed-off-by: Yanjun Liao <yanjun.liao@rock-chips.com>
Proofread and streamline the register header file for vepu510
Change-Id: I4acf200969de7c9cb7a3ad49b6d77fa4d6fc2609
Signed-off-by: Yanjun Liao <yanjun.liao@rock-chips.com>