#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) |
Definition at line 31 of file fastmemcpy.h.
Referenced by dint_copy_plane(), do_plane(), filter(), interleave(), memcpy_pic2(), noise(), put_image(), toright(), and unsharp().
#define memcpy_pic | ( | d, | |||
s, | |||||
b, | |||||
h, | |||||
ds, | |||||
ss | ) | memcpy_pic2(d, s, b, h, ds, ss, 0) |
Definition at line 62 of file fastmemcpy.h.
Referenced by copy_image(), copy_mpi(), copyop(), put_image(), and vf_next_draw_slice().
#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().
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] |
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.
Referenced by put_image().