ReactOS  0.4.14-dev-297-g23e575c
strmbase_private.h
Go to the documentation of this file.
1 /*
2  * Header file for private strmbase implementations
3  *
4  * Copyright 2012 Aric Stewart, CodeWeavers
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19  */
20 
21 #pragma once
22 
23 /* Quality Control */
24 typedef struct QualityControlImpl {
27  IBaseFilter *self;
29 
30  /* Render stuff */
34  double avg_rate;
38 
46 
REFERENCE_TIME avg_duration
void QualityControlRender_BeginRender(QualityControlImpl *This)
REFERENCE_TIME last_in_time
#define REFIID
Definition: guiddef.h:118
REFERENCE_TIME last_left
REFERENCE_TIME avg_pt
void QualityControlRender_DoQOS(QualityControlImpl *priv)
REFIID riid
Definition: precomp.h:44
void QualityControlImpl_Destroy(QualityControlImpl *This)
REFIID LPVOID * ppv
Definition: atlbase.h:39
REFERENCE_TIME clockstart
REFERENCE_TIME current_rstart
REFERENCE_TIME current_jitter
IQualityControl IQualityControl_iface
REFERENCE_TIME stop
REFERENCE_TIME start
unsigned int BOOL
Definition: ntddk_ex.h:94
ULONG WINAPI QualityControlImpl_Release(IQualityControl *iface)
ULONG WINAPI QualityControlImpl_AddRef(IQualityControl *iface)
int64_t LONG64
Definition: typedefs.h:66
LONGLONG REFERENCE_TIME
Definition: dmusicks.h:9
LONG HRESULT
Definition: typedefs.h:77
IReferenceClock * clock
#define WINAPI
Definition: msvc.h:8
HRESULT WINAPI QualityControlImpl_Notify(IQualityControl *iface, IBaseFilter *sender, Quality qm)
HRESULT QualityControlRender_WaitFor(QualityControlImpl *This, IMediaSample *sample, HANDLE ev)
struct QualityControlImpl QualityControlImpl
REFERENCE_TIME avg_render
REFERENCE_TIME current_rstop
void QualityControlRender_Start(QualityControlImpl *This, REFERENCE_TIME tStart)
HRESULT QualityControlImpl_Create(IPin *input, IBaseFilter *self, QualityControlImpl **ppv)
HRESULT WINAPI QualityControlImpl_QueryInterface(IQualityControl *iface, REFIID riid, void **ppv)
GLenum GLenum GLenum input
Definition: glext.h:9031
Definition: axcore.idl:91
_Check_return_ _CRTIMP clock_t __cdecl clock(void)
Definition: clock.c:23
void QualityControlRender_EndRender(QualityControlImpl *This)
unsigned int ULONG
Definition: retypes.h:1
IQualityControl * tonotify
void QualityControlRender_SetClock(QualityControlImpl *This, IReferenceClock *clock)
HRESULT WINAPI QualityControlImpl_SetSink(IQualityControl *iface, IQualityControl *tonotify)