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

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

?? extractorparameter.cpp

?? JMVM MPEG MVC/3DAV 測試平臺 國際通用標準
?? CPP
?? 第 1 頁 / 共 2 頁
字號:
/*
********************************************************************************

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.

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




#include "BStreamExtractor.h"
#include "ExtractorParameter.h"


#ifndef MSYS_WIN32
#define stricmp strcasecmp
#endif

#define equal(a,b)  (!stricmp((a),(b)))




ExtractorParameter::ExtractorParameter()
: m_cInFile       ()
, m_cOutFile      ()
, m_iResult       ( -10 )
, m_uiScalableLayer( MSYS_UINT_MAX )
, m_uiLayer       ( MSYS_UINT_MAX )
, m_uiLevel       ( MSYS_UINT_MAX )
, m_dFGSLayer     ( 10.0 )
, m_dBitrate			( MSYS_UINT_MAX )
, m_bAnalysisOnly ( true )
// HS: packet trace
, m_bTraceFile    ( false )
, m_bTraceExtract ( false )
, m_cTraceFile    ()
, m_cExtractTrace ()

//S051{
, m_bUseSIP(false)
, m_uiSuffixUnitEnable(0)
//S051}
//JVT-T054{
, m_bKeepfExtraction (false)
//JVT-T054}

// Test DJ
, m_bROIFlag (false)

//JVT-S043
, m_eQLExtractionMode(QL_EXTRACTOR_MODE_JOINT)

{
    //{{Quality level estimation and modified truncation- JVTO044 and m12007
    //France Telecom R&D-(nathalie.cammas@francetelecom.com)
    for(UInt uiLayer = 0; uiLayer < MAX_LAYERS; uiLayer++)
    {
	    m_bExtractDeadSubstream[uiLayer] = false;
    }
    //}}Quality level estimation and modified truncation- JVTO044 and m12007
}



ExtractorParameter::~ExtractorParameter()
{
}



ErrVal
ExtractorParameter::xParseFormatString( Char*   pFormatString,
                                        Point&  rcPoint )
{
  Char  acSearch  [4] = "x@:";
  Char* pSubString[4] = { 0, 0, 0, 0 };
  UInt  uiPos         = 0;

  //===== set sub-strings =====
  for( UInt uiIndex = 0; uiIndex < 3; uiIndex++ )
  {
    while( pFormatString[uiPos] != '\0' )
    {
      if ( pFormatString[uiPos++] == acSearch[uiIndex] )
      {
        pFormatString [uiPos-1] =  '\0';
        pSubString    [uiIndex] =  pFormatString;
        pFormatString           = &pFormatString[uiPos];
        uiPos                   =  0;
        break;
      }
    }
  }
  pSubString[3] = pFormatString;

  ROFS( pSubString[0] );
  ROFS( pSubString[1] );
  ROFS( pSubString[2] );
  ROFS( pSubString[3] );

  rcPoint.uiWidth    = atoi( pSubString[0] );
  rcPoint.uiHeight   = atoi( pSubString[1] );
  rcPoint.dFrameRate = atof( pSubString[2] );
  rcPoint.dBitRate   = atof( pSubString[3] );

  ROFS( rcPoint.uiWidth    > 0   );
  ROFS( rcPoint.uiHeight   > 0   );
  ROFS( rcPoint.dFrameRate > 0.0 );
  ROFS( rcPoint.dBitRate   > 0.0 );

  return Err::m_nOK;
}

ErrVal
ExtractorParameter::init( Int     argc,
                          Char**  argv )	
{
  m_cExtractionList.clear();
  m_uiLayer = MSYS_UINT_MAX;
  m_uiLevel = MSYS_UINT_MAX;
	m_uiScalableLayer = MSYS_UINT_MAX; 
	Bool  bScalableLayerSpecified   = false;
	m_uiExtractNonRequiredPics = MSYS_UINT_MAX;

  Bool  bTraceExtractionSpecified = false; // HS: packet trace
  Bool  bExtractionPointSpecified = false;
  
  Bool  bLayerSpecified           = false;
  Bool  bLevelSpecified           = false;
  Bool  bFGSSpecified             = false;
  Bool	bBitrateSpecified					= false;
  Point cPoint;

  //S051{
  Bool	bDSSpecified=false;
  //S051}

  m_bExtractUsingQL = false;

  m_eQLExtractionMode = QL_EXTRACTOR_MODE_JOINT;
  
#define EXIT(x,m) {if(x){printf("\n%s\n",m);RNOKS(xPrintUsage(argv))}}

  if( argc > 3 && equal( "-pt", argv[1] ) ) // HS: packet trace
  {
    m_cTraceFile  = argv[2];
    m_bTraceFile  = true;
    argv         += 2;
    argc         -= 2;
  }

  //===== get file names and set parameter "AnalysisOnly" =====
  EXIT( argc < 2, "No arguments specified" );
  m_iResult       = 0;
  m_bAnalysisOnly = ( argc == 2 ? true : false );
  m_cInFile       = argv[1];
  ROTRS( m_bAnalysisOnly, Err::m_nOK );
  m_cOutFile      = argv[2];

  //===== process arguments =====
  for( Int iArg = 3; iArg < argc; iArg++ )
  {
    if( equal( "-sl", argv[iArg] ) ) // -sl
    {
			EXIT( iArg + 1 == argc,           "Option \"-sl\" without argument specified" );
      EXIT( bScalableLayerSpecified,    "Multiple options \"-sl\"" );
      EXIT( bExtractionPointSpecified,  "Option \"-sl\" used in connection with option \"-e\"" );
			EXIT( bLayerSpecified,            "Option \"-sl\" used in connection with option \"-l\"" );
			EXIT( bLevelSpecified,						"Option \"-sl\" used in connection with option \"-t\"" );

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲国产精品二十页| 91在线观看高清| 中文字幕精品—区二区四季| 在线免费观看日韩欧美| 久久国产剧场电影| 一区二区三区日韩在线观看| 欧美三片在线视频观看 | 蜜桃视频一区二区三区在线观看| aaa亚洲精品| 久久99精品久久久久久国产越南 | 亚洲va欧美va人人爽| 国产精品视频第一区| 日韩欧美的一区| 欧美日韩在线播放一区| 一本色道亚洲精品aⅴ| 国产成人av一区二区三区在线 | 国产精品你懂的在线欣赏| 欧美一区二区在线免费播放| 欧美在线视频全部完| 99久久久久久| 成人黄色a**站在线观看| 国产综合色视频| 美腿丝袜亚洲一区| 午夜影视日本亚洲欧洲精品| 中文字幕日韩一区二区| 日韩区在线观看| 91精品午夜视频| 欧美剧情片在线观看| 在线精品视频小说1| 色综合久久88色综合天天6| 成人国产精品视频| 99久久国产免费看| 91香蕉视频在线| 99re6这里只有精品视频在线观看 99re8在线精品视频免费播放 | 国产一区二区0| 美女视频一区二区三区| 天堂久久一区二区三区| 一区二区三区精品视频| 一区二区三区四区视频精品免费 | 免费三级欧美电影| 亚洲激情自拍视频| 亚洲最大色网站| 一区二区三区久久| 无码av中文一区二区三区桃花岛| 亚洲综合激情另类小说区| 亚洲成人资源在线| 美国精品在线观看| 国内精品免费**视频| 国产乱子伦视频一区二区三区 | 黄色成人免费在线| 福利电影一区二区| 99国产精品视频免费观看| 在线观看一区二区精品视频| 欧美日本一区二区三区四区| 91麻豆精品国产| 久久久91精品国产一区二区精品 | 亚洲欧美日韩一区二区| 亚洲综合在线第一页| 一区二区三区在线视频观看58| 亚洲一区视频在线观看视频| 日韩av一区二区在线影视| 激情综合五月天| 成人av资源在线观看| 精品婷婷伊人一区三区三| 这里只有精品99re| 久久久久久久久久电影| 亚洲人成精品久久久久| 日韩国产高清影视| 国产精品一区二区果冻传媒| 日本精品一区二区三区高清| 91精品国产色综合久久不卡电影| 国产人妖乱国产精品人妖| 亚洲免费观看高清在线观看| 久久精品国产精品亚洲综合| 99国产精品视频免费观看| 日韩一区二区在线观看| 国产精品国产三级国产aⅴ无密码| 亚洲一区在线看| 国产精品一色哟哟哟| 欧美色老头old∨ideo| 久久精品视频免费| 丝袜美腿亚洲一区| www.亚洲国产| 欧美sm美女调教| 一区二区国产盗摄色噜噜| 激情图片小说一区| 日本高清无吗v一区| 久久欧美中文字幕| 亚洲成av人影院| aaa欧美日韩| 精品99一区二区| 亚洲一区二区三区四区在线观看 | 国产精品免费aⅴ片在线观看| 亚洲成人一区二区| 成人黄色电影在线| www一区二区| 亚洲福利视频导航| 成人aaaa免费全部观看| 精品国产91乱码一区二区三区 | 国产喂奶挤奶一区二区三区| 天堂影院一区二区| 91福利在线导航| 国产精品色婷婷| 国产一区二区三区在线观看免费| 欧美少妇xxx| 亚洲欧美日韩一区二区| 国产aⅴ综合色| 精品国产123| 日韩国产欧美在线观看| 欧美性受xxxx| 中文字幕亚洲欧美在线不卡| 国产精品综合av一区二区国产馆| 欧美日韩国产精选| 亚洲国产欧美一区二区三区丁香婷| 不卡免费追剧大全电视剧网站| 精品国产一区二区三区四区四| 日本va欧美va精品发布| 欧美日韩国产综合视频在线观看| 一区二区三区中文免费| 91亚洲国产成人精品一区二区三| 国产日韩v精品一区二区| 国产专区欧美精品| 欧美大片在线观看一区| 青青草国产精品97视觉盛宴| 555www色欧美视频| 日本成人在线看| 日韩视频一区二区三区 | 日本不卡一区二区三区高清视频| 欧美特级限制片免费在线观看| 亚洲精品日韩一| 色婷婷久久久亚洲一区二区三区| 亚洲色图欧美激情| 一本大道av伊人久久综合| 国产精品成人一区二区艾草| av中文一区二区三区| 亚洲日本韩国一区| 一本色道亚洲精品aⅴ| 一个色综合网站| 欧美日韩国产一区二区三区地区| 丝袜亚洲另类欧美| 欧美sm美女调教| 国产v综合v亚洲欧| 一区在线播放视频| 色呦呦国产精品| 手机精品视频在线观看| 欧美一二三在线| 国产a精品视频| 亚洲欧美国产三级| 欧美特级限制片免费在线观看| 日本亚洲三级在线| 久久在线免费观看| 成人黄色电影在线| 亚洲国产综合人成综合网站| 69堂国产成人免费视频| 另类综合日韩欧美亚洲| 国产亚洲短视频| 色婷婷综合久久久中文一区二区 | 奇米影视一区二区三区| 久久午夜免费电影| 色婷婷久久99综合精品jk白丝| 无码av免费一区二区三区试看| 日韩午夜在线影院| 懂色av噜噜一区二区三区av| 亚洲黄一区二区三区| 欧美精品 国产精品| 国产资源在线一区| 亚洲精选视频免费看| 日韩午夜精品视频| av高清不卡在线| 五月天激情小说综合| 欧美韩国日本一区| 欧美日韩高清一区二区| 国产精品自在欧美一区| 一区二区三区四区激情 | 精品国产区一区| 97se狠狠狠综合亚洲狠狠| 日韩精品福利网| 国产亚洲精品7777| 欧美日韩精品电影| 国产91精品入口| 日韩国产欧美一区二区三区| 玉米视频成人免费看| 岛国精品在线播放| 91精品国产综合久久久久| 韩国女主播一区二区三区| 自拍偷拍欧美精品| 日韩一区二区在线免费观看| 99精品一区二区三区| 免费黄网站欧美| 国产精品高潮久久久久无| 91精品国产欧美日韩| 成a人片国产精品| 久久91精品国产91久久小草| 一区二区三区四区蜜桃| 欧美国产1区2区| 日韩欧美国产小视频| 欧美影视一区在线| 岛国精品一区二区| 激情都市一区二区| 午夜精品久久久久久久|