Illustrated C/C++ source sheets, symbol index, API relationship graph, compiler console and debug trace

LIVE AI / FLEXIBLE SENSING / FLIGHT CONTEXT

Sensoraia API

Live AI and sensing, connected to the flight.
See, listen, inspect and return supported results while airborne.

Loading...
Searching...
No Matches
image_lens.c File Reference
#include "image_lens.h"
#include <errno.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <sys/prctl.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <time.h>
#include <unistd.h>
Include dependency graph for image_lens.c:

Go to the source code of this file.

Macros

#define IMAGE_LENS_TIMEOUT_MS   90000

Functions

static bool monotonic_ms (uint64_t *value)
bool image_lens_emulate (const char *application, const char *input, const char *profile, const char *cache, char *output, size_t capacity, const volatile sig_atomic_t *running)

Macro Definition Documentation

◆ IMAGE_LENS_TIMEOUT_MS

#define IMAGE_LENS_TIMEOUT_MS   90000

Definition at line 18 of file image_lens.c.

Function Documentation

◆ image_lens_emulate()

bool image_lens_emulate ( const char * application,
const char * input,
const char * profile,
const char * cache,
char * output,
size_t capacity,
const volatile sig_atomic_t * running )

Definition at line 29 of file image_lens.c.

◆ monotonic_ms()

bool monotonic_ms ( uint64_t * value)
static

Definition at line 21 of file image_lens.c.