Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/python3
from pathlib import Path
from threading import Timer
cpu_temp_file = "/sys/class/thermal/thermal_zone0/temp"
duty_cycle_file = "/sys/class/pwm/pwmchip0/pwm0/duty_cycle"
temp_wall = 65000
lowest_fan_speed = 3000
def read_cpu_temp():
172.66.47.69 cdn.haguro.top
/dts-v1/;
/plugin/;
/ {
fragment@0 {
target = <&cluster1_opp_table>;
__overlay__ {
opp-408000000 {
opp-microvolt = <675000 675000 1050000>,
<675000 675000 1050000>;
};
/dts-v1/;
/plugin/;
/ {
fragment@0 {
target-path = "/";
__overlay__ {
dp0_sound: dp0-sound {
compatible = "rockchip,hdmi";
rockchip,card-name= "rockchip-dp0";
rockchip,mclk-fs = <512>;
@amazingfate
amazingfate / H264.md
Last active January 18, 2024 07:53
RK3588 hantro g1 fluster test result
Test FFmpeg-H.264-V4L2-request GStreamer-H.264-V4L2SL-Gst1.0
TOTAL 127/135 129/135
TOTAL TIME 10.633s 13.614s
- - -
AUD_MW_E ✔️ ✔️
BA1_FT_C ✔️ ✔️
BA1_Sony_D ✔️ ✔️
BA2_Sony_F ✔️ ✔️
BA3_SVA_C ✔️ ✔️
From 1e51ff38f62b1cf41fda6c3067914096ee58933e Mon Sep 17 00:00:00 2001
From: Jianfeng Liu <[email protected]>
Date: Sun, 31 Mar 2024 10:37:12 +0800
Subject: [PATCH 1/3] enable v4l2 av1 decoder for linux
---
media/gpu/v4l2/BUILD.gn | 4 ++--
media/gpu/v4l2/v4l2_utils.cc | 8 ++++----
media/gpu/v4l2/v4l2_video_decoder_backend_stateless.cc | 2 +-
3 files changed, 7 insertions(+), 7 deletions(-)