mirror of
https://github.com/Harshit-Dhanwalkar/AsciiCam.git
synced 2026-07-03 11:20:59 +02:00
Add thread sharing for producer(webcam) and consumer(rendering) threads
This commit is contained in:
parent
319746afe6
commit
c1f0298dae
5 changed files with 122 additions and 3 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#include "ascii.h"
|
||||
#include "capture.h"
|
||||
#include "timing.h"
|
||||
#include "thread_sharing.h"
|
||||
|
||||
#include <getopt.h>
|
||||
#include <signal.h>
|
||||
|
|
@ -10,6 +11,8 @@
|
|||
#include <termios.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
#include <pthread.h>
|
||||
#include <stdint.h>
|
||||
|
||||
// Defaults
|
||||
#define DEFAULT_ASCII_WIDTH 80
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue