Set rfp_load_thd to zero to avoid reference window timeout stuck.
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: I0d24ef109304cb3262167538e2872447bad707f7
For IEP2, the first two frames will be deinterlaced at I1O1 mode. I5O2
mode only works when the 3rd frame arrived. Thus the 2nd frame will be
deinterlaced twice and PTS will be repeated as following pattern:
-------------------------------------
IEP in : 0 1 2 3 4
IEP out : 0 1 0.5 1 2.5 3 3.5
-------------------------------------
To fix this, just skip the 2nd frame processing.
Change-Id: I2d66951a941a664da093f1b9edbdd73855c57060
Signed-off-by: Johnson Ding <johnson.ding@rock-chips.com>
when dec_ref_pic_marking met emulation prevention byte,
drpm_used_bits counting need to minus emulation_prevention_bytes_
related issue:https://redmine.rock-chips.com/issues/389676
Signed-off-by: Chandler Chen <chandler.chen@rock-chips.com>
Change-Id: I566e45c40e0c67032217c6b1cdf87784a2f730cf
OSD checking will cost much CPU time and affecting field detection. So
disable it.
Change-Id: I18fa811623d7d219e207672c7835c366409a9e07
Signed-off-by: Johnson Ding <johnson.ding@rock-chips.com>
Field order shown at bistream syntax may be conflict with the detection
result of IEP. If there is obvious index showing that the detection
of IEP is right, we should trust IEP.
Change-Id: Ib151c4b538c187afb33e05c6e6a6e8a46c7629eb
Signed-off-by: Johnson Ding <johnson.ding@rock-chips.com>
when err_intra_mode is true no reconfig error ref pic reg or
ccu may be wait timeout
Change-Id: I25ce12524d831aa8daf8d0b778b81eb5dd4aabcb
Signed-off-by: sayon.chen <sayon.chen@rock-chips.com>
1. mpp_dec_decode will return output frame number.
2. Rework on mpp_dec_decode external loop.
3. Fix reset block issue when using mpp_dec_decode
NOTE: Still has some risk when the last buffer return and notify unused
buffer. If mpp_dec_decode miss the buffer notify and wait on cmd_lock it
will block the flow.
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: I8f3c567da221c42555903b972dc47dad55b854cb
Only support stereo high profile MVC. Frames with the same POC of two
views will be output in turn. The base view will be output at first.
Change-Id: I534e07bd079dc31d1a1e9178b81dfb21ffec8f60
Signed-off-by: Johnson Ding <johnson.ding@rock-chips.com>
When decoding S picture, reference list with be force to set to only one
left. Slot flag should be cleared for the already marked buffers at
reference list. But decoded picture may not be correct if following AVS2
specification. So for S picture, keep those reference frames found by
doi_of_ref and replace the content of the first reference frame with
scene ref only.
Change-Id: I9f84fdd55acfc9cf9d65deb065ccf97c36de1321
Signed-off-by: Johnson Ding <johnson.ding@rock-chips.com>
When scene reference is used, ref list should not be modified directly,
otherwise slot options will encountering error.
Change-Id: I23627fc56c5d8e25e54e72868c926391127e31e6
Signed-off-by: Johnson Ding <johnson.ding@rock-chips.com>
When no_thread decoding call is waiting buffer and reset comes. The
buffer wait return should check the task status.
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: I6921dfe509aee659c3a89c409e82c572193c4a31
if outside config MPP_FRAME_FBC_AFBC_V2 cause error info change
Signed-off-by: dawnming.huang <dawnming.huang@rock-chips.com>
Change-Id: I7cc6e29850e6749b01dd62cefea534ba20f6b60b