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

Add additional_decode_surfaces parameter to videoreader #1393

Merged
merged 1 commit into from
Oct 25, 2019

Conversation

a-sansanwal
Copy link
Contributor

@a-sansanwal a-sansanwal commented Oct 17, 2019

Why we need this PR?

Pick one

What happened in this PR?

  • Explain solution of the problem, new feature added.
    By default we use min_num_decode_surfaces + 2. If however using older API/driver the nvdec api does not return min_num_decode_surfaces, we use 20 surfaces as before.
    The parameter can be used to control memory usage.
  • What was changed, added, removed?
  • What is most important part that reviewers should focus on?
  • Was this PR tested? How?
    Tested with videoreader benchmark Add benchmark for VideoReader and L1 tests for the same #1173. Before and after results were within tolerance of each other.
  • Were docs and examples updated, if necessary?

JIRA TASK: [DALI-XXXX]

Signed-off-by: Abhishek Sansanwal <asansanwal@nvidia.com>
@a-sansanwal a-sansanwal changed the title [WIP] Add additional_decode_surfaces parameter to videoreader Add additional_decode_surfaces parameter to videoreader Oct 24, 2019
@JanuszL
Copy link
Contributor

JanuszL commented Oct 24, 2019

!build

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [959571]: BUILD STARTED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [959571]: BUILD PASSED

@JanuszL JanuszL merged commit 36eced4 into NVIDIA:master Oct 25, 2019
@a-sansanwal a-sansanwal deleted the additional_decode_surfaces branch October 25, 2019 19:44
rbetz pushed a commit to rbetz/DALI that referenced this pull request Oct 28, 2019
Signed-off-by: Abhishek Sansanwal <asansanwal@nvidia.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.

4 participants