video: driver: update cycle count requirement of B frames
Decoder base cycle requirement of B frames has increased to 80. Also, updated cycle count requirement for Encoder HIER B usecase. Pulled from CL: 3302650. Change-Id: I0f56166b7261e161630feeb8793473491dacccd7 Signed-off-by: Darshana Patil <darshana@codeaurora.org>
Šī revīzija ir iekļauta:
@@ -149,5 +149,6 @@ struct msm_vidc_inst {
|
||||
u32 dpb_list_payload[MAX_DPB_LIST_ARRAY_SIZE];
|
||||
u32 max_map_output_count;
|
||||
u32 auto_framerate;
|
||||
bool has_bframe;
|
||||
};
|
||||
#endif // _MSM_VIDC_INST_H_
|
||||
|
@@ -790,6 +790,7 @@ void *msm_vidc_open(void *vidc_core, u32 session_type)
|
||||
inst->request = false;
|
||||
inst->ipsc_properties_set = false;
|
||||
inst->opsc_properties_set = false;
|
||||
inst->has_bframe = false;
|
||||
inst->auto_framerate = DEFAULT_FPS << 16;
|
||||
kref_init(&inst->kref);
|
||||
mutex_init(&inst->lock);
|
||||
|
@@ -1336,6 +1336,8 @@ static int handle_session_property(struct msm_vidc_inst *inst,
|
||||
break;
|
||||
case HFI_PROP_PICTURE_TYPE:
|
||||
inst->hfi_frame_info.picture_type = payload_ptr[0];
|
||||
if (inst->hfi_frame_info.picture_type & HFI_PICTURE_B)
|
||||
inst->has_bframe = true;
|
||||
break;
|
||||
case HFI_PROP_NO_OUTPUT:
|
||||
if (port != INPUT_PORT) {
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user