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:
@@ -1059,7 +1059,7 @@ static struct msm_platform_inst_capability instance_data_waipio[] = {
|
||||
{THUMBNAIL_MODE, DEC, CODECS_ALL,
|
||||
V4L2_MPEG_MSM_VIDC_DISABLE, V4L2_MPEG_MSM_VIDC_ENABLE,
|
||||
1, V4L2_MPEG_MSM_VIDC_DISABLE,
|
||||
0,
|
||||
V4L2_CID_MPEG_VIDC_THUMBNAIL_MODE,
|
||||
HFI_PROP_THUMBNAIL_MODE},
|
||||
|
||||
{DEFAULT_HEADER, DEC, CODECS_ALL,
|
||||
@@ -1083,6 +1083,14 @@ static struct msm_platform_inst_capability instance_data_waipio[] = {
|
||||
HFI_PROP_SEQ_CHANGE_AT_SYNC_FRAME,
|
||||
CAP_FLAG_INPUT_PORT | CAP_FLAG_DYNAMIC_ALLOWED},
|
||||
|
||||
{PRIORITY, DEC|ENC, CODECS_ALL,
|
||||
0, 2, 1, 1,
|
||||
V4L2_CID_MPEG_VIDC_PRIORITY,
|
||||
HFI_PROP_REALTIME,
|
||||
CAP_FLAG_ROOT,
|
||||
{0}, {0},
|
||||
NULL, NULL},
|
||||
|
||||
{META_LTR_MARK_USE, ENC, CODECS_ALL,
|
||||
V4L2_MPEG_MSM_VIDC_DISABLE, V4L2_MPEG_MSM_VIDC_ENABLE,
|
||||
1, V4L2_MPEG_MSM_VIDC_DISABLE,
|
||||
|
Reference in New Issue
Block a user