1. OSD plt config will be sent to device directly.
2. OSD data config will be set by registers.
Change-Id: Ia38bc79ee1fa4d9f6bfafe65d9b2a8c8ff6d6c8c
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
1. Used mppclip instead of if else case
2. Cbr case increase fluc_l level to get more precise bps
3. Fix error on max_i_bit_prop is not set
Change-Id: I81ada0c7f66bac45f1093b3e0d8bec6ebf738231
Signed-off-by: sayon.chen <sayon.chen@rock-chips.com>
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
1. Set input format to non-AFBC mode.
2. Fix QP mode.
3. Add stride setup for YUV420P
4. Change ME setting to match C model.
5. Fix L2 AQ parameter error.
6. Set constraint_set0 to zero.
7. Align recn/refr fbc body to 8K.
Change-Id: If91ca22123420661be0941428b8bf145b7babef8
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
When last stream packet is send with eos flag but without valid task or
not output is set just output an empty eos frame.
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: I18a4ea004479820d4dcfe30aa75d935b15a188cf
1. fbc body must 4k align so set header len align 8k
2. fix tmvp me_cnst colmv load & store cfg
3. fix pp reg stride set err && add rgb2yuv param cfg
4. slice split in mbnum must minus 1
5. fix sao flag syntax no set
Change-Id: Ic2f73b5c18c2d41de50984df11334110724ecf5a
Signed-off-by: sayon.chen <sayon.chen@rock-chips.com>
merge xx_SET_REG_xx to XX_SET_REG_WRITE
change MPP_CMD_GET_REG to MPP_CMD_SET_REG_READ
NOTE: extra info is different on new ioctl case.
1. Move all extra info process into mpp_device_patch function.
2. Old ioctl should send regs with max size of vepu and vdpu. But new
ioctl need only the correct size of register file.
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: I8164fc8d4c85f493c52cc7cd12d8717ca5d35637
Move kernel ioctl api version detection to library loading stage.
Change-Id: If8ee750e1eaefb99924fd622d03270ef5032d1be
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
L2 register can only be accessed by L2CFG_ADDR in L1 register set.
Change-Id: Ib1cab1bdf9443ee79a920d27700f88bb01d0a5b4
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
1. Add hardware pixel format support function.
2. Add roi region config function.
Change-Id: I011c0c820d6705cf923cccf75aa1f84ee74e2f4b
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Use semaphore to sync the reset operation.
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: I7440530a779a7fd5c394e93b30f9addbaf4044d0
1. Add hal buffer set allocator for different hardware recon frame.
Change-Id: Ife976f2edf9a5bf1735790a4929f75d488a1f4ee
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
The put_frame thread will be hold on when get_stream thread
doesn't work anymore. Setting timeout in order to ensure that
it doesn't get stuck.
Change-Id: I907f2f5ea0e627d2d0d72ffd7d274ffacf82deba
Signed-off-by: Zhou Jing <tracy.zhou@rock-chips.com>
This will leads to hal init failed in kernel 4.19
Change-Id: I8f5ff682a9681a5cd767bb8b140c4f46e0416ff2
Signed-off-by: Johnson Ding <johnson.ding@rock-chips.com>
1. Add color format print for all supported format.
2. Add RGB color fill function.
Change-Id: I79fb3f40402b6fb6e36883c99945e709723aee7d
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
1. add user data struct define
2. meta supprot user data set
Change-Id: I1ac4bf179ce15fce61b3ad326de9fb0f8c821cad
Signed-off-by: sayon.chen <sayon.chen@rock-chips.com>