video: driver: Update session admission and work modes
- To determine if session is admissible, check only the decoder input width/height and encoder crop width/height. - Update session MBPF Calculations. - Amend work mode setting to consider decoder input width, height and GOP size. Change-Id: If4053c222de2a55ad5b85a8ab96c12c47b145aa3 Signed-off-by: Mihir Ganu <mganu@codeaurora.org>
This commit is contained in:
@@ -427,6 +427,8 @@ void msm_vidc_free_capabililty_list(struct msm_vidc_inst *inst,
|
||||
enum msm_vidc_ctrl_list_type list_type);
|
||||
bool res_is_greater_than(u32 width, u32 height,
|
||||
u32 ref_width, u32 ref_height);
|
||||
bool res_is_less_than(u32 width, u32 height,
|
||||
u32 ref_width, u32 ref_height);
|
||||
bool res_is_less_than_or_equal_to(u32 width, u32 height,
|
||||
u32 ref_width, u32 ref_height);
|
||||
#endif // _MSM_VIDC_DRIVER_H_
|
||||
|
Reference in New Issue
Block a user