Defines | Functions

libavfilter/libmpcodecs/libvo/fastmemcpy.h File Reference

#include <inttypes.h>
#include <string.h>
#include <stddef.h>

Go to the source code of this file.

Defines

#define mem2agpcpy(a, b, c)   memcpy(a,b,c)
#define fast_memcpy(a, b, c)   memcpy(a,b,c)
#define memcpy_pic(d, s, b, h, ds, ss)   memcpy_pic2(d, s, b, h, ds, ss, 0)
#define my_memcpy_pic(d, s, b, h, ds, ss)   memcpy_pic2(d, s, b, h, ds, ss, 1)

Functions

void * fast_memcpy (void *to, const void *from, size_t len)
void * mem2agpcpy (void *to, const void *from, size_t len)
static void * mem2agpcpy_pic (void *dst, const void *src, int bytesPerLine, int height, int dstStride, int srcStride)
static void * memcpy_pic2 (void *dst, const void *src, int bytesPerLine, int height, int dstStride, int srcStride, int limit2width)

Define Documentation

#define fast_memcpy (   a,
  b,
  c 
)    memcpy(a,b,c)

Definition at line 31 of file fastmemcpy.h.

Referenced by memcpy_pic2().

#define mem2agpcpy (   a,
  b,
  c 
)    memcpy(a,b,c)

Definition at line 30 of file fastmemcpy.h.

Referenced by mem2agpcpy_pic().

#define memcpy_pic (   d,
  s,
  b,
  h,
  ds,
  ss 
)    memcpy_pic2(d, s, b, h, ds, ss, 0)
#define my_memcpy_pic (   d,
  s,
  b,
  h,
  ds,
  ss 
)    memcpy_pic2(d, s, b, h, ds, ss, 1)

Definition at line 63 of file fastmemcpy.h.

Referenced by copy_image(), get_image(), and put_image().


Function Documentation

void* fast_memcpy ( void *  to,
const void *  from,
size_t  len 
)
void* mem2agpcpy ( void *  to,
const void *  from,
size_t  len 
)
static void* mem2agpcpy_pic ( void *  dst,
const void *  src,
int  bytesPerLine,
int  height,
int  dstStride,
int  srcStride 
) [inline, static]

Definition at line 34 of file fastmemcpy.h.

static void* memcpy_pic2 ( void *  dst,
const void *  src,
int  bytesPerLine,
int  height,
int  dstStride,
int  srcStride,
int  limit2width 
) [inline, static]
Parameters:
limit2width always skip data between end of line and start of next instead of copying the full block when strides are the same

Definition at line 69 of file fastmemcpy.h.