This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Failure on rotation/mirroring the video by use the TILER on DM8168

I have done some things as follow:

1, I have changed the tiler view by modify  the DMM_TILER_OR_0/1 register value in the file dmm.c  of the  dmm-tiler driver for linux,  

   struct dmm *dmm_pat_init(u32 id)

{

       __raw_writel(0x88888888, dmm->base + DMM_TILER_OR__0);

       __raw_writel(0x88888888, dmm->base + DMM_TILER_OR__1);

}

--->modified to

struct dmm *dmm_pat_init(u32 id)

{

       __raw_writel(0xcccccccc, dmm->base + DMM_TILER_OR__0);

       __raw_writel(0xcccccccc, dmm->base + DMM_TILER_OR__1);

}

Or

struct dmm *dmm_pat_init(u32 id)

{

       __raw_writel(0xffffffff, dmm->base + DMM_TILER_OR__0);

       __raw_writel(0xffffffff, dmm->base + DMM_TILER_OR__1);

}

 

2, reconfigured the linux kernel to support the TILER feature

Device Drivers-->Multimedia support-->TI TILER support

3, In our  app,

 I have tried to set  capturePrm->tilerEnable = TRUE;

Or  deiPrm-> tilerEnable = TRUE;

Or  nsfPerm-> tilerEnable = TRUE;

Or the combination of capturePrm -> tilerEnable = TRUE; and deiPrm-> tilerEnable = TRUE; and nsfPerm-> tilerEnable = TRUE;

 

But I don’t get the result which I want, and  I got the result that the video did’t have been rotation.

Can anyone help me, or give me some source codes or documents for reference about how to realize the feature of rotation/mirroring by TILER?