postprocess_mmx.h
上传用户:tuheem
上传日期:2007-05-01
资源大小:21889k
文件大小:2k
- #ifndef _POSTPROCESS_MMX_H_
- #define _POSTPROCESS_MMX_H_
- #include "postprocess.h"
- #ifdef PP_SELF_CHECK
- #include <stdio.h>
- #endif
- #ifdef PP_COMPONENTS_INLINE
- #ifdef WIN32
- #define INLINE __inline
- #else
- #define INLINE inline
- #endif
- #else
- #define INLINE
- #endif
- #define ABS(a) ( (a)>0 ? (a) : -(a) )
- #define SIGN(a) ( (a)<0 ? -1 : 1 )
- #define MIN(a, b) ( (a)<(b) ? (a) : (b) )
- #define MAX(a, b) ( (a)>(b) ? (a) : (b) )
- int deblock_horiz_useDC(uint8_t *v, int stride);
- int deblock_horiz_DC_on(uint8_t *v, int stride, int QP);
- void deblock_horiz_lpf9(uint8_t *v, int stride, int QP);
- void deblock_horiz_default_filter(uint8_t *v, int stride, int QP);
- void deblock_horiz(uint8_t *image, int width, int stride, QP_STORE_T *QP_store, int QP_stride, int chromaFlag);
- int deblock_vert_useDC(uint8_t *v, int stride);
- int deblock_vert_DC_on(uint8_t *v, int stride, int QP);
- void deblock_vert_copy_and_unpack(int stride, uint8_t *source, uint64_t *dest, int n);
- void deblock_vert_choose_p1p2(uint8_t *v, int stride, uint64_t *p1p2, int QP);
- void deblock_vert_lpf9(uint64_t *v_local, uint64_t *p1p2, uint8_t *v, int stride);
- void deblock_vert_default_filter(uint8_t *v, int stride, int QP);
- void deblock_vert( uint8_t *image, int width, int stride, QP_STORE_T *QP_store, int QP_stride, int chromaFlag);
- void fast_copy(unsigned char *src, int src_stride,
- unsigned char *dst, int dst_stride,
- int horizontal_size, int vertical_size);
- void do_emms();
- #endif