Skip to content

Commit

Permalink
Initial commit of source
Browse files Browse the repository at this point in the history
  • Loading branch information
fnoop committed Nov 11, 2017
1 parent 7ba48a4 commit c39e6d5
Show file tree
Hide file tree
Showing 19 changed files with 1,288 additions and 675 deletions.
54 changes: 2 additions & 52 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,52 +1,2 @@
# Prerequisites
*.d

# Object files
*.o
*.ko
*.obj
*.elf

# Linker output
*.ilk
*.map
*.exp

# Precompiled Headers
*.gch
*.pch

# Libraries
*.lib
*.a
*.la
*.lo

# Shared objects (inc. Windows DLLs)
*.dll
*.so
*.so.*
*.dylib

# Executables
*.exe
*.out
*.app
*.i*86
*.x86_64
*.hex

# Debug files
*.dSYM/
*.su
*.idb
*.pdb

# Kernel Module Compile Results
*.mod*
*.cmd
.tmp_versions/
modules.order
Module.symvers
Mkfile.old
dkms.conf
src/flirone.o
flirone
911 changes: 288 additions & 623 deletions LICENSE

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
CC = gcc -I/usr/include/libusb-1.0
GXX = g++
CXXFLAGS = -pipe -O2 -Wall -W -D_REENTRANT -lusb-1.0 -lm
INCPATH = -I. -I/usr/include/libusb-1.0

all: flirone.o flirone

flirone.o: src/flirone.c src/plank.h

flirone: src/flirone.o
${CC} -o flirone src/flirone.o -lusb-1.0 -lm -Wall

clean:
rm -f flirone.o flirone

6 changes: 6 additions & 0 deletions palettes/15.raw
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
 
  $'+/3 7";$>&A(E+I-M/Q1T3X6\8`:d<h>k@oBsDwB{@�?�=�:�8�6�4�2�0�.�,�)�'�%�#�!���������� �
������
�����!�%�*�.�3�7�<�@�D�I�M�R�V�[�_�d�h}mwqqvlzf`�[�U�O�J�D�?�:�4�.�)�#���� ��
���$�-�6�?�F�O�X�a�j�r�{�����������������������������������������������������������������������������������������������������������������������������������������������������}�{�y�w�u�s�p�n�l�j�h�f�c�a�_�]�[�Y�V�T�R�P�N�L�I�G�E�C�A�@�>�;�9�7�5�3�1�.�,�*�(�&�$�!���������� �
����
2 changes: 2 additions & 0 deletions palettes/17.raw
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
HKNRUX\_bflsz��������������� ����#�)�.�4�9�?�H�M�R�W�`�e�j�o�x�}������x�t�o�k�`�\�W�S�H�D�@�<�1�-�(�$���� ���������
� ���������� �#�%�'�)�,�-�/�0�3�5�7�9�<�=�?�@�C�D�F�G�J�L�N�P�S�U�W�Y�\�^�`�b�e�f�h�i�l�m�o�q�t�v�x�z�}�΁΃ˆˇˉˊˍˏʑʓǖǘƚƜßàáãåç©«����������������������������������������������������������������������������������������������������������������������������������!��'��.��4��@��F��M��S��`��f��m��s������������������������������������������������������������
Expand Down
4 changes: 4 additions & 0 deletions palettes/7.raw
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������~~~}}}|||{{{zzzyyyxxxwwwvvvuuutttsssrrrqqqpppooonnnmmmlllkkkjjjiiihhhgggfffeeedddcccbbbaaa```___^^^]]]\\\[[[ZZZYYYXXXWWWVVVUUUTTTSSSRRRQQQPPPOOONNNMMMLLLKKKJJJIIIHHHGGGFFFEEEDDDCCCBBBAAA@@@@@@???>>>===<<<;;;:::999888777666555444333222111000///...---,,,+++***)))((('''&&&%%%$$$###"""!!! 



Expand Down
Binary file added palettes/85.raw
Binary file not shown.
6 changes: 6 additions & 0 deletions palettes/92.raw
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
  !$(+/37;@CHMY_ekqv|� � �
� � � ������������������ �!�#�$�&�(�)�+�-�/�1�3�5�7�9�;�>�@�A�D�F�I�L �N �Q
�T }W wZr]l`UcNfHiBm>p9t4w/{+'�#���� �!�"�$�&�' �)
�+ �,�.�0�2�3�5�7�9�;�=�?�@�B�E�G�I�K�N�P�R�U�W�Z�\�_�a�d�g�i�l�o�q�t�w�z�}�������������������������� ��
��
�� �� ����������������������������������!��#��%��&��(��*��-��/��1��3��5��8��:��=��@��A��D��G��J��M��P��S��W��Z��]��a��e��h��l��p��t��x��|������������������������������������������������������������������������������������������������������������������������
Expand Down
Binary file added palettes/Grayscale.raw
Binary file not shown.
Binary file added palettes/Grey.raw
Binary file not shown.
Binary file added palettes/Iron2.raw
Binary file not shown.
Binary file added palettes/Iron_Black.raw
Binary file not shown.
Binary file added palettes/Rainbow.raw
Binary file not shown.
8 changes: 8 additions & 0 deletions scripts/gstreamer_rgbcamera
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/sh

gst-launch-1.0 \
v4l2src device=/dev/video2 \
! videoconvert \
! videoscale \
! video/x-raw,format=mjpg, width=640, height=480, framerate=8/1 \
! autovideosink
15 changes: 15 additions & 0 deletions scripts/gstreamer_testmosaic
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/sh

gst-launch-1.0 \
videotestsrc pattern=0 ! queue2 ! c.sink_0 \
v4l2src device=/dev/video3 do-timestamp=true ! c.sink_1 \
videotestsrc pattern=0 ! queue2 ! c.sink_2 \
videotestsrc pattern=1 ! queue2 ! c.sink_3 \
videotestsrc pattern=18 ! queue2 ! c.sink_4 \
compositor name=c background-color=0x223344 \
sink_0::xpos=0 sink_0::ypos=0 sink_0::width=400 sink_0::height=300 sink_0::fill_color=0x00000000 \
sink_1::xpos=400 sink_1::ypos=0 sink_1::width=400 sink_1::height=300 sink_1::fill_color=0x11111111 \
sink_2::xpos=0 sink_2::ypos=300 sink_2::width=400 sink_2::height=300 sink_2::fill_color=0x22222222 \
sink_3::xpos=400 sink_3::ypos=300 sink_3::width=400 sink_3::height=300 sink_3::fill_color=0x33333333 \
sink_4::xpos=200 sink_4::ypos=150 sink_4::width=400 sink_4::height=300 sink_4::fill_color=0x44444444 sink_4::alpha=0.5 ! \
queue2 ! video/x-raw, width=800, height=600 ! ximagesink
1 change: 1 addition & 0 deletions scripts/load_v4l2loopback
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sudo modprobe v4l2loopback exclusive_caps=0,0 video_nr=1,2,3
Loading

0 comments on commit c39e6d5

Please sign in to comment.