FFmpeg
Loading...
Searching...
No Matches
api-h264-flush-test.c File Reference
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
#include "libavcodec/avcodec.h"
#include "libavformat/avformat.h"
#include "libavutil/adler32.h"
#include "libavutil/imgutils.h"
#include "libavutil/mem.h"

Go to the source code of this file.

Enumerations

enum  DecodeReport { REPORT_FRAMES = 1 , REPORT_TIMING = 2 }
 

Functions

static void check (int ret)
 
static void decode (AVCodecContext *ctx, const char *path, const char *next_path, int limit, int report)
 
static AVCodecContext * open_decoder (int threads, int video_delay)
 
int main (int argc, char **argv)
 

Enumeration Type Documentation

◆ DecodeReport

Enumerator
REPORT_FRAMES 
REPORT_TIMING 

Definition at line 37 of file api-h264-flush-test.c.

Function Documentation

◆ check()

static void check ( int ret)
static

Definition at line 29 of file api-h264-flush-test.c.

◆ decode()

static void decode ( AVCodecContext * ctx,
const char * path,
const char * next_path,
int limit,
int report )
static

Definition at line 44 of file api-h264-flush-test.c.

Referenced by main().

◆ open_decoder()

static AVCodecContext * open_decoder ( int threads,
int video_delay )
static

Definition at line 116 of file api-h264-flush-test.c.

Referenced by main().

◆ main()

int main ( int argc,
char ** argv )

Definition at line 144 of file api-h264-flush-test.c.