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

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

?? memaccessor.h

?? JVT-Z203_jsvm.rar
?? 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_MEMACCESSOR_H__F7B8E14C_79CB_4DAF_A1BE_9AA64D4A2DDA__INCLUDED_)
#define AFX_MEMACCESSOR_H__F7B8E14C_79CB_4DAF_A1BE_9AA64D4A2DDA__INCLUDED_

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

#include <list>


template< class T >
class MemAccessor
{
public:
  MemAccessor() :
    m_pcT( NULL ), m_pcOrigT( NULL ), m_uiSize( 0 ), m_uiUsableSize( 0 ) {}

  MemAccessor( T* pcT, UInt uiSize, T* pcOrigT=NULL, UInt uiUsableSize=0 ) :
    m_pcT( pcT ), m_pcOrigT( pcOrigT ), m_uiSize( uiSize ), m_uiUsableSize( uiUsableSize )
  {
    if( NULL == m_pcOrigT ) m_pcOrigT = m_pcT;
    if( 0 == m_uiUsableSize ) m_uiUsableSize = uiSize;
  }

  MemAccessor( const MemAccessor< T >& rcMemAccessor ) :
    m_pcT( rcMemAccessor.m_pcT ), m_pcOrigT( rcMemAccessor.m_pcOrigT ), m_uiSize( rcMemAccessor.m_uiSize ) , m_uiUsableSize( rcMemAccessor.m_uiUsableSize ) {}

  virtual ~MemAccessor() {}

public:
  MemAccessor< T >& operator=( const MemAccessor< T >& rcMemAccessor )
  {
    m_pcT = rcMemAccessor.m_pcT;
    m_pcOrigT = rcMemAccessor.m_pcOrigT;
    m_uiSize = rcMemAccessor.m_uiSize;
    m_uiUsableSize = rcMemAccessor.m_uiUsableSize;

    return *this;
  }

public:
  Void set( const MemAccessor< T >& rcMemAccessor )
  {
    m_pcT = rcMemAccessor.m_pcT;
    m_pcOrigT = rcMemAccessor.m_pcOrigT;
    m_uiSize = rcMemAccessor.m_uiSize;
    m_uiUsableSize = rcMemAccessor.m_uiUsableSize;
  }

  Void set( T* pcT, UInt uiSize, T* pcOrigT=NULL, UInt uiUsableSize=0 )
  {
    m_pcT = pcT;
    m_uiSize = uiSize;
    m_pcOrigT = pcOrigT;
    m_uiUsableSize = uiUsableSize;
    if( NULL == pcOrigT ) { m_pcOrigT = pcT; }
    if( 0 == uiUsableSize ) { m_uiUsableSize = m_uiSize; }
  }

  Void clear()
  {
    m_pcT = NULL;
    m_pcOrigT = NULL;
    m_uiSize = 0;
    m_uiUsableSize = 0;
  }

  Void deleteData() { if( m_pcOrigT ) { delete[] m_pcOrigT; } m_pcOrigT = NULL; m_pcT = NULL; m_uiSize = 0; m_uiUsableSize = 0; }

  T* data() const { return m_pcT; }
  T* origData() const { return m_pcOrigT; }
  UInt size() const { return m_uiSize; }
  UInt usableSize() const { return m_uiUsableSize; }
  UInt byteSize() const { return sizeof( T ) * m_uiSize; }
  UInt usableByteSize() const { return sizeof( T ) * m_uiUsableSize; }

public:
  ErrVal increasePos( UInt uiPos )
  {
    ROT( uiPos >= m_uiSize );
    m_pcT += uiPos;
    m_uiSize -= uiPos;
    return Err::m_nOK;
  }


  ErrVal decreasePos( UInt uiPos )
  {
    ROT( m_pcT - uiPos < m_pcOrigT );
    m_pcT -= uiPos;
    m_uiSize += uiPos;
    return Err::m_nOK;
  }

  ErrVal resetPos()
  {
    m_uiSize += m_pcT - m_pcOrigT;
    m_pcT = m_pcOrigT;
    return Err::m_nOK;
  }

  ErrVal increaseEndPos( UInt uiPos )
  {
    ROT( uiPos > (m_uiUsableSize - m_uiSize) );
    m_uiSize += uiPos;
    return Err::m_nOK;
  }

  ErrVal decreaseEndPos( UInt uiPos )
  {
    ROT( uiPos > m_uiSize );
    m_uiSize -= uiPos;
    return Err::m_nOK;
  }

  ErrVal resetEndPos()
  {
    m_uiSize = m_uiUsableSize - (m_pcT - m_pcOrigT);
    return Err::m_nOK;
  }

private:
  T* m_pcT;
  T* m_pcOrigT;
  UInt m_uiSize;
  UInt m_uiUsableSize;
};



template< class T >
class MemAccessList
{
public:
  MemAccessList() : m_uiSize( 0 ) {}

  MemAccessList( const MemAccessList< T >& rcMemAccessList ) : m_uiSize( 0 )
  {
    m_uiSize = rcMemAccessList.m_uiSize;
    typename MemAccessorList::const_iterator pcPair;
    for( pcPair = rcMemAccessList.m_cMemAccessorList.begin(); pcPair != rcMemAccessList.m_cMemAccessorList.end(); pcPair++  )
    {
      m_cMemAccessorList.push_back( MemAccessor< T >( pcPair->data(), pcPair->size(), pcPair->origData(), pcPair->usableSize() ) );
    }
  }

  MemAccessList( T* pcT, UInt uiSize, T* pcOrigT=NULL, UInt uiUsableSize=0 ) : m_uiSize( 0 )
  {
    if( NULL == pcOrigT ) { pcOrigT = pcT; }
    if( 0 == uiUsableSize ) { uiUsableSize = uiSize; }
    push_back( pcT, uiSize, pcOrigT, uiUsableSize );
  }

  virtual ~MemAccessList() {}

  MemAccessList< T >& operator=( const MemAccessList< T >& rcMemAccessList )
  {
    // paranoia
    ROTRS( this == &rcMemAccessList, *this );

    // reset class
    reset();

    m_uiSize = rcMemAccessList.m_uiSize;
    typename MemAccessorList::const_iterator pcPair;
    for( pcPair = rcMemAccessList.m_cMemAccessorList.begin(); pcPair != rcMemAccessList.m_cMemAccessorList.end(); pcPair++  )
    {
      m_cMemAccessorList.push_back( MemAccessor< T >( pcPair->data(), pcPair->size(), pcPair->origData(), pcPair->usableSize() ) );
    }

    return *this;
  }

public:
  Void set( T* pcT, UInt uiSize, T* pcOrigT=NULL, UInt uiUsableSize=0 )
  {
    reset();
    if( NULL == pcOrigT ) { pcOrigT = pcT; }
    if( 0 == uiUsableSize ) { uiUsableSize = uiSize; }
    push_back( pcT, uiSize, pcOrigT, uiUsableSize );
  }

  Void set( MemAccessor< T >& rcMemAccessor )
  {
    reset();
    push_back( rcMemAccessor );
  }

  Void copyPayload( T*& rpcT, UInt& ruiSize )
  {
    if( 0 == m_uiSize )
    {
      rpcT = NULL;
      ruiSize = 0;
      return;
    }

    ruiSize = m_uiSize;
    rpcT = new T[ruiSize];
    ROTV( NULL == rpcT );

    UInt uiPos = 0;
    MemAccessorListIterator pcPair;
    for( pcPair = m_cMemAccessorList.begin(); pcPair != m_cMemAccessorList.end(); pcPair++ )
    {
      ROTV( uiPos + pcPair->size() > ruiSize );
      ::memcpy( &rpcT[uiPos], pcPair->data(), sizeof(T) * pcPair->size() );
      uiPos += pcPair->size();
    }

  }

  UInt listSize() const { return m_cMemAccessorList.size(); }

  T* entryData( UInt uiEntryPos )
  {
    // check if we have more than one entry
    ROTR( uiEntryPos >= m_cMemAccessorList.size(), NULL );
    typename MemAccessorList::const_iterator pcMemAccessor;
    for( pcMemAccessor = m_cMemAccessorList.begin(); uiEntryPos-- != 0; pcMemAccessor++ )
      ;
    return pcMemAccessor->data();
  }

  UInt entrySize( UInt uiEntryPos )
  {
    // check if we have more than one entry
    ROTR( uiEntryPos >= m_cMemAccessorList.size(), 0 );
    typename MemAccessorList::const_iterator pcMemAccessor;
    for( pcMemAccessor = m_cMemAccessorList.begin(); uiEntryPos-- != 0; pcMemAccessor++ )
      ;
    return pcMemAccessor->size();
  }

  UInt entryByteSize( UInt uiEntryPos ) const { return sizeof( T ) * entrySize( uiEntryPos ); }
  UInt size() const { return m_uiSize; }
  UInt byteSize() const { return m_uiSize * sizeof( T ); }

public:
  Void reset() { m_cMemAccessorList.clear(); m_uiSize = 0; }

public:
  Void push_back( T* pcT, UInt uiSize, T* pcOrigT=NULL, UInt uiUsableSize=0 )
  {
    if( NULL == pcOrigT ) { pcOrigT = pcT; }
    if( 0 == uiUsableSize ) { uiUsableSize = uiSize; }
    m_cMemAccessorList.push_back( MemAccessor< T >( pcT, uiSize, pcOrigT, uiUsableSize ) );
    m_uiSize += uiSize;
  }

  Void push_back( MemAccessor< T >& rcMemAccessor )
  {
    m_cMemAccessorList.push_back( rcMemAccessor );
    //m_uiSize += uiSize; // leszek: uiSize is not defined
  m_uiSize += rcMemAccessor.m_uiSize; // leszek: this seems to be the intention
  }

  Void push_front( T* pcT, UInt uiSize, T* pcOrigT=NULL, UInt uiUsableSize=0 )
  {
    if( NULL == pcOrigT ) { pcOrigT = pcT; }
    if( 0 == uiUsableSize ) { uiUsableSize = uiSize; }
    m_cMemAccessorList.push_front( MemAccessor< T >( pcT, uiSize, pcOrigT, uiUsableSize ) );
    m_uiSize += uiSize;
  }

  Void push_front( MemAccessor< T >& rcMemAccessor )
  {
    m_cMemAccessorList.push_front( rcMemAccessor );
    //m_uiSize += uiSize; // leszek: uiSize is not defined
  m_uiSize += rcMemAccessor.m_uiSize; // leszek: this seems to be the intention
  }

private:
  typedef std::list< MemAccessor< T > > MemAccessorList;
  typedef typename MemAccessorList::iterator MemAccessorListIterator;

private:
  MemAccessorList m_cMemAccessorList;
  UInt m_uiSize;
};



#endif // !defined(AFX_MEMACCESSOR_H__F7B8E14C_79CB_4DAF_A1BE_9AA64D4A2DDA__INCLUDED_)

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
三级亚洲高清视频| 韩国精品在线观看| 国产精品免费人成网站| 精品久久免费看| 精品少妇一区二区| 久久久一区二区| 国产精品无遮挡| 国产日韩欧美在线一区| 国产女人18水真多18精品一级做 | 午夜电影网一区| 五月婷婷激情综合| 蜜桃视频一区二区| 高清不卡一区二区在线| 不卡一区二区三区四区| 欧美性三三影院| 91精品国产aⅴ一区二区| 岛国精品一区二区| 99久久er热在这里只有精品15| 丰满少妇在线播放bd日韩电影| 欧美在线观看一区| 国产精品色婷婷久久58| 国产美女精品在线| 国产欧美日韩在线看| 激情综合亚洲精品| 欧美激情在线观看视频免费| 奇米综合一区二区三区精品视频 | 国产精品女主播av| 一色桃子久久精品亚洲| www.av亚洲| 国产aⅴ综合色| 91久久久免费一区二区| 91麻豆精品国产91久久久| 欧美精品一区二区三区一线天视频| 久久欧美一区二区| 亚洲一区中文日韩| 国产毛片精品视频| 欧美午夜一区二区三区 | 日本大胆欧美人术艺术动态| 美洲天堂一区二卡三卡四卡视频 | 91极品美女在线| 欧美在线观看视频一区二区三区 | 久久综合色鬼综合色| 婷婷久久综合九色综合伊人色| 久久精品欧美一区二区三区麻豆| 国产成人综合在线观看| 欧美一级艳片视频免费观看| 亚洲欧美福利一区二区| 在线一区二区观看| 天天av天天翘天天综合网 | 久久色视频免费观看| 亚洲精品福利视频网站| 成人18视频日本| 亚洲一区二区三区影院| 欧美一区二区三区白人| 国内外成人在线| 国产精品国产三级国产三级人妇| 91免费版pro下载短视频| 亚洲小少妇裸体bbw| 日韩欧美中文字幕公布| 国产成人综合在线观看| 亚洲丝袜另类动漫二区| 欧美一区二区福利在线| 国产一区二三区好的| 日韩一区在线免费观看| 欧美高清hd18日本| 国产成人午夜高潮毛片| 夜夜嗨av一区二区三区四季av| 日韩视频免费观看高清完整版在线观看| 久久免费视频色| 欧洲视频一区二区| 国产一区二区不卡| 亚洲无线码一区二区三区| 欧美日韩国产免费一区二区| 国产精品人成在线观看免费| 成人黄色片在线观看| 欧美xxxxxxxxx| 一区二区三区.www| 精品福利视频一区二区三区| 色综合天天综合网天天狠天天| 欧美96一区二区免费视频| 国产精品久久久久久久蜜臀| 884aa四虎影成人精品一区| 成人免费视频app| 久久99热99| 天涯成人国产亚洲精品一区av| 国产精品美日韩| 久久亚洲捆绑美女| 欧美日韩成人一区| 色欧美88888久久久久久影院| 国产乱码精品一区二区三区av| 午夜影院在线观看欧美| 亚洲精品日产精品乱码不卡| 久久久另类综合| 色猫猫国产区一区二在线视频| 免费成人av资源网| 欧美久久一区二区| 国产精品久久久久久久久久久免费看 | 中文字幕一区三区| 激情文学综合丁香| 国产亚洲欧美日韩在线一区| 国产精品99久久久久久久vr| 久久久影视传媒| 美女国产一区二区| 伊人夜夜躁av伊人久久| 欧美国产亚洲另类动漫| 精品国产一区二区三区久久久蜜月 | 国产乱人伦精品一区二区在线观看| 欧美性xxxxx极品少妇| 一区二区高清在线| 久久久91精品国产一区二区精品| 国产精品一区在线观看乱码| 人人狠狠综合久久亚洲| 性做久久久久久久久| 亚洲欧美成aⅴ人在线观看| 久久久国产精品午夜一区ai换脸| 欧美一区二区性放荡片| 91精品视频网| 欧美电视剧在线看免费| 欧美一区二区黄| 91精品国产综合久久小美女| 欧美久久婷婷综合色| 欧美日韩一级二级三级| 欧美午夜精品久久久| 久久先锋影音av鲁色资源网| 国产精品18久久久久久久久久久久| 亚洲一区二区三区四区的| 国产日产欧美一区二区三区| 欧美三区在线视频| 国产真实乱对白精彩久久| 亚洲欧美区自拍先锋| 一个色综合av| 青青草一区二区三区| 美腿丝袜亚洲综合| 国产精品一区二区黑丝| eeuss国产一区二区三区| 91免费观看视频在线| 欧美日产在线观看| 久久亚洲综合色一区二区三区| 亚洲国产岛国毛片在线| 亚洲精品美国一| 蜜桃精品在线观看| 成人听书哪个软件好| 欧美性受xxxx| 337p日本欧洲亚洲大胆精品| 国产精品国产成人国产三级| 亚洲午夜羞羞片| 国产精品亚洲一区二区三区妖精| 色综合中文字幕国产 | 蜜臀91精品一区二区三区| 国内精品伊人久久久久av一坑 | 一区二区三区在线播| 天堂资源在线中文精品| 国产99久久久精品| 欧美性猛交xxxxxx富婆| 久久精品视频免费观看| 亚洲影视在线观看| 国产精品一区三区| 欧美日韩一级大片网址| 中文字幕免费不卡在线| 日韩精品乱码免费| 99v久久综合狠狠综合久久| 欧美一级片在线| 亚洲图片你懂的| 国内精品视频666| 69堂亚洲精品首页| 亚洲视频小说图片| 精品一区二区在线观看| 欧美日韩视频专区在线播放| 国产精品色婷婷| 激情小说欧美图片| 欧美二区三区的天堂| 中文字幕日本不卡| 大白屁股一区二区视频| 精品国产成人系列| 亚洲国产综合人成综合网站| www.在线欧美| 国产偷国产偷精品高清尤物 | 精品国产sm最大网站免费看| 亚洲综合在线免费观看| 成人一级片网址| 国产欧美综合在线观看第十页| 日韩国产精品久久久久久亚洲| 不卡影院免费观看| 国产色综合一区| 久久91精品国产91久久小草| 欧美日韩不卡一区二区| 亚洲小说春色综合另类电影| 91啦中文在线观看| 中文字幕一区二区三区色视频| 国产精品自在在线| 久久一区二区三区四区| 久久av资源网| 欧美精品一区二区三区久久久| 日韩不卡一区二区| 欧美久久久一区| 麻豆国产精品一区二区三区 | 欧美一级在线视频| 视频一区国产视频| 在线不卡一区二区| 视频在线观看一区二区三区|