diff options
author | Mike Melanson <mike@multimedia.cx> | 2005-04-19 05:16:45 +0000 |
---|---|---|
committer | Mike Melanson <mike@multimedia.cx> | 2005-04-19 05:16:45 +0000 |
commit | 97c50cb77949856573d7f5f5a3c28cb73e61e011 (patch) | |
tree | 2dbabcbb9009b09d66789498ce1d2451a4b39bc0 /src/libffmpeg/libavcodec/libpostproc/postprocess_internal.h | |
parent | 19e7199dad84489aa49e3b2dd5c0e45657ec0fb8 (diff) | |
download | xine-lib-97c50cb77949856573d7f5f5a3c28cb73e61e011.tar.gz xine-lib-97c50cb77949856573d7f5f5a3c28cb73e61e011.tar.bz2 |
sync to FFmpeg build 4752
CVS patchset: 7463
CVS date: 2005/04/19 05:16:45
Diffstat (limited to 'src/libffmpeg/libavcodec/libpostproc/postprocess_internal.h')
-rw-r--r-- | src/libffmpeg/libavcodec/libpostproc/postprocess_internal.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libffmpeg/libavcodec/libpostproc/postprocess_internal.h b/src/libffmpeg/libavcodec/libpostproc/postprocess_internal.h index db50fa3b5..01d4679ad 100644 --- a/src/libffmpeg/libavcodec/libpostproc/postprocess_internal.h +++ b/src/libffmpeg/libavcodec/libpostproc/postprocess_internal.h @@ -37,9 +37,11 @@ // Experimental vertical filters #define V_X1_FILTER 0x0200 // 512 +#define V_A_DEBLOCK 0x0400 // Experimental horizontal filters #define H_X1_FILTER 0x2000 // 8192 +#define H_A_DEBLOCK 0x4000 /// select between full y range (255-0) or standart one (234-16) #define FULL_Y_RANGE 0x8000 // 32768 @@ -158,3 +160,11 @@ typedef struct PPContext{ } PPContext; +static inline void linecpy(void *dest, void *src, int lines, int stride) +{ + if (stride > 0) { + memcpy(dest, src, lines*stride); + } else { + memcpy(dest+(lines-1)*stride, src+(lines-1)*stride, -lines*stride); + } +} |