1. Add SET_SESSION_FD cmd.
2. Support new delimit interface to send multi request in one ioctl.
Change-Id: I07980cc9c70b5e31585254d1ffde7bc56a3007e2
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
The tile width is fixed to 4096. Picture width larger than 4K is divided
into several tiles (max 2).
So the max resolution is 8192 for vepu580.
Change-Id: I943082f1e73fc37a48d8782e1a20587715b5ef7c
Signed-off-by: sayon.chen <sayon.chen@rock-chips.com>
Signed-off-by: Zhihua Wang <hogan.wang@rock-chips.com>
Since realloc will cause memory address change, it is necessary to
relocate the current node position after applying for a new dictionary
tree node.
Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
Change-Id: If124f18efdd81aad748185d477cb31059ed8f292
this register means the timeout for hardware read/write ddr.
Change-Id: Iee08e63760aa7d0220ebca54908016662118b204
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
Following elements didn't have a bound check in SPS as spec doesn't list
the bounds on these explicitly.
log2_min_cb_size, log2_diff_max_min_coding_block_size,
log2_min_tb_size and log2_diff_max_min_transform_block_size
Added appopriate error checks on these fields
Signed-off-by: Chen Jinsen <kevin.chen@rock-chips.com>
Change-Id: I4762f543726650855e5cd333c48a7c41cf0fee0f
1. Use flatten MppEncCfgInfo to replace MppCfgApi
2. Flatten the trie nodes and info nodes with string name together.
3. Refactor the encoder config setup process.
Change-Id: Ia08f59167b033c99167f37e78571d9d2e402854c
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Add function to get the named valid node and the node root.
Change-Id: Iccfe004d29e9c4405b49e23bdce62ba14832d3da
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
For data with sizes of 5120x7160 and 8000x8000, the required buffer size
was calculated incorrectly during the encoding process, which caused the
requested buffer to be too large, resulting in drm exceptions.
Therefore, the method of calculating data has been modified.
Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
Change-Id: I519a76687118d568cf57e7d3d54a150e9019285c
Otherwise the output format would always be the initial value(YUV420SP).
Change-Id: I6b792cb1010b96e136ce008250b2e1a4f90635e5
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
rc2 test is a decode -> encode -> decode test case which can be used to
test the whole system codec capability.
1. Use new option module.
2. Add type for input file source stream.
3. Use decoder file reader to read input file.
Change-Id: Ia2334cd423e77a76c564478cc70c07a58954dd04
Signed-off-by: sayon.chen <sayon.chen@rock-chips.com>
in rk3588 dual core mode, it need high bit for mark current whether
is bottom field.
Change-Id: I9adde8996617390b5c7186a108ccf01546eed5d1
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
1. Use new option module in dec/enc test
2. Delete mpi_enc_multi_test and mpi_rc_test
Change-Id: Ib00020247386ee06cca2f560ae41aee8e88f47cc
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
When decoder restart after reset and input_packet has eos flag, all the
frames got from the decoder will have eos flag, so we should clear the
eos flag of input_packet in reset.
Change-Id: Id220f66d32070316c05c7352ea986b29ffe7d3e5
Signed-off-by: shine.liu <shine.liu@rock-chips.com>
Modify the processing of pts in the decoding process
Change-Id: I80b911c19eb345744333d3ec4d8e22e8c86fc857
Signed-off-by: vic.hong <vic.hong@rock-chips.com>