Example #1
0
//-----------------------------------------------------------------------------
bool tIMX51Video::SetMirroredInternal()
{
    if(m_pGstSource)
    {
        /* 0 for normal operation
         * 1 for vertical flip
         * 2 for horizontal flip
         * 3 for horizontal and vertical flip
         * 4 for 90 degree rotation
         */
        if(Mirrored())
            g_object_set(m_pGstSource, "rotate", 2, NULL);
        else
            g_object_set(m_pGstSource, "rotate", 0, NULL);
    }
    return false;
}
Example #2
0
PRUint32 SymmSwap(PRUint32 aChar)
{
  return Mirrored(aChar);
}