pd #100847:Change mx4.4 vpp_process_speed_check the same as mx4.2

Change-Id: Ibe3baefb5cd6bb962201765b4e6d48da58550af0
This commit is contained in:
alex.cao
2014-12-11 09:38:28 +00:00
committed by Mauro Ribeiro
parent e0f849209e
commit 6536f5462e

View File

@@ -335,10 +335,15 @@ vpp_process_speed_check(s32 width_in,
return SPEED_CHECK_DONE;
}
/* if (video_speed_check_width * video_speed_check_height * height_out > height_screen * width_in * height_in) { */
if (height_out > height_in) {
#if (MESON_CPU_TYPE > MESON_CPU_TYPE_MESON6)
if ((height_out+1) > height_in) {
return SPEED_CHECK_DONE;
}
#else
if (video_speed_check_width * video_speed_check_height * height_out > height_screen * width_in * height_in) {
return SPEED_CHECK_DONE;
}
#endif
amlog_mask(LOG_MASK_VPP, "vpp_process_speed_check failed\n");