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
3dd09ed8
Commit
3dd09ed8
authored
Feb 03, 2023
by
Shaun Ren
Committed by
Alexandre Julliard
Feb 07, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ir50_32: Implement open and close.
parent
70e93833
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
4 deletions
+20
-4
Makefile.in
dlls/ir50_32/Makefile.in
+2
-1
ir50.c
dlls/ir50_32/ir50.c
+16
-3
ir50_private.h
dlls/ir50_32/ir50_private.h
+2
-0
No files found.
dlls/ir50_32/Makefile.in
View file @
3dd09ed8
MODULE
=
ir50_32.dll
MODULE
=
ir50_32.dll
IMPORTS
=
user32
IMPORTS
=
user32 mfplat mfuuid
DELAYIMPORTS
=
winegstreamer
C_SRCS
=
\
C_SRCS
=
\
ir50.c
ir50.c
...
...
dlls/ir50_32/ir50.c
View file @
3dd09ed8
...
@@ -35,13 +35,23 @@ WINE_DEFAULT_DEBUG_CHANNEL(ir50_32);
...
@@ -35,13 +35,23 @@ WINE_DEFAULT_DEBUG_CHANNEL(ir50_32);
static
HINSTANCE
IR50_32_hModule
;
static
HINSTANCE
IR50_32_hModule
;
#define IV50_MAGIC mmioFOURCC('I','V','5','0')
#define IV50_MAGIC mmioFOURCC('I','V','5','0')
#define compare_fourcc(fcc1, fcc2) (((fcc1)^(fcc2))&~0x20202020)
static
LRESULT
static
LRESULT
IV50_Open
(
const
ICINFO
*
icinfo
)
IV50_Open
(
const
ICINFO
*
icinfo
)
{
{
FIXME
(
"DRV_OPEN %p
\n
"
,
icinfo
);
IMFTransform
*
decoder
=
NULL
;
return
0
;
TRACE
(
"DRV_OPEN %p
\n
"
,
icinfo
);
if
(
icinfo
&&
compare_fourcc
(
icinfo
->
fccType
,
ICTYPE_VIDEO
)
)
return
0
;
if
(
FAILED
(
winegstreamer_create_video_decoder
(
&
decoder
))
)
return
0
;
return
(
LRESULT
)
decoder
;
}
}
static
LRESULT
static
LRESULT
...
@@ -177,7 +187,10 @@ LRESULT WINAPI IV50_DriverProc( DWORD_PTR dwDriverId, HDRVR hdrvr, UINT msg,
...
@@ -177,7 +187,10 @@ LRESULT WINAPI IV50_DriverProc( DWORD_PTR dwDriverId, HDRVR hdrvr, UINT msg,
break
;
break
;
case
DRV_CLOSE
:
case
DRV_CLOSE
:
FIXME
(
"DRV_CLOSE
\n
"
);
TRACE
(
"DRV_CLOSE
\n
"
);
if
(
decoder
)
IMFTransform_Release
(
decoder
);
r
=
1
;
break
;
break
;
case
DRV_ENABLE
:
case
DRV_ENABLE
:
...
...
dlls/ir50_32/ir50_private.h
View file @
3dd09ed8
...
@@ -31,4 +31,6 @@
...
@@ -31,4 +31,6 @@
#define IDS_NAME 100
#define IDS_NAME 100
#define IDS_DESCRIPTION 101
#define IDS_DESCRIPTION 101
HRESULT
WINAPI
winegstreamer_create_video_decoder
(
IMFTransform
**
out
);
#endif
/* __IR50_PRIVATE_H */
#endif
/* __IR50_PRIVATE_H */
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