for example
./make-Makefiles.bash --toolchain gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-
Change-Id: I4804b1e1759aab04f715d826fbe412087298cb89
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Platform: RK3588
Error case:
1. After setting FBC, the current platform was not checked for FBC support.
2. The RK3588 AV1 supports FBC.
Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
Change-Id: I0696c4469d514291547ed21a80089812c7e6b585
Using meta key KEY_TEMPORAL_ID to specify temporal_id for frames.
NOTE:IDR and LTR frames are not allowed to change their temporal_id.
Change-Id: I301974ac1e5eee316c494221d9236067c401dc4e
Signed-off-by: Johnson Ding <johnson.ding@rock-chips.com>
To prevent the err log when loading so:
[346105.177235] kmpp_shm: get_shm_grp_by_arg: by KMPP_SHM_IOC_QUERY_INFO can not found valid obj KmppVencDeinitCfg
[346105.177640] kmpp_shm: get_shm_grp_by_arg: by KMPP_SHM_IOC_QUERY_INFO can not found valid obj KmppVencResetCfg
[346105.177675] kmpp_shm: get_shm_grp_by_arg: by KMPP_SHM_IOC_QUERY_INFO can not found valid obj KmppVencStartCfg
[346105.177705] kmpp_shm: get_shm_grp_by_arg: by KMPP_SHM_IOC_QUERY_INFO can not found valid obj KmppVencStopCfg
Change-Id: Ia724e1cf4e4af04d5da66183f9f0030e95304d23
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
1. The kernel object is provide by /dev/kmpp_objs
2. Use kobj interface name to query its info from kernel.
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: I638890b39a62b7a992896e8047d4bed33400f912
The extra data(sps/pps) will be lost when the following flow occur:
push extra data -> reset -> push idr data.
Change-Id: I5f371291d5e7bcc27aad18ce6ae180b00fd76bd7
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
In TSVC with multiple LTR frames case, there may be more than two base
layer frames between two LTR frames with different index. Replaceing
LTR frames into 1st short-term reference when calculating cpb size will
not get a correct result.
Change-Id: Ib68e8c4e733cef2192d70d03c02d29ff814cf011
Signed-off-by: Johnson Ding <johnson.ding@rock-chips.com>
Platform: Linux,General
Error case:
When decoding an MPEG4 source, it is unable to properly
configure split_parse. need_split is only initialized
during init.
Solution:
Use the split_parse parameter in the dec_cfg.
From: redmine #526753
Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
Change-Id: I89eb4dc8fcc2a1b00d73d359979770f7afefe0d3
Frame type can be configured in all encoding fmt.
Change-Id: I9cd0c4417514376dcce29924f8456f36d525ef6b
Signed-off-by: Yanjun Liao <yanjun.liao@rock-chips.com>
1. No need to encode IDR when fps_in is changed. So remove it from
`check_resend_hdr`
2. If application do not want any IDR encoded when only fps is changed,
call `mpp_enc_cfg_s32(cfg, "rc:fps_chg_no_idr", 0);` when
initializing.
3. Keeping CPB when only SPS, PPS are updated without IDR encoded for
H.264 encoder.
Change-Id: I034dd789a3f24318004d942624eb10240f7db2e9
Signed-off-by: Johnson Ding <johnson.ding@rock-chips.com>
Note that the PSNR derived from SSE may not equals to PSNR from video
analyser. Because SSE returned from hardware is consist of both luma and
chroma samples. And SSE of chroma samples multiplied by some weight.
But the difference is within 1db, usually no more than 0.5db.
Change-Id: I294d473c656f39ce98dd0768cd6945ee38e89b14
Signed-off-by: Johnson Ding <johnson.ding@rock-chips.com>
When the profile idc is high profile and constraint_set3_flag=1,it must
obey some rules of high 10 intra profile, such as contain only IDR pictures.
Reference the h264 clause A.2.8 introduction.
Change-Id: I9f886925a3810bc4ad9c7e70ebdc2194354c6eb5
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
MppSysCfg is used to config and query mpp gloabl parameters.
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
Change-Id: I132746e07b55040b582878adaef209ce73147da1
Platform: General
Error case:
When info changing, setting the output format to fbc
causes buffer usage exceptions.
Solution:
Add the MPP_DEC_SET_FRAME_INFO command.
From: Product Department 2 czl
Change-Id: I779ca93b461bf220d64e3d4846128ce2f67ffc89
Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>