postprocess_mmx.h
资源名称:VC++视频传输.rar [点击查看]
上传用户:hxb_1234
上传日期:2010-03-30
资源大小:8328k
文件大小:2k
源码类别:
VC书籍
开发平台:
Visual C++
- #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