Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bufferSrcCtx.Initialize with dictionary #124

Merged
merged 34 commits into from
Dec 23, 2024
Merged

Conversation

oldma3095
Copy link
Contributor

@oldma3095 oldma3095 commented Dec 23, 2024

BuffersrcFilterContext.Initialize(d *Dictionary)
FilterGraph.NbFilters()
FilterGraph.Filters()
FilterContext.SetHardwareDeviceContext(hdc *HardwareDeviceContext)

@oldma3095
Copy link
Contributor Author

image
fix hardware filter with hwupload hwdownload.
like this filterGraph.Parse("movie=filename=logo.png,format=nv12,hwupload[movie0];[in][movie0]overlay_cuda=x=(W-w)/2+100:y=(H-h)/2+100[overlay0];[overlay0]scale_cuda=w=1080:h=720[out]", inputs, outputs)

@asticode
Copy link
Owner

Can you make a different PR for

FilterGraph.NbFilters()
FilterGraph.Filters()
FilterContext.SetHardwareDeviceContext(hdc *HardwareDeviceContext)

?

@oldma3095
Copy link
Contributor Author

Can you make a different PR for

FilterGraph.NbFilters()
FilterGraph.Filters()
FilterContext.SetHardwareDeviceContext(hdc *HardwareDeviceContext)

?

ok

@asticode asticode merged commit b099236 into asticode:master Dec 23, 2024
3 checks passed
@asticode
Copy link
Owner

Thanks for the PR! ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants