msm: vidc: Adjust frame counts to set the requested Intraperiod
Intraperiod set by client is being split between pFrames and bFrames.
When the hardware does not support bFrame encoding, the bFrame being
calculated and set by client does not have any impact. I-frame is
generated right after pFrame count is met. Due to this the Intraperiod
in the encoded clip is not as per the client request.
The change checks for bFrame capability and adjust intraperiod accordingly
Change-Id: Id2faff9fd001ee3b21f38fdd7bc5f154c5031e40
Signed-off-by:
Manikanta Sivapala <msivap@codeaurora.org>
Loading
Please register or sign in to comment