Skip to content

[feat] Add PyNvBatchAsyncStreamReader for 2D batched async stream dec…#20

Open
xupinjie wants to merge 1 commit into
NVIDIA:mainfrom
xupinjie:pinjie/async_stream_decode_2d
Open

[feat] Add PyNvBatchAsyncStreamReader for 2D batched async stream dec…#20
xupinjie wants to merge 1 commit into
NVIDIA:mainfrom
xupinjie:pinjie/async_stream_decode_2d

Conversation

@xupinjie
Copy link
Copy Markdown
Collaborator

@xupinjie xupinjie commented May 15, 2026

Description

Introduces a new async-only video decoder under accvlab.on_demand_video_decoder that decodes V videos × F frames per video in a single in-flight async submission, returning List[List[RGBFrame]] indexed [v][f]. Targeted at StreamPETR-like workloads consuming multi-sweep batches per training step.

Type of Change

Please select (at least one):

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation / examples / tutorials / demos
  • Supporting functionality change (fix or feature in documentation generation, helper scripts, ...)
  • Refactoring / internal change
  • Other (please describe):

Testing

Checklist for testing:

  • Tests added or updated if/as needed
  • Repository test runner executed: scripts/run_tests.sh

Optionally, add a brief description.

Documentation, Examples, Tutorials, Demos

Checklist for documentation:

  • User-facing documentation updated if/as needed (including API docs)
  • Examples / tutorials / demos updated or added (if relevant)
  • Limitations and constraints documented (if relevant)
  • Performance documented (if relevant)
  • Documentation building successful & checks outlined in the Documentation Checks section of the Contribution Guide are performed

Optionally, add a brief description.

Code Quality

Checklist for dependencies:

  • Dependencies updated in the relevant pyproject.toml if/as needed
  • Code formatted according to the Code Formatting Guide

Optionally, add a brief description.

Related Issues / Context

If applicable, link related issues, discussions etc.


DCO / Sign-Off

Please refer to the section on Signing Your Work & Developer Certificate of Origin (DCO)
in the Contribution Guide before submitting your contribution.

References

For additional details, please refer to the Contribution Guide.
The following guides are available (referenced in the Contribution Guide for further details):

Please also refer to the summary checklist in the Contribution Guide,
which is a guideline for what to consider when submitting your contribution and covers the same topics as the checklists above.

@xupinjie xupinjie requested a review from RmSchaffert May 15, 2026 09:42
@xupinjie xupinjie self-assigned this May 15, 2026
@xupinjie xupinjie marked this pull request as ready for review May 16, 2026 16:27
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.

1 participant