2 * FireWire DV media addon for Haiku
4 * Copyright (c) 2008, JiSheng Zhang (jszhang3@mail.ustc.edu.cn)
5 * Distributed under the terms of the MIT License.
8 #ifndef __FIREWIRE_CARD_H
9 #define __FIREWIRE_CARD_H
12 #include <SupportDefs.h>
21 FireWireCard(const char* path
);
26 status_t
DetectRecvFn();
27 ssize_t
Read(void** buffer
);
28 status_t
Extract(void* dest
, void** src
, ssize_t
* sizeUsed
);
30 void GetBufInfo(size_t* rbufsize
, int* rcount
);
33 ssize_t
DvRead(void** buffer
);
34 status_t
DvExtract(void* dest
, void** src
, ssize_t
* sizeUsed
);
35 ssize_t
MpegtsRead(void** buffer
);
36 status_t
MpegtsExtract(void* dest
, void** src
,