123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149 |
- /****************************************************************************
- *
- * Module Title : vputil_if.h
- *
- * Description : Codec utilities header file.
- *
- ****************************************************************************/
- #ifndef __VPUTIL_IF_H
- #define __VPUTIL_IF_H
- /****************************************************************************
- * Header Files
- ****************************************************************************/
- #include "codec_common_interface.h"
- /****************************************************************************
- * Exports
- ****************************************************************************/
- extern void InitVPUtil ( void );
- extern void (*ReconIntra)
- (
- INT16 *tmpBuffer,
- UINT8 *ReconPtr,
- UINT16 *ChangePtr,
- UINT32 LineStep
- );
- extern void (*ReconInter)
- (
- INT16 * tmpBuffer,
- UINT8 * ReconPtr,
- UINT8 * RefPtr,
- INT16 * ChangePtr,
- UINT32 LineStep
- );
- extern void (*ReconInterHalfPixel2)
- (
- INT16 * tmpBuffer,
- UINT8 * ReconPtr,
- UINT8 * RefPtr1,
- UINT8 * RefPtr2,
- INT16 * ChangePtr,
- UINT32 LineStep
- );
- extern void (*idct[65])
- (
- INT16 *InputData,
- INT16 *QuantMatrix,
- INT16 *OutputData
- );
- extern void (*idctc[65])
- (
- INT16 *InputData,
- INT16 *QuantMatrix,
- INT16 * OutputData
- );
- extern void (*ClearSysState) ( void );
- extern void (*ReconBlock)
- (
- INT16 *SrcBlock,
- INT16 *ReconRefPtr,
- UINT8 *DestBlock,
- UINT32 LineStep
- );
- extern void (*SubtractBlock)
- (
- UINT8 *SrcBlock,
- INT16 *DestPtr,
- UINT32 LineStep
- );
- extern void (*UnpackBlock)
- (
- UINT8 *ReconPtr,
- INT16 *ReconRefPtr,
- UINT32 ReconPixelsPerLine
- );
- extern void (*AverageBlock)
- (
- UINT8 *ReconPtr1,
- UINT8 *ReconPtr2,
- UINT16 *ReconRefPtr,
- UINT32 ReconPixelsPerLine
- );
- extern void (*CopyBlock)
- (
- unsigned char *src,
- unsigned char *dest,
- unsigned int srcstride
- );
- extern void (*fdct_short)
- (
- INT16 * InputData,
- INT16 * OutputData
- );
- extern void (*Copy12x12)
- (
- const unsigned char *src,
- unsigned char *dest,
- unsigned int srcstride,
- unsigned int deststride
- );
- extern void (*FilterBlockBil_8)
- (
- UINT8 *ReconPtr1,
- UINT8 *ReconPtr2,
- UINT8 *ReconRefPtr,
- UINT32 ReconPixelsPerLine,
- INT32 ModX,
- INT32 ModY
- );
- extern void (*FilterBlock)
- (
- UINT8 *ReconPtr1,
- UINT8 *ReconPtr2,
- UINT16 *ReconRefPtr,
- UINT32 PixelsPerLine,
- INT32 ModX,
- INT32 ModY,
- BOOL UseBicubic,
- UINT8 BicubicAlpha
- );
- extern UINT32 (*FiltBlockBilGetSad)
- (
- UINT8 *SrcPtr,
- INT32 SrcStride,
- UINT8 *ReconPtr1,
- UINT8 *ReconPtr2,
- INT32 PixelsPerLine,
- INT32 ModX,
- INT32 ModY,
- UINT32 BestSoFar
- );
- #endif
|