forked from adafruit/circuitpython
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUSBFramebuffer.h
More file actions
17 lines (13 loc) · 823 Bytes
/
Copy pathUSBFramebuffer.h
File metadata and controls
17 lines (13 loc) · 823 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// This file is part of the CircuitPython project: https://circuitpython.org
//
// SPDX-FileCopyrightText: Copyright (c) 2024 Jeff Epler for Adafruit Industries
//
// SPDX-License-Identifier: MIT
#pragma once
typedef struct usb_video_uvcframebuffer_obj usb_video_uvcframebuffer_obj_t;
extern const mp_obj_type_t usb_video_USBFramebuffer_type;
extern usb_video_uvcframebuffer_obj_t usb_video_uvcframebuffer_singleton_obj;
void shared_module_usb_video_uvcframebuffer_get_bufinfo(usb_video_uvcframebuffer_obj_t *self, mp_buffer_info_t *bufinfo);
void shared_module_usb_video_uvcframebuffer_refresh(usb_video_uvcframebuffer_obj_t *self);
int shared_module_usb_video_uvcframebuffer_get_width(usb_video_uvcframebuffer_obj_t *self);
int shared_module_usb_video_uvcframebuffer_get_height(usb_video_uvcframebuffer_obj_t *self);