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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? erc_api.h

?? 本源碼是H.26L標(biāo)準(zhǔn)的Visual C++源代碼
?? H
字號(hào):
/*
***********************************************************************
* COPYRIGHT AND WARRANTY INFORMATION
*
* Copyright 2001, International Telecommunications Union, Geneva
*
* 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.
************************************************************************
*/

/*!
 ************************************************************************
 * \file  erc_api.h
 *
 * \brief
 *      External (still inside video decoder) interface for error concealment module
 *
 * \author
 *      - Ari Hourunranta                <ari.hourunranta@nokia.com>
 *      - Ye-Kui Wang                   <wangy@cs.tut.fi>
 *
 ************************************************************************
 */


#ifndef _ERC_API_H_
#define _ERC_API_H_

#include "erc_globals.h"

/*
* Defines
*/

/* If the average motion vector of the correctly received macroblocks is less than the 
threshold, concealByCopy is used, otherwise concealByTrial is used. */
#define MVPERMB_THR 8 

/* used to determine the size of the allocated memory for a temporal Region (MB) */
#define DEF_REGION_SIZE 384  /* 8*8*6 */ 

#define ERC_BLOCK_OK                3
#define ERC_BLOCK_CONCEALED         2
#define ERC_BLOCK_CORRUPTED         1
#define ERC_BLOCK_EMPTY             0

#define mabs(a) ( (a) < 0 ? -(a) : (a) )
#define mmax(a,b) ((a) > (b) ? (a) : (b))
#define mmin(a,b) ((a) < (b) ? (a) : (b))

/*
* Functions to convert MBNum representation to blockNum
*/

#define xPosYBlock(currYBlockNum,picSizeX) \
((currYBlockNum)%((picSizeX)>>3))

#define yPosYBlock(currYBlockNum,picSizeX) \
((currYBlockNum)/((picSizeX)>>3))

#define xPosMB(currMBNum,picSizeX) \
((currMBNum)%((picSizeX)>>4))

#define yPosMB(currMBNum,picSizeX) \
((currMBNum)/((picSizeX)>>4))

#define MBxy2YBlock(currXPos,currYPos,comp,picSizeX) \
((((currYPos)<<1)+((comp)>>1))*((picSizeX)>>3)+((currXPos)<<1)+((comp)&1))

#define MBNum2YBlock(currMBNum,comp,picSizeX) \
MBxy2YBlock(xPosMB((currMBNum),(picSizeX)),yPosMB((currMBNum),(picSizeX)),(comp),(picSizeX))


/*
* typedefs
*/

/* segment data structure */
typedef struct ercSegment_s
{
  int      startMBPos;
  int      endMBPos;
  u_int32  startBitPos;
  u_int32  endBitPos;
  int      fCorrupted;
} ercSegment_t;

/* Error detector & concealment instance data structure */
typedef struct ercVariables_s
{
  /*  Number of macroblocks (size or size/4 of the arrays) */
  int   nOfMBs;
  /* Number of segments (slices) in frame */
  int     nOfSegments;
  
  /*  Array for conditions of Y blocks */
  int     *yCondition;
  /*  Array for conditions of U blocks */
  int     *uCondition;
  /*  Array for conditions of V blocks */
  int     *vCondition;
  
  /* Array for Slice level information */
  ercSegment_t *segments;
  int     currSegment;
  
  /* Conditions of the MBs of the previous frame */
  int   *prevFrameYCondition;
  
  /* Flag telling if the current segment was found to be corrupted */
  int   currSegmentCorrupted;
  /* Counter for corrupted segments per picture */
  int   nOfCorruptedSegments;
  
  /* State variables for error detector and concealer */
  int   concealment;
  
} ercVariables_t;

/*
* External function interface
*/

void ercInit(int pic_sizex, int pic_sizey, int flag);
ercVariables_t *ercOpen( void );
void ercReset( ercVariables_t *errorVar, int nOfMBs, int numOfSegments );
void ercClose( ercVariables_t *errorVar );
void ercSetErrorConcealment( ercVariables_t *errorVar, int value );

void ercStartSegment( int currMBNum, int segment, u_int32 bitPos, ercVariables_t *errorVar );
void ercStopSegment( int currMBNum, int segment, u_int32 bitPos, ercVariables_t *errorVar );
void ercMarkCurrSegmentLost( int currMBNum, int32 picSizeX, ercVariables_t *errorVar );
void ercMarkCurrSegmentOK( int currMBNum, int32 picSizeX, ercVariables_t *errorVar );
void ercMarkCurrMBConcealed( int currMBNum, int comp, int32 picSizeX, ercVariables_t *errorVar );

int ercConcealIntraFrame( frame *recfr, int32 picSizeX, int32 picSizeY, ercVariables_t *errorVar );
int ercConcealInterFrame( frame *recfr, objectBuffer_t *object_list, 
                         int32 picSizeX, int32 picSizeY, ercVariables_t *errorVar );

#endif

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美大尺度电影在线| 欧美日韩免费观看一区二区三区| 日韩理论电影院| 日韩美女天天操| 欧美体内she精高潮| 成人av午夜电影| 蜜臀精品久久久久久蜜臀 | 99精品国产热久久91蜜凸| 奇米影视在线99精品| 亚洲欧美日韩在线| 国产日韩在线不卡| 91麻豆精品国产综合久久久久久| 不卡视频免费播放| 国产高清亚洲一区| 久久精品免费观看| 日韩国产在线观看| 亚洲国产精品麻豆| 一区二区三区高清| 亚洲少妇中出一区| 国产欧美一区二区精品久导航| 日韩午夜激情免费电影| 欧美日韩国产天堂| 欧美三级中文字| 日本韩国视频一区二区| 成人一级黄色片| 国产精品一区三区| 精品一区二区精品| 久久精品国产亚洲一区二区三区 | 亚洲成人激情av| 亚洲同性gay激情无套| 国产日本欧美一区二区| 久久蜜桃av一区二区天堂| 日韩精品一区二区三区视频播放 | 久久久精品黄色| 欧美电影免费观看高清完整版在线观看| 欧美丝袜丝交足nylons图片| 色综合久久88色综合天天| 99久久精品国产导航| 成人短视频下载| 成人av午夜电影| 91日韩在线专区| 日本乱人伦一区| 精品视频一区 二区 三区| 91豆麻精品91久久久久久| 欧美日韩三级在线| 欧美精品九九99久久| 91精品欧美综合在线观看最新| 欧美一级搡bbbb搡bbbb| 欧美一级电影网站| 精品久久一区二区| 久久人人97超碰com| 久久久久国产精品免费免费搜索| 久久这里只有精品首页| 久久青草国产手机看片福利盒子| 国产亚洲va综合人人澡精品| 国产精品夫妻自拍| 一区二区三区毛片| 蜜臀久久久久久久| 国产福利一区二区| 不卡的av中国片| 欧美日韩一区二区三区四区| 欧美电影免费观看高清完整版在线观看| 精品国产一区二区三区久久久蜜月| 久久亚洲一区二区三区明星换脸| 国产精品理论在线观看| 亚洲国产精品视频| 国产一区二区三区免费看 | 国产精品亚洲午夜一区二区三区 | 欧美不卡一二三| 日本一区二区免费在线观看视频 | 国产一二精品视频| 成人国产精品视频| 精品视频1区2区3区| 精品少妇一区二区三区免费观看 | 色综合 综合色| 91精品国产综合久久久久久 | 午夜精品久久久久久不卡8050| 免费在线看一区| 成人免费的视频| 欧美日本高清视频在线观看| 久久精品在线免费观看| ...av二区三区久久精品| 日本不卡视频一二三区| fc2成人免费人成在线观看播放 | 亚洲欧洲日产国产综合网| 亚洲午夜日本在线观看| 国产最新精品免费| 欧美视频自拍偷拍| 国产拍欧美日韩视频二区| 午夜精品福利久久久| 国产老妇另类xxxxx| 欧美亚洲综合另类| 久久精品这里都是精品| 午夜电影久久久| 99视频精品在线| 久久综合色天天久久综合图片| 一卡二卡三卡日韩欧美| 粉嫩在线一区二区三区视频| 欧美一区二区在线观看| 亚洲最大色网站| 成人性视频免费网站| 日韩视频中午一区| 午夜精品久久久久久久久久| 97久久超碰国产精品| 久久精品一区二区| 免费在线观看一区二区三区| 色av综合在线| 亚洲欧美综合网| 国产成人亚洲精品狼色在线| 91精品国产综合久久福利软件| 亚洲欧美韩国综合色| 岛国精品一区二区| 久久九九全国免费| 久久国产精品第一页| 欧美一区二区三区日韩视频| 亚洲午夜在线视频| 在线看不卡av| 亚洲狠狠丁香婷婷综合久久久| 成人伦理片在线| 国产欧美一区二区精品性| 国产一区二区三区美女| 久久综合五月天婷婷伊人| 看国产成人h片视频| 欧美一级国产精品| 日韩高清电影一区| 欧美精品免费视频| 亚洲成人综合视频| 欧美三级韩国三级日本三斤| 亚洲免费观看高清在线观看| 91麻豆文化传媒在线观看| 国产精品国模大尺度视频| 99麻豆久久久国产精品免费| 国产精品久久久久一区二区三区共 | 国产欧美精品区一区二区三区| 狠狠色狠狠色综合系列| www久久久久| 国产精品69久久久久水密桃| 欧美极品xxx| 丁香天五香天堂综合| 中文字幕免费观看一区| 看电视剧不卡顿的网站| 久久人人超碰精品| 粉嫩13p一区二区三区| 日本一区二区三区在线不卡| 99久久综合99久久综合网站| 亚洲图片激情小说| 欧美日韩五月天| 蜜臀av性久久久久av蜜臀妖精| 精品国产91九色蝌蚪| 国产高清成人在线| 国产精品久久久久久久久免费相片 | 欧美日本一区二区三区四区 | 国产精品一线二线三线精华| 国产午夜亚洲精品不卡| 91在线视频观看| 亚洲va欧美va国产va天堂影院| 欧美一区二区三区在线视频| 国产一区二区视频在线播放| 国产精品久久久久久久岛一牛影视| 91一区二区在线观看| 视频在线观看91| 久久久99精品久久| 日本精品视频一区二区| 日本色综合中文字幕| 国产精品污www在线观看| 欧美亚洲国产一区在线观看网站 | 国产精品系列在线| 色哟哟一区二区在线观看| 天堂av在线一区| 久久精品男人天堂av| 色88888久久久久久影院野外| 五月激情综合网| 国产日韩欧美不卡| 欧美日韩激情一区二区| 国产精品888| 日韩精品一二三| 中文字幕日韩欧美一区二区三区| 欧美日韩视频不卡| 国产福利一区在线观看| 亚洲福利一二三区| 国产三级精品视频| 91超碰这里只有精品国产| 国产99精品视频| 亚洲mv在线观看| 国产精品久久久久久福利一牛影视| 欧美理论在线播放| 99久久精品国产一区二区三区| 日本女优在线视频一区二区| 国产精品成人免费精品自在线观看 | 欧美一区中文字幕| 9l国产精品久久久久麻豆| 精品一区二区三区免费视频| 一区二区三区国产精品| 国产亚洲一二三区| 欧美福利视频导航| av亚洲产国偷v产偷v自拍| 日韩精品高清不卡| 亚洲黄色在线视频| 国产九九视频一区二区三区| 午夜久久电影网|