Skip to content

Conversation

@rashmis-21
Copy link

@rashmis-21 rashmis-21 commented Nov 20, 2025

Jetpack 6.2 Support

  • Description:
    This pull request adds support for Jetpack 6.2 by integrating and updating several multimedia processing modules to ensure compatibility with the latest NVIDIA multimedia stack and hardware acceleration APIs.

  • Modules Updated:

    • V4L2CUYUV420Converter — Handles YUV420 color format conversion using V4L2 CUDA interfaces.

    • H264EncoderV4L2 — Hardware accelerated H.264 encoding .

    • DMAFDWrapper — Unified DMA buffer handling and inter-process FD sharing.

    • NvArgusCamera — Camera capture pipeline integration using NVIDIA Argus APIs.

    • NvV4L2Camera — V4L2-based camera interface for direct sensor access.

    • EglRenderer / NvEglRendererNvTransform — EGL-based rendering and transformation pipelines for zero-copy rendering.

    • H264DecoderV4L2Helper — Hardware-assisted H.264 decoding support.

    • MemTypeConversionModule — Unified memory format conversion between CUDA, EGL, and V4L2 buffers.

    • JPEG Encoder / Decoder — Hardware accelerated JPEG encoding and decoding for image capture and streaming use cases.

    • DMAUtils.cpp —helpers to safely map FD/NVMM buffers to CUDA/EGL for zero-copy workflows.

  • Isues Fixed in This PR

RashmiShinde21 and others added 17 commits October 14, 2025 09:57
…gs, arguscamera->DMAtoHostCopy->VirtualCamera works with no errors
…sevnts indefinite blocking in case no camera events occur
- Added capture test to validate NvV4L2Camera → DMAFDToHostCopy → VirtualCameraSink pipeline
- Added vcam_crop test with NvTransform cropping
-jpeg encoding of nv12 , yuv420 images,
-encoding of frames through argus camera
-added testcase for encoding of an jpg image to yuv using fd
- Verified and tested working modules:
  - H264Encoder
  - H264Decoder
  - NvTransform (with added features)
  - EGLRenderer (with added features)
  - MemTypeConversion
  - V4L2CUYUV420Converter
  - AV4L2Buffer
  - AV4L2ElementPlane
- Ensured compatibility across upgraded JetPack environment and validated all unit tests
- added test for encoding of yuv format
-made changes to validate planar metadata in validateInputPins of encoder
-added tests for validating exception handling
  correctly on the second update (Apra-Labs#400).
- Added unit test to validate proper metadata size updates for subsequent writes.
- Added a new test to verify H264EncoderV4L2 encoding using frames captured from NvV4L2Camera.
- Ensures YUV420 conversion + encoding pipeline works correctly with real camera input.
chidanandm-wq and others added 5 commits November 24, 2025 17:03
…d DMA-BUF validation

- Added detailed EGL initialization with rendering params (font, image, offsets, colors)
- Validated DMAFDWrapper and FD before rendering
- Added support for DRM fourcc formats (NV12, YUV420, RGBA, BGRA, UYVY, YUYV)
…nfig, and fix buffer offset/data size tests

- Added conditional linking of JPEG libraries in CMake based on users need.
- Enabled OpenCV HighGUI feature in vcpkg.json to resolve image I/O/UI dependencies.
- Updated imagemetadata test to dynamically validate per-channel offsets and total data size instead of hardcoded offsets.
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.

3 participants