FFmpeg
Data Structures | Functions
enc_recon_frame_test.c File Reference
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include "decode_simple.h"
#include "libavutil/adler32.h"
#include "libavutil/common.h"
#include "libavutil/error.h"
#include "libavutil/frame.h"
#include "libavutil/imgutils.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "libavformat/avformat.h"
#include "libavcodec/avcodec.h"
#include "libavcodec/codec.h"
#include "libswscale/swscale.h"

Go to the source code of this file.

Data Structures

struct  FrameChecksum
 
struct  PrivData
 

Functions

static int frame_hash (FrameChecksum **pc, size_t *nb_c, int64_t ts, const AVFrame *frame)
 
static int recon_frame_process (PrivData *pd, const AVPacket *pkt)
 
static int process_frame (DecodeContext *dc, AVFrame *frame)
 
static int frame_checksum_compare (const void *a, const void *b)
 
int main (int argc, char **argv)
 

Function Documentation

◆ frame_hash()

static int frame_hash ( FrameChecksum **  pc,
size_t *  nb_c,
int64_t  ts,
const AVFrame frame 
)
static

Definition at line 67 of file enc_recon_frame_test.c.

Referenced by process_frame(), and recon_frame_process().

◆ recon_frame_process()

static int recon_frame_process ( PrivData pd,
const AVPacket pkt 
)
static

Definition at line 103 of file enc_recon_frame_test.c.

Referenced by process_frame().

◆ process_frame()

static int process_frame ( DecodeContext dc,
AVFrame frame 
)
static

Definition at line 142 of file enc_recon_frame_test.c.

Referenced by main().

◆ frame_checksum_compare()

static int frame_checksum_compare ( const void *  a,
const void *  b 
)
static

Definition at line 256 of file enc_recon_frame_test.c.

Referenced by main().

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 265 of file enc_recon_frame_test.c.