FFmpeg
|
#include <stdlib.h>
#include "libavutil/opt.h"
#include "libavutil/time.h"
#include "libavutil/avassert.h"
#include "libavformat/avformat.h"
#include "libavformat/url.h"
#include "libavformat/network.h"
Go to the source code of this file.
Data Structures | |
struct | FailingMuxerPacketData |
struct | TestCase |
Macros | |
#define | MAX_TST_PACKETS 128 |
#define | SLEEPTIME_50_MS 50000 |
#define | SLEEPTIME_10_MS 10000 |
#define | BUFFER_SIZE 64 |
Functions | |
static int | prepare_packet (AVPacket *pkt, const FailingMuxerPacketData *pkt_data, int64_t pts) |
static int | initialize_fifo_tst_muxer_chain (AVFormatContext **oc) |
static int | fifo_basic_test (AVFormatContext *oc, AVDictionary **opts, const FailingMuxerPacketData *pkt_data) |
static int | fifo_overflow_drop_test (AVFormatContext *oc, AVDictionary **opts, const FailingMuxerPacketData *data) |
static int | run_test (const TestCase *test) |
int | main (int argc, char *argv[]) |
Variables | |
const TestCase | tests [] |
#define MAX_TST_PACKETS 128 |
Definition at line 30 of file fifo_muxer.c.
#define SLEEPTIME_50_MS 50000 |
Definition at line 31 of file fifo_muxer.c.
Referenced by fifo_overflow_drop_test().
#define SLEEPTIME_10_MS 10000 |
Definition at line 32 of file fifo_muxer.c.
#define BUFFER_SIZE 64 |
Definition at line 200 of file fifo_muxer.c.
Referenced by run_test().
|
static |
Definition at line 42 of file fifo_muxer.c.
Referenced by fifo_basic_test(), and fifo_overflow_drop_test().
|
static |
Definition at line 58 of file fifo_muxer.c.
Referenced by run_test().
|
static |
Definition at line 80 of file fifo_muxer.c.
|
static |
Definition at line 133 of file fifo_muxer.c.
Definition at line 202 of file fifo_muxer.c.
Referenced by main().
Definition at line 273 of file fifo_muxer.c.
const TestCase tests[] |
Definition at line 245 of file fifo_muxer.c.
Referenced by checkasm_check_h264pred(), and main().