If hardware output very large video stream enlarge the corresponding output
buffer size.
Change-Id: Id7e96531e744917fe25a9c0f09effa78eb873697
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
note: uintptr_t data type is the same size as void*.
Change-Id: I5ea537f720fab6436d293816e3f618feca15609c
Signed-off-by: timkingh.huang <timkingh.huang@rock-chips.com>
Use MppFrame as the input of MPP_DEC_SET_FRAME_INFO control function.
Change-Id: I29974bb90b09239e0f69e75ee3830656851900ae
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
1. on original & external pts error use POC/temporal_reference
in GOP to predict new pts
2. set mpeg2 temporal_reference to MppFrame POC for dpb & cal
pts debugging
Change-Id: I3bb1b2c6646ddf4f4100c1d87158d81e1e8777ba
1. add SEI writting interface
2. write extra_info_cfg and rc_cfg to SEI
3. stream_get_pos use s->buf_plus8 rather than s->p_start
Change-Id: I71de4d6f5dc31f21c0a32dc5ded275ced260d861
Signed-off-by: Lin Kesheng <lks@rock-chips.com>
In order to avoid misunderstanding change mpp_err to mpp_log
Change-Id: Id4a0591a0eeb7975fcdf1979b9d45c9b8d076370
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
1. clear input packet length when packet is copied
2. modify mjpeg advanced decoding path in mpi_dec_test
3. add numerator and denominator set prop function
4. remove extra log on first info change
5. fix eos process and buffer size check in advanced decoding flow
6. fix jpegd stream length config error
Change-Id: Id6c26ebda090eb4076f27deaad4d61b4221f2653
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
4K H.264 video had a buffer of stride 4096. This will reduce hardware
performance significantly. So we increase it to be odd times of 256B.
Then hardware performance will restore to normal level.
Change-Id: If6567dc3d13eb7df0375d4fd528e64f56c92f591
Signed-off-by: leo.ding <leo.ding@rock-chips.com>
1. add description for OSD cmd in rk_mpi_cmd.h
2. judge if input MppBuffer for OSD is NULL
Change-Id: I6d674c81790d9cf57acdfa23f20c929b56f263e9
Signed-off-by: Lin Kesheng <lks@rock-chips.com>
1. add osd control interface
2. remove h264e_hal_rkv_coveragetest_cfg.osd
3. add h264e_hal_test & mpi_enc_test for osd
4. use tool to format code
Change-Id: Iadb3453d8e6976e5f718253f762d144864419e94
Signed-off-by: Lin Kesheng <lks@rock-chips.com>
1. fix compiling error of previous commit
2. can enable drm on x86 pc linux platform
Change-Id: I06271fe0efcaa7de2531c7fb3e21bf9c75781beb
Signed-off-by: Jung Zhao <jung.zhao@rock-chips.com>
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Rollback entropy probabilities when refresh is not set
Change-Id: I35667dccd16ad9d57526d47c8c41117c8cdc754f
Signed-off-by: sayon.chen <sayon.chen@rock-chips.com>
1. Separate encoder configure to four parts
2. Add Preprocess / OSD / Extra configs
3. Implement mv_info interface
Change-Id: I2350a25c9f40b199cee8ef6c75ac6ca099f143c4
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Signed-off-by: Lin Kesheng <lks@rock-chips.com>
1. add HalEncTask.flags.err to decribe errors
2. support alloc error treatment
3. support frame rate configuration
4. user tool to format file mpi_enc_test.c
5. allocate buffer according to color space
Change-Id: I17a89039504390bf1f2ff664a0aa4075b04d33ee
Signed-off-by: Lin Kesheng <lks@rock-chips.com>
Use mpp/codecs.cmake to enable/disable codecs in order to reduce library
size.
All decoder and encoder can be disbaled now. Default all open.
Change-Id: I3307460df12f2f3fc82898d823ab2da12002d6c6
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
by configuring reg148
note: DRI specifies the interval between RSTn markers, in macroblocks.
This marker is followed by two bytes indicating the fixed size so it
can be treated like any other variable size segment.
Change-Id: Ifab377c8996c6ace9d7ad114e3dadb817693da28
Signed-off-by: timkingh.huang <timkingh.huang@rock-chips.com>
1. add interface 'mb_rc_mode'
2. realize one mb-rc configuration
3. raise time out threshold to maximum 0xf
Change-Id: I41a751caf35791fc48c785d8a243eb2ee0a2aa20
Signed-off-by: Lin Kesheng <lks@rock-chips.com>
This is prepare for adding metadata key tree.
Change-Id: Ibd8f4a2c820cdeb5c59ade9a0f80d29e803143da
Signed-off-by: herman.chen <herman.chen@rock-chips.com>
use fromdos to change file type, remove ^M in code.
Change-Id: I000202dc51fcff57cc0771455baebea595115b1d
Signed-off-by: Lin Kesheng <lks@rock-chips.com>
1. do not fix input_image_format while validate syntax,
now yuv420sp and yuv420p are both supported in test case.
2. change the hw_buf type from MppBuffer* to MppBuffer when dump stream.
Change-Id: Icf6b408e0ccaf07812c5cb2077101ede39d60c5a
Signed-off-by: Lin Kesheng <lks@rock-chips.com>
1. simplify syntax interface and feedback interface
2. add controller flow, register file regeneration move to hal
3. add control function and can return hardware output length
4. add jpeg header write function
Change-Id: I25899acaeb9c139f9b59d47e4765ec9ea09c0062
x86_64 is for simulation debug. It is just for working flow test.
Change-Id: I2d1cb50e52a104e58f6eaf3b27fd9dcf41b9ada6
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>