1. 解决旋转情况下,预览过程中,按下power键休眠,唤醒时显示异常
2. 解决旋转情况下播放视频,切换上下曲时有时会花屏一下
#if CONFIG_FB_ROTATE_VIDEO
//need refresh ,zyc add
- if(has_set_rotate == true)
+ if((has_set_rotate == true) && (last_yuv_phy[0] != 0) && (last_yuv_phy[1] != 0))
{
u32 yuv_phy[2];
struct rk29_ipp_req ipp_req;
par->addr_seted = 0;
inf->video_mode = 1;
wq_condition2 = 1;
+#if CONFIG_FB_ROTATE_VIDEO
+ //reinitialize the var when open,zyc
+ last_yuv_phy[0] = 0;
+ last_yuv_phy[1] = 0;
+ has_set_rotate = 0;
+#endif
if(par->refcount) {
printk(">>>>>> fb1 has opened! \n");
return -EACCES;