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
bd610fd7
Commit
bd610fd7
authored
Nov 09, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qcap: Implement Wow64 entry points in the Unix library.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
78cdb254
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
14 deletions
+16
-14
qcap_private.h
dlls/qcap/qcap_private.h
+13
-13
v4l.c
dlls/qcap/v4l.c
+0
-0
vfwcapture.c
dlls/qcap/vfwcapture.c
+3
-1
No files found.
dlls/qcap/qcap_private.h
View file @
bd610fd7
...
...
@@ -40,41 +40,41 @@ HRESULT file_writer_create(IUnknown *outer, IUnknown **out) DECLSPEC_HIDDEN;
HRESULT
smart_tee_create
(
IUnknown
*
outer
,
IUnknown
**
out
)
DECLSPEC_HIDDEN
;
HRESULT
vfw_capture_create
(
IUnknown
*
outer
,
IUnknown
**
out
)
DECLSPEC_HIDDEN
;
struct
video_capture_device
;
typedef
UINT64
video_capture_device_t
;
struct
create_params
{
unsigned
int
index
;
struct
video_capture_device
*
*
device
;
video_capture_device_t
*
device
;
};
struct
destroy_params
{
struct
video_capture_device
*
device
;
video_capture_device_t
device
;
};
struct
check_format_params
{
struct
video_capture_device
*
device
;
video_capture_device_t
device
;
const
AM_MEDIA_TYPE
*
mt
;
};
struct
set_format_params
{
struct
video_capture_device
*
device
;
video_capture_device_t
device
;
const
AM_MEDIA_TYPE
*
mt
;
};
struct
get_format_params
{
struct
video_capture_device
*
device
;
video_capture_device_t
device
;
AM_MEDIA_TYPE
*
mt
;
VIDEOINFOHEADER
*
format
;
};
struct
get_media_type_params
{
struct
video_capture_device
*
device
;
video_capture_device_t
device
;
unsigned
int
index
;
AM_MEDIA_TYPE
*
mt
;
VIDEOINFOHEADER
*
format
;
...
...
@@ -82,7 +82,7 @@ struct get_media_type_params
struct
get_caps_params
{
struct
video_capture_device
*
device
;
video_capture_device_t
device
;
unsigned
int
index
;
AM_MEDIA_TYPE
*
mt
;
VIDEOINFOHEADER
*
format
;
...
...
@@ -91,13 +91,13 @@ struct get_caps_params
struct
get_caps_count_params
{
struct
video_capture_device
*
device
;
video_capture_device_t
device
;
int
*
count
;
};
struct
get_prop_range_params
{
struct
video_capture_device
*
device
;
video_capture_device_t
device
;
VideoProcAmpProperty
property
;
LONG
*
min
;
LONG
*
max
;
...
...
@@ -108,7 +108,7 @@ struct get_prop_range_params
struct
get_prop_params
{
struct
video_capture_device
*
device
;
video_capture_device_t
device
;
VideoProcAmpProperty
property
;
LONG
*
value
;
LONG
*
flags
;
...
...
@@ -116,7 +116,7 @@ struct get_prop_params
struct
set_prop_params
{
struct
video_capture_device
*
device
;
video_capture_device_t
device
;
VideoProcAmpProperty
property
;
LONG
value
;
LONG
flags
;
...
...
@@ -124,7 +124,7 @@ struct set_prop_params
struct
read_frame_params
{
struct
video_capture_device
*
device
;
video_capture_device_t
device
;
void
*
data
;
};
...
...
dlls/qcap/v4l.c
View file @
bd610fd7
This diff is collapsed.
Click to expand it.
dlls/qcap/vfwcapture.c
View file @
bd610fd7
...
...
@@ -40,7 +40,7 @@ struct vfw_capture
struct
strmbase_source
source
;
IKsPropertySet
IKsPropertySet_iface
;
struct
video_capture_device
*
device
;
video_capture_device_t
device
;
/* FIXME: It would be nice to avoid duplicating this variable with strmbase.
* However, synchronization is tricky; we need access to be protected by a
...
...
@@ -666,6 +666,8 @@ static HRESULT source_query_accept(struct strmbase_pin *pin, const AM_MEDIA_TYPE
{
struct
vfw_capture
*
filter
=
impl_from_strmbase_pin
(
pin
);
struct
check_format_params
params
=
{
filter
->
device
,
mt
};
if
(
!
mt
)
return
E_POINTER
;
return
V4L_CALL
(
check_format
,
&
params
);
}
...
...
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