else\r
{\r
ipp_write(ipp_read(IPP_CONFIG)|ROT_ENABLE, IPP_CONFIG);\r
- ipp_write(ipp_read(IPP_CONFIG)|rotate<<5, IPP_CONFIG);\r
+ ipp_write((ipp_read(IPP_CONFIG)&0xffffff1f)|(rotate<<5), IPP_CONFIG);\r
}\r
\r
/*Configure deinterlace*/\r
{\r
ipp_write(ipp_read(IPP_CONFIG)&(~STORE_CLIP_MODE), IPP_CONFIG);\r
}\r
- \r
+\r
/* Start the operation */\r
ipp_write(8, IPP_INT);// \r
dsb();\r
*/\r
\r
/*8 test special up scaling*/\r
+ /*\r
ipp_req.src0.fmt = IPP_Y_CBCR_H2V2;\r
ipp_req.src0.w = 128;\r
ipp_req.src0.h = 128;\r
ret = -1;\r
ret = ipp_blit_sync(&ipp_req);\r
printk("176x144->800x480: %d \n",ret);\r
+ */\r
\r
+ /*9 test rotate config*/\r
+ ipp_req.flag = IPP_ROT_180;\r
+ ipp_blit_sync(&ipp_req);\r
+ ipp_req.flag = IPP_ROT_270;\r
+ ipp_blit_sync(&ipp_req);\r
\r
free_pages(srcY, 9);\r
//test deinterlace\r