123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158 |
- #ifndef __PJMEDIA_VIDEODEV_VIDEODEV_ERRNO_H__
- #define __PJMEDIA_VIDEODEV_VIDEODEV_ERRNO_H__
- #include <pjmedia-videodev/config.h>
- #include <pj/errno.h>
- PJ_BEGIN_DECL
- #define PJMEDIA_VIDEODEV_ERRNO_START \
- (PJ_ERRNO_START_USER + PJ_ERRNO_SPACE_SIZE*7)
- #define PJMEDIA_VIDEODEV_ERRNO_END \
- (PJMEDIA_VIDEODEV_ERRNO_START + PJ_ERRNO_SPACE_SIZE - 1)
- #define PJMEDIA_EVID_ERR (PJMEDIA_VIDEODEV_ERRNO_START+1)
- #define PJMEDIA_EVID_SYSERR (PJMEDIA_VIDEODEV_ERRNO_START+2)
- #define PJMEDIA_EVID_INIT (PJMEDIA_VIDEODEV_ERRNO_START+3)
- #define PJMEDIA_EVID_INVDEV (PJMEDIA_VIDEODEV_ERRNO_START+4)
- #define PJMEDIA_EVID_NODEV (PJMEDIA_VIDEODEV_ERRNO_START+5)
- #define PJMEDIA_EVID_NODEFDEV (PJMEDIA_VIDEODEV_ERRNO_START+6)
- #define PJMEDIA_EVID_NOTREADY (PJMEDIA_VIDEODEV_ERRNO_START+7)
- #define PJMEDIA_EVID_INVCAP (PJMEDIA_VIDEODEV_ERRNO_START+8)
- #define PJMEDIA_EVID_INVOP (PJMEDIA_VIDEODEV_ERRNO_START+9)
- #define PJMEDIA_EVID_BADFORMAT (PJMEDIA_VIDEODEV_ERRNO_START+10)
- #define PJMEDIA_EVID_SAMPFORMAT (PJMEDIA_VIDEODEV_ERRNO_START+11)
- #define PJMEDIA_EVID_BADLATENCY (PJMEDIA_VIDEODEV_ERRNO_START+12)
- #define PJMEDIA_EVID_BADSIZE (PJMEDIA_VIDEODEV_ERRNO_START+13)
- PJ_DECL(pj_str_t) pjmedia_videodev_strerror(pj_status_t status, char *buffer,
- pj_size_t bufsize);
- PJ_END_DECL
- #endif
|