Skip to content

decode: added ability to reuse device for multiple files#120

Open
t-boiko wants to merge 1 commit into
nvpro-samples:mainfrom
t-boiko:decoder-multisession-mode
Open

decode: added ability to reuse device for multiple files#120
t-boiko wants to merge 1 commit into
nvpro-samples:mainfrom
t-boiko:decoder-multisession-mode

Conversation

@t-boiko

@t-boiko t-boiko commented Dec 3, 2024

Copy link
Copy Markdown
Contributor
  • added an ability to process several files in order by the same process in a linear order;
  • added an ability to launch multiple decode processes and to handle them using a unix domain sockets.

@t-boiko
t-boiko force-pushed the decoder-multisession-mode branch 2 times, most recently from 1f0629c to 37888c5 Compare December 3, 2024 11:10

@zlatinski zlatinski left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I need to spend more time reviewing the change. These are just a few comments on code clean-up and code style.

if (result != VK_SUCCESS) {
return -1;
}
// result = VulkanVideoProcessor::Create(&vkDevCtxt, vulkanVideoProcessor); // moved closer to a decodeLoop

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please remove all this commented-out code?

Comment thread common/libs/VkCodecUtils/poll_usoc.cpp Outdated
// }
// }

// //Call WSAPoll for writeability of accepted

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here too - remove this block of commented code, please.

Comment thread common/libs/VkCodecUtils/poll_usoc.cpp Outdated
data_sent = 1;
}
if (ret)
{

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use a code formatter to fix all these inconsistencies of code style.

@t-boiko
t-boiko force-pushed the decoder-multisession-mode branch 4 times, most recently from a5da5b6 to 5189559 Compare December 4, 2024 17:51
@t-boiko
t-boiko force-pushed the decoder-multisession-mode branch 5 times, most recently from 8e0bd08 to f7024a2 Compare January 20, 2025 16:45
@t-boiko
t-boiko force-pushed the decoder-multisession-mode branch 2 times, most recently from 98955d7 to cfb7b10 Compare May 31, 2025 15:02
Signed-off-by: Tymur Boiko <tboiko@nvidia.com>
@t-boiko
t-boiko force-pushed the decoder-multisession-mode branch from cfb7b10 to 78b3355 Compare June 16, 2025 19:06
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