FFmpeg
Macros | Functions | Variables
sw_range_convert.c File Reference
#include <string.h>
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mem.h"
#include "libavutil/mem_internal.h"
#include "libswscale/swscale.h"
#include "libswscale/swscale_internal.h"
#include "checkasm.h"

Go to the source code of this file.

Macros

#define LARGEST_INPUT_SIZE   1920
 
#define LARGEST_INPUT_SIZE   1920
 

Functions

static void randomize_buffers (int16_t *buf0, int16_t *buf1, int bit_depth, int width)
 
static void check_lumConvertRange (int from)
 
static void check_chrConvertRange (int from)
 
void checkasm_check_sw_range_convert (void)
 

Variables

static enum AVPixelFormat pixel_formats []
 

Macro Definition Documentation

◆ LARGEST_INPUT_SIZE [1/2]

#define LARGEST_INPUT_SIZE   1920

◆ LARGEST_INPUT_SIZE [2/2]

#define LARGEST_INPUT_SIZE   1920

Function Documentation

◆ randomize_buffers()

static void randomize_buffers ( int16_t *  buf0,
int16_t *  buf1,
int  bit_depth,
int  width 
)
static

Definition at line 40 of file sw_range_convert.c.

Referenced by check_chrConvertRange(), and check_lumConvertRange().

◆ check_lumConvertRange()

static void check_lumConvertRange ( int  from)
static

Definition at line 58 of file sw_range_convert.c.

Referenced by checkasm_check_sw_range_convert().

◆ check_chrConvertRange()

static void check_chrConvertRange ( int  from)
static

Definition at line 139 of file sw_range_convert.c.

Referenced by checkasm_check_sw_range_convert().

◆ checkasm_check_sw_range_convert()

void checkasm_check_sw_range_convert ( void  )

Definition at line 224 of file sw_range_convert.c.

Variable Documentation

◆ pixel_formats

enum AVPixelFormat pixel_formats[]
static
AV_PIX_FMT_YUV444P10
#define AV_PIX_FMT_YUV444P10
Definition: pixfmt.h:513
AV_PIX_FMT_YUV444P16
#define AV_PIX_FMT_YUV444P16
Definition: pixfmt.h:523
AV_PIX_FMT_YUV444P12
#define AV_PIX_FMT_YUV444P12
Definition: pixfmt.h:517
AV_PIX_FMT_YUV444P9
#define AV_PIX_FMT_YUV444P9
Definition: pixfmt.h:509
AV_PIX_FMT_YUV444P
@ AV_PIX_FMT_YUV444P
planar YUV 4:4:4, 24bpp, (1 Cr & Cb sample per 1x1 Y samples)
Definition: pixfmt.h:78
AV_PIX_FMT_YUV444P14
#define AV_PIX_FMT_YUV444P14
Definition: pixfmt.h:520