Skip to content

Instantly share code, notes, and snippets.

@roju
roju / types.md
Created October 25, 2025 23:15
Conventional Commit Type Descriptions

Commit Types

Commonly used commit types from Conventional Commit Types

Type Description
feat A new feature
fix A bug fix
docs Documentation only changes
style Changes that do not affect the meaning of the code (white-space, formatting etc)
#!/bin/bash
GO_VERSION=1.23.3
CPU_ARCH=arm64
OS=linux
ARCHIVE_FILE="go$GO_VERSION.$OS-$CPU_ARCH.tar.gz"
if [ $(id -u) -eq 0 ]
then echo This script must be run as non-root user
exit
git clone --depth 1 --branch rk356x/firefly-5.10 https://gitlab.com/firefly-linux/external/camera_engine_rkaiq.git
cd camera_engine_rkaiq
wget https://gist.githubusercontent.com/roju/49cc5f671d33cc700968cda902eab0b2/raw/ac13c640d03a6b12f4d786bc30b4cfc18fd32fdd/camera_engine_rkaiq_rk356x_native_build.patch
git apply camera_engine_rkaiq_rk356x_native_build.patch
mkdir build
cd build
cmake ..
sudo make
@roju
roju / camera_engine_rkaiq_rk356x_native_build.patch
Last active November 2, 2024 00:22
build camera_engine_rkaiq natively on rk356x
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b3cbbf9..050ebe0 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3,6 +3,11 @@ cmake_minimum_required(VERSION 2.8...3.22)
project(camera_engine)
set(RK_AIQ_IS_SUBDIR TRUE)
+set(RKAIQ_TARGET_SOC "rk356x")
+set(ISP_HW_VERSION "-DISP_HW_V21")
@roju
roju / gist:18d346f1f21b4f42f164a2d2ed3f2255
Created October 14, 2024 05:12
gst-inspect-1.0 mpph264enc
Factory Details:
Rank primary + 1 (257)
Long-name Rockchip Mpp H264 Encoder
Klass Codec/Encoder/Video
Description Encode video streams via Rockchip Mpp
Author Randy Li <randy.li@rock-chips.com>, Jeffy Chen <jeffy.chen@rock-chips.com>
Plugin Details:
Name rockchipmpp
Description Rockchip Mpp Video Plugin