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

Commit a6db282c authored by Arun Menon's avatar Arun Menon Committed by Gerrit - the friendly Code Review server
Browse files

msm: vidc: Use bitrate to scale clocks for decoder



The Venus core's ability to handle bitrate depends on
the clock frequency it operates at. If we get spikes in
bitrate, we should scale the core clock to a higher frequency,
at which the Venus core can decode the frame within the
required time. This change calculates the instantaneous
bitrate for each input frame and scales the clock accordingly.
Without this change we will see frame drops whenever there are
spikes in bitrate.

Bitrate can be switched on and off using the following
debugfs handle - /d/msm_vidc/bitrate_clock_scaling

Change-Id: I772b132c6b8b39ae186c69b8caec1b95d108c23b
Signed-off-by: default avatarArun Menon <avmenon@codeaurora.org>
parent dec3acb0
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