video driver: calculate power based on max rate
1. Remove load based admission control for decoder. 2. For decoder, use max of frame rate, operating rate, timestamp rate and input rate for power calculations. 3. For encoder, use max of frame rate and operating rate for power calculations. Change-Id: Ibdb2d4b29438d7f656a27771953d10e0a0e72edd
This commit is contained in:
@@ -170,6 +170,7 @@ struct msm_vidc_inst {
|
||||
u32 dpb_list_payload[MAX_DPB_LIST_ARRAY_SIZE];
|
||||
u32 max_map_output_count;
|
||||
u32 auto_framerate;
|
||||
u32 max_rate;
|
||||
bool has_bframe;
|
||||
};
|
||||
#endif // _MSM_VIDC_INST_H_
|
||||
|
Reference in New Issue
Block a user