亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
国产欧美一区二区精品性色| 国产精品九色蝌蚪自拍| 色综合久久精品| av在线免费不卡| 国产精品一线二线三线| 国产激情一区二区三区四区| 国产精品亚洲午夜一区二区三区| 激情五月播播久久久精品| 久久99久国产精品黄毛片色诱| 免费成人美女在线观看| 久久成人久久鬼色| 成人午夜又粗又硬又大| 91在线国产福利| 国产一区二区三区高清播放| 久久国产精品区| 日本不卡中文字幕| 日本午夜精品一区二区三区电影| 免费观看日韩av| 久久aⅴ国产欧美74aaa| 精品系列免费在线观看| 国产成人av电影在线观看| kk眼镜猥琐国模调教系列一区二区| av一区二区三区黑人| 在线观看91精品国产入口| 9191精品国产综合久久久久久| 欧美一区二区三区影视| 精品国产亚洲在线| ...xxx性欧美| 五月开心婷婷久久| 国产乱人伦偷精品视频免下载| 成人午夜av在线| 韩国在线一区二区| 3d动漫精品啪啪1区2区免费| 欧美第一区第二区| 国产婷婷色一区二区三区四区| 欧美激情一区二区三区蜜桃视频| 综合在线观看色| 久久99九九99精品| 色综合久久综合网97色综合| 日韩一区二区三区电影在线观看| 国产亚洲婷婷免费| 日韩一区精品字幕| 成人av资源网站| 欧美一级日韩免费不卡| 成人欧美一区二区三区小说| 丝袜美腿亚洲一区二区图片| 成人av午夜电影| 精品美女在线播放| 洋洋av久久久久久久一区| 精彩视频一区二区| 欧美影片第一页| 国产精品精品国产色婷婷| 久久电影国产免费久久电影| 色94色欧美sute亚洲线路一ni| 欧美一区二区女人| 夜夜亚洲天天久久| 精品久久久久久久久久久久久久久| 精品国产污网站| 一区二区三区资源| 国产酒店精品激情| 欧美剧在线免费观看网站| 国产精品成人免费在线| 国内精品久久久久影院一蜜桃| 色噜噜狠狠色综合欧洲selulu| 久久精品夜色噜噜亚洲aⅴ| 日韩福利视频导航| 91久久精品一区二区二区| 欧美国产精品劲爆| 国产凹凸在线观看一区二区| 欧美日韩国产高清一区二区| 国产精品久久久久7777按摩| 国产成人免费在线视频| 日韩精品一区二区三区在线播放| 亚洲一区二区美女| 在线观看一区二区视频| 亚洲男人的天堂在线观看| 成人免费av在线| 中文字幕欧美国产| 成人一区二区视频| 国产亚洲午夜高清国产拍精品| 精品中文av资源站在线观看| 欧美成人国产一区二区| 美女网站视频久久| 欧美一区欧美二区| 精品制服美女丁香| wwwwww.欧美系列| 国内精品久久久久影院一蜜桃| 精品精品欲导航| 国产九色sp调教91| 国产精品久久久久aaaa樱花| 欧美日韩黄色一区二区| 久久精品一级爱片| 成人午夜免费视频| 中文字幕第一区二区| 高清久久久久久| 天堂在线一区二区| 日韩区在线观看| 国产乱人伦偷精品视频免下载| 久久精品视频在线免费观看| 粉嫩av一区二区三区| 日韩码欧中文字| 欧美专区日韩专区| 日本va欧美va瓶| 久久免费美女视频| 成人国产视频在线观看| 亚洲精品国产第一综合99久久| 欧美色图12p| 九九视频精品免费| 国产精品电影院| 欧美三级韩国三级日本一级| 麻豆91精品视频| 国产欧美一区二区三区在线看蜜臀| www.激情成人| 欧美aaaaaa午夜精品| 欧美国产丝袜视频| 欧美剧情电影在线观看完整版免费励志电影 | 国产美女在线精品| 亚洲美女免费视频| 精品乱人伦一区二区三区| 99精品国产99久久久久久白柏| 亚洲影视在线播放| 久久精品一区八戒影视| 精品视频在线视频| 粉嫩av一区二区三区粉嫩| 午夜免费久久看| 亚洲国产精华液网站w | eeuss鲁一区二区三区| 亚洲成人av电影在线| 久久日韩粉嫩一区二区三区| 在线视频国产一区| 国产成人在线电影| 日韩精品成人一区二区三区| 国产精品久久久久久久久久免费看 | 韩国午夜理伦三级不卡影院| 樱桃视频在线观看一区| 欧美激情艳妇裸体舞| 欧美一区二区性放荡片| 91女人视频在线观看| 国产乱码精品一区二区三区忘忧草| 亚洲午夜三级在线| 国产精品久久网站| 91免费小视频| 蓝色福利精品导航| 一区二区三区高清不卡| 国产精品福利av| 久久久精品tv| 欧美成人a在线| 欧美一区二区视频在线观看| 欧美四级电影网| 色呦呦国产精品| 成人黄色综合网站| 国产99久久久久| 国产麻豆视频一区二区| 麻豆国产91在线播放| 五月天激情小说综合| 一卡二卡三卡日韩欧美| 亚洲欧洲性图库| 国产精品久久久久久久久免费桃花| xnxx国产精品| 精品99一区二区三区| 精品国产91亚洲一区二区三区婷婷| 欧美日韩在线播放一区| 在线一区二区三区| 日本韩国欧美在线| 91福利视频在线| 欧美日韩黄色影视| 91麻豆精品国产自产在线观看一区| 欧美婷婷六月丁香综合色| 欧美日韩在线观看一区二区 | 日韩国产欧美在线视频| 亚洲一区二区三区影院| 亚洲第一激情av| 天堂av在线一区| 久久av老司机精品网站导航| 精品亚洲porn| 高清不卡一二三区| zzijzzij亚洲日本少妇熟睡| av电影在线观看一区| 91久久线看在观草草青青| 欧美日韩精品综合在线| 欧美一级夜夜爽| 国产日韩av一区二区| 中文字幕人成不卡一区| 一区二区欧美国产| 日韩成人免费电影| 国产一区在线精品| av欧美精品.com| 欧美亚洲综合一区| 日韩女优电影在线观看| 国产精品婷婷午夜在线观看| 亚洲黄色av一区| 日本少妇一区二区| 国产剧情一区在线| 在线国产电影不卡| 精品国产髙清在线看国产毛片| 中文字幕亚洲一区二区av在线 | 91精品国产麻豆| 久久久久久综合| 亚洲色图欧美激情| 久久精品国产亚洲高清剧情介绍|