mfc: Reduce QoS boosting from Samsung hacks
By default, everything is set to 240fps for optimal playback performance However, the situation is not always true, as it applies to cases when the video bitrate isn't necessarily high, causing high power consumption Reduce and limit the boosting needed. For decoder, only apply for UHD video resolution Signed-off-by: Diep Quynh <remilia.1505@gmail.com> [TenSeventy7: Negative unsigned integer fixes already present on 9610] Signed-off-by: John Vincent <git@tensevntysevn.cf> Signed-off-by: ThunderStorms21th <pinakastorm@gmail.com>
This commit is contained in:
parent
8ab3a6194e
commit
008b431fd1
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ static inline int __mfc_timespec64_compare(const struct timespec64 *lhs, const s
|
|||
static inline void mfc_qos_reset_framerate(struct mfc_ctx *ctx)
|
||||
{
|
||||
if (ctx->type == MFCINST_DECODER)
|
||||
ctx->framerate = DEC_DEFAULT_FPS;
|
||||
ctx->framerate = 60000; // 60fps*100
|
||||
else if (ctx->type == MFCINST_ENCODER)
|
||||
ctx->framerate = ENC_DEFAULT_FPS;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue