Mercurial > libavcodec.hg
comparison imgconvert.c @ 17:b69fe46fd708 libavcodec
Adding fastmemcpy stuff to speedup mplayer project
| author | nickols_k |
|---|---|
| date | Thu, 02 Aug 2001 08:29:38 +0000 |
| parents | 986e461dc072 |
| children | 1d2077091e88 |
comparison
equal
deleted
inserted
replaced
| 16:89bc3bf1a031 | 17:b69fe46fd708 |
|---|---|
| 19 #include <stdlib.h> | 19 #include <stdlib.h> |
| 20 #include <stdio.h> | 20 #include <stdio.h> |
| 21 #include <string.h> | 21 #include <string.h> |
| 22 #include "avcodec.h" | 22 #include "avcodec.h" |
| 23 | 23 |
| 24 /* Stuff below is useful only for mplayer project */ | |
| 25 #ifdef HAVE_CONFIG_H | |
| 26 #include "../config.h" | |
| 27 #endif | |
| 28 | |
| 29 #ifdef USE_FASTMEMCPY | |
| 30 #include "fastmemcpy.h" | |
| 31 #endif | |
| 24 /* XXX: totally non optimized */ | 32 /* XXX: totally non optimized */ |
| 25 | 33 |
| 26 static void yuv422_to_yuv420p(UINT8 *lum, UINT8 *cb, UINT8 *cr, | 34 static void yuv422_to_yuv420p(UINT8 *lum, UINT8 *cb, UINT8 *cr, |
| 27 UINT8 *src, int width, int height) | 35 UINT8 *src, int width, int height) |
| 28 { | 36 { |
