- Timestamp:
- Jun 9, 2011 4:05:44 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/2.0-dev/pjmedia/include/pjmedia-videodev/videodev.h
r3489 r3579 358 358 359 359 /** 360 * Initialize the video subsystem. This will register all supported video361 * device factories to the video subsystem. This function may be called362 * more than once, but each call to this function must have the363 * 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. 364 364 * 365 365 * @param pf The pool factory. … … 368 368 * error code. 369 369 */ 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.370 PJ_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. 375 375 * 376 376 * @return The pool factory. 377 377 */ 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(). 378 PJ_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 */ 390 PJ_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(). 396 397 * 397 398 * @param vdf The video device factory. … … 405 406 406 407 /** 407 * Unregister a n video device factory from the videosubsystem. This408 * 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(). 409 410 * Devices from this factory will be unlisted. If a device from this factory 410 411 * is currently in use, then the behavior is undefined.
Note: See TracChangeset
for help on using the changeset viewer.