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

Go to the source code of this file.

Macros

#define randomize_buffers(buf, size)
 
#define LARGEST_FILTER   16
 
#define FILTER_SIZES   4
 
#define LARGEST_INPUT_SIZE   512
 
#define INPUT_SIZES   6
 
#define LARGEST_INPUT_SIZE   512
 
#define INPUT_SIZES   6
 
#define LARGEST_INPUT_SIZE   512
 
#define INPUT_SIZES   6
 
#define LARGEST_INPUT_SIZE   512
 
#define INPUT_SIZES   6
 

Functions

static void check_output_yuv2gbrp (void)
 
static void check_input_planar_rgb_to_y (void)
 
static void check_input_planar_rgb_to_uv (void)
 
static void check_input_planar_rgb_to_a (void)
 
void checkasm_check_sw_gbrp (void)
 

Variables

static const int planar_fmts []
 

Macro Definition Documentation

◆ randomize_buffers

#define randomize_buffers (   buf,
  size 
)
Value:
do { \
int j; \
for (j = 0; j < size; j+=4) \
AV_WN32(buf + j, rnd()); \
} while (0)

Definition at line 32 of file sw_gbrp.c.

◆ LARGEST_FILTER

#define LARGEST_FILTER   16

◆ FILTER_SIZES

#define FILTER_SIZES   4

◆ LARGEST_INPUT_SIZE [1/4]

#define LARGEST_INPUT_SIZE   512

◆ INPUT_SIZES [1/4]

#define INPUT_SIZES   6

◆ LARGEST_INPUT_SIZE [2/4]

#define LARGEST_INPUT_SIZE   512

◆ INPUT_SIZES [2/4]

#define INPUT_SIZES   6

◆ LARGEST_INPUT_SIZE [3/4]

#define LARGEST_INPUT_SIZE   512

◆ INPUT_SIZES [3/4]

#define INPUT_SIZES   6

◆ LARGEST_INPUT_SIZE [4/4]

#define LARGEST_INPUT_SIZE   512

◆ INPUT_SIZES [4/4]

#define INPUT_SIZES   6

Function Documentation

◆ check_output_yuv2gbrp()

static void check_output_yuv2gbrp ( void  )
static

Definition at line 64 of file sw_gbrp.c.

Referenced by checkasm_check_sw_gbrp().

◆ check_input_planar_rgb_to_y()

static void check_input_planar_rgb_to_y ( void  )
static

Definition at line 196 of file sw_gbrp.c.

Referenced by checkasm_check_sw_gbrp().

◆ check_input_planar_rgb_to_uv()

static void check_input_planar_rgb_to_uv ( void  )
static

Definition at line 263 of file sw_gbrp.c.

Referenced by checkasm_check_sw_gbrp().

◆ check_input_planar_rgb_to_a()

static void check_input_planar_rgb_to_a ( void  )
static

Definition at line 336 of file sw_gbrp.c.

Referenced by checkasm_check_sw_gbrp().

◆ checkasm_check_sw_gbrp()

void checkasm_check_sw_gbrp ( void  )

Definition at line 401 of file sw_gbrp.c.

Variable Documentation

◆ planar_fmts

const int planar_fmts[]
static
AV_PIX_FMT_GBRP16BE
@ AV_PIX_FMT_GBRP16BE
planar GBR 4:4:4 48bpp, big-endian
Definition: pixfmt.h:164
AV_PIX_FMT_GBRP10BE
@ AV_PIX_FMT_GBRP10BE
planar GBR 4:4:4 30bpp, big-endian
Definition: pixfmt.h:162
AV_PIX_FMT_GBRAPF32LE
@ AV_PIX_FMT_GBRAPF32LE
IEEE-754 single precision planar GBRA 4:4:4:4, 128bpp, little-endian.
Definition: pixfmt.h:313
AV_PIX_FMT_GBRPF32BE
@ AV_PIX_FMT_GBRPF32BE
IEEE-754 single precision planar GBR 4:4:4, 96bpp, big-endian.
Definition: pixfmt.h:310
AV_PIX_FMT_GBRP14BE
@ AV_PIX_FMT_GBRP14BE
planar GBR 4:4:4 42bpp, big-endian
Definition: pixfmt.h:246
AV_PIX_FMT_GBRAP12LE
@ AV_PIX_FMT_GBRAP12LE
planar GBR 4:4:4:4 48bpp, little-endian
Definition: pixfmt.h:280
AV_PIX_FMT_GBRAP
@ AV_PIX_FMT_GBRAP
planar GBRA 4:4:4:4 32bpp
Definition: pixfmt.h:205
rnd
#define rnd()
Definition: checkasm.h:114
AV_PIX_FMT_GBRAP16BE
@ AV_PIX_FMT_GBRAP16BE
planar GBRA 4:4:4:4 64bpp, big-endian
Definition: pixfmt.h:206
AV_PIX_FMT_GBRP16LE
@ AV_PIX_FMT_GBRP16LE
planar GBR 4:4:4 48bpp, little-endian
Definition: pixfmt.h:165
AV_PIX_FMT_GBRP12LE
@ AV_PIX_FMT_GBRP12LE
planar GBR 4:4:4 36bpp, little-endian
Definition: pixfmt.h:245
AV_PIX_FMT_GBRP10LE
@ AV_PIX_FMT_GBRP10LE
planar GBR 4:4:4 30bpp, little-endian
Definition: pixfmt.h:163
AV_PIX_FMT_GBRAPF32BE
@ AV_PIX_FMT_GBRAPF32BE
IEEE-754 single precision planar GBRA 4:4:4:4, 128bpp, big-endian.
Definition: pixfmt.h:312
AV_PIX_FMT_GBRAP12BE
@ AV_PIX_FMT_GBRAP12BE
planar GBR 4:4:4:4 48bpp, big-endian
Definition: pixfmt.h:279
AV_WN32
#define AV_WN32(p, v)
Definition: intreadwrite.h:376
size
int size
Definition: twinvq_data.h:10344
AV_PIX_FMT_GBRP9BE
@ AV_PIX_FMT_GBRP9BE
planar GBR 4:4:4 27bpp, big-endian
Definition: pixfmt.h:160
AV_PIX_FMT_GBRP9LE
@ AV_PIX_FMT_GBRP9LE
planar GBR 4:4:4 27bpp, little-endian
Definition: pixfmt.h:161
AV_PIX_FMT_GBRAP10LE
@ AV_PIX_FMT_GBRAP10LE
planar GBR 4:4:4:4 40bpp, little-endian
Definition: pixfmt.h:283
AV_PIX_FMT_GBRPF32LE
@ AV_PIX_FMT_GBRPF32LE
IEEE-754 single precision planar GBR 4:4:4, 96bpp, little-endian.
Definition: pixfmt.h:311
AV_PIX_FMT_GBRAP16LE
@ AV_PIX_FMT_GBRAP16LE
planar GBRA 4:4:4:4 64bpp, little-endian
Definition: pixfmt.h:207
AV_PIX_FMT_GBRP12BE
@ AV_PIX_FMT_GBRP12BE
planar GBR 4:4:4 36bpp, big-endian
Definition: pixfmt.h:244
AV_PIX_FMT_GBRP
@ AV_PIX_FMT_GBRP
planar GBR 4:4:4 24bpp
Definition: pixfmt.h:158
AV_PIX_FMT_GBRP14LE
@ AV_PIX_FMT_GBRP14LE
planar GBR 4:4:4 42bpp, little-endian
Definition: pixfmt.h:247
AV_PIX_FMT_GBRAP10BE
@ AV_PIX_FMT_GBRAP10BE
planar GBR 4:4:4:4 40bpp, big-endian
Definition: pixfmt.h:282