Group s8_video_device_implementors_api¶
- group s8_video_device_implementors_api
API for video device implementors.
Functions
-
pj_status_t pjmedia_vid_dev_get_local_index(pjmedia_vid_dev_index id, pjmedia_vid_dev_factory **p_f, unsigned *p_local_index)¶
Internal API: return the factory instance and device index that’s local to the factory for a given device ID.
- Parameters
id – Device id.
p_f – Out: factory instance
p_local_index – Out: device index within the factory
- Returns
PJ_SUCCESS on success.
-
pj_status_t pjmedia_vid_dev_get_global_index(const pjmedia_vid_dev_factory *f, unsigned local_idx, pjmedia_vid_dev_index *pid)¶
Internal API: return the global device index given a factory instance and a local device index.
- Parameters
f – Factory.
local_idx – Local index.
pid – Returned global index.
- Returns
PJ_SUCCESS on success.
-
struct pjmedia_vid_dev_factory_op¶
- #include <videodev_imp.h>
Video device factory operations.
-
struct pjmedia_vid_dev_factory¶
- #include <videodev_imp.h>
This structure describes a video device factory.
Forward declaration for video device factory
-
struct pjmedia_vid_dev_stream_op¶
- #include <videodev_imp.h>
Video stream operations.
-
struct pjmedia_vid_dev_stream¶
- #include <videodev_imp.h>
This structure describes the video device stream.
Forward declaration for pjmedia_vid_dev_stream
-
pj_status_t pjmedia_vid_dev_get_local_index(pjmedia_vid_dev_index id, pjmedia_vid_dev_factory **p_f, unsigned *p_local_index)¶