Files
libv4l2_nvargus/libv4l2_nvargus
svcmobrel-release d1e58f9cd6 Updating prebuilts and/or headers
8e62a0e398b15aa8ea7ad8b63a8e55a2d34c22d4 - libv4l2_nvargus/libv4l2_nvargus.cpp
08591e4e7c932d134ab3b5de5608f79817f25b10 - libv4l2_nvargus/Makefile
e5896289dc5cf1a1be97cd111bef4715314a657d - libv4l2_nvargus/README
c074d3137499a5c6cc4441dc5ae519bc97bf6b0e - libv4l2_nvargus/nvargusv4l2_argus.cpp
592bab81439af0cb17984e0b0e1d1b4b1a498ea2 - libv4l2_nvargus/nvargusv4l2_nvqueue.cpp
62ff489fd24d7e62098d8bd0b681f017a3f1ed89 - libv4l2_nvargus/nvargusv4l2_os.cpp
1a6b614bf258c08fff0dd94d908650494ac7c3f5 - libv4l2_nvargus/LICENSE.libv4l2_nvargus
2a8f761ddbd0acd63d41333cfd33c0130a68f986 - libv4l2_nvargus/nvargusv4l2.cpp
d093942b319f8c8bbd51a2a8ed28ad2633554540 - libv4l2_nvargus/nvargusv4l2_context.cpp
138a72695eb516d82dba17bf87260fe5a692ec74 - libv4l2_nvargus/nvargusv4l2_ioctl.cpp
1522ea0088250fb7ce0c9f77c75dbca5d0f511f4 - libv4l2_nvargus/inc/nvargusv4l2.h
25353aa29a931dfc9f52054852b50d690716a64c - libv4l2_nvargus/inc/nvargusv4l2_nvqueue.h
e0025b2f87abda4cd744e356e26cef85246a1fdc - libv4l2_nvargus/inc/nvargusv4l2_os.h
d1c5f6e8cd188bbd39c99c32d4e4e68ee85e0f8b - libv4l2_nvargus/inc/nvargusv4l2_argus.h
ebcc91d051727ba390d71db0887f788ffcfd8091 - libv4l2_nvargus/inc/nvargusv4l2_ioctl.h
e5746299bc1597bb8442e5e7297628d51484cb3e - libv4l2_nvargus/inc/nvargusv4l2_context.h

Change-Id: Id85a9eeaeaa0ef03b04b83e91ff74540fdade6f6
2025-09-19 10:09:51 -07:00
..
2025-09-19 10:09:51 -07:00
2025-09-19 10:09:51 -07:00
2025-09-19 10:09:51 -07:00

*****************************************************************************
 * Copyright (c) 2023, NVIDIA CORPORATION.  All rights reserved.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a
 * copy of this software and associated documentation files (the "Software"),
 * to deal in the Software without restriction, including without limitation
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
 * and/or sell copies of the Software, and to permit persons to whom the
 * Software is furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 * DEALINGS IN THE SOFTWARE.
 *
*****************************************************************************

LIBV4L2_NVARGUS API is a V4L2 API interface written over Libargus Camera to support
capture and record v4l2 camera application development.

API_NOTE:
    1. For V4L2 DMABUF Memory buffers, additional VIDIOC_QUERYBUF ioctl is also required
       to have proper mapping between application allocated buffers to Libargus buffers.

LIBV4L2_NVARGUS API includes:
    1. Source files of the written V4L2 interface, where respective v4l2_ioctl calls
       are mapped to LibArgus calls.
    2. README

Pre-requisites:
    1. Install "jetson_multimedia_api" package from latest Jetpack release.
    2. Install below packages:
        $ sudo apt-get install autoconf automake libtool curl make g++ unzip \
        pkg-config libx11-dev libgtk-3-dev libjpeg-dev libgstreamer1.0-dev

Steps for copying sources on target:
    1. Copy the tar file libv4l2_nvargus_src.tbz2 to the booted Jetson device.
    2. Run the following command on the Jetson device to install sources:
        $ sudo tar -xpf libv4l2_nvargus_src.tbz2 -C .

Steps to build sources:
    $ cd libv4l2_nvargus_src
    $ make [-jN] # Optional flag -jN for parallel build where N is the job count
    $ sudo make install
    NOTE: above command will install libv4l2_nvargus.so at "/usr/lib/aarch64-linux-gnu/tegra/"
    To install at different location run "$ sudo INSTALL_DIR=<your_path> make install"