⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tmdlmbs2_coeff.h

📁 PNX1500上做视频缩放MBS的源代码
💻 H
字号:
//-----------------------------------------------------------------------------
// (C) Copyright 2003 Philips Semiconductors, All rights reserved
//
// This source code and any compilation or derivative thereof is the sole
// property of Philips Corporation and is provided pursuant to a Software
// License Agreement.  This code is the proprietary information of Philips
// Corporation and is confidential in nature.  Its use and dissemination by
// any party other than Philips Corporation is strictly limited by the
// confidential information provisions of the Agreement referenced above.
//-----------------------------------------------------------------------------
// FILE NAME:    tmdlMbs2_Coeff.h
//
// DESCRIPTION: This header file contains the filter coefficient function
//              prototypes used by the MBS Device Library.
//               
//
// DOCUMENT REF: 
//
//  NOTES:  
//-----------------------------------------------------------------------------

#ifndef TMDL_MBS2_COEFF_H
#define TMDL_MBS2_COEFF_H

//-----------------------------------------------------------------------------

#ifdef __cplusplus
extern "C"
{
#endif

// -------------------------------------------------------------------------
//  Prototypes for Internal Functions:
// -------------------------------------------------------------------------

tmErrorCode_t
MbsGetHorzCoeff (
    Int32                       srcWidth,       // I: width of src rectangle
    Int32                       dstWidth,       // I: width of dst rectangle
    Int32                       srcImageWidth,  // I: width of the source image    tmdlMbsPictureContent_t     picContent,     // I: picture content
    tmdlMbsBandpassLevel_t      bandpass,       // I: new bandpass level
    UInt32                      peakingLevel,   // I: new peaking level
    Bool                        panoramaEnable, // I: True if panorama mode
    Bool                        dynamicZoom,    // I: True - dynamic zoom enabled
    UInt32                      comps,          // I: dst components (2, 3, or 4)
    pUInt32                     pCoeffs,        // I: ptr to write coefficients
    pInt32                      pCoeffShift,    // O: required shift for coeffs
    ptmdlMbsCoeffDescr_t        pHorzCoeff      // O: receives coeff descr
    );

tmErrorCode_t
MbsGetVertCoeff (
    Int32                       srcHeight,      // I: height of src rectangle
    Int32                       dstHeight,      // I: height of dst rectangle
    tmdlMbsDeInterMode_t        diMode,         // I: deinterlace mode
    tmdlMbsPictureContent_t     picContent,     // I: picture content
    tmdlMbsFlickerFilterLevel_t ffLevel,        // I: flicker filter level
    tmdlMbsBandpassLevel_t      bandpass,       // I: new bandpass level
    UInt32                      peakingLevel,   // I: new peaking level
    UInt32                      comps,          // I: vert components (2, 3, or 4)
    Bool                        format420,      // I: Is input format 420    pUInt32                     pYcoeffs,       // I: ptr to write Y coefficients
    pUInt32                     pUVcoeffs,      // I: ptr to write UV coefficients
    pInt32                      pCoeffShift,    // O: required shift for coeffs
    ptmdlMbsCoeffDescr_t        pVertCoeff      // O: receives coef descr
    );

#ifdef __cplusplus
}
#endif

#endif // TMDL_MBS2_COEFF_H

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -