Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3ddd1c55 authored by Manikanta Sivapala's avatar Manikanta Sivapala Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarManikanta Sivapala <msivap@codeaurora.org>
parent ac6766f8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment