|
libuvc
|
Tools for managing frame buffers and converting between image formats. More...
Functions | |
| uvc_error_t | uvc_mjpeg2rgb (uvc_frame_t *in, uvc_frame_t *out) |
| Convert an MJPEG frame to RGB. | |
| uvc_error_t | uvc_mjpeg2gray (uvc_frame_t *in, uvc_frame_t *out) |
| Convert an MJPEG frame to GRAY8. | |
| uvc_frame_t * | uvc_allocate_frame (size_t data_bytes) |
| Allocate a frame structure. | |
| void | uvc_free_frame (uvc_frame_t *frame) |
| Free a frame structure. | |
| uvc_error_t | uvc_duplicate_frame (uvc_frame_t *in, uvc_frame_t *out) |
| Duplicate a frame, preserving color format. | |
| uvc_error_t | uvc_yuyv2rgb (uvc_frame_t *in, uvc_frame_t *out) |
| Convert a frame from YUYV to RGB. | |
| uvc_error_t | uvc_yuyv2bgr (uvc_frame_t *in, uvc_frame_t *out) |
| Convert a frame from YUYV to BGR. | |
| uvc_error_t | uvc_yuyv2y (uvc_frame_t *in, uvc_frame_t *out) |
| Convert a frame from YUYV to Y (GRAY8). | |
| uvc_error_t | uvc_yuyv2uv (uvc_frame_t *in, uvc_frame_t *out) |
| Convert a frame from YUYV to UV (GRAY8). | |
| uvc_error_t | uvc_uyvy2rgb (uvc_frame_t *in, uvc_frame_t *out) |
| Convert a frame from UYVY to RGB. | |
| uvc_error_t | uvc_uyvy2bgr (uvc_frame_t *in, uvc_frame_t *out) |
| Convert a frame from UYVY to BGR. | |
| uvc_error_t | uvc_any2rgb (uvc_frame_t *in, uvc_frame_t *out) |
| Convert a frame to RGB. | |
| uvc_error_t | uvc_any2bgr (uvc_frame_t *in, uvc_frame_t *out) |
| Convert a frame to BGR. | |
Tools for managing frame buffers and converting between image formats.
| uvc_error_t uvc_mjpeg2rgb | ( | uvc_frame_t * | in, |
| uvc_frame_t * | out ) |
Convert an MJPEG frame to RGB.
| in | MJPEG frame |
| out | RGB frame |
| uvc_error_t uvc_mjpeg2gray | ( | uvc_frame_t * | in, |
| uvc_frame_t * | out ) |
Convert an MJPEG frame to GRAY8.
| in | MJPEG frame |
| out | GRAY8 frame |
| uvc_frame_t * uvc_allocate_frame | ( | size_t | data_bytes | ) |
Allocate a frame structure.
| data_bytes | Number of bytes to allocate, or zero |
| void uvc_free_frame | ( | uvc_frame_t * | frame | ) |
Free a frame structure.
| Frame processing | Frame to destroy |
| uvc_error_t uvc_duplicate_frame | ( | uvc_frame_t * | in, |
| uvc_frame_t * | out ) |
Duplicate a frame, preserving color format.
| in | Original frame |
| out | Duplicate frame |
| uvc_error_t uvc_yuyv2rgb | ( | uvc_frame_t * | in, |
| uvc_frame_t * | out ) |
Convert a frame from YUYV to RGB.
| in | YUYV frame |
| out | RGB frame |
| uvc_error_t uvc_yuyv2bgr | ( | uvc_frame_t * | in, |
| uvc_frame_t * | out ) |
Convert a frame from YUYV to BGR.
| in | YUYV frame |
| out | BGR frame |
| uvc_error_t uvc_yuyv2y | ( | uvc_frame_t * | in, |
| uvc_frame_t * | out ) |
Convert a frame from YUYV to Y (GRAY8).
| in | YUYV frame |
| out | GRAY8 frame |
| uvc_error_t uvc_yuyv2uv | ( | uvc_frame_t * | in, |
| uvc_frame_t * | out ) |
Convert a frame from YUYV to UV (GRAY8).
| in | YUYV frame |
| out | GRAY8 frame |
| uvc_error_t uvc_uyvy2rgb | ( | uvc_frame_t * | in, |
| uvc_frame_t * | out ) |
Convert a frame from UYVY to RGB.
| ini | UYVY frame |
| out | RGB frame |
| uvc_error_t uvc_uyvy2bgr | ( | uvc_frame_t * | in, |
| uvc_frame_t * | out ) |
Convert a frame from UYVY to BGR.
| ini | UYVY frame |
| out | BGR frame |
| uvc_error_t uvc_any2rgb | ( | uvc_frame_t * | in, |
| uvc_frame_t * | out ) |
Convert a frame to RGB.
| in | non-RGB frame |
| out | RGB frame |
| uvc_error_t uvc_any2bgr | ( | uvc_frame_t * | in, |
| uvc_frame_t * | out ) |
Convert a frame to BGR.
| in | non-BGR frame |
| out | BGR frame |