FFmpeg
Loading...
Searching...
No Matches
unscaled_threaded.c File Reference
#include <stdio.h>
#include <string.h>
#include "libavutil/frame.h"
#include "libavutil/imgutils.h"
#include "libavutil/log.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "libswscale/swscale.h"

Go to the source code of this file.

Functions

static AVFrame * alloc_frame (enum AVPixelFormat format, int height)
 
static int convert (AVFrame *dst, const AVFrame *src, int threads, int legacy)
 
static int compare (enum AVPixelFormat src_fmt, enum AVPixelFormat dst_fmt, int height, int legacy, unsigned *mismatches)
 
int main (void)
 

Function Documentation

◆ alloc_frame()

static AVFrame * alloc_frame ( enum AVPixelFormat format,
int height )
static

Definition at line 29 of file unscaled_threaded.c.

Referenced by compare().

◆ convert()

static int convert ( AVFrame * dst,
const AVFrame * src,
int threads,
int legacy )
static

Definition at line 43 of file unscaled_threaded.c.

Referenced by compare().

◆ compare()

static int compare ( enum AVPixelFormat src_fmt,
enum AVPixelFormat dst_fmt,
int height,
int legacy,
unsigned * mismatches )
static

Definition at line 70 of file unscaled_threaded.c.

Referenced by main().

◆ main()

int main ( void )

Definition at line 111 of file unscaled_threaded.c.