1 /* 2 * Copyright 2004-2008, François Revol, <revol@free.fr>. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef _CAM_STREAMING_DEFRAMER_H 6 #define _CAM_STREAMING_DEFRAMER_H 7 8 #include "CamDeframer.h" 9 10 class CamStreamingDeframer : public CamDeframer 11 { 12 public: 13 CamStreamingDeframer(CamDevice *device); 14 virtual ~CamStreamingDeframer(); 15 // BPositionIO interface 16 // write from usb transfers 17 virtual ssize_t Write(const void *buffer, size_t size); 18 19 private: 20 21 BMallocIO fInputBuff; 22 23 24 }; 25 26 27 #endif /* _CAM_STREAMING_DEFRAMER_H */ 28