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

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

?? stream.c

?? This document aims to provide instructions on how to configure the H.264/AVC encoder and decoder usi
?? C
?? 第 1 頁 / 共 2 頁
字號:
/*COPYRIGHT, LICENSE AND WARRANTY INFORMATIONThis software module has been originally developed by Nokia Corporation. Provided that a person, entity or a company willing to use the Software (hereinafter Licensee) comply with all the terms and conditions of this Statement and subject to the limitations set forth in this Statement Nokia grants to such Licensee a non-exclusive, sub-licensable, worldwide, limited license under copyrights owned by Nokia to use the Software for the sole purpose of creating, manufacturing, selling, marketing, or  distributing (including the right to make modifications to the Software) a fully compliant decoder implementation (hereinafter "Decoder") of ITU-T Recommendation H.264 / ISO/IEC International Standard 14496-10 and an encoder implementation producing output that is decodable with the Decoder.Nokia retains the ownership of copyrights to the Software. There is no patent nor other intellectual property right of Nokia licensed under this Statement (except the copyright license above). Licensee hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if patent licenses  are required, it is their responsibility to acquire the license before utilizing the Software.The license by Nokia is subject to that the Licensee grants to Nokia the non-exclusive, worldwide, royalty-free, perpetual and irrevocable covenant that the Licensee(s) shall not bring a suit before any court or administrative agency or otherwise assert a claim for infringement under the Licensee intellectual property rights that, but for a license, would be infringed by the Software against     (a)  Nokia or Nokia's Affiliate; or     (b)  other recipient of a license and covenant not to sue with respect         to the Software from Nokia; or    (c)  contractor, customer or distributor of a party listed above in a         or b,  which suit or claim is related to the Software or use thereof.The Licensee(s) further agrees to grant a reciprocal license to Nokia (as granted by Nokia to the Licensee(s) on the modifications made by Licensee(s) to the Software. THE SOFTWARE IS PROVIDED "AS IS" AND THE ORIGINAL DEVELOPER DISCLAIMS ANY AND ALL WARRANTIES WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. THOSE INTENDING TO USE THE SOFTWARE ARE EXPRESSLY ADVISED THAT ITS USE MAY INFRINGE EXISTING PATENTS AND BE SUBJECT TO ROYALTY PAYMENTS TO PATENT OWNERS. ANYONE USING THE SOFTWARE ON THE BASIS OF THIS LICENSE AGREES TO OBTAIN THE NECESSARY PERMISSIONS FROM ANY AND ALL APPLICABLE PATENT OWNERS FOR SUCH USE.IN NO EVENT SHALL THE ORIGINAL DEVELOPER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.This copyright, license and warranty information notice must be retained in all copies and derivative works of the Software or substantial portions thereof.*/#include "vlcutility.h"#include "macroblock.h"#include "stream.h"#include "vlc.h"static const vlcCode_s numCoefsTrailTabChroma[4][5] = {  {{1,2},{7,6},{4,6},{3,6},{2,6}},  {{0,0},{1,1},{6,6},{3,7},{3,8}},  {{0,0},{0,0},{1,3},{2,7},{2,8}},  {{0,0},{0,0},{0,0},{5,6},{0,7}},};/* * streamGetMbTypeIntra * * Parameters: *      intraType             Type of the intra macroblock *      intra16x16Mode        16x16 intra prediction mode *      cbpY                  Coded Block Pattern for luma *      cbpChromaDC           Coded Block Pattern for chroma DC *      cbpC                  Coded Block Pattern for chroma AC * * Function: *      Get intra-macroblock mb_type. * * Returns: *      mb_type. */int streamGetMbTypeIntra(int intraType,                          int intra16x16Mode,                         int cbpY,                          int cbpChromaDC,                          int cbpC){  int mbType;  mbType = 0;  if (intraType == MBK_INTRA_TYPE2)  {    int ac, nc;    // In intra type 2, MB type includes information about coded blocks    ac = (cbpY == 0) ? 0 : 12;    nc = vlcuGetChromaNC(cbpChromaDC, cbpC);    mbType += 1 + ac + nc * 4 + intra16x16Mode;  }  return mbType;}/* * streamGetMbTypeInter * * Parameters: *      interMode             Inter motion mode, more details below ... *      refIndices            Reference frame indices * * Function: *      Get inter-macroblock mb_type. * * Returns: *      mb_type. */int streamGetMbTypeInter(int    interMode,                         u_int8 refIndices[4]){  if (interMode == MOT_8x8) {    // mbType == 3, P_8x8,     multiple reference frames    // mbType == 4, P_8x8ref0, single reference frame, no ref_idx to follow    return ((refIndices[0] | refIndices[1] |       refIndices[2] | refIndices[3]) != 0) ? 3 : 4;  }  else {    // interMode == 0 not allowed    // interMode == 1, mbType = 0, P_L0_16x16    // interMode == 2, mbType = 1, P_L0_16x8    // interMode == 3, mbType = 2, P_L0_8x16    return interMode - 1;  }}/* * streamCountIntraSyntaxBits: * * Parameters: *      mb                    Macroblock object *      picType               Picture type (intra/inter) * * Function: *      Count additional intra-MB syntax bits, used only in helping make mode  *      decision when rate distortion optimization is enabled. *       * Returns: *      number of bits in the header. */int streamCountIntraSyntaxBits(macroblock_s *mb,                                int          picType){  int mbType, bitsHdr;  bitsHdr = 0;  if (IS_SLICE_P(picType))     bitsHdr = vlcuUVLCSize(mb->numSkipped);  /* Send Macroblock type */  mbType = ((IS_SLICE_P(picType)) ? 5 : 0) + streamGetMbTypeIntra    (mb->intraType, mb->intra16x16mode, mb->cbpY, mb->cbpChromaDC, mb->cbpC);  bitsHdr += uvlcBitsUnsigned[mbType];  // bits on intra4x4 modes were counted in the intra4x4 prediction  // bits on 8x8 chroma intra mode were counted in chroma8x8 prediction  // Send coded block pattern  if (mb->intraType != MBK_INTRA_TYPE2)  {    int cbp;    cbp  = vlcuGetLuma8x8cbp(mb->cbpY);    cbp |= vlcuGetChromaNC(mb->cbpChromaDC, mb->cbpC) << 4;    bitsHdr += vlcuUVLCSize(cbpCode[cbp][0]);    // for MBK_INTRA_TYPE2, cbp is included in mbtype  }  // Send delta QP  if ((mb->intraType == MBK_INTRA_TYPE2) ||     (mb->cbpY | mb->cbpChromaDC | mb->cbpC) != 0)  {    int deltaQp;    CALCULATE_DELTA_QP(deltaQp, mb->qp, mb->prevQp);    bitsHdr += uvlcBitsSigned[511 + deltaQp];  }  return bitsHdr;}/* * streamSend4x4Blk * * Parameters: *      stream                bitbuffer for CAVLC  *      mb                    Macroblock object *      nonzeroBlkFlag        0, it's known all the coefficients are zero *      comp                  Color component index *      blkX                  Horizontal block index within MB *      blkY                  Vertical block index within MB *      coef                  4x4 coefficients *      blkCategory           Block category, 1 of 5 types *      numCoefs              Number of nonzero coefficients encoded * * Function: *      Send coefficients of 4x4 block.  *      nonzeroBlkFlag can be used to save some process time, as it is usually  *      known whether this block has any non-zero coefficients at all before  *      this function is called. * * Returns: *      Number of bits for coefficients. */int streamSend4x4Blk(void         *stream,                      macroblock_s *mb,                     int          nonzeroBlkFlag,                     int          comp,                     int          blkX,                     int          blkY,                     int          coef[4][4],                      int          blkCategory,                     int          *numCoefs){  int i;  int tmpCoef[4*4];  int len;  int dcSkip;  vlcCoefBlkStat_s blkStat;  dcSkip = (blkCategory == BLK_CAT_Y_I16x16_AC) || (blkCategory == BLK_CAT_C_AC);  vlcuZigZagScan4x4(coef, tmpCoef);  blkStat.totalCoef = 0;  blkStat.numTrailingZeros = (int8)(16 - dcSkip);  if (nonzeroBlkFlag)  {    i = 15;    while (i >= dcSkip && tmpCoef[i] == 0) i --;    blkStat.numTrailingZeros = (int8) (15 - i);    nonzeroBlkFlag = (16 - dcSkip) > blkStat.numTrailingZeros;  }    if (nonzeroBlkFlag)  {    vlcCollectCoefBlkStat(tmpCoef, 15, dcSkip, & blkStat);    len = vlcSendCoeffToken(stream, mb, comp, blkX, blkY,       blkStat.numTrailingOnes, blkStat.totalCoef);    len += vlcEncodeCoefBlk(stream, & blkStat, 16, dcSkip, 0);  }  else    len = vlcSendCoeffToken(stream, mb, comp, blkX, blkY, 0, 0);  *numCoefs = blkStat.totalCoef;  return len;}/* * streamSend2x2ChromaDC * * Parameters: *      stream                bitbuffer for CAVLC *      tmpCoef               2x2 coefficients * * Function: *      Send coefficients of 2x2 block,  *      A 2x2 block is formed with transformed coefficients of the 4 DC  *      coefficients from 4 4x4 blocks.  * * Returns: *      Number of bits for coefficients. */static int streamSend2x2ChromaDC(void         *stream,                                  int          tmpCoef[4]){  int i, len;  const vlcCode_s *pVlc;  vlcCoefBlkStat_s blkStat;  // Count trailing zero coefficients  i = 3;  while (i >= 0 && tmpCoef[i] == 0) i --;  blkStat.numTrailingZeros = (int8) (3 - i);  blkStat.totalCoef = 0;      // Send totalCoef & numTrailingOnes  vlcCollectCoefBlkStat(tmpCoef, 3, 0, & blkStat);  pVlc = & numCoefsTrailTabChroma[blkStat.numTrailingOnes][blkStat.totalCoef];  len = bibPutBits(stream, pVlc->code, pVlc->len);    if (blkStat.numTrailingZeros < 4)  len += vlcEncodeCoefBlk(stream, & blkStat, 4, 0, 1);  return len;}/* * streamSendMbType: * * Parameters: *      stream                bitbuffer for CAVLC

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美性xxxxx极品少妇| 中文字幕一区二区三区不卡在线| 2023国产一二三区日本精品2022| 午夜精品久久久久| 91在线小视频| 一区二区三区在线高清| 欧美色老头old∨ideo| 久国产精品韩国三级视频| 欧美日韩国产天堂| 麻豆成人91精品二区三区| 69堂国产成人免费视频| 久久国产综合精品| va亚洲va日韩不卡在线观看| 亚洲宅男天堂在线观看无病毒| 在线观看免费亚洲| 国产69精品久久久久777| 一区二区三区小说| 亚洲午夜一二三区视频| **性色生活片久久毛片| 亚洲欧洲精品一区二区三区| 日韩码欧中文字| 国产亚洲欧美色| 972aa.com艺术欧美| 日本韩国欧美一区| 不卡一区二区中文字幕| 精品亚洲国产成人av制服丝袜| 狠狠色伊人亚洲综合成人| 亚洲国产欧美另类丝袜| 日本不卡一区二区三区| 亚洲男同1069视频| 日韩欧美成人激情| 欧美日韩视频在线观看一区二区三区| 欧美精品日韩一本| 欧美人xxxx| 精品久久久久久最新网址| 4438x成人网最大色成网站| 久久综合色8888| 一区二区三区在线观看动漫| 久久99精品国产麻豆婷婷| 成人国产一区二区三区精品| 欧日韩精品视频| 国产网站一区二区三区| 亚洲综合色噜噜狠狠| 久久综合综合久久综合| aaa欧美日韩| 欧美va亚洲va在线观看蝴蝶网| 国产精品久久久久久久岛一牛影视| 国产日韩精品一区| 亚洲国产成人一区二区三区| 国产亚洲欧美一级| 亚洲成人自拍一区| 免费精品视频在线| 一本大道久久a久久精品综合| 成人激情视频网站| 亚洲精品在线电影| 国产女同互慰高潮91漫画| 亚洲一区在线观看视频| www.激情成人| 久久一区二区三区国产精品| 日韩国产精品久久| 欧美日产在线观看| 亚洲综合一区二区精品导航| 国产成人免费高清| 欧美影院午夜播放| 亚洲欧美怡红院| 国产成人免费视频精品含羞草妖精| 欧美一级高清片| 久久久久国产一区二区三区四区| 国产欧美一区二区三区鸳鸯浴 | 91精品国产乱码| 久久久久九九视频| 国精产品一区一区三区mba桃花 | 精品国产青草久久久久福利| 亚洲超碰97人人做人人爱| 在线免费观看视频一区| 亚洲女子a中天字幕| 99这里只有久久精品视频| 国产女主播在线一区二区| 国产乱码精品一区二区三区五月婷| 成人午夜激情在线| 欧美日韩你懂得| 舔着乳尖日韩一区| 91精品国产福利| 麻豆91免费观看| 久久蜜桃av一区精品变态类天堂 | 欧美日韩国产一级| 亚洲成人av一区| 制服.丝袜.亚洲.中文.综合| 蜜臀精品一区二区三区在线观看 | 91在线一区二区| 夜夜精品浪潮av一区二区三区| 欧美亚洲禁片免费| 日本欧美一区二区三区乱码| 精品99一区二区三区| 国产精华液一区二区三区| 国产精品短视频| 欧美日韩高清在线播放| 久久精品国产在热久久| 国产亚洲精品超碰| 色婷婷国产精品久久包臀| 日韩vs国产vs欧美| 久久久久久久久久久久久女国产乱| 国产成人在线免费观看| 亚洲高清三级视频| 久久久精品国产免费观看同学| 懂色av一区二区三区蜜臀| 亚洲电影一级片| 国产欧美va欧美不卡在线| 欧美日韩精品一区二区三区蜜桃| 久久精品国产亚洲5555| 亚洲精品老司机| 91视频免费看| 中文字幕免费一区| 欧美日韩久久久久久| 国产成人啪免费观看软件| 亚洲另类中文字| 国产亚洲一区二区三区四区| 欧美日韩一区二区三区四区五区| 精品一区二区在线看| 一区二区三区在线观看国产| 久久综合久久综合九色| 欧美视频一二三区| 成人免费高清视频在线观看| 奇米在线7777在线精品| 亚洲美女免费视频| 国产视频一区在线播放| 69久久夜色精品国产69蝌蚪网| 91视频你懂的| av一二三不卡影片| 激情伊人五月天久久综合| 亚洲一区在线播放| 国产精品美女久久久久久久网站| 91啪亚洲精品| 成人伦理片在线| 国产一区二区毛片| 国产目拍亚洲精品99久久精品| 欧美高清精品3d| 欧美自拍丝袜亚洲| 91在线观看地址| 99久久精品费精品国产一区二区| 国内精品嫩模私拍在线| 五月婷婷激情综合| 亚洲综合在线免费观看| 亚洲精品你懂的| 一区二区在线电影| 一区二区三区在线免费视频| 亚洲欧洲精品一区二区精品久久久| 欧美激情在线看| 欧美高清在线一区| 中文字幕在线观看不卡| 亚洲欧洲一区二区在线播放| 国产欧美日韩三区| 国产精品素人一区二区| 中文字幕av一区 二区| 国产精品乱码一区二区三区软件 | 狠狠色狠狠色合久久伊人| 美国三级日本三级久久99| 另类调教123区| 精品一二线国产| 国产河南妇女毛片精品久久久| 国产iv一区二区三区| 成人黄色在线网站| 一本到三区不卡视频| 欧美日韩中文字幕一区| 欧美另类高清zo欧美| 日韩久久久精品| 久久久久88色偷偷免费| 国产精品卡一卡二卡三| 综合久久综合久久| 亚洲一区二区三区四区五区中文 | 国产成人精品免费网站| 成人av影院在线| 欧美亚洲国产一区在线观看网站| 欧美系列亚洲系列| 日韩免费看的电影| 国产欧美日韩精品在线| 亚洲乱码国产乱码精品精小说| 亚洲国产综合色| 国产精品一区二区无线| 99精品视频中文字幕| 91精品国产色综合久久不卡电影 | 91丨九色丨蝌蚪富婆spa| 欧美日韩精品免费| 国产日韩av一区| 亚洲地区一二三色| 国产成人综合在线观看| 欧美中文字幕一区二区三区亚洲| 欧美一区二区三区小说| 国产欧美日韩麻豆91| 婷婷丁香激情综合| av在线不卡网| 精品国精品国产| 亚洲高清三级视频| 成人中文字幕在线| 3d成人h动漫网站入口| 国产精品美日韩| 久久精品久久综合| 欧美日韩国产综合视频在线观看| 欧美激情一区二区三区全黄| 免费成人小视频|