video: driver: enable thumbnail mode
enable thumbnail mode depending upon the thumbnail capability in database. Change-Id: I2f3a36ae0ee785e73a009cfc385290c983a43e29 Signed-off-by: Darshana Patil <darshana@codeaurora.org>
Cette révision appartient à :

révisé par
Gerrit - the friendly Code Review server

Parent
d51e886a52
révision
3dc0696b1d
@@ -1062,7 +1062,8 @@ static struct msm_platform_inst_capability instance_data_waipio[] = {
|
||||
0,
|
||||
HFI_PROP_DEC_START_FROM_RAP_FRAME,
|
||||
CAP_FLAG_INPUT_PORT,
|
||||
{THUMBNAIL_MODE}},
|
||||
{0}, {0},
|
||||
NULL, NULL},
|
||||
|
||||
{SEQ_CHANGE_AT_SYNC_FRAME, DEC, CODECS_ALL,
|
||||
V4L2_MPEG_MSM_VIDC_DISABLE, V4L2_MPEG_MSM_VIDC_ENABLE,
|
||||
|
@@ -163,8 +163,7 @@ static inline bool is_secondary_output_mode(struct msm_vidc_inst *inst)
|
||||
|
||||
static inline bool is_thumbnail_session(struct msm_vidc_inst *inst)
|
||||
{
|
||||
return false;
|
||||
// todo: return !!(inst->capabilities->cap[THUMBNAIL_MODE].value);
|
||||
return !!(inst->capabilities->cap[THUMBNAIL_MODE].value);
|
||||
}
|
||||
|
||||
static inline bool is_low_power_session(struct msm_vidc_inst *inst)
|
||||
|
Référencer dans un nouveau ticket
Bloquer un utilisateur