The extra 16 line is added in different codecs. There is no need to add
it again in buf_slot module.
Change-Id: I31c5dc8caa9f557382fdbf2db1d6021b4aa952ba
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Flip disable_fast_play to enable_fast_play,
Fast play is disabled by default.
Change-Id: I168e02a9d84590c3b2b92fe75b2b37c655c8c63e
Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
1. Unify old EncTask and new EncAsyncTask.
2. Use rc task in EncAsyncTaskInfo to replace rc_task in MppEncImpl.
3. Use usr in EncAsyncTaskInfo to replace frm_cfg in MppEncImpl.
Change-Id: I9d6f308b12828ff63268e35845b6813c1d1ae8ae
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This module is for backward / forward compatiblity with external users.
1. Support compatible feature query.
2. Support update user program compatible feature update.
Change-Id: I7661f17c442eca0a0d0d57d2a35efdb5fd88be72
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
For the problem that the 3399 platform fd is not enough,
modify the storage method of the fd
Change-Id: I489d5e7c16f499093099e7ead9c838dbe5c1de5c
Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
The update flag should be set after update of pps
Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
Change-Id: I5db21e1d16ce54d5f2342bcd2625b221f45b33f3
NOTE: The wait function MUST be used with lock protection.
Change-Id: I14f48795d5833c9aedc311c56139775bf07f0e79
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
1. Add async rc preset function.
2. Update rc_task pointer on async_wait task.
3. Save frame type in rc task info rather than in rc ctx.
Change-Id: I956b5f14a01e5c2cdc8b4c5f9c26660274a7f0e4
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
When the output queue is empty, sleep 1ms is added to avoid an
infinite loop, which leads to the problem that it takes a long
time to acquire the lock probability when outputting the frame
queue. Remove the sleep operation inside get_frame, and the APP
will ensure the problem of dead loop calls.
Signed-off-by: Xingwen Fang <fxw@rock-chips.com>
Change-Id: Ibbbaa352cf6a9fd386f7e1f944571658295977e5
1. Skip extra frame in input list when encoder is resetting.
2. Clean all wait bit flag after process cmd or reset.
Change-Id: I2f81c89b9e550d1d3ca364a2f18976efd4e1da7c
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change method to differ bettween refers and decout
method:
The poc_height mark 3 for refers which the base addr is the same as decout.
if the base addr and decout is the same, hardware will hung work.
Change-Id: I7ab71bb0f435615aea6b722f28c7b0dd57fb9674
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
Enlarge fbc header buffer for extra 16 line which is required by
hardware.
Change-Id: I6eac51d902b57424bf2c88cf3db6241cf8718fdc
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Fix high profile constraint_set3_flag value issue.
Change-Id: I9d2b5005365144ccb9b932783ebd4335758fcc17
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Rootcause:
The frame_mbs_only_flag is zero in the 10bit h264 source.
then, fbc fmt is unmarked because of frame_mbs_only_flag=0
means the source may contain filed that need go to iep.
Solution:
Add filter for 10bit.
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: Ia11f1216aff4fd674d5618d6f40b0e74e7e098f2
When the poc of the idr frame is 0, the subsequent frames with poc<0 are
discarded, which will cause the screen to flicker.
Add parameters in mpp as switches for immediate output of idr frames.
Change-Id: I522334dd1e81fc6aeeb60e71404f3a7071a5ecae
Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>