Whatevs
This commit is contained in:
parent
4bb046cffc
commit
937733d50e
@ -17,9 +17,9 @@ uint32_t hash32(uint32_t d) {
|
||||
}
|
||||
|
||||
// must be the next prime after NUM_TOTAL_LEDS
|
||||
#define IDLE_PRIME 967
|
||||
#define IDLE_PRIME 1931
|
||||
// must be a primitive element of the prime residue field |N/IDLE_PRIM
|
||||
#define IDLE_PRIM_ELEM 159
|
||||
#define IDLE_PRIM_ELEM 283
|
||||
|
||||
int IDLE_rand(int *seed){
|
||||
return *seed = (*seed * IDLE_PRIM_ELEM ) % IDLE_PRIME;
|
||||
|
@ -1,2 +1,2 @@
|
||||
#!/bin/sh
|
||||
youtube-dl --no-progress --output - ${3} | ffmpeg -f alsa default -re -i - -pix_fmt rgb24 -vf "transpose=1,scale=${1}x${2}" -sws_flags bicubic -sws_dither bayer -vcodec rawvideo -f image2pipe -
|
||||
youtube-dl --no-progress --output - ${3} | ffmpeg -f alsa default -re -i - -pix_fmt rgb24 -vf "scale=${1}x${2}" -sws_flags bicubic -sws_dither bayer -vcodec rawvideo -f image2pipe -
|
Loading…
Reference in New Issue
Block a user