postprocess.h
资源名称:VC++视频传输.rar [点击查看]
上传用户:hxb_1234
上传日期:2010-03-30
资源大小:8328k
文件大小:1k
源码类别:
VC书籍
开发平台:
Visual C++
- #ifndef POSTPROCESS_H
- #define POSTPROCESS_H
- #include "portab.h"
- #define DEBLOCK_HORIZ_USEDC_THR (28 - 8)
- #define DEBLOCK_VERT_USEDC_THR (56 - 16)
- #define QP_STORE_T int
- #ifdef TSINGHUA
- #define QP_STORE_T int16_t
- #endif
- #define PP_DEBLOCK_Y_H_MASK 0x00ff0000
- #define PP_DEBLOCK_Y_V_MASK 0x0000ff00
- #define PP_DERING_Y_MASK 0x000000ff
- void postprocess(unsigned char * src[], int src_stride,
- unsigned char * dst[], int dst_stride,
- int horizontal_size, int vertical_size,
- QP_STORE_T *QP_store, int QP_stride,
- int mode);
- #define PP_DEBLOCK_Y_H 0x00000001
- #define PP_DEBLOCK_Y_V 0x00000002
- #define PP_DEBLOCK_C_H 0x00000004
- #define PP_DEBLOCK_C_V 0x00000008
- #define PP_DERING_Y 0x00000010
- #define PP_DERING_C 0x00000020
- #define PP_DONT_COPY 0x10000000
- #endif