video: driver: add thumbnail and priority support

- add thumbnail mode and priority in database.
- modify output min count for thumbnail session
- deprecate is_turbo_session.
- deprecate flags variable in instance structure and
  use database entries.

Change-Id: I04a3386f1e2eb9fb97bd550d6f169f9510f462c8
Signed-off-by: Darshana Patil <darshana@codeaurora.org>
This commit is contained in:
Darshana Patil
2021-03-01 13:13:22 -08:00
parent 57637ef8e0
commit 596ca194de
12 changed files with 107 additions and 72 deletions

View File

@@ -413,6 +413,7 @@ enum msm_vidc_inst_capability_type {
DEFAULT_HEADER,
RAP_FRAME,
SEQ_CHANGE_AT_SYNC_FRAME,
PRIORITY,
META_LTR_MARK_USE,
META_DPB_MISR,
META_OPB_MISR,
@@ -680,13 +681,6 @@ struct msm_vidc_decode_batch {
struct delayed_work work;
};
enum msm_vidc_modes {
VIDC_SECURE = BIT(0),
VIDC_TURBO = BIT(1),
VIDC_THUMBNAIL = BIT(2),
VIDC_LOW_POWER = BIT(3),
};
enum load_calc_quirks {
LOAD_POWER = 0,
LOAD_ADMISSION_CONTROL = 1,