Ignore:
Timestamp:
Apr 4, 2012 5:05:50 AM (12 years ago)
Author:
bennylp
Message:

Fixed #1478: AVI player virtual device. Initial spec:

  • Currently only Works with raw video and audio AVI files
  • Added --play-avi and --auto-play-avi options in pjsua
  • No A/V synchronization yet
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/include/pjmedia-videodev/videodev_imp.h

    r3893 r4016  
    192192 
    193193 
    194  
     194/** 
     195 * Internal API: return the factory instance and device index that's local 
     196 * to the factory for a given device ID. 
     197 * 
     198 * @param id            Device id. 
     199 * @param p_f           Out: factory instance 
     200 * @param p_local_index Out: device index within the factory 
     201 * 
     202 * @return              PJ_SUCCESS on success. 
     203 */ 
     204PJ_DECL(pj_status_t) 
     205pjmedia_vid_dev_get_local_index(pjmedia_vid_dev_index id, 
     206                                pjmedia_vid_dev_factory **p_f, 
     207                                unsigned *p_local_index); 
     208 
     209/** 
     210 * Internal API: return the global device index given a factory instance and 
     211 * a local device index. 
     212 * 
     213 * @param f             Factory. 
     214 * @param local_idx     Local index. 
     215 * @param pid           Returned global index. 
     216 * 
     217 * @return              PJ_SUCCESS on success. 
     218 */ 
     219PJ_DEF(pj_status_t) 
     220pjmedia_vid_dev_get_global_index(const pjmedia_vid_dev_factory *f, 
     221                                 unsigned local_idx, 
     222                                 pjmedia_vid_dev_index *pid); 
    195223 
    196224/** 
Note: See TracChangeset for help on using the changeset viewer.