3rdparty/licenseReport: Add seperate LGPL checks
[haiku.git] / src / add-ons / media / media-add-ons / usb_webcam / addons / uvc / UVCDeframer.h
blobf642bafdc7b042a1f5e00f7a2138d0c8f587d917
1 /*
2 * Copyright 2011, Gabriel Hartmann, gabriel.hartmann@gmail.com.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef _UVC_DEFRAMER_H
6 #define _UVC_DEFRAMER_H
9 #include "CamDeframer.h"
11 #include <USB3.h>
14 class UVCDeframer : public CamDeframer {
15 public:
16 UVCDeframer(CamDevice *device);
17 virtual ~UVCDeframer();
18 // BPositionIO interface
19 // write from usb transfers
20 virtual ssize_t Write(const void *buffer, size_t size);
22 private:
23 void _PrintBuffer(const void* buffer, size_t size);
25 int32 fFrameCount;
26 int32 fID;
27 BMallocIO fInputBuffer;
30 #endif /* _UVC_DEFRAMER_H */