Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add bindings for MediaFoundation#2466

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
Ethereal77 wants to merge4 commits intodotnet:main
base:main
Choose a base branch
Loading
fromEthereal77:MediaFoundation

Conversation

Ethereal77
Copy link

Summary of the PR

Adds support forMediaFoundation from the Windows SDK, which according to MSDN:

...enables the development of applications and components for using digital media on Windows Vista and later.

Related issues, Discord discussions, or proposals

As discussed in Discord, this is part of the ongoing effort to port theStride Game Engine away from SharpDX and towards Silk.NET.

@Ethereal77
Copy link
Author

There's still work to do. I've succesfully created a dev environment where I can build Silk.NET very similar to what the GitHub Actions workflow does.

The bindings still have missing parts:

  • It can't found the namespaceMaths for some of the files. I suspect in those that needBox2D<int>, that appears to be one of the types it can't resolve.
  • It can't resolve several types that are not defined in the original header:
    IMFAsyncCallbackIMFAsyncResultIMFAttributesIMFByteStreamIMFContentProtectionManagerIMFMediaSourceIPropertyStoreMFMediaKeyStatusMF_MEDIAKEYSESSION_MESSAGETYPEMF_MEDIAKEYSESSION_TYPEMF_OBJECT_TYPEIMFByteStreamIMFMediaSource_MF3DVideoOutputType_MFARGBtagPROPVARIANT

I remember having read that another PR that added WIC (#1674) mentioned something abouttagPROPVARIANT andIPropertyStore. I need to investigate this.

Wrt to the other types, I need to verify if I can import only some of them without bringing all the types defined in their respective headers. And_MFARGB sounds like some kind of color. Maybe it can be type-mapped?

Any suggestions?

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
Status: Todo
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@Ethereal77

[8]ページ先頭

©2009-2025 Movatter.jp