Skip to content

Put encoder and decoder into a single NIF. #3

Merged
varsill merged 5 commits into
add_encoderfrom
single_nif
Dec 23, 2025
Merged

Put encoder and decoder into a single NIF. #3
varsill merged 5 commits into
add_encoderfrom
single_nif

Conversation

@varsill
Copy link
Copy Markdown
Collaborator

@varsill varsill commented Dec 17, 2025

This PR:

  • puts encoder and decoder in a single NIF

@varsill varsill changed the base branch from master to add_encoder December 17, 2025 10:29
@varsill varsill mentioned this pull request Dec 17, 2025
@varsill varsill changed the title Put encoder and decoder into single NIF. Add Device Server. Put encoder and decoder into a single NIF. Add Device Server. Dec 17, 2025
@varsill varsill marked this pull request as ready for review December 22, 2025 11:54
@varsill varsill requested a review from mat-hek December 22, 2025 13:19
@varsill varsill changed the title Put encoder and decoder into a single NIF. Add Device Server. Put encoder and decoder into a single NIF. Dec 22, 2025
@varsill varsill requested review from jerzywilczek and mat-hek and removed request for jerzywilczek and mat-hek December 22, 2025 14:37
@varsill varsill mentioned this pull request Dec 22, 2025
* Add create_device

* Fix the resource

* Add device server

* Add Device server and destroy function

* Fix credo

* Format the code

* Implement reviewers suggestions

---------

Co-authored-by: root <root@gpu2+sandbox>
Co-authored-by: Jerzy Wilczek <jerzy.wilczek@swmansion.com>
@varsill varsill merged commit 1d52de5 into add_encoder Dec 23, 2025
0 of 3 checks passed
varsill added a commit that referenced this pull request Jan 9, 2026
* Return error message from all vk-video errors. Update typespecs. Add handling of tune in the encoder

* Add RateControl option

* Add test checking different configuration of the encoder. Raise errors instead of returning the error tuple

* Use DirtyIo scheduler for all NIF functions. Adjust tests to new filename

* Add :requires_gpu tag to encoder tests

* Add encoder element

* Update typespecs. Add tests for encoder. Add support for RateControl

* Add more tests for encoder

* Add docs for rate control structs

* Put encoder and decoder into a single NIF.  (#3)

* Make Resource an Enum

* Add device server (#4)

* Add create_device

* Add Device server and destroy function

* Fallback to 30 and warn if the framerate is needed but not provided via stream format nor options

---------
Co-authored-by: Jerzy Wilczek <jerzy.wilczek@swmansion.com>
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