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

📄 umc_h264_dec_ippwrap.h

📁 audio-video-codecs.rar语音编解码器
💻 H
📖 第 1 页 / 共 5 页
字号:
                                                              srcdstUVStep,
                                                              intra_chroma_mode,
                                                              CreateIPPCBPMask420(cbpU, cbpV),
                                                              chromaQPU,
                                                              chromaQPV,
                                                              edge_type,
                                                              pQuantTableU,
                                                              pQuantTableV,
                                                              bypass_flag);
    }

    inline IppStatus ReconstructChromaIntraMB(Ipp16s **ppSrcCoeff,
                                              Ipp8u *pSrcDstUPlane,
                                              Ipp8u *pSrcDstVPlane,
                                              const Ipp32u srcdstUVStep,
                                              const IppIntraChromaPredMode_H264 intra_chroma_mode,
                                              Ipp32u cbpU,
                                              Ipp32u cbpV,
                                              const Ipp32u ChromaQP,
                                              const Ipp8u edge_type,
                                              Ipp32s bit_depth = 8)
    {
        return ippiReconstructChromaIntraMB_H264_16s8u_P2R(ppSrcCoeff,
                                                           pSrcDstUPlane,
                                                           pSrcDstVPlane,
                                                           srcdstUVStep,
                                                           intra_chroma_mode,
                                                           CreateIPPCBPMask420(cbpU, cbpV),
                                                           ChromaQP,
                                                           edge_type);
    }

    inline IppStatus ReconstructChromaIntraHalfs4x4MB(Ipp16s **ppSrcDstCoeff,
                                                      Ipp8u *pSrcDstUPlane,
                                                      Ipp8u *pSrcDstVPlane,
                                                      Ipp32u srcdstUVStep,
                                                      IppIntraChromaPredMode_H264 intra_chroma_mode,
                                                      Ipp32u cbpU,
                                                      Ipp32u cbpV,
                                                      Ipp32u chromaQPU,
                                                      Ipp32u chromaQPV,
                                                      Ipp8u edge_type_top,
                                                      Ipp8u edge_type_bottom,
                                                      Ipp16s *pQuantTableU,
                                                      Ipp16s *pQuantTableV,
                                                      Ipp8u bypass_flag,
                                                      Ipp32s bit_depth = 8)
    {
        return ippiReconstructChromaIntraHalfs4x4MB_H264_16s8u_P2R(ppSrcDstCoeff,
                                                                   pSrcDstUPlane,
                                                                   pSrcDstVPlane,
                                                                   srcdstUVStep,
                                                                   intra_chroma_mode,
                                                                   CreateIPPCBPMask420(cbpU, cbpV),
                                                                   chromaQPU,
                                                                   chromaQPV,
                                                                   edge_type_top,
                                                                   edge_type_bottom,
                                                                   pQuantTableU,
                                                                   pQuantTableV,
                                                                   bypass_flag);
    }

    inline IppStatus ReconstructChromaIntraHalfsMB(Ipp16s **ppSrcCoeff,
                                                   Ipp8u *pSrcDstUPlane,
                                                   Ipp8u *pSrcDstVPlane,
                                                   Ipp32u srcdstUVStep,
                                                   IppIntraChromaPredMode_H264 intra_chroma_mode,
                                                   Ipp32u cbpU,
                                                   Ipp32u cbpV,
                                                   Ipp32u ChromaQP,
                                                   Ipp8u edge_type_top,
                                                   Ipp8u edge_type_bottom,
                                                   Ipp32s bit_depth = 8)
    {
        return ippiReconstructChromaIntraHalfsMB_H264_16s8u_P2R(ppSrcCoeff,
                                                                pSrcDstUPlane,
                                                                pSrcDstVPlane,
                                                                srcdstUVStep,
                                                                intra_chroma_mode,
                                                                CreateIPPCBPMask420(cbpU, cbpV),
                                                                ChromaQP,
                                                                edge_type_top,
                                                                edge_type_bottom);
    }

#define FILL_CHROMA_RECONSTRUCT_INFO_8U \
    IppiReconstructHighMB_16s8u info_temp[2];\
    const IppiReconstructHighMB_16s8u *info[2];\
    info[0] = &info_temp[0];\
    info[1] = &info_temp[1];\
    info_temp[0].ppSrcDstCoeff = ppSrcDstCoeff;   \
    info_temp[0].pSrcDstPlane = pSrcDstUPlane;  \
    info_temp[0].srcDstStep = srcdstUVStep;    \
    info_temp[0].cbp = (Ipp32u)cbpU;          \
    info_temp[0].qp = chromaQPU;               \
    info_temp[0].pQuantTable = pQuantTableU;  \
    info_temp[0].bypassFlag = bypass_flag;      \
    info_temp[1].ppSrcDstCoeff = ppSrcDstCoeff;   \
    info_temp[1].pSrcDstPlane = pSrcDstVPlane;  \
    info_temp[1].srcDstStep = srcdstUVStep;    \
    info_temp[1].cbp = (Ipp32u)cbpV;          \
    info_temp[1].qp = chromaQPV;\
    info_temp[1].pQuantTable = pQuantTableV;\
    info_temp[1].bypassFlag = bypass_flag;

    inline IppStatus ReconstructChromaIntraHalfs4x4MB422(Ipp16s **ppSrcDstCoeff,
                                                         Ipp8u *pSrcDstUPlane,
                                                         Ipp8u *pSrcDstVPlane,
                                                         Ipp32u srcdstUVStep,
                                                         IppIntraChromaPredMode_H264 intraChromaMode,
                                                         Ipp32u cbpU,
                                                         Ipp32u cbpV,
                                                         Ipp32u chromaQPU,
                                                         Ipp32u chromaQPV,
                                                         Ipp32u levelScaleDCU,
                                                         Ipp32u levelScaleDCV,
                                                         Ipp8u edgeTypeTop,
                                                         Ipp8u edgeTypeBottom,
                                                         Ipp16s *pQuantTableU,
                                                         Ipp16s *pQuantTableV,
                                                         Ipp8u bypass_flag,
                                                         Ipp32s bit_depth = 8)
    {
        FILL_CHROMA_RECONSTRUCT_INFO_8U;
        return ippiReconstructChroma422IntraHalf4x4_H264High_16s8u_IP2R(info,
                                                                        intraChromaMode,
                                                                        edgeTypeTop,
                                                                        edgeTypeBottom,
                                                                        levelScaleDCU,
                                                                        levelScaleDCV);
    }

    inline IppStatus ReconstructChromaIntraHalfs4x4MB444(Ipp16s **ppSrcDstCoeff,
                                                         Ipp8u *pSrcDstUPlane,
                                                         Ipp8u *pSrcDstVPlane,
                                                         Ipp32u srcdstUVStep,
                                                         IppIntraChromaPredMode_H264 intraChromaMode,
                                                         Ipp32u cbpU,
                                                         Ipp32u cbpV,
                                                         Ipp32u chromaQPU,
                                                         Ipp32u chromaQPV,
                                                         Ipp8u edgeTypeTop,
                                                         Ipp8u edgeTypeBottom,
                                                         Ipp16s *pQuantTableU,
                                                         Ipp16s *pQuantTableV,
                                                         Ipp8u bypassFlag,
                                                         Ipp32s bit_depth = 8)
    {
        VM_ASSERT(false);
        return ippStsNoErr;/*ippiReconstructChromaIntraHalfs4x4MB444_H264_16s8u_P2R_(ppSrcDstCoeff,
            pSrcDstUPlane,
            pSrcDstVPlane,
            srcdstUVStep,
            intraChromaMode,
            CreateIPPCBPMask444(cbpU, cbpV),
            chromaQPU,
            chromaQPV,
            edgeTypeTop,
            edgeTypeBottom,
            pQuantTableU,
            pQuantTableV,
            bypassFlag);*/
    }

   inline IppStatus ReconstructChromaInter4x4MB422(Ipp16s **ppSrcDstCoeff,
                                                   Ipp8u *pSrcDstUPlane,
                                                   Ipp8u *pSrcDstVPlane,
                                                   Ipp32u srcdstUVStep,
                                                   Ipp32u cbpU,
                                                   Ipp32u cbpV,
                                                   Ipp32u chromaQPU,
                                                   Ipp32u chromaQPV,
                                                   Ipp32u levelScaleDCU,
                                                   Ipp32u levelScaleDCV,
                                                   Ipp16s *pQuantTableU,
                                                   Ipp16s *pQuantTableV,
                                                   Ipp8u bypass_flag,
                                                   Ipp32s bit_depth = 8)
   {
       FILL_CHROMA_RECONSTRUCT_INFO_8U;
       return ippiReconstructChroma422Inter4x4_H264High_16s8u_IP2R(info,
                                                                   levelScaleDCU,
                                                                   levelScaleDCV);
   }

    inline IppStatus ReconstructChromaInter4x4MB444(Ipp16s **ppSrcDstCoeff,
                                                    Ipp8u *pSrcDstUPlane,
                                                    Ipp8u *pSrcDstVPlane,
                                                    Ipp32u srcdstUVStep,
                                                    Ipp32u cbpU,
                                                    Ipp32u cbpV,
                                                    Ipp32u chromaQPU,
                                                    Ipp32u chromaQPV,
                                                    Ipp16s *pQuantTableU,
                                                    Ipp16s *pQuantTableV,
                                                    Ipp8u bypassFlag,
                                                    Ipp32s bit_depth = 8)
   {
       VM_ASSERT(false);
        return ippStsNoErr;/*ippiReconstructChromaInter4x4MB444_H264_16s8u_P2R_(ppSrcDstCoeff,
            pSrcDstUPlane,
            pSrcDstVPlane,
            srcdstUVStep,
            CreateIPPCBPMask444(cbpU, cbpV),
            chromaQPU,
            chromaQPV,
            pQuantTableU,
            pQuantTableV,
            bypassFlag);*/
   }


    inline IppStatus ReconstructChromaIntra4x4MB422(Ipp16s **ppSrcDstCoeff,
                                                    Ipp8u *pSrcDstUPlane,
                                                    Ipp8u *pSrcDstVPlane,
                                                    Ipp32u srcdstUVStep,
                                                    IppIntraChromaPredMode_H264 intraChromaMode,
                                                    Ipp32u cbpU,
                                                    Ipp32u cbpV,
                                                    Ipp32u chromaQPU,
                                                    Ipp32u chromaQPV,
                                                    Ipp32u levelScaleDCU,
                                                    Ipp32u levelScaleDCV,
                                                    Ipp8u edgeType,
                                                    Ipp16s *pQuantTableU,
                                                    Ipp16s *pQuantTableV,
                                                    Ipp8u bypass_flag,
                                                    Ipp32s bit_depth = 8)
   {
       FILL_CHROMA_RECONSTRUCT_INFO_8U;

⌨️ 快捷键说明

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