video: driver: amend priorities to allow more sessions
1. adjust client set non-realtime priroty with NRT_PRIORITY_OFFSET (2) 2. if total mbps is more than max_mbps a. allow encode session by reducing decoder sessions priority by 1 b. allow decode session by moving it to non-realtime session in order to not disturb the ongoing sessions Change-Id: I96fd2ac75c123d681982fb9a2c06ac51d15bd59a Signed-off-by: Deepa Guthyappa Madivalara <quic_dmadival@quicinc.com>
This commit is contained in:
@@ -171,5 +171,6 @@ struct msm_vidc_inst {
|
||||
u32 max_rate;
|
||||
bool has_bframe;
|
||||
bool ir_enabled;
|
||||
u32 adjust_priority;
|
||||
};
|
||||
#endif // _MSM_VIDC_INST_H_
|
||||
|
Reference in New Issue
Block a user