FFmpeg
Macros | Functions
sw_yuv2yuv.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 NUM_LINES   4
 
#define MAX_LINE_SIZE   1920
 

Functions

static void check_semiplanar (int dst_pix_fmt)
 
void checkasm_check_sw_yuv2yuv (void)
 

Macro Definition Documentation

◆ randomize_buffers

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

Definition at line 31 of file sw_yuv2yuv.c.

◆ NUM_LINES

#define NUM_LINES   4

◆ MAX_LINE_SIZE

#define MAX_LINE_SIZE   1920

Function Documentation

◆ check_semiplanar()

static void check_semiplanar ( int  dst_pix_fmt)
static

Definition at line 37 of file sw_yuv2yuv.c.

Referenced by checkasm_check_sw_yuv2yuv().

◆ checkasm_check_sw_yuv2yuv()

void checkasm_check_sw_yuv2yuv ( void  )

Definition at line 129 of file sw_yuv2yuv.c.

rnd
#define rnd()
Definition: checkasm.h:172
AV_WN32
#define AV_WN32(p, v)
Definition: intreadwrite.h:372
size
int size
Definition: twinvq_data.h:10344