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

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

?? mp4venc.h

?? 基于Linux的ffmepg decoder
?? H
?? 第 1 頁 / 共 2 頁
字號:
                   *       <li> == <B>NULL</B> : Use internally AC DC predictor buffer
                   *                             which is allocated by using installed @ref pfnDmaMalloc
                   *                             function.
                   *     </ul>
                   *   <B>N.B.</B> : the AC DC predictor buffer address must be <B>physical address</B> with <B>16-byte aligned</B>.
                   *
                   *   @see pfnDmaMalloc
                   *   @see pfnDmaFree
                   */
  
  /// The function pointer to user-defined DMA memory allocation function.
  DMA_MALLOC_PTR pfnDmaMalloc;  /**< This variable contains the function pointer to the user-defined 
                                 *   DMA malloc function since under OS environment, our hardware device
                                 *   may need the physical address instead of virtual address.
                                 *
                                 *   @see pfnDmaFree
                                 *   @see DMA_MALLOC_PTR
                                 *   @see DMA_FREE_PTR
                                 */
  /// The function pointer to user-defined DMA free allocation function.
  DMA_FREE_PTR   pfnDmaFree;    /**< This variable contains the function pointer to the user-defined 
                                 *   DMA free function since under OS environment, our hardware device
                                 *   may need the physical address instead of virtual address.
                                 *
                                 *   @see pfnDmaFree
                                 *   @see DMA_MALLOC_PTR
                                 *   @see DMA_FREE_PTR
                                 */
} FMP4_ENC_PARAM;

/**
 *  Denote INTER mode with 1MV.
 */
#define INTER_MODE		0
/**
 *  Denote INTER mode with 4MV.
 */
#define INTER4V_MODE	2
/**
 *  Denote INTRA mode.
 */
#define	INTRA_MODE		3

/// The Encoder Macroblock Information Structure.
/**
 *  This data structure is mainly used for FMpeg4EncGetMBInfo() operation which
 *  contains various kind of macroblock information such as motion vectors,
 *  quantization value and macroblock mode.\n
 *  
 */
typedef struct {
  int mode;  /**< This variable indicates the mode of macroblock.
              *   Possible values are :
              *   <ul>
              *     <li> == INTER_MODE   : Indicate that this macroblock is encoded in INTER mode
              *                                   with 1MV.
              *     <li> == INTER4V_MODE : Indicate that this macroblock is encoded in INTER mode
              *                                   with 4MV.
              *     <li> == INTRA_MODE   : Indicate that this macroblock is encoded in INTRA mode.
              *   </ul>
              *
              */
  int quant;  /**< This variable indicates the macroblock level quantization value (1 ~ 31)
               */               
  int mv16x_0; /**< The motion vector's x-component of block 0 within one macroblock.
                *   It is valid only when this macroblock is encoded in INTER mode
                *   with 4MV.
                */
  int mv16y_0; /**< The motion vector's y-component of block 0 within one macroblock.
                *   It is valid only when this macroblock is encoded in INTER mode
                *   with 4MV.
                */
  int mv16x_1; /**< The motion vector's x-component of block 1 within one macroblock.
                *   It is valid only when this macroblock is encoded in INTER mode
                *   with 4MV.
                */
  int mv16y_1; /**< The motion vector's y-component of block 1 within one macroblock.
                *   It is valid only when this macroblock is encoded in INTER mode
                *   with 4MV.
                */
  int mv16x_2; /**< The motion vector's x-component of block 2 within one macroblock.
                *   It is valid only when this macroblock is encoded in INTER mode
                *   with 4MV.
                */
  int mv16y_2; /**< The motion vector's y-component of block 2 within one macroblock.
                *   It is valid only when this macroblock is encoded in INTER mode
                *   with 4MV.
                */
  int mv16x_3; /**< When this macroblock is encoded in :
                *   - INTER mode with 1MV : this variable indicates the motion vector
                *                           of whole macroblock.
                *   - INTER mode with 4MV : this variable indicates the motion vector's
                *                           x-component of block 3 within one macroblock.                
                *   This variable is valid only when this macroblock is encoded in INTER mode
                *   with 1MV or 4MV.
                */
  int mv16y_3; /**< When this macroblock is encoded in :
                *   - INTER mode with 1MV : this variable indicates the motion vector
                *                           of whole macroblock.
                *   - INTER mode with 4MV : this variable indicates the motion vector's
                *                           y-component of block 3 within one macroblock.                
                *   This variable is valid only when this macroblock is encoded in INTER mode
                *   with 1MV or 4MV.
                */
} MACROBLOCK_INFO;

typedef struct {
	unsigned int u32KeyFrame;
	unsigned char *pu8BSptr_virt;
	unsigned int u32BSlength;
} FMP4_ENC_RESULT;

#ifndef MP4VENC_EXPOPRT
  #ifdef __cplusplus
	  #define MP4VENC_EXPOPRT extern "C"
	#else
	  #define MP4VENC_EXPOPRT extern
	#endif
#endif

/*****************************************************************************
 * Encoder entry point
 ****************************************************************************/
 
/// Faraday MPEG4 Encoder API Functions Reference.
/**
 * 
 * \defgroup encoder_ops_grp Faraday MPEG4 Encoder API Reference
 *
 * The following section describes all the operations Faraday MPEG4 encoder can perform.
 *
 * @{
 */

/// To create an encoder object and return handle to user.
/**  
 * And the returned handle must be used in the rest of encoder operations.
 *
 * @param ptParam is the structure containing necessary encoding parameters
 * @return return an encoder handle (void pointer)
 * @see FMP4_ENC_PARAM
 * @see FMpeg4EncDestroy
 *
 */
MP4VENC_EXPOPRT void * FMpeg4EncCreate(FMP4_ENC_PARAM * ptParam);
/// To set YUV frame buffer address.
/**
 * This operation was used to set the frame buffer address for each Y frame, U frame,
 * and V frame respectively before calling FMpeg4EncOneFrame() function.
 * User must prepare the YUV frame data and store them in the specified Y,U and V address.\n
 * Encoder will fetch the YUV data from the specified frame buffer address to
 * perform encoding procedure.
 *
 * Note that :
 *   <ul>
 *     <li> The YUV data stored in the frame buffer for encoding must be arranged as <B>2D YUV format</B>
 *          for hardware's convenience.
 *     <li> The parameters yaddr, uaddr and vaddr must be an <B>8-byte aligned</B> <I><B>(64-bit alignment)</B></I> address.
 *     <li> The parameters yaddr, uaddr and vaddr provided by user must be physical address.
 *   </ul>
 * @param enc_handle is the structure containing necessary encoding parameters
 * @param yaddr is the address where the Y frame is stored. 
 *              The address must be pyhsical address and <B>8-byte aligned</B> <I><B>(64-bit alignment)</B></I>.
 * @param uaddr is the address where the U frame is stored.
 *              The address must be pyhsical address and <B>8-byte aligned</B> <I><B>(64-bit alignment)</B></I>.
 * @param vaddr is the address where the V frame is stored.
 *              The address must be pyhsical address and <B>8-byte aligned</B> <I><B>(64-bit alignment)</B></I>.
 * @return return void.
 * @see FMpeg4EncOneFrame
 * @see FMpeg4EncGetBitsLength
 *
 */
MP4VENC_EXPOPRT void FMpeg4EncSetYUVAddr(void *enc_handle,unsigned char *yaddr,unsigned char *uaddr,unsigned char *vaddr);
/// To encode one frame
/**
 * After each Y,U and V frame buffer address is set by using FMpeg4EncSetYUVAddr() function , user can 
 * start to encode one frame by calling this function.
 *
 * @param enc_handle is the handle of encoder object.
 * @return return 1 if the encoding is successful.
 * @see FMpeg4EncSetYUVAddr
 * @see FMpeg4EncGetBitsLength
 *
 */
MP4VENC_EXPOPRT int FMpeg4EncOneFrame(void *enc_handle,int *key_frame);
/// To get encoded bitstream length
/**
 * After one frame is encoded, user is able to obtain the encoded bitstream length of last encoded
 * frame by using this function.
 *
 * @param enc_handle is the handle of encoder object.
 * @return return the encoded bitstream length of last encoded frame.
 *
 */
MP4VENC_EXPOPRT unsigned int FMpeg4EncGetBitsLength(void *enc_handle);
/// To obtain related macroblock information of current encoded image
/**
 * This function will return a pointer to an array of MACROBLOCK_INFO
 * structure which contains various kind of information about encoded
 * macroblock such as macroblock mode, macroblock level quantization value 
 * and motion vectors for 4MV and 1MV.\n
 * The length of this returned array of MACROBLOCK_INFO structure is depending on
 * the total number of macroblocks in one image. Take QCIF format image as an example,
 * the returned array will consists of 99 MACROBLOCK_INFO structure elements.
 *
 * @param enc_handle is the handle of encoder object.
 * @return return a pointer to an array of MACROBLOCK_INFO strcutre.
 *
 */
MP4VENC_EXPOPRT MACROBLOCK_INFO *FMpeg4EncGetMBInfo(void *enc_handle);
/// To destroy encoder object
/**
 * To destroy the encoder object.
 *
 * @param enc_handle is the handle of encoder object.
 * @return return 1 if the encoder object is released successfully.
 * @see FMpeg4EncCreate
 *
 */
MP4VENC_EXPOPRT int FMpeg4EncDestroy(void *enc_handle);
/**
 * @}
 */
#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲色图.com| 亚洲一区日韩精品中文字幕| 99视频国产精品| 日产欧产美韩系列久久99| 欧美国产欧美综合| 91精品国产综合久久久久久久| 成人激情免费视频| 美女视频黄免费的久久| 日韩伦理电影网| 国产欧美日韩麻豆91| 69堂成人精品免费视频| 99精品欧美一区二区三区小说| 蜜臀av性久久久久蜜臀aⅴ| 亚洲欧美日韩国产另类专区 | 91色|porny| 激情伊人五月天久久综合| 亚洲午夜精品一区二区三区他趣| 欧美精彩视频一区二区三区| 日韩精品一区二区三区老鸭窝| 欧美少妇xxx| 一本大道av一区二区在线播放| 国产一区二区毛片| 久久国产成人午夜av影院| 亚洲福利电影网| 亚洲与欧洲av电影| 亚洲男人的天堂在线aⅴ视频| 欧美国产国产综合| 欧美激情中文不卡| 久久久国产午夜精品| 日韩三级.com| 欧美一区二区三区免费大片| 欧美精品xxxxbbbb| 欧美精品电影在线播放| 欧美日韩亚洲另类| 欧美综合在线视频| 欧美色图天堂网| 欧美视频中文字幕| 欧美亚一区二区| 欧美最猛性xxxxx直播| 在线观看视频欧美| 欧美日韩国产综合一区二区三区| 欧美三级韩国三级日本三斤| 中文字幕的久久| 国产精品无人区| 国产精品三级在线观看| 国产精品毛片大码女人| 国产精品久久久久aaaa| 亚洲视频资源在线| 一区二区在线看| 性做久久久久久免费观看| 日韩黄色片在线观看| 免费看黄色91| 国产成a人无v码亚洲福利| av不卡一区二区三区| 色综合天天综合在线视频| 91成人在线免费观看| 9191国产精品| 久久久久久久久久久黄色| 国产精品视频在线看| 一区二区三区中文字幕精品精品| 亚洲成人av福利| 麻豆视频一区二区| 国产91精品精华液一区二区三区 | 精品一区二区三区在线播放视频| 国产一二三精品| aaa欧美日韩| 欧美午夜精品久久久| 欧美一区二区三区白人| 国产日韩精品一区| 亚洲午夜久久久久中文字幕久| 免费成人美女在线观看| 国产精品99久久久久久久女警 | 亚洲精品日日夜夜| 亚洲国产日韩精品| 久久99国产精品麻豆| 9i看片成人免费高清| 欧美日韩精品系列| 欧美精品一区二区高清在线观看| 国产精品女人毛片| 丝袜美腿亚洲色图| 福利电影一区二区| 在线电影院国产精品| 欧美国产精品一区| 日韩电影免费在线看| 成人夜色视频网站在线观看| 91成人网在线| 久久久国产精品麻豆| 亚洲自拍偷拍图区| 国模套图日韩精品一区二区| 成人av在线资源网| 91精品久久久久久久91蜜桃| 中文字幕高清不卡| 久久www免费人成看片高清| 91免费国产视频网站| 2欧美一区二区三区在线观看视频| 亚洲视频1区2区| 国产乱妇无码大片在线观看| 欧美日本免费一区二区三区| 中文字幕国产一区| 精品一区二区三区免费视频| 精品视频一区三区九区| 欧美激情一区二区在线| 毛片基地黄久久久久久天堂| 91国产免费看| 欧美国产一区在线| 美国三级日本三级久久99| 欧美天天综合网| 国产精品电影院| 国产美女娇喘av呻吟久久| 欧美精品777| 亚洲精品视频一区| 成人在线视频一区二区| 日韩欧美一区在线观看| 亚洲成人精品影院| 91偷拍与自偷拍精品| 国产三级精品视频| 国产综合色在线视频区| 欧美一级视频精品观看| 亚洲一二三专区| 97久久超碰精品国产| 狠狠网亚洲精品| 日韩免费看的电影| 日本aⅴ亚洲精品中文乱码| 欧美日韩免费电影| 亚洲在线一区二区三区| 一本一道综合狠狠老| 亚洲欧美日韩系列| 91女人视频在线观看| 亚洲日本一区二区三区| 成人aaaa免费全部观看| 日本一区二区三区dvd视频在线| 国产乱码精品一区二区三区忘忧草| 欧美成人欧美edvon| 青娱乐精品视频| 欧美成人r级一区二区三区| 日韩电影在线一区二区三区| 538prom精品视频线放| 日韩一区精品字幕| 日韩欧美自拍偷拍| 国产综合色在线| 国产婷婷色一区二区三区四区| 国产精品亚洲а∨天堂免在线| 久久久91精品国产一区二区精品| 国产精品影视天天线| 久久精品网站免费观看| 国产成人自拍在线| 亚洲欧洲性图库| 色香色香欲天天天影视综合网| 一区二区三区精品在线观看| 精品视频色一区| 美日韩黄色大片| 久久久噜噜噜久久人人看| 成人美女视频在线看| 亚洲视频免费观看| 欧美日韩综合在线免费观看| 免费黄网站欧美| 久久精品一二三| 99精品一区二区三区| 一级女性全黄久久生活片免费| 欧美日韩高清一区二区三区| 麻豆精品久久久| 久久不见久久见免费视频7| wwwwxxxxx欧美| av亚洲精华国产精华| 亚洲aaa精品| 欧美va天堂va视频va在线| 成人一级黄色片| 午夜电影一区二区| 久久精品男人天堂av| 91丨九色丨尤物| 丝袜亚洲另类欧美综合| 久久久久9999亚洲精品| 色婷婷av一区二区三区软件| 久久国产精品露脸对白| 国产精品夫妻自拍| 欧美精品久久天天躁| 国产成a人亚洲精| 午夜精品免费在线| 中文字幕av一区二区三区| 欧美日韩精品一区二区在线播放| 精品影视av免费| 一区二区三区在线免费播放| 日韩欧美国产系列| 97精品久久久久中文字幕| 日韩和欧美一区二区| 中文天堂在线一区| 欧美精品久久一区| 97se狠狠狠综合亚洲狠狠| 免费在线观看一区二区三区| 一区精品在线播放| 日韩精品一区二区三区视频在线观看| 99久久er热在这里只有精品66| 日本成人在线看| 亚洲欧洲成人自拍| 久久五月婷婷丁香社区| 欧美另类videos死尸| 91在线视频免费91| 国产美女视频91| 日本va欧美va瓶| 亚洲一区二区欧美|