亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? sampleweighting.h

?? JMVM MPEG MVC/3DAV 測試平臺 國際通用標準
?? H
字號:
/*
********************************************************************************

NOTE - One of the two copyright statements below may be chosen
       that applies for the software.

********************************************************************************

This software module was originally developed by

Heiko Schwarz    (Fraunhofer HHI),
Tobias Hinz      (Fraunhofer HHI),
Karsten Suehring (Fraunhofer HHI)

in the course of development of the ISO/IEC 14496-10:2005 Amd.1 (Scalable Video
Coding) for reference purposes and its performance may not have been optimized.
This software module is an implementation of one or more tools as specified by
the ISO/IEC 14496-10:2005 Amd.1 (Scalable Video Coding).

Those intending to use this software module in products are advised that its
use may infringe existing patents. ISO/IEC have no liability for use of this
software module or modifications thereof.

Assurance that the originally developed software module can be used
(1) in the ISO/IEC 14496-10:2005 Amd.1 (Scalable Video Coding) once the
ISO/IEC 14496-10:2005 Amd.1 (Scalable Video Coding) has been adopted; and
(2) to develop the ISO/IEC 14496-10:2005 Amd.1 (Scalable Video Coding): 

To the extent that Fraunhofer HHI owns patent rights that would be required to
make, use, or sell the originally developed software module or portions thereof
included in the ISO/IEC 14496-10:2005 Amd.1 (Scalable Video Coding) in a
conforming product, Fraunhofer HHI will assure the ISO/IEC that it is willing
to negotiate licenses under reasonable and non-discriminatory terms and
conditions with applicants throughout the world.

Fraunhofer HHI retains full right to modify and use the code for its own
purpose, assign or donate the code to a third party and to inhibit third
parties from using the code for products that do not conform to MPEG-related
ITU Recommendations and/or ISO/IEC International Standards. 

This copyright notice must be included in all copies or derivative works.
Copyright (c) ISO/IEC 2005. 

********************************************************************************

COPYRIGHT AND WARRANTY INFORMATION

Copyright 2005, International Telecommunications Union, Geneva

The Fraunhofer HHI hereby donate this source code to the ITU, with the following
understanding:
    1. Fraunhofer HHI retain the right to do whatever they wish with the
       contributed source code, without limit.
    2. Fraunhofer HHI retain full patent rights (if any exist) in the technical
       content of techniques and algorithms herein.
    3. The ITU shall make this code available to anyone, free of license or
       royalty fees.

DISCLAIMER OF WARRANTY

These software programs are available to the user without any license fee or
royalty on an "as is" basis. The ITU disclaims any and all warranties, whether
express, implied, or statutory, including any implied warranties of
merchantability or of fitness for a particular purpose. In no event shall the
contributor or the ITU be liable for any incidental, punitive, or consequential
damages of any kind whatsoever arising from the use of these programs.

This disclaimer of warranty extends to the user of these programs and user's
customers, employees, agents, transferees, successors, and assigns.

The ITU does not represent or warrant that the programs furnished hereunder are
free of infringement of any third-party patents. Commercial implementations of
ITU-T Recommendations, including shareware, may be subject to royalty fees to
patent holders. Information regarding the ITU-T patent policy is available from 
the ITU Web site at http://www.itu.int.

THIS IS NOT A GRANT OF PATENT RIGHTS - SEE THE ITU-T PATENT POLICY.

********************************************************************************
*/






#if !defined(AFX_SAMPLEWEIGHTING_H__6B0A73D2_EAF3_497F_B114_913D68E1C1C0__INCLUDED_)
#define AFX_SAMPLEWEIGHTING_H__6B0A73D2_EAF3_497F_B114_913D68E1C1C0__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include  "H264AVCCommonLib/YuvMbBuffer.h"
#include  "H264AVCCommonLib/IntYuvMbBuffer.h"

H264AVC_NAMESPACE_BEGIN

class H264AVCCOMMONLIB_API SampleWeighting 
{
  typedef Void (*MixSampleFunc) ( Pel* pucDest,  Int iDestStride, Pel*  pucSrc, Int iSrcStride, Int iSizeY );
  typedef Void (*XMixSampleFunc)( XPel* pucDest, Int iDestStride, XPel* pucSrc, Int iSrcStride, Int iSizeY );

protected:
  SampleWeighting();
  virtual ~SampleWeighting()  {}

public:
  static ErrVal create( SampleWeighting*& rpcSampleWeighting );
  ErrVal destroy();
  virtual ErrVal init();
  ErrVal uninit();

  ErrVal initSlice( const SliceHeader& rcSliceHeader );

  Void getTargetBuffers( YuvMbBuffer*    apcTarBuffer[2], YuvMbBuffer*    pcRecBuffer, const PW* pcPW0, const PW* pcPW1 );
  Void getTargetBuffers( IntYuvMbBuffer* apcTarBuffer[2], IntYuvMbBuffer* pcRecBuffer, const PW* pcPW0, const PW* pcPW1 );

  Void weightLumaSamples(   YuvMbBuffer*    pcRecBuffer, Int iSizeX, Int iSizeY, LumaIdx cIdx, const PW* pcPW0, const PW* pcPW1 );
  Void weightChromaSamples( YuvMbBuffer*    pcRecBuffer, Int iSizeX, Int iSizeY, LumaIdx cIdx, const PW* pcPW0, const PW* pcPW1 );

  Void weightLumaSamples(   IntYuvMbBuffer* pcRecBuffer, Int iSizeX, Int iSizeY, LumaIdx cIdx, const PW* pcPW0, const PW* pcPW1 );
  Void weightChromaSamples( IntYuvMbBuffer* pcRecBuffer, Int iSizeX, Int iSizeY, LumaIdx cIdx, const PW* pcPW0, const PW* pcPW1 );

  //===== for motion estimation of bi-predicted blocks with standard weights =====
  Void inverseLumaSamples  ( IntYuvMbBuffer* pcDesBuffer, IntYuvMbBuffer* pcOrgBuffer, IntYuvMbBuffer* pcFixBuffer, Int iYSize, Int iXSize );

  //===== for motion estimation of bi-predicted blocks with non-standard weights =====
  Void weightInverseLumaSamples  ( IntYuvMbBuffer* pcDesBuffer, IntYuvMbBuffer* pcOrgBuffer, IntYuvMbBuffer* pcFixBuffer, const PW* pcSearchPW, const PW* pcFixPW, Double&  rdWeight, Int iYSize, Int iXSize );

  //===== for motion estimation of unidirectional predicted blocks with non-standard weights =====
  Void weightInverseLumaSamples  ( IntYuvMbBuffer* pcDesBuffer, IntYuvMbBuffer* pcOrgBuffer, const PW* pcPW, Double&  rdWeight, Int iYSize, Int iXSize );
  Void weightInverseChromaSamples( IntYuvMbBuffer* pcDesBuffer, IntYuvMbBuffer* pcOrgBuffer, const PW* pcPW, Double* padWeight, Int iYSize, Int iXSize );

//TMM_WP
  ErrVal initSliceForWeighting( const SliceHeader& rcSliceHeader);

//TMM_WP
  
protected:
  Void xMixB      ( Pel*  pucDest, Int iDestStride, Pel*  pucSrc, Int iSrcStride, Int iSizeY, Int iSizeX );
  Void xMixB      ( XPel* pucDest, Int iDestStride, XPel* pucSrc, Int iSrcStride, Int iSizeY, Int iSizeX );
  Void xMixBWeight( Pel*  pucDest, Int iDestStride, Pel*  pucSrc, Int iSrcStride, Int iSizeY, Int iSizeX, Int iWD, Int iWS, Int iOffset, UInt uiDenom );
  Void xMixBWeight( XPel* pucDest, Int iDestStride, XPel* pucSrc, Int iSrcStride, Int iSizeY, Int iSizeX, Int iWD, Int iWS, Int iOffset, UInt uiDenom );
  Void xWeight    ( Pel*  pucDest, Int iDestStride,                               Int iSizeY, Int iSizeX, Int iWeight,      Int iOffset, UInt uiDenom );
  Void xWeight    ( XPel* pucDest, Int iDestStride,                               Int iSizeY, Int iSizeX, Int iWeight,      Int iOffset, UInt uiDenom );

private:
  static Void xMixB16x( Pel* pucDest, Int iDestStride, Pel* pucSrc, Int iSrcStride, Int iSizeY );
  static Void xMixB8x ( Pel* pucDest, Int iDestStride, Pel* pucSrc, Int iSrcStride, Int iSizeY );
  static Void xMixB4x ( Pel* pucDest, Int iDestStride, Pel* pucSrc, Int iSrcStride, Int iSizeY );
  static Void xXMixB16x( XPel* pucDest, Int iDestStride, XPel* pucSrc, Int iSrcStride, Int iSizeY );
  static Void xXMixB8x ( XPel* pucDest, Int iDestStride, XPel* pucSrc, Int iSrcStride, Int iSizeY );
  static Void xXMixB4x ( XPel* pucDest, Int iDestStride, XPel* pucSrc, Int iSrcStride, Int iSizeY );

protected:
  MixSampleFunc m_afpMixSampleFunc[5];
  XMixSampleFunc m_afpXMixSampleFunc[5];

private:
  YuvMbBuffer     m_cYuvBiBuffer;
  IntYuvMbBuffer  m_cIntYuvBiBuffer;
  UInt            m_uiLumaLogWeightDenom;
  UInt            m_uiChromaLogWeightDenom;
  Bool            m_bExplicit;
  Bool            m_bWeightedPredDisableP;
  Bool            m_bWeightedPredDisableB;
};


H264AVC_NAMESPACE_END


#endif // !defined(AFX_SAMPLEWEIGHTING_H__6B0A73D2_EAF3_497F_B114_913D68E1C1C0__INCLUDED_)

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人午夜在线播放| www.欧美亚洲| 日韩一级二级三级精品视频| 午夜久久久久久久久| 91麻豆精品久久久久蜜臀| 日韩avvvv在线播放| 精品国产3级a| 色综合久久88色综合天天6 | 欧美人妖巨大在线| 奇米色一区二区| 国产精品第四页| 欧美日韩精品专区| 成人性生交大片免费看在线播放| 亚洲欧美日韩国产综合| 欧美第一区第二区| 91久久奴性调教| 国产资源在线一区| 日本午夜一本久久久综合| 国产亚洲综合av| 欧美顶级少妇做爰| 在线欧美日韩精品| 国产91精品久久久久久久网曝门| 天堂蜜桃一区二区三区 | 欧美日本一区二区三区四区| 日韩av一区二区三区四区| 中文字幕一区二区三区精华液 | 韩国视频一区二区| 肉色丝袜一区二区| 天天亚洲美女在线视频| 亚洲尤物视频在线| 亚洲国产中文字幕在线视频综合 | 国产区在线观看成人精品| 日韩女优制服丝袜电影| 在线91免费看| 欧美xxxx老人做受| 欧美videofree性高清杂交| 91.麻豆视频| 欧美一区二区三区在线观看| 欧美精选午夜久久久乱码6080| 欧美三级在线看| 欧美高清视频在线高清观看mv色露露十八| 91麻豆福利精品推荐| 欧美午夜在线一二页| 91精品国产91综合久久蜜臀| 精品欧美久久久| 中文字幕中文在线不卡住| 一个色在线综合| 秋霞国产午夜精品免费视频| 久久66热re国产| 99视频在线观看一区三区| 欧美乱熟臀69xxxxxx| 久久久亚洲欧洲日产国码αv| 国产亚洲精品超碰| 亚洲一区电影777| 国产一区在线视频| 日本不卡不码高清免费观看| 老司机精品视频导航| 国产福利精品导航| 日本高清视频一区二区| 91精品国产色综合久久不卡电影 | 国产精品色哟哟网站| 亚洲三级小视频| 亚洲福利一区二区三区| 日本大胆欧美人术艺术动态| 国产不卡视频在线观看| 欧洲一区在线观看| 国产喂奶挤奶一区二区三区| 亚洲精品成a人| 久久不见久久见免费视频1| 日韩精品91亚洲二区在线观看 | 国产婷婷一区二区| 性做久久久久久| fc2成人免费人成在线观看播放| 9191成人精品久久| 亚洲精品免费视频| 91污片在线观看| 7777精品伊人久久久大香线蕉的| 亚洲欧美日韩小说| 97se亚洲国产综合自在线不卡| 欧美少妇性性性| 亚洲色图在线播放| 97se亚洲国产综合自在线观| 中文无字幕一区二区三区| 精品一区二区三区免费观看 | 亚洲一区二区三区中文字幕 | 精品国产免费视频| 天堂精品中文字幕在线| av电影天堂一区二区在线观看| 日本韩国一区二区三区视频| 国产精品久久久久永久免费观看| 国产成人综合网| 国产精品久久午夜夜伦鲁鲁| 成人自拍视频在线| 2020国产精品自拍| 丁香一区二区三区| 亚洲日穴在线视频| 91精品国产欧美一区二区18 | 免费在线视频一区| 久久精品亚洲乱码伦伦中文| 99免费精品在线| 五月激情综合网| 91福利资源站| 蜜臀av一区二区在线免费观看| 久久日一线二线三线suv| 不卡欧美aaaaa| 老司机精品视频线观看86| 欧美激情一区二区三区不卡 | 国产一区二区三区综合| 国产精品欧美综合在线| 337p亚洲精品色噜噜噜| 日韩精品免费视频人成| 国产日韩欧美综合在线| 91精品国产综合久久久久久久| 国产成人精品亚洲日本在线桃色 | av成人老司机| 国模冰冰炮一区二区| 天涯成人国产亚洲精品一区av| 欧美日韩电影一区| 99久久99久久综合| 高清日韩电视剧大全免费| 欧美韩日一区二区三区四区| 91精品一区二区三区久久久久久 | 国产精品天干天干在线综合| 日韩欧美视频一区| 精品乱码亚洲一区二区不卡| 91 com成人网| 日韩亚洲欧美成人一区| 欧美日韩电影在线播放| 欧美精品三级在线观看| 91网上在线视频| 欧洲中文字幕精品| 欧美视频在线观看一区| 一本高清dvd不卡在线观看| 91美女片黄在线观看91美女| 91性感美女视频| 欧美午夜精品一区二区蜜桃 | 蜜臀精品久久久久久蜜臀| 免费观看日韩av| 奇米影视一区二区三区小说| 免费成人性网站| 成人免费毛片a| 91女神在线视频| 制服丝袜中文字幕一区| 色天天综合色天天久久| 91麻豆国产福利在线观看| 欧美日本一区二区在线观看| 欧美精品一区二区精品网| 欧美一级免费观看| 亚洲黄色性网站| 日韩av电影天堂| 国产做a爰片久久毛片| 91蜜桃视频在线| 久久亚区不卡日本| 日韩电影免费一区| 99久久99久久精品免费观看| 欧美videofree性高清杂交| 亚洲狠狠爱一区二区三区| proumb性欧美在线观看| 717成人午夜免费福利电影| 久久久美女毛片 | 在线观看日韩精品| 欧美日韩一区二区三区不卡| 国产欧美日产一区| 久久精品国产精品亚洲红杏| 欧美日韩黄色一区二区| 中文字幕亚洲不卡| 日韩精品每日更新| 精品国产区一区| 精品精品国产高清a毛片牛牛| 欧美日韩视频在线一区二区| 国产色婷婷亚洲99精品小说| 亚洲免费伊人电影| 韩国三级在线一区| 欧美日韩亚洲丝袜制服| 中日韩av电影| 免费视频一区二区| 欧美在线观看视频在线| 国产日韩欧美亚洲| 精品一区二区国语对白| 欧美美女一区二区| 亚洲制服欧美中文字幕中文字幕| 成人一区二区三区| 久久久精品天堂| 免费人成黄页网站在线一区二区 | 中文字幕一区二区三区不卡 | 精品久久久久久久人人人人传媒 | 欧美日韩不卡一区| 激情欧美一区二区| 欧洲精品一区二区| 日本一区二区三区视频视频| 亚洲自拍偷拍综合| av亚洲精华国产精华| 国产精品每日更新| 国产夫妻精品视频| 国产欧美精品国产国产专区| 国产高清不卡一区二区| 久久久激情视频| 风间由美一区二区av101| 国产午夜一区二区三区| 精品一区二区国语对白|