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

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

?? flex_mux.c

?? MPEG2/MPEG4編解碼參考程序(實現了MPEG4的部分功能)
?? C
?? 第 1 頁 / 共 2 頁
字號:
/**********************************************************************MPEG-4 Audio VMBit stream moduleThis software module was originally developed byBodo Teichmann (Fraunhofer Institute of Integrated Circuits tmn@iis.fhg.de)and edited byin the course of development of the MPEG-2 NBC/MPEG-4 Audio standardISO/IEC 13818-7, 14496-1,2 and 3. This software module is animplementation of a part of one or more MPEG-2 NBC/MPEG-4 Audio toolsas specified by the MPEG-2 NBC/MPEG-4 Audio standard. ISO/IEC givesusers of the MPEG-2 NBC/MPEG-4 Audio standards free license to thissoftware module or modifications thereof for use in hardware orsoftware products claiming conformance to the MPEG-2 NBC/ MPEG-4 Audiostandards. Those intending to use this software module in hardware orsoftware products are advised that this use may infringe existingpatents. The original developer of this software module and his/hercompany, the subsequent editors and their companies, and ISO/IEC haveno liability for use of this software module or modifications thereofin an implementation. Copyright is not released for non MPEG-2NBC/MPEG-4 Audio conforming products. The original developer retainsfull right to use the code for his/her own purpose, assign or donatethe code to a third party and to inhibit third party from using thecode for non MPEG-2 NBC/MPEG-4 Audio conforming products. Thiscopyright notice must be included in all copies or derivative works.Copyright (c) 1998.Source file: flex_mux.c$Id: flex_mux.c,v 1.12 1999/08/09 16:18:44 purnhage Exp $Required modules:common.o		common modulebitstream.o             bitstream handling moduleBT    Bodo Teichmann, FhG/IIS <tmn@iis.fhg.de>**********************************************************************/#include <string.h>#include <stdio.h>#include "buffersHandle.h"       /* handler, defines, enums */#include "bitstreamStruct.h"     /* structs */#include "obj_descr.h"           /* structs */#include "lpc_common.h"          /* structs */#include "bitstream.h"#include "common_m4a.h"#include "flex_mux.h"static   BsBitBuffer *tmpBuf;void initObjDescr( OBJECT_DESCRIPTOR *od){  od->ODLength.length=32;   od->ODescrId.length=10;  od->streamCount.length=5;  od->extensionFlag.length=1;  tmpBuf =BsAllocBuffer(256*8);  }void presetObjDescr( OBJECT_DESCRIPTOR *od, int numLayers){  od->ODLength.value=0;   od->ODescrId.value=1;  od->streamCount.value=numLayers;  od->extensionFlag.value=0;  }static void initTFspecConf ( TF_SPECIFIC_CONFIG *tfConf ){    tfConf->TFCodingType.length=2 ;  tfConf->frameLength.length=1 ;  tfConf->dependsOnCoreCoder.length=1 ;  tfConf->dependsOnCoreCoder.value=0 ;  tfConf->coreCoderDelay.length=14 ;  tfConf->coreCoderDelay.value=0 ;  tfConf->extension.length=1 ;  tfConf->extension.value=0 ;    return;}void initCelpSpecConf (CELP_SPECIFIC_CONFIG *celpConf){  celpConf->excitationMode.length = 1;  celpConf->sampleRateMode.length = 1;  celpConf->fineRateControl.length = 1;  /* RPE mode */  celpConf->RPE_Configuration.length = 3;  /* MPE mode */  celpConf->MPE_Configuration.length = 5;  celpConf->numEnhLayers.length = 2;  celpConf->bandwidthScalabilityMode.length = 1;/*  celpConf->BWS_Configuration.length = 2; */}/* AI 990616 */static void initHvxcSpecConf (HVXC_SPECIFIC_CONFIG *hvxcConf){  hvxcConf->HVXCvarMode.length = 1;  hvxcConf->HVXCrateMode.length = 2;  hvxcConf->extensionFlag.length = 1;  return;}void initESDescr( ES_DESCRIPTOR **es){  *es = NULL;  *es = (ES_DESCRIPTOR*) malloc(sizeof(ES_DESCRIPTOR));    if (*es==NULL) CommonExit(-1,"no mem");  memset (*es, 0, sizeof (ES_DESCRIPTOR)) ;  (*es)->ESNumber.length=5;  (*es)->streamDependence.length=1;  (*es)->URLFlag.length=1;  (*es)->extensFlag.length=1;  (*es)->dependsOn_Es_number.length=5;  (*es)->DecConfigDescr.profileAndLevelIndication.length=8 ;  (*es)->DecConfigDescr.streamType.length=6 ;  (*es)->DecConfigDescr.upsteam.length=1 ;  (*es)->DecConfigDescr.specificInfoFlag.length=1 ;  (*es)->DecConfigDescr.bufferSizeDB.length=24 ;  (*es)->DecConfigDescr.maxBitrate.length=32 ;  (*es)->DecConfigDescr.avgBitrate.length=32 ;  (*es)->DecConfigDescr.specificInfoLength.length=8 ;  (*es)->DecConfigDescr.audioSpecificConfig.audioDecoderType.length=3 ;  (*es)->DecConfigDescr.audioSpecificConfig.samplingFreqencyIndex.length= 4;  (*es)->DecConfigDescr.audioSpecificConfig.channelConfiguration.length=4 ;  (*es)->ALConfigDescriptor.useAccessUnitStartFlag.length = 1;  (*es)->ALConfigDescriptor.useAccessUnitEndFlag.length = 1;  (*es)->ALConfigDescriptor.useRandomAccessPointFlag.length = 1;  (*es)->ALConfigDescriptor.usePaddingFlag.length = 1;  (*es)->ALConfigDescriptor.seqNumLength.length = 4;}void presetESDescr( ES_DESCRIPTOR *es,int layer){  es->ESNumber.value=layer+1;  /* if this is the first layer, there is no dependence */  es->streamDependence.value=((layer==0)?0:1);   es->URLFlag.value=0;  es->extensFlag.value=0;  es->dependsOn_Es_number.value=(layer>0)?layer:0;  es->DecConfigDescr.profileAndLevelIndication.value=0;  es->DecConfigDescr.streamType.value=6 ; /* audio stream */  es->DecConfigDescr.upsteam.value=0;  es->DecConfigDescr.specificInfoFlag.value=1 ;  es->DecConfigDescr.bufferSizeDB.value=6144;  es->DecConfigDescr.maxBitrate.value=0;  es->DecConfigDescr.avgBitrate.value=0;  es->DecConfigDescr.specificInfoLength.value=2; /* 16 bits if TFcoding */  /* es->DecConfigDescr.audioSpecificConfig.samplingFreqencyIndex.value= 0x6;*/  /*24 kHz */ /* cause this is patched afterward */  es->DecConfigDescr.audioSpecificConfig.channelConfiguration.value=1 ;}static void BsRWBitWrapper(BsBitStream *stream,		/* in: bit stream */                      unsigned long *data,		/* out: bits read/write */                      int numBit,		/* in: num bits to read */                      int WriteFlag){  if (WriteFlag){    BsPutBit(stream,*data,numBit);  } else {    BsGetBit(stream,data,numBit);  }}static void    advanceTFspecConf (   BsBitStream*      bitStream,TF_SPECIFIC_CONFIG *tfConf,int WriteFlag) {    BsRWBitWrapper(bitStream, &(tfConf->TFCodingType.value),                   tfConf->TFCodingType.length,WriteFlag);    BsRWBitWrapper(bitStream, &(tfConf->frameLength.value),                 tfConf->frameLength.length,WriteFlag);    BsRWBitWrapper(bitStream, &(tfConf->dependsOnCoreCoder.value),                   tfConf->dependsOnCoreCoder.length,WriteFlag);  if (tfConf->dependsOnCoreCoder.value != 0) {    BsRWBitWrapper(bitStream, &(tfConf->coreCoderDelay.value),                     tfConf->coreCoderDelay.length,WriteFlag);  }  BsRWBitWrapper(bitStream, &(tfConf->extension.value),                   tfConf->extension.length,WriteFlag);  }void advanceCelpSpecConf ( BsBitStream*     bitStream,CELP_SPECIFIC_CONFIG *celpConf,int WriteFlag) {  BsRWBitWrapper(bitStream, &(celpConf->excitationMode.value),                   celpConf->excitationMode.length,WriteFlag);  BsRWBitWrapper(bitStream, &(celpConf->sampleRateMode.value),                   celpConf->sampleRateMode.length,WriteFlag);    BsRWBitWrapper(bitStream, &(celpConf->fineRateControl.value),                   celpConf->fineRateControl.length,WriteFlag);    if (celpConf->excitationMode.value == RegularPulseExc)  {    BsRWBitWrapper(bitStream, &(celpConf->RPE_Configuration.value),                     celpConf->RPE_Configuration.length,WriteFlag);  }    if (celpConf->excitationMode.value == MultiPulseExc)  {    BsRWBitWrapper(bitStream, &(celpConf->MPE_Configuration.value),                     celpConf->MPE_Configuration.length,WriteFlag);    BsRWBitWrapper(bitStream, &(celpConf->numEnhLayers.value),                     celpConf->numEnhLayers.length,WriteFlag);    BsRWBitWrapper(bitStream, &(celpConf->bandwidthScalabilityMode.value),                     celpConf->bandwidthScalabilityMode.length,WriteFlag);  }}/* AI 990616 */static void advanceHvxcSpecConf(BsBitStream* bitStream,HVXC_SPECIFIC_CONFIG *hvxcConf,int WriteFlag) {  BsRWBitWrapper(bitStream, &(hvxcConf->HVXCvarMode.value),                   hvxcConf->HVXCvarMode.length,WriteFlag);    BsRWBitWrapper(bitStream, &(hvxcConf->HVXCrateMode.value),                 hvxcConf->HVXCrateMode.length,WriteFlag);    BsRWBitWrapper(bitStream, &(hvxcConf->extensionFlag.value),                   hvxcConf->extensionFlag.length,WriteFlag);  return;}void  advanceESDescr ( BsBitStream* bitStream,                        ES_DESCRIPTOR *es,                        int WriteFlag) {    BsRWBitWrapper(bitStream,&(es->ESNumber.value),es->ESNumber.length,WriteFlag);    BsRWBitWrapper(bitStream, &(es->streamDependence.value),es->streamDependence.length,WriteFlag);

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人网在线播放| 欧美国产在线观看| 日韩一区二区在线观看| 亚洲国产三级在线| 色哟哟精品一区| 欧美精品久久天天躁| 欧美极品少妇xxxxⅹ高跟鞋 | 91在线视频网址| 欧美一区二区二区| 午夜精品成人在线| 豆国产96在线|亚洲| 亚洲天堂网中文字| 精品视频一区 二区 三区| 日韩欧美视频一区| 日韩在线播放一区二区| 91免费精品国自产拍在线不卡| 2017欧美狠狠色| 99精品视频在线播放观看| 欧美激情综合五月色丁香 | 亚洲国产精品久久人人爱| 欧美性受xxxx| 三级影片在线观看欧美日韩一区二区| 国产精品传媒在线| 日本高清不卡视频| 亚洲欧美二区三区| 欧美精品一级二级三级| 99久久精品一区二区| 一区二区三区成人| 欧美一三区三区四区免费在线看| 91免费版pro下载短视频| 日韩国产在线一| 2020国产精品| 欧美一区二区视频网站| 日韩一级高清毛片| 欧洲视频一区二区| 一区免费观看视频| 久久精品国产77777蜜臀| 97se亚洲国产综合自在线观| 久久精品国产亚洲一区二区三区 | 成人精品国产一区二区4080| 91年精品国产| 精品电影一区二区| 一区二区三区欧美亚洲| 国产米奇在线777精品观看| 欧美最新大片在线看| 欧美激情中文不卡| 美女视频黄a大片欧美| 99国产精品国产精品久久| 日韩欧美色综合| 亚洲午夜精品在线| 91尤物视频在线观看| 26uuu精品一区二区三区四区在线 26uuu精品一区二区在线观看 | 成人精品视频一区二区三区| 91精品国产乱码久久蜜臀| 亚洲欧美aⅴ...| 国产美女一区二区| 欧美α欧美αv大片| 亚洲成人在线观看视频| 99视频有精品| 亚洲视频中文字幕| www.欧美精品一二区| 日本一区二区三区久久久久久久久不| 另类综合日韩欧美亚洲| 欧美久久婷婷综合色| 亚洲黄色在线视频| 99精品久久久久久| 日韩伦理av电影| 99国产精品视频免费观看| 国产精品欧美一区喷水| 国产成a人无v码亚洲福利| 337p日本欧洲亚洲大胆精品| 久久精品72免费观看| 欧美成人三级电影在线| 美腿丝袜亚洲一区| 精品黑人一区二区三区久久| 久久99精品国产麻豆婷婷洗澡| 日韩视频不卡中文| 久久国产欧美日韩精品| 精品久久久久香蕉网| 国产综合久久久久久久久久久久| 精品国产免费视频| 国产99精品在线观看| 亚洲欧美另类综合偷拍| 在线免费亚洲电影| 午夜欧美一区二区三区在线播放| 欧美日本韩国一区| 久久精品国产一区二区三 | 日韩视频一区在线观看| 国产一区二区在线观看视频| 欧美激情一区二区三区不卡| 成人av免费网站| 一区二区在线观看不卡| 欧美日韩一区在线观看| 蜜臀精品久久久久久蜜臀| 久久女同精品一区二区| 成人午夜av在线| 亚洲国产一区二区三区| 精品成a人在线观看| www.欧美.com| 免播放器亚洲一区| 国产精品视频线看| 欧美三级中文字| 国产精品1区二区.| 亚洲国产欧美另类丝袜| 日韩欧美国产小视频| 国产不卡在线视频| 日韩一区欧美二区| 亚洲国产精品成人综合| 欧美天堂一区二区三区| 国产乱码精品一品二品| 亚洲图片欧美色图| 国产日韩成人精品| 555夜色666亚洲国产免| 成人av影视在线观看| 午夜影院在线观看欧美| 中文av一区二区| 欧美精品久久99久久在免费线| 国产成人综合在线观看| 天堂午夜影视日韩欧美一区二区| 久久人人97超碰com| 欧美日韩视频第一区| 成人精品小蝌蚪| 精品一区二区三区在线播放| 一区二区欧美在线观看| 国产精品麻豆久久久| 精品日韩一区二区三区| 欧美少妇bbb| 91在线观看免费视频| 国产福利一区二区三区视频| 日本在线不卡一区| 亚洲激情中文1区| 亚洲天堂av一区| 国产午夜精品美女毛片视频| 91精品久久久久久久99蜜桃| 欧美视频一区二区在线观看| 91日韩在线专区| 不卡av在线免费观看| 国产成人99久久亚洲综合精品| 美女一区二区久久| 日本午夜精品一区二区三区电影| 有码一区二区三区| 亚洲精品国产高清久久伦理二区| 欧美国产国产综合| 久久九九久久九九| 久久亚洲一区二区三区明星换脸| 精品捆绑美女sm三区| 日韩精品最新网址| 日韩欧美国产精品一区| 4438x成人网最大色成网站| 欧美剧情电影在线观看完整版免费励志电影 | 久久精品一区二区| 久久久精品国产免大香伊| 精品免费视频一区二区| 日韩精品在线看片z| 精品福利在线导航| 精品国产一区二区三区不卡| 精品日韩99亚洲| 欧美电影免费观看高清完整版在线| 日韩一区二区三区三四区视频在线观看 | 色天使久久综合网天天| 97aⅴ精品视频一二三区| 91麻豆123| 欧美日韩国产高清一区| 91精品国产综合久久久久久漫画| 91麻豆精品国产无毒不卡在线观看| 欧美老年两性高潮| 欧美一区二区三区免费视频| 欧美mv日韩mv国产网站app| 国产午夜亚洲精品午夜鲁丝片| 国产亚洲欧美色| 亚洲精品老司机| 奇米影视一区二区三区| 国产精品一区二区免费不卡| 成人aa视频在线观看| 在线观看免费视频综合| 欧美一卡在线观看| 国产欧美日本一区视频| 一区二区三区四区蜜桃| 免播放器亚洲一区| www.日本不卡| 日韩一区二区在线看| 国产精品久久久久久久久免费樱桃 | 中文字幕一区免费在线观看| 一区二区三区高清| 国产精品538一区二区在线| 日本大香伊一区二区三区| 日韩精品中文字幕在线一区| 亚洲视频一区二区免费在线观看| 婷婷国产在线综合| 国产成人精品网址| 777午夜精品视频在线播放| 国产情人综合久久777777| 亚洲国产综合在线| 99久久精品免费看| 日韩女优av电影在线观看| 亚洲精品日韩一| 国内精品久久久久影院一蜜桃| 欧美日韩一区精品| 亚洲欧洲色图综合| 国产精品一区二区免费不卡|