This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# X.Org X server configuration file for xf86-video-armsoc-odroid | |
Section "Device" | |
Identifier "Mali-Fbdev" | |
Driver "armsoc" | |
Option "fbdev" "/dev/fb0" | |
Option "Debug" "false" | |
Option "DPMS" "false" | |
Option "NoFlip" "true" | |
Option "NoHardwareMouse" "true" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Sources list | |
cd /etc/apt/sources.list.d | |
# XU4 | |
wget https://oph.mdrjr.net/meveric/sources.lists/meveric-all-XU3.list | |
wget https://oph.mdrjr.net/meveric/sources.lists/meveric-all-main.list | |
wget https://oph.mdrjr.net/meveric/sources.lists/meveric-all-testing.list | |
wget https://oph.mdrjr.net/meveric/sources.lists/meveric-buster-main.list | |
wget https://oph.mdrjr.net/meveric/sources.lists/meveric-buster-backports.list | |
wget -O- http://oph.mdrjr.net/meveric/meveric.asc | apt-key add - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Runs gstreamer in $RTSP_CAMERA_ADDRESS in a $STREAM_NAME stream using $AWS_ACCESS_KEY and $AWS_SECRET_KEY on region $AWS_REGION | |
gst-launch-1.0 rtspsrc location=$RTSP_CAMERA_ADDRESS short-header=TRUE ! rtph264depay \ | |
! video/x-h264, format=avc,alignment=au ! kvssink stream-name= $STREAM_NAME storage-size=512 \ | |
access-key=$AWS_ACCESS_KEY secret-key=$AWS_SECRET_KEY aws-region=$AWS_REGION |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get upgrade && \ | |
apt-get update && \ | |
apt-get install -y \ | |
byacc \ | |
cmake \ | |
libtool \ | |
libtool-bin \ | |
automake \ | |
bison \ | |
flex \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
typedef int Fixed; | |
#define FRACT_BITS 16 | |
#define FRACT_BITS_D2 8 | |
#define FIXED_ONE (1 << FRACT_BITS) | |
#define INT2FIXED(x) ((x) << FRACT_BITS) | |
#define FLOAT2FIXED(x) ((int)((x) * (1 << FRACT_BITS))) | |
#define FIXED2INT(x) ((x) >> FRACT_BITS) | |
#define FIXED2DOUBLE(x) (((double)(x)) / (1 << FRACT_BITS)) |