Ignore:
Timestamp:
Sep 27, 2011 5:24:06 AM (10 years ago)
Author:
nanang
Message:

Close #1360: implementated video orientation (currently only for video devices).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/include/pjmedia/types.h

    r3664 r3774  
    191191    pjmedia_rect_size   size;   /**< The size.          */ 
    192192} pjmedia_rect; 
     193 
     194/** 
     195 * Enumeration for video/picture orientation. 
     196 */ 
     197typedef enum pjmedia_orient 
     198{ 
     199    /** 
     200     * Unknown orientation. 
     201     */ 
     202    PJMEDIA_ORIENT_UNKNOWN, 
     203 
     204    /** 
     205     * Natural orientation, e.g: sky upside on landscape view, head upside 
     206     * on human portrait. 
     207     */ 
     208    PJMEDIA_ORIENT_NATURAL, 
     209 
     210    /** 
     211     * Specifies that the video/picture needs to be rotated 90 degrees 
     212     * clockwise to be displayed in natural orientation. 
     213     */ 
     214    PJMEDIA_ORIENT_ROTATE_90DEG, 
     215 
     216    /** 
     217     * Specifies that the video/picture needs to be rotated 180 degrees 
     218     * clockwise to be displayed in natural orientation. 
     219     */ 
     220    PJMEDIA_ORIENT_ROTATE_180DEG, 
     221 
     222    /** 
     223     * Specifies that the video/picture needs to be rotated 270 degrees 
     224     * clockwise to be displayed in natural orientation. 
     225     */ 
     226    PJMEDIA_ORIENT_ROTATE_270DEG 
     227 
     228} pjmedia_orient; 
     229 
    193230 
    194231/** 
Note: See TracChangeset for help on using the changeset viewer.