Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
4ae6f928
Commit
4ae6f928
authored
Mar 28, 2012
by
Aric Stewart
Committed by
Alexandre Julliard
Mar 29, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
strmbase: Implement BaseControlVideo.
parent
73efbff4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
80 additions
and
0 deletions
+80
-0
Makefile.in
dlls/strmbase/Makefile.in
+1
-0
video.c
dlls/strmbase/video.c
+0
-0
strmbase.h
include/wine/strmbase.h
+79
-0
No files found.
dlls/strmbase/Makefile.in
View file @
4ae6f928
...
...
@@ -11,6 +11,7 @@ C_SRCS = \
qualitycontrol.c
\
seeking.c
\
transform.c
\
video.c
\
window.c
@MAKE_IMPLIB_RULES@
dlls/strmbase/video.c
0 → 100644
View file @
4ae6f928
This diff is collapsed.
Click to expand it.
include/wine/strmbase.h
View file @
4ae6f928
...
...
@@ -495,6 +495,85 @@ HRESULT WINAPI BaseControlWindowImpl_HideCursor(IVideoWindow *iface, LONG HideCu
HRESULT
WINAPI
BaseControlWindowImpl_IsCursorHidden
(
IVideoWindow
*
iface
,
LONG
*
CursorHidden
);
#endif
#ifdef __IBasicVideo_FWD_DEFINED__
#ifdef __amvideo_h__
typedef
struct
tagBaseControlVideo
{
IBasicVideo
IBasicVideo_iface
;
BaseFilter
*
pFilter
;
CRITICAL_SECTION
*
pInterfaceLock
;
BasePin
*
pPin
;
const
struct
BaseControlVideoFuncTable
*
pFuncsTable
;
}
BaseControlVideo
;
typedef
HRESULT
(
WINAPI
*
BaseControlVideo_GetSourceRect
)(
BaseControlVideo
*
This
,
RECT
*
pSourceRect
);
typedef
HRESULT
(
WINAPI
*
BaseControlVideo_GetStaticImage
)(
BaseControlVideo
*
This
,
LONG
*
pBufferSize
,
LONG
*
pDIBImage
);
typedef
HRESULT
(
WINAPI
*
BaseControlVideo_GetTargetRect
)(
BaseControlVideo
*
This
,
RECT
*
pTargetRect
);
typedef
VIDEOINFOHEADER
*
(
WINAPI
*
BaseControlVideo_GetVideoFormat
)(
BaseControlVideo
*
This
);
typedef
HRESULT
(
WINAPI
*
BaseControlVideo_IsDefaultSourceRect
)(
BaseControlVideo
*
This
);
typedef
HRESULT
(
WINAPI
*
BaseControlVideo_IsDefaultTargetRect
)(
BaseControlVideo
*
This
);
typedef
HRESULT
(
WINAPI
*
BaseControlVideo_SetDefaultSourceRect
)(
BaseControlVideo
*
This
);
typedef
HRESULT
(
WINAPI
*
BaseControlVideo_SetDefaultTargetRect
)(
BaseControlVideo
*
This
);
typedef
HRESULT
(
WINAPI
*
BaseControlVideo_SetSourceRect
)(
BaseControlVideo
*
This
,
RECT
*
pSourceRect
);
typedef
HRESULT
(
WINAPI
*
BaseControlVideo_SetTargetRect
)(
BaseControlVideo
*
This
,
RECT
*
pTargetRect
);
typedef
struct
BaseControlVideoFuncTable
{
/* Required */
BaseControlVideo_GetSourceRect
pfnGetSourceRect
;
BaseControlVideo_GetStaticImage
pfnGetStaticImage
;
BaseControlVideo_GetTargetRect
pfnGetTargetRect
;
BaseControlVideo_GetVideoFormat
pfnGetVideoFormat
;
BaseControlVideo_IsDefaultSourceRect
pfnIsDefaultSourceRect
;
BaseControlVideo_IsDefaultTargetRect
pfnIsDefaultTargetRect
;
BaseControlVideo_SetDefaultSourceRect
pfnSetDefaultSourceRect
;
BaseControlVideo_SetDefaultTargetRect
pfnSetDefaultTargetRect
;
BaseControlVideo_SetSourceRect
pfnSetSourceRect
;
BaseControlVideo_SetTargetRect
pfnSetTargetRect
;
}
BaseControlVideoFuncTable
;
HRESULT
WINAPI
BaseControlVideo_Init
(
BaseControlVideo
*
pControlVideo
,
const
IBasicVideoVtbl
*
lpVtbl
,
BaseFilter
*
owner
,
CRITICAL_SECTION
*
lock
,
BasePin
*
pPin
,
const
BaseControlVideoFuncTable
*
pFuncsTable
);
HRESULT
WINAPI
BaseControlVideoImpl_GetTypeInfoCount
(
IBasicVideo
*
iface
,
UINT
*
pctinfo
);
HRESULT
WINAPI
BaseControlVideoImpl_GetTypeInfo
(
IBasicVideo
*
iface
,
UINT
iTInfo
,
LCID
lcid
,
ITypeInfo
**
ppTInfo
);
HRESULT
WINAPI
BaseControlVideoImpl_GetIDsOfNames
(
IBasicVideo
*
iface
,
REFIID
riid
,
LPOLESTR
*
rgszNames
,
UINT
cNames
,
LCID
lcid
,
DISPID
*
rgDispId
);
HRESULT
WINAPI
BaseControlVideoImpl_Invoke
(
IBasicVideo
*
iface
,
DISPID
dispIdMember
,
REFIID
riid
,
LCID
lcid
,
WORD
wFlags
,
DISPPARAMS
*
pDispParams
,
VARIANT
*
pVarResult
,
EXCEPINFO
*
pExepInfo
,
UINT
*
puArgErr
);
HRESULT
WINAPI
BaseControlVideoImpl_get_AvgTimePerFrame
(
IBasicVideo
*
iface
,
REFTIME
*
pAvgTimePerFrame
);
HRESULT
WINAPI
BaseControlVideoImpl_get_BitRate
(
IBasicVideo
*
iface
,
LONG
*
pBitRate
);
HRESULT
WINAPI
BaseControlVideoImpl_get_BitErrorRate
(
IBasicVideo
*
iface
,
LONG
*
pBitErrorRate
);
HRESULT
WINAPI
BaseControlVideoImpl_get_VideoWidth
(
IBasicVideo
*
iface
,
LONG
*
pVideoWidth
);
HRESULT
WINAPI
BaseControlVideoImpl_get_VideoHeight
(
IBasicVideo
*
iface
,
LONG
*
pVideoHeight
);
HRESULT
WINAPI
BaseControlVideoImpl_put_SourceLeft
(
IBasicVideo
*
iface
,
LONG
SourceLeft
);
HRESULT
WINAPI
BaseControlVideoImpl_get_SourceLeft
(
IBasicVideo
*
iface
,
LONG
*
pSourceLeft
);
HRESULT
WINAPI
BaseControlVideoImpl_put_SourceWidth
(
IBasicVideo
*
iface
,
LONG
SourceWidth
);
HRESULT
WINAPI
BaseControlVideoImpl_get_SourceWidth
(
IBasicVideo
*
iface
,
LONG
*
pSourceWidth
);
HRESULT
WINAPI
BaseControlVideoImpl_put_SourceTop
(
IBasicVideo
*
iface
,
LONG
SourceTop
);
HRESULT
WINAPI
BaseControlVideoImpl_get_SourceTop
(
IBasicVideo
*
iface
,
LONG
*
pSourceTop
);
HRESULT
WINAPI
BaseControlVideoImpl_put_SourceHeight
(
IBasicVideo
*
iface
,
LONG
SourceHeight
);
HRESULT
WINAPI
BaseControlVideoImpl_get_SourceHeight
(
IBasicVideo
*
iface
,
LONG
*
pSourceHeight
);
HRESULT
WINAPI
BaseControlVideoImpl_put_DestinationLeft
(
IBasicVideo
*
iface
,
LONG
DestinationLeft
);
HRESULT
WINAPI
BaseControlVideoImpl_get_DestinationLeft
(
IBasicVideo
*
iface
,
LONG
*
pDestinationLeft
);
HRESULT
WINAPI
BaseControlVideoImpl_put_DestinationWidth
(
IBasicVideo
*
iface
,
LONG
DestinationWidth
);
HRESULT
WINAPI
BaseControlVideoImpl_get_DestinationWidth
(
IBasicVideo
*
iface
,
LONG
*
pDestinationWidth
);
HRESULT
WINAPI
BaseControlVideoImpl_put_DestinationTop
(
IBasicVideo
*
iface
,
LONG
DestinationTop
);
HRESULT
WINAPI
BaseControlVideoImpl_get_DestinationTop
(
IBasicVideo
*
iface
,
LONG
*
pDestinationTop
);
HRESULT
WINAPI
BaseControlVideoImpl_put_DestinationHeight
(
IBasicVideo
*
iface
,
LONG
DestinationHeight
);
HRESULT
WINAPI
BaseControlVideoImpl_get_DestinationHeight
(
IBasicVideo
*
iface
,
LONG
*
pDestinationHeight
);
HRESULT
WINAPI
BaseControlVideoImpl_SetSourcePosition
(
IBasicVideo
*
iface
,
LONG
Left
,
LONG
Top
,
LONG
Width
,
LONG
Height
);
HRESULT
WINAPI
BaseControlVideoImpl_GetSourcePosition
(
IBasicVideo
*
iface
,
LONG
*
pLeft
,
LONG
*
pTop
,
LONG
*
pWidth
,
LONG
*
pHeight
);
HRESULT
WINAPI
BaseControlVideoImpl_SetDefaultSourcePosition
(
IBasicVideo
*
iface
);
HRESULT
WINAPI
BaseControlVideoImpl_SetDestinationPosition
(
IBasicVideo
*
iface
,
LONG
Left
,
LONG
Top
,
LONG
Width
,
LONG
Height
);
HRESULT
WINAPI
BaseControlVideoImpl_GetDestinationPosition
(
IBasicVideo
*
iface
,
LONG
*
pLeft
,
LONG
*
pTop
,
LONG
*
pWidth
,
LONG
*
pHeight
);
HRESULT
WINAPI
BaseControlVideoImpl_SetDefaultDestinationPosition
(
IBasicVideo
*
iface
);
HRESULT
WINAPI
BaseControlVideoImpl_GetVideoSize
(
IBasicVideo
*
iface
,
LONG
*
pWidth
,
LONG
*
pHeight
);
HRESULT
WINAPI
BaseControlVideoImpl_GetVideoPaletteEntries
(
IBasicVideo
*
iface
,
LONG
StartIndex
,
LONG
Entries
,
LONG
*
pRetrieved
,
LONG
*
pPalette
);
HRESULT
WINAPI
BaseControlVideoImpl_GetCurrentImage
(
IBasicVideo
*
iface
,
LONG
*
pBufferSize
,
LONG
*
pDIBImage
);
HRESULT
WINAPI
BaseControlVideoImpl_IsUsingDefaultSource
(
IBasicVideo
*
iface
);
HRESULT
WINAPI
BaseControlVideoImpl_IsUsingDefaultDestination
(
IBasicVideo
*
iface
);
#endif
#endif
/* Dll Functions */
BOOL
WINAPI
STRMBASE_DllMain
(
HINSTANCE
hInstDLL
,
DWORD
fdwReason
,
LPVOID
lpv
);
HRESULT
WINAPI
STRMBASE_DllGetClassObject
(
REFCLSID
rclsid
,
REFIID
riid
,
LPVOID
*
ppv
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment