Ignore:
Timestamp:
Jun 9, 2011 4:05:44 AM (10 years ago)
Author:
ming
Message:

Closed #1275: Change pjmedia_vid_subsys_xx() to pjmedia_vid_dev_subsys_xx()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/2.0-dev/pjmedia/include/pjmedia-videodev/videodev.h

    r3489 r3579  
    358358 
    359359/** 
    360  * Initialize the video subsystem. This will register all supported video 
    361  * device factories to the video subsystem. This function may be called 
    362  * more than once, but each call to this function must have the 
    363  * corresponding #pjmedia_vid_subsys_shutdown() call. 
     360 * Initialize the video device subsystem. This will register all supported 
     361 * video device factories to the video device subsystem. This function may be 
     362 * called more than once, but each call to this function must have the 
     363 * corresponding #pjmedia_vid_dev_subsys_shutdown() call. 
    364364 * 
    365365 * @param pf        The pool factory. 
     
    368368 *                  error code. 
    369369 */ 
    370 PJ_DECL(pj_status_t) pjmedia_vid_subsys_init(pj_pool_factory *pf); 
    371  
    372  
    373 /** 
    374  * Get the pool factory registered to the video subsystem. 
     370PJ_DECL(pj_status_t) pjmedia_vid_dev_subsys_init(pj_pool_factory *pf); 
     371 
     372 
     373/** 
     374 * Get the pool factory registered to the video device subsystem. 
    375375 * 
    376376 * @return          The pool factory. 
    377377 */ 
    378 PJ_DECL(pj_pool_factory*) pjmedia_vid_subsys_get_pool_factory(void); 
    379  
    380  
    381 /** 
    382  * Shutdown the video subsystem. This will destroy all video device factories 
    383  * registered in the video subsystem. Note that currently opened video streams 
    384  * may or may not be closed, depending on the implementation of the video 
    385  * device factories. 
    386  * 
    387  * @return          PJ_SUCCESS on successful operation or the appropriate 
    388  *                  error code. 
    389  */ 
    390 PJ_DECL(pj_status_t) pjmedia_vid_subsys_shutdown(void); 
    391  
    392  
    393 /** 
    394  * Register a supported video device factory to the video subsystem. This 
    395  * function can only be called after calling #pjmedia_vid_subsys_init(). 
     378PJ_DECL(pj_pool_factory*) pjmedia_vid_dev_subsys_get_pool_factory(void); 
     379 
     380 
     381/** 
     382 * Shutdown the video device subsystem. This will destroy all video device 
     383 * factories registered in the video device subsystem. Note that currently 
     384 * opened video streams may or may not be closed, depending on the 
     385 * implementation of the video device factories. 
     386 * 
     387 * @return          PJ_SUCCESS on successful operation or the appropriate 
     388 *                  error code. 
     389 */ 
     390PJ_DECL(pj_status_t) pjmedia_vid_dev_subsys_shutdown(void); 
     391 
     392 
     393/** 
     394 * Register a supported video device factory to the video device subsystem. 
     395 * This function can only be called after calling 
     396 * #pjmedia_vid_dev_subsys_init(). 
    396397 * 
    397398 * @param vdf       The video device factory. 
     
    405406 
    406407/** 
    407  * Unregister an video device factory from the video subsystem. This 
    408  * function can only be called after calling #pjmedia_vid_subsys_init(). 
     408 * Unregister a video device factory from the video device subsystem. This 
     409 * function can only be called after calling #pjmedia_vid_dev_subsys_init(). 
    409410 * Devices from this factory will be unlisted. If a device from this factory 
    410411 * is currently in use, then the behavior is undefined. 
Note: See TracChangeset for help on using the changeset viewer.