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

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

?? mp4venc.h

?? 基于Linux的ffmepg decoder
?? H
?? 第 1 頁 / 共 2 頁
字號:
/**
 *  @file Mp4Venc.h
 *  @brief The header file for Faraday MPEG4 encoder API.
 *
 */
#ifndef _MP4VENC_H_
#define _MP4VENC_H_

/**
 *  By using typedef to create a type name for DMA memory allocation function.
 *  And user can allocate memory on a specified alignment memory 
 *  by using the parameter align_size.
 *
 *  @param size is the bytes to allocate.
 *  @param align_size is the alignment value which must be power of 2.
 *  @param reserved_size is the specifed cache line.
 *  @param phy_ptr is used to return the physical address of allocated aligned memory block.
 *  @return return a void pointer to virtual address of the allocated memory block.
 *  @see FMP4_ENC_PARAM
 *  @see DMA_FREE_PTR
 */
typedef void *(* DMA_MALLOC_PTR)(unsigned int size,unsigned char align_size,unsigned char reserved_size, void ** phy_ptr);

/**
 *  By using typedef to create a type name for DMA memory free function.
 *  And user can use this type of function to free a block of memory that
 *  was allocated by the DMA_MALLOC_PTR type of function.
 *
 *  @param virt_ptr is a pointer to the memory block with virtual address that was returned
 *                  previously by the type of DMA_MALLOC_PTR function.
 *  @param phy_ptr is a pointer to the memory block with physical address that was returned
 *                 previously by the type of DMA_MALLOC_PTR function.
 *  @return return void.
 *  @see FMP4_ENC_PARAM
 *  @see DMA_MALLOC_PTR
 */
typedef void (* DMA_FREE_PTR)(void * virt_ptr, void * phy_ptr);

/// The Faraday MPEG4 Encoder Parameters Structure.
/**
 *  While creating encoder object by using FMpeg4EncCreate() operation, FMP4_ENC_PARAM 
 *  pointer is served as FMpeg4EncCreate()'s parameter to internally initialize related encoder
 *  object settings.\n
 *  See  @ref encoder_ops_grp \n
 *  @see FMpeg4EncCreate 
 *  
 */
typedef struct {
  /// The base address of hardware core.
  unsigned int   *pu32BaseAddr;    /**< User can use this variable to set the base
                                    *   address of hardware core.
                                    */                                  
  /// The encoded bitrate in Kbps.
  unsigned int   u32BitRate;       /**< User can use this variable to set encoded bitrate in <B>Kbps</B>.\n
                                    *   Note that 'target bitrate = (u32BitRate * 1000 bits)'.\n
                                    *   And this option is only valid when rate control mechanism
                                    *   is enabled. (that is, when quantization value is equal to 0)
                                    *   @see u32Quant
                                    */

  /// The width of encoded frame in pels.
  unsigned int   u32FrameWidth;    /**< User can use this field to specify the <B>width</B> of 
                                    *   encoded frame in pels.
                                    */
  /// The height of encoded frame in pels.
  unsigned int   u32FrameHeight;   /**< User can use this field to specify the <B>height</B> of 
                                    *   encoded frame in pels.
                                    */
	/// The base frame rate.
  float          fFrameRate;       /**< To set the encoded frame rate per second.
                                    */		                                
  /// The initial quantization value of I-frame while rate control mechanism is enabled.
  unsigned int   u32InitialQuant;  /**< While rate control mechanism is enabled , user can
                                    *   use this field to set the initial quantization value of
                                    *   I-frame. 
                                    *   @see u32Quant
                                    */
  /// The frame interval between I-frames.
  unsigned int   u32IPInterval;    /**< This variable was used to set the interval between I-frames.
                                    */
  /// The short header (H263) mode.
  int            bShortHeader;     /**< A flag of enabling short header (H.263) mode or not.
                                    *   - 0: disable short header.
                                    *   - 1: enable short header.
                                    */
  /// The 4 motion vectors (4MV) mode.
  int            bEnable4MV;       /**< To select 4MV (4 motion vectors) mode or 1MV (1 motion vector) mode.
                                    *   - 0: disable 4MV mode and use 1MV (1 motion vector) mode instead.
                                    *   - 1: enable 4MV mode and select 4MV mode.
                                    */
  /// The H.263 quantization method.		                            
  int            bH263Quant;       /**< To select H.263 quantization method or MPEG4 quantization method.
                                    *   - 0: select MPEG4 quantization method.
                                    *   - 1: select H.263 quantization method.
                                    */
  /// The resync marker option.
  int            bResyncMarker;    /**< A flag of enabling resync marker mechanism or not.
                                    *   - 0: disable resync marker.
                                    *   - 1: enable resync marker.
                                    */
  /// The maximum quantization value.
  unsigned int   u32MaxQuant;      /**< To set the maximum quantization value range.
                                    */
  /// The minimum quantization value.
  unsigned int   u32MinQuant;      /**< To set the minimum quantization value range.                             
                                    */
  /// The frame quantization value.
  unsigned int   u32Quant;         /**<
                                    *   If the frame quantization value is equal to 0, the rate control 
                                    *   mechanism is enabled and used.\n
                                    *   Otherwise, the encoder use fixed quantization value to encode
                                    *   whole frame. \n
                                    *   Frame quantizer :
                                    *     <ul>
                                    *       <li> == 0 (zero) : The  rate controler chooses the right quantizer
                                    *                          for you.
                                    *       <li> != 0        : To force encoder to use this specific fixed
                                    *                          quantizer value. The range for \a u32Quant is
                                    *                          from 1 to 31.
                                    *     </ul>
                                    */
  /// The base address for input Y frame buffer.
  unsigned char *pu8YFrameBaseAddr;  /**< To set input Y frame buffer's base address.\n
                                      *   <B>N.B.</B> : the input frame buffer address must be <B>physical address</B> with <B>8-byte aligned</B>.
                                      *   @see pu8UFrameBaseAddr
                                      *   @see pu8VFrameBaseAddr
                                      *   @see pu8BitstreamAddr
                                      *
                                      *   Also, this variable can be set by utilizing the function FMpeg4EncSetYUVAddr().
                                      *   @see FMpeg4EncSetYUVAddr
                                      */
  /// The base address for input U frame buffer.	
  unsigned char *pu8UFrameBaseAddr;  /**< To set input U frame buffer's base address.\n
                                      *   <B>N.B.</B> : the input frame buffer address must be <B>physical address</B> with <B>8-byte aligned</B>.
                                      *   @see pu8YFrameBaseAddr
                                      *   @see pu8VFrameBaseAddr
                                      *   @see pu8BitstreamAddr
                                      *
                                      *   Also, this variable can be set by utilizing the function FMpeg4EncSetYUVAddr().
                                      *   @see FMpeg4EncSetYUVAddr
                                      */
  /// The base address for input V frame buffer.
  unsigned char *pu8VFrameBaseAddr;  /**< To set input V frame buffer's base address.\n
                                      *   <B>N.B.</B> : the input frame buffer address must be <B>physical address</B> with <B>8-byte aligned</B>.
                                      *   @see pu8YFrameBaseAddr
                                      *   @see pu8UFrameBaseAddr
                                      *   @see pu8BitstreamAddr
                                      *
                                      *   Also, this variable can be set by utilizing the function FMpeg4EncSetYUVAddr().
                                      *   @see FMpeg4EncSetYUVAddr
                                      */
  /// The bitstream buffer address while encoding one single frame.
  unsigned char *pu8BitstreamAddr;  /**< To set output bitstream buffer's address.\n
                                      *  This bitstream buffer was provided by user and can be used to store
                                      *  the encoded bitstream while encoding one single frame.\n
                                      *   <B>N.B.</B> : the output bitstream buffer address must be <B>physical address</B> with <B>16-byte aligned</B>.
                                      *                 It was recommended that the size of bitstream buffer be the value
                                      *                 of (@ref u32FrameWidth * @ref u32FrameHeight * 3/2).
                                      *   @see pu8YFrameBaseAddr
                                      *   @see pu8UFrameBaseAddr
                                      *   @see pu8VFrameBaseAddr
                                      */
  /// The address of current reconstruct frame buffer.
  unsigned char *pu8ReConFrameCur; /**< 
                                    *  To specify the current reconstruct frame buffer address.\n
                                    *  In some occasions,user may want to provide his own reconstructed 
                                    *  buffer.\n
                                    *  Hence, if this variable is not set to NULL, the user-provided current
                                    *  reconstruct frame buffer is used and pointed by this variable.\n
                                    *  Otherwise, if this variable is set to NULL, encoder will internally
                                    *  use the installed @ref pfnDmaMalloc function to allocate the necessary
                                    *  current reconstruct frame buffer.\n\n
                                    *
                                    *  <B>value of @ref pu8ReConFrameCur</B>:
                                    *     <ul>
                                    *       <li> != <B>NULL</B> : Use user-provided buffer as current reconstruct
                                    *                             frame buffer. The requirement of the buffer size in bytes
                                    *                             is '( ((frame width + 15)/16) * (2+((frame height + 15)/16)) + 2) x 256 x 1.5'
                                    *       <li> == <B>NULL</B> : Use internally current reconstruct frame buffer
                                    *                             which is allocated by using installed @ref pfnDmaMalloc
                                    *                             function.
                                    *     </ul>
                                    *   <B>N.B.</B> : the current reconstruct frame buffer address must be <B>physical address</B> with <B>8-byte aligned</B>.
                                    *                                    
                                    *   @see pfnDmaMalloc
                                    *   @see pfnDmaFree
                                    */
  /// The address of reference reconstruct frame buffer.
  unsigned char *pu8ReConFrameRef; /**< 
                                    *  To specify the reference reconstruct frame buffer address.\n
                                    *  In some occasions,user may want to provide his own reconstructed 
                                    *  buffer.\n
                                    *  Hence, if this variable is not set to NULL, the user-provided reference
                                    *  reconstruct frame buffer is used and pointed by this variable.\n
                                    *  Otherwise, if this variable is set to NULL, encoder will internally
                                    *  use the installed @ref pfnDmaMalloc function to allocate the necessary
                                    *  reference reconstruct frame buffer.\n\n
                                    *
                                    *  <B>value of @ref pu8ReConFrameRef</B>:
                                    *     <ul>
                                    *       <li> != <B>NULL</B> : Use user-provided buffer as reference reconstruct
                                    *                             frame buffer. The requirement of the buffer size in bytes
                                    *                             is '( ((frame width + 15)/16) * (2+((frame height + 15)/16)) + 2) x 256 x 1.5'
                                    *       <li> == <B>NULL</B> : Use internally reference reconstruct frame buffer
                                    *                             which is allocated by using installed @ref pfnDmaMalloc
                                    *                             function.
                                    *     </ul>
                                    *   <B>N.B.</B> : the reference reconstruct frame buffer address must be <B>physical address</B> with <B>8-byte aligned</B>.
                                    *                                    
                                    *   @see pfnDmaMalloc
                                    *   @see pfnDmaFree
                                    */
  /// The address of internal AC DC predictor buffer.
  short *p16ACDC; /**< 
                   *  To specify the internal AC DC perdictor buffer address for encoder.\n
                   *  If this variable is not set to NULL, the user-provided buffer
                   *  pointed by this variable is used.\n
                   *  Otherwise, if this variable is set to NULL, encoder will internally
                   *  use the installed @ref pfnDmaMalloc function to allocate the necessary
                   *  AC DC predictor buffer.\n\n
                   *
                   *  <B>value of @ref p16ACDC</B>:
                   *     <ul>
                   *       <li> != <B>NULL</B> : Use user-provided buffer as AC DC predictor buffer.
                   *                             The requirement of the buffer size in bytes
                   *                             is '((frame width + 15)/16) * 64'

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产又黄又大久久| 久久综合精品国产一区二区三区 | 国产拍揄自揄精品视频麻豆| 麻豆精品视频在线观看视频| 久久久高清一区二区三区| eeuss鲁片一区二区三区在线观看| 亚洲一区二区在线免费观看视频 | 亚洲免费观看高清完整版在线| 欧美三电影在线| 国精品**一区二区三区在线蜜桃| 中文字幕一区二区三区在线观看| 欧美三级三级三级爽爽爽| 欧美性猛交xxxxxx富婆| 国产欧美一区二区精品性色超碰 | 欧美视频一区二区三区| 国产一区中文字幕| 日韩av网站在线观看| 国产99久久久精品| 国产一区二区视频在线| av中文字幕在线不卡| 91精品国产丝袜白色高跟鞋| 国产日韩精品视频一区| 欧美性一二三区| 国产精品一二三四| 午夜日韩在线观看| 国产日产欧美一区二区视频| 69久久99精品久久久久婷婷 | 欧美一区二区三区在线视频| 成人av在线看| 久久丁香综合五月国产三级网站| 亚洲欧洲成人av每日更新| 欧美一级日韩免费不卡| 色一情一伦一子一伦一区| 国产一区二区电影| 日韩成人精品视频| 一区二区三区在线影院| 国产精品视频麻豆| 欧美影片第一页| 亚洲男人天堂av| 91在线国内视频| 亚洲男人天堂一区| 91看片淫黄大片一级| av在线播放不卡| 在线播放/欧美激情| 国产婷婷色一区二区三区四区| 欧美日本一道本在线视频| 免费成人结看片| 综合自拍亚洲综合图不卡区| 99国产一区二区三精品乱码| 国产精品影视在线观看| 国产精品伊人色| 国产福利一区二区三区视频| 国产精品美女久久久久av爽李琼| 国产精品一区二区免费不卡| 精品国产凹凸成av人导航| 99re这里都是精品| 亚洲另类一区二区| 成人一道本在线| 亚洲二区在线观看| 中文一区在线播放| 日韩一级免费观看| 日韩欧美久久一区| 不卡欧美aaaaa| 粉嫩aⅴ一区二区三区四区五区 | 99久久综合狠狠综合久久| 一区二区三区四区蜜桃| 这里只有精品99re| 国产精品一卡二| 久久国产精品区| 美洲天堂一区二卡三卡四卡视频| 综合久久久久久| 欧美一区二区三区视频在线观看| 蜜桃一区二区三区在线| 亚洲人成精品久久久久| 精品国产一二三区| 欧美亚洲一区二区在线观看| 国产一区二区视频在线| 一区二区三区不卡视频在线观看 | 韩国毛片一区二区三区| 午夜精品福利视频网站| 午夜精品久久久久| 亚洲欧美乱综合| 一区二区三区不卡在线观看| 亚洲国产日韩一区二区| 一区二区三区在线看| 日日欢夜夜爽一区| 一本一本久久a久久精品综合麻豆| 欧美一区二区人人喊爽| 国产精品一区二区免费不卡 | 色婷婷久久久久swag精品| 欧美精品一二三四| 欧美韩日一区二区三区四区| 亚洲18色成人| 成人激情免费电影网址| 欧美高清一级片在线| 国产精品伦一区二区三级视频| 亚洲在线观看免费视频| 国产毛片精品国产一区二区三区| 色屁屁一区二区| 久久精品免费在线观看| 亚洲国产成人精品视频| 国产精品一级在线| 777午夜精品免费视频| 日韩一区中文字幕| 久久精品国产精品亚洲红杏| 色吊一区二区三区| 亚洲国产成人一区二区三区| 麻豆91在线观看| 在线视频国内自拍亚洲视频| 国产欧美日韩综合精品一区二区| 视频一区二区三区入口| 色综合久久99| 国产精品久久久久久久久免费樱桃 | 国产v日产∨综合v精品视频| 91麻豆精品国产91久久久资源速度| 日韩一区在线播放| 成人理论电影网| 国产日韩精品一区二区三区| 精品一区二区免费看| 欧美日韩国产一级| 亚洲精品v日韩精品| 白白色 亚洲乱淫| 国产日产欧美一区二区三区| 精品亚洲国内自在自线福利| 欧美一区二区三区四区高清| 丝袜美腿亚洲一区| 欧美精品视频www在线观看| 亚洲黄色免费网站| 99视频在线观看一区三区| 国产日韩欧美综合在线| 精品一区二区av| 欧美tk—视频vk| 视频一区中文字幕| 在线不卡中文字幕播放| 三级亚洲高清视频| 欧美日韩国产综合草草| 婷婷国产在线综合| 9191成人精品久久| 日韩1区2区3区| 欧美一级二级三级蜜桃| 午夜精品久久久久久久99水蜜桃 | 五月天中文字幕一区二区| 在线中文字幕一区| 亚洲综合一区二区三区| 在线视频国内一区二区| 亚洲国产视频一区| 7777精品伊人久久久大香线蕉经典版下载| 亚洲va欧美va国产va天堂影院| 欧美猛男gaygay网站| 亚洲色图制服丝袜| 国产资源精品在线观看| 久久亚洲一区二区三区四区| 国产成人综合网| 国产精品久久99| 在线观看亚洲精品视频| 男人操女人的视频在线观看欧美| 欧美一级欧美三级| 国产一区二区三区四| 国产精品美女久久久久久久久 | 自拍偷自拍亚洲精品播放| 色哟哟一区二区在线观看| 亚洲一线二线三线久久久| 777精品伊人久久久久大香线蕉| 日韩和欧美一区二区三区| 精品噜噜噜噜久久久久久久久试看| 国产一区 二区 三区一级| 中文在线一区二区| 欧美日韩另类一区| 久久99国内精品| 日韩一区在线播放| 欧美精品第一页| 国产激情一区二区三区桃花岛亚洲| 国产精品免费aⅴ片在线观看| 色菇凉天天综合网| 国产一区二区三区四区五区美女| 成人免费小视频| 日韩精品一区二区在线| 国产成人精品免费视频网站| 亚洲一区二区视频在线观看| 日韩一区二区在线看片| 成人毛片视频在线观看| 天天免费综合色| 国产精品嫩草久久久久| 欧美精品久久一区二区三区| 国产一区不卡视频| 午夜电影一区二区| 欧美国产禁国产网站cc| 欧美高清www午色夜在线视频| 成人午夜激情视频| 日韩国产欧美在线播放| 亚洲色图欧美激情| 久久一区二区视频| 欧美久久久一区| 91在线视频网址| 国产精品一区二区三区乱码| 首页综合国产亚洲丝袜| 亚洲丝袜另类动漫二区| 精品福利一区二区三区免费视频| 欧美影院一区二区三区| av在线不卡电影|