FFmpeg
4.0
|
#include "libavutil/avassert.h"
#include "libavutil/avstring.h"
#include "libavutil/frame.h"
#include "libavutil/threadmessage.h"
#include "libavutil/thread.h"
Go to the source code of this file.
Data Structures | |
struct | sender_data |
Thread message API test. More... | |
struct | receiver_data |
struct | message |
Macros | |
#define | MAGIC 0xdeadc0de |
#define | SPAWN_THREADS(type) |
#define | WAIT_THREADS(type) |
Functions | |
static void | free_frame (void *arg) |
static void * | sender_thread (void *arg) |
static void * | receiver_thread (void *arg) |
static int | get_workload (int minv, int maxv) |
int | main (int ac, char **av) |
#define MAGIC 0xdeadc0de |
Definition at line 53 of file api-threadmessage-test.c.
Referenced by free_frame(), receiver_thread(), and sender_thread().
#define SPAWN_THREADS | ( | type | ) |
Referenced by main().
#define WAIT_THREADS | ( | type | ) |
Referenced by main().
Definition at line 55 of file api-threadmessage-test.c.
Referenced by main().
Definition at line 62 of file api-threadmessage-test.c.
Definition at line 126 of file api-threadmessage-test.c.
Definition at line 157 of file api-threadmessage-test.c.
Definition at line 162 of file api-threadmessage-test.c.