2 * Copyright 2001-2008 Ingo Weinhold <ingo_weinhold@gmx.de>
3 * Copyright 2001-2008 Stephan Aßmus <superstippi@gmx.de>
4 * All rights reserved. Distributed under the terms of the MIT licensce.
6 #ifndef VIDEO_SUPPLIER_H
7 #define VIDEO_SUPPLIER_H
10 #include <SupportDefs.h>
13 struct media_raw_video_format
;
19 virtual ~VideoSupplier();
21 virtual status_t
FillBuffer(int64 startFrame
, void* buffer
,
22 const media_raw_video_format
& format
,
23 bool forceGeneration
, bool& wasCached
) = 0;
25 virtual void DeleteCaches();
27 inline bigtime_t
ProcessingLatency() const
28 { return fProcessingLatency
; }
31 bigtime_t fProcessingLatency
;
34 #endif // VIDEO_SUPPLIER_H