Ignore:
Timestamp:
Sep 27, 2011 5:24:06 AM (13 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-videodev/videodev.h

    r3758 r3774  
    193193     */ 
    194194    PJMEDIA_VID_DEV_CAP_INPUT_PREVIEW = 64, 
     195 
     196    /** 
     197     * Support for changing video orientation in renderer and querying 
     198     * video orientation info in capture. Changing video orientation in 
     199     * a renderer will potentially affect the size of render window, 
     200     * i.e: width and height swap. When a capture device supports this 
     201     * capability, it will generate event PJMEDIA_EVENT_ORIENT_CHANGED 
     202     * (see #pjmedia_event) everytime the capture orientation is changed. 
     203     * 
     204     * The value of this capability is pjmedia_orient. 
     205     */ 
     206    PJMEDIA_VID_DEV_CAP_ORIENTATION = 128, 
    195207 
    196208    /** 
     
    370382    pj_bool_t native_preview; 
    371383 
     384    /** 
     385     * Video orientation. This setting is optional and is only used if 
     386     * PJMEDIA_VID_DEV_CAP_ORIENTATION capability is supported and is 
     387     * set in the flags. 
     388     */ 
     389    pjmedia_orient orient; 
     390 
    372391} pjmedia_vid_dev_param; 
    373392 
Note: See TracChangeset for help on using the changeset viewer.