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)

#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)

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().


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.

Referenced by put_image().


Generated on Fri Oct 26 02:50:09 2012 for FFmpeg by  doxygen 1.5.8