MPP Programming Interface Reference Manual  jpl-r3.4.16
mpi_enc.h File Reference

MPI for encoder channel. More...

#include "mpi_index.h"
#include "time.h"

Data Structures

struct  MPI_BUF_SEG_S
 Struct for the buffer segment. More...
 
struct  MPI_STREAM_PARAMS_S
 Stream frame buffer parameter. More...
 
struct  MPI_STREAM_PARAMS_V2_S
 Stream frame buffer parameter. More...
 
struct  MPI_ENC_CHN_ATTR_S
 Struct for the encoder channel attributes. More...
 
struct  MPI_ENC_BIND_INFO_S
 Struct for the encoder channel binding info. More...
 
struct  MPI_MCVC_VBR_PARAM_S
 Struct for the parameters of rate control in variable bit rate mode for motion-compensation-based video compression standard. More...
 
struct  MPI_MCVC_CBR_PARAM_S
 Struct for the parameters of rate control in constant bit rate mode for motion-compensation-based video compression standard. More...
 
struct  MPI_MCVC_SBR_PARAM_S
 Struct for the parameters of rate control in smart bit rate mode for motion-compensation-based video compression standard. More...
 
struct  MPI_MCVC_CQP_PARAM_S
 Struct for the parameters of rate control in constant QP mode for motion-compensation-based video compression standard. More...
 
struct  MPI_MCVC_RC_ATTR_S
 Struct for rate control for Motion-Compensation-based Video Compression (MCVC) standard. More...
 
struct  MPI_VC_RC_ATTR_S
 Struct for rate control for intra-frame based video compression standard. More...
 
struct  MPI_VENC_ATTR_H264_S
 Struct for H264 encoder attribute. More...
 
struct  MPI_VENC_ATTR_H265_S
 Struct for H265 encoder attribute. More...
 
struct  MPI_VENC_ATTR_MJPEG_S
 Struct for MJPEG encoder attribute. More...
 
struct  MPI_VENC_ATTR_JPEG_S
 Struct for JPEG encoder attribute. More...
 
struct  MPI_VENC_ATTR_S
 Struct for video codec. More...
 
struct  MPI_VENC_ATTR_EX_S
 Struct for video codec extend. More...
 
struct  MPI_ENC_EVENT_S
 Struct for encoder event. More...
 
struct  MPI_VENC_INFO
 Struct for encoder information. More...
 

Macros

#define MPI_ENC_MAX_FRAME_SEG_CNT   16
 
#define MPI_ISP_MAX_WIN_NUM   9
 

Typedefs

typedef struct timespec TIMESPEC_S
 typedef of struct timespec
 

Enumerations

enum  MPI_FRAME_TYPE_E {
  MPI_FRAME_TYPE_SPS = 0, MPI_FRAME_TYPE_PPS = 1, MPI_FRAME_TYPE_I = 2, MPI_FRAME_TYPE_P = 3,
  MPI_FRAME_TYPE_B = 4, MPI_FRAME_TYPE_NUM
}
 Enumeration of frame type. More...
 
enum  MPI_RC_MODE_E {
  MPI_RC_MODE_VBR = 0, MPI_RC_MODE_CBR, MPI_RC_MODE_SBR, MPI_RC_MODE_CQP,
  MPI_RC_MODE_NUM
}
 Enumeration of rate control mode. More...
 
enum  MPI_VENC_PRFL_E { MPI_PRFL_BASELINE = 0, MPI_PRFL_MAIN, MPI_PRFL_HIGH, MPI_PRFL_NUM }
 Enumeration of video codec profile. More...
 
enum  MPI_VENC_TYPE_E {
  MPI_VENC_TYPE_H264 = 0, MPI_VENC_TYPE_H265, MPI_VENC_TYPE_MJPEG, MPI_VENC_TYPE_JPEG,
  MPI_VENC_TYPE_NUM
}
 Enumeration of video encoder type. More...
 
enum  MPI_VENC_OBS_MODE_E { MPI_VENC_OBS_DISABLE = 0, MPI_VENC_OBS_ENABLE, MPI_VENC_OBS_NUM }
 Enumeration of obs(optical-flow bit-rate) mode. More...
 

Functions

INT32 MPI_ENC_createChn (MPI_ECHN chn_idx, const MPI_ENC_CHN_ATTR_S *p_chn_attr)
 Create a encoder channel and set its attributes. More...
 
INT32 MPI_ENC_destroyChn (MPI_ECHN chn_idx)
 Destroy a encoder channel. More...
 
INT32 MPI_ENC_bindToVideoChn (MPI_ECHN chn_idx, const MPI_ENC_BIND_INFO_S *p_bind_info)
 Binding an encoder channel to a video channel. More...
 
INT32 MPI_ENC_unbindFromVideoChn (MPI_ECHN chn_idx)
 Unbind an encoder channel from a video channel. More...
 
INT32 MPI_ENC_setChnAttr (MPI_ECHN chn_idx, const MPI_ENC_CHN_ATTR_S *p_chn_attr)
 Set the encoder channel attributes. More...
 
INT32 MPI_ENC_getChnAttr (MPI_ECHN chn_idx, MPI_ENC_CHN_ATTR_S *p_chn_attr)
 Get the attributes of a encoder channel. More...
 
INT32 MPI_ENC_setVencAttr (MPI_ECHN chn_idx, const MPI_VENC_ATTR_S *p_venc_attr)
 Set the video encoder channel attributes. More...
 
INT32 MPI_ENC_getVencAttr (MPI_ECHN chn_idx, MPI_VENC_ATTR_S *p_venc_attr)
 Get the video encoder attributes. More...
 
INT32 MPI_ENC_setVencAttrEx (MPI_ECHN chn_idx, const MPI_VENC_ATTR_EX_S *p_venc_attr_ex)
 Set video encoder attributes extend. More...
 
INT32 MPI_ENC_getVencAttrEx (MPI_ECHN chn_idx, MPI_VENC_ATTR_EX_S *p_venc_attr_ex)
 Get the video encoder attributes extend. More...
 
INT32 MPI_ENC_startChn (MPI_ECHN chn_idx)
 Start a encoder channel. More...
 
INT32 MPI_ENC_stopChn (MPI_ECHN chn_idx)
 Stop a encoder channel. More...
 
INT32 MPI_ENC_notifyEvent (MPI_ECHN idx, MPI_ENC_EVENT_S *event)
 Notify encoder to something changed to adjust encoder quality. More...
 
INT32 MPI_ENC_queryVencInfo (MPI_ECHN chn_idx, MPI_VENC_INFO *p_venc_info)
 Query encoder video encode information. More...
 
INT32 MPI_initBitStreamSystem (void)
 Initialize bit stream system. More...
 
INT32 MPI_exitBitStreamSystem (void)
 Exit bit stream system. More...
 
MPI_BCHN MPI_createBitStreamChn (MPI_ECHN chn_idx)
 Create a bit stream channel to get the bit stream data. More...
 
INT32 MPI_destroyBitStreamChn (MPI_BCHN chn_idx)
 Destroy a bit stream channel. More...
 
INT32 MPI_getBitStream (MPI_BCHN chn_idx, MPI_STREAM_PARAMS_S *stream_params, INT32 time_ms)
 Get bit stream data parameters of a encoder bit stream channel. More...
 
INT32 MPI_getBitStreamV2 (MPI_BCHN idx, MPI_STREAM_PARAMS_V2_S *stream_params, INT32 time_ms)
 Get bit stream data parameters of a encoder bit stream channel. More...
 
INT32 MPI_releaseBitStream (MPI_BCHN chn_idx, MPI_STREAM_PARAMS_S *stream_params)
 Release bit stream data parameters of a encoder bit stream channel. More...
 
INT32 MPI_releaseBitStreamV2 (MPI_BCHN chn_idx, MPI_STREAM_PARAMS_V2_S *stream_params)
 Release bit stream data parameters of a encoder bit stream channel. More...
 
INT32 MPI_ENC_getChnFrame (MPI_ECHN idx, MPI_STREAM_PARAMS_S *stream_params, INT32 time_ms)
 Get a snapshot jpeg of encoder channel. More...
 
INT32 MPI_ENC_releaseChnFrame (MPI_ECHN idx, MPI_STREAM_PARAMS_S *stream_params)
 Release snapshot jpeg data of a encoder channel. More...
 
INT32 MPI_ENC_getChnFrameV2 (MPI_ECHN idx, INT32 quality_idx, MPI_STREAM_PARAMS_V2_S *stream_params, INT32 time_ms)
 Get a snapshot jpeg of encoder channel. More...
 
INT32 MPI_ENC_releaseChnFrameV2 (MPI_ECHN idx, MPI_STREAM_PARAMS_V2_S *stream_params)
 Release snapshot jpeg data of a encoder channel. More...
 
INT32 MPI_ENC_requestIdr (MPI_ECHN idx)
 Request IDR frame. More...
 

Detailed Description

MPI for encoder channel.

Macro Definition Documentation

#define MPI_ENC_MAX_FRAME_SEG_CNT   16

Maximum frame segment count

#define MPI_ISP_MAX_WIN_NUM   9

Maximum window number supported by MPI

Enumeration Type Documentation

Enumeration of frame type.

Enumerator
MPI_FRAME_TYPE_SPS 

SPS frame.

MPI_FRAME_TYPE_PPS 

PPS frame.

MPI_FRAME_TYPE_I 

I frame.

MPI_FRAME_TYPE_P 

P frame.

MPI_FRAME_TYPE_B 

B frame.

Enumeration of rate control mode.

Enumerator
MPI_RC_MODE_VBR 

Variable bit rate mode.

MPI_RC_MODE_CBR 

Conttant bit rate mode.

MPI_RC_MODE_SBR 

Smart bit rate mode.

MPI_RC_MODE_CQP 

Constant QP mode.

Enumeration of obs(optical-flow bit-rate) mode.

Enumerator
MPI_VENC_OBS_DISABLE 

obs disable.

MPI_VENC_OBS_ENABLE 

obs enable.

Enumeration of video codec profile.

Enumerator
MPI_PRFL_BASELINE 

Baseline profile.

MPI_PRFL_MAIN 

Main profile.

MPI_PRFL_HIGH 

High profile.

Enumeration of video encoder type.

Enumerator
MPI_VENC_TYPE_H264 

H.264.

MPI_VENC_TYPE_H265 

H.265.

MPI_VENC_TYPE_MJPEG 

Motion JPEG.

MPI_VENC_TYPE_JPEG 

JPEG.

Function Documentation

MPI_BCHN MPI_createBitStreamChn ( MPI_ECHN  idx)

Create a bit stream channel to get the bit stream data.

Parameters
[in]idxencoder channel index.
Returns
Return Bit stream channel to get bit stream data.
Return values
MPI_INVALID_ENC_BCHNinvalid encoder channel index or create bit stream channel failed.
See also
MPI_destroyBitStreamChn()
INT32 MPI_destroyBitStreamChn ( MPI_BCHN  idx)

Destroy a bit stream channel.

Parameters
[in]idxbit stream channel index.
Returns
The execution result.
Return values
MPI_SUCCESSsuccess.
MPI_ERR_ENC_INVALID_CHNinvalid encoder channel index in bit stream channel.
othersfailure.
See also
MPI_createBitStreamChn()
INT32 MPI_ENC_bindToVideoChn ( MPI_ECHN  idx,
const MPI_ENC_BIND_INFO_S p_bind_info 
)

Binding an encoder channel to a video channel.

Parameters
[in]idxencoder channel index.
[in]p_bind_infopointer to the binding info.
Returns
The execution result.
Return values
MPI_SUCCESSsuccess
othersfailure
Note
  • Target video channel should be started before binding to it.
See also
MPI_ENC_createChn()
MPI_ENC_unbindFromVideoChn()
INT32 MPI_ENC_createChn ( MPI_ECHN  idx,
const MPI_ENC_CHN_ATTR_S p_chn_attr 
)

Create a encoder channel and set its attributes.

Parameters
[in]idxencoder channel index.
[in]p_chn_attrpointer to the encoder channel attribute.
Returns
The execution result.
Return values
MPI_SUCCESSsuccess
othersfailure
See also
MPI_ENC_destroyChn()
INT32 MPI_ENC_destroyChn ( MPI_ECHN  idx)

Destroy a encoder channel.

Parameters
[in]idxencoder channel index.
Returns
The execution result.
Return values
MPI_SUCCESSsuccess
othersfailure
See also
MPI_ENC_createChn()
INT32 MPI_ENC_getChnAttr ( MPI_ECHN  idx,
MPI_ENC_CHN_ATTR_S p_chn_attr 
)

Get the attributes of a encoder channel.

Parameters
[in]idxencoder channel index.
[out]p_chn_attrpointer to the encoder channel attribute.
Returns
The execution result.
Return values
MPI_SUCCESSsuccess.
MPI_ERR_ENC_NULL_POINTERinput pointer is NULL.
MPI_ERR_ENC_INVALID_CHNinvalid encoder channel index.
othersfailure.
See also
MPI_ENC_setChnAttr()
INT32 MPI_ENC_getChnFrame ( MPI_ECHN  idx,
MPI_STREAM_PARAMS_S stream_params,
int32_t  time_ms 
)

Get a snapshot jpeg of encoder channel.

Parameters
[in]idxencoder channel index.
[in]time_mstimeout of get snapshot jpeg.
[out]stream_paramspointer to get the snapshot jpeg data parameters.
Returns
The execution result.
Return values
MPI_SUCCESSsuccess.
MPI_ERR_ENC_NULL_POINTERinput pointer is NULL.
MPI_ERR_ENC_INVALID_CHNinvalid encoder channel index.
othersfailure
See also
MPI_ENC_releaseChnFrame()
INT32 MPI_ENC_getChnFrameV2 ( MPI_ECHN  idx,
int32_t  quality_idx,
MPI_STREAM_PARAMS_V2_S stream_params,
int32_t  time_ms 
)

Get a snapshot jpeg of encoder channel.

Parameters
[in]idxencoder channel index.
[in]time_mstimeout of get snapshot jpeg.
[in]quality_idxquality factor of the snapshot
[out]stream_paramspointer to get the snapshot jpeg data parameters.
Returns
The execution result.
Return values
MPI_SUCCESSsuccess.
MPI_ERR_ENC_NULL_POINTERinput pointer is NULL.
MPI_ERR_ENC_INVALID_CHNinvalid encoder channel index.
othersfailure
Note
Please do not modify any member in the stream_params. Otherwise, it will cause memory leakage and kernel panic.
See also
MPI_ENC_releaseChnFrameV2()
INT32 MPI_ENC_getVencAttr ( MPI_ECHN  idx,
MPI_VENC_ATTR_S p_venc_attr 
)

Get the video encoder attributes.

Parameters
[in]idxencoder channel index.
[out]p_venc_attrpointer to the video encoder attribute.
Returns
The execution result.
Return values
MPI_SUCCESSsuccess.
MPI_ERR_ENC_NULL_POINTERinput pointer is NULL.
MPI_ERR_ENC_INVALID_CHNinvalid encoder channel index.
othersfailure.
See also
MPI_setVencAttr()
INT32 MPI_ENC_getVencAttrEx ( MPI_ECHN  idx,
MPI_VENC_ATTR_EX_S p_venc_attr_ex 
)

Get the video encoder attributes extend.

Parameters
[in]idxencoder channel index.
[out]p_venc_attr_expointer to the video encoder attribute extend.
Returns
The execution result.
Return values
MPI_SUCCESSsuccess.
MPI_ERR_ENC_NULL_POINTERinput pointer is NULL.
MPI_ERR_ENC_INVALID_CHNinvalid encoder channel index.
MPI_FAILUREunexpected fail.
othersfailure.
See also
MPI_setVencAttr()
INT32 MPI_ENC_notifyEvent ( MPI_ECHN  idx,
MPI_ENC_EVENT_S event 
)

Notify encoder to something changed to adjust encoder quality.

Parameters
[in]idxencoder channel index.
[in]eventpointer to the encoder event attribute.
Returns
The execution result.
Return values
MPI_SUCCESSsuccess.
MPI_ERR_ENC_NULL_POINTERinput pointer is NULL.
MPI_ERR_ENC_INVALID_CHNinvalid encoder channel index.
MPI_ERR_ENC_INVALID_PARAMinvalid parameters.
othersfailure.
INT32 MPI_ENC_queryVencInfo ( MPI_ECHN  idx,
MPI_VENC_INFO p_venc_info 
)

Query encoder video encode information.

Parameters
[in]idxencoder channel index.
[in]p_venc_infopointer to the encoder information attribute.
Returns
The execution result.
Return values
MPI_SUCCESSsuccess.
MPI_ERR_ENC_NULL_POINTERinput pointer is NULL.
MPI_ERR_ENC_INVALID_CHNinvalid encoder channel index.
MPI_ERR_ENC_INVALID_PARAMinvalid parameters.
othersfailure.
INT32 MPI_ENC_releaseChnFrame ( MPI_ECHN  idx,
MPI_STREAM_PARAMS_S stream_params 
)

Release snapshot jpeg data of a encoder channel.

Parameters
[in]idxencoder channel index.
[in]stream_paramspointer to release the snapshot jpeg data parameters.
Returns
The execution result.
Return values
MPI_SUCCESSsuccess.
MPI_ERR_ENC_NULL_POINTERinput pointer is NULL.
MPI_ERR_ENC_INVALID_CHNinvalid encoder channel index in bit stream channel.
othersfailure
See also
MPI_ENC_getChnFrame()
INT32 MPI_ENC_releaseChnFrameV2 ( MPI_ECHN  idx,
MPI_STREAM_PARAMS_V2_S stream_params 
)

Release snapshot jpeg data of a encoder channel.

Parameters
[in]idxencoder channel index.
[in]stream_paramspointer to release the snapshot jpeg data parameters.
Returns
The execution result.
Return values
MPI_SUCCESSsuccess.
MPI_ERR_ENC_NULL_POINTERinput pointer is NULL.
MPI_ERR_ENC_INVALID_CHNinvalid encoder channel index in bit stream channel.
othersfailure
See also
MPI_ENC_getChnFrameV2()
INT32 MPI_ENC_requestIdr ( MPI_ECHN  idx)

Request IDR frame.

Parameters
[in]idxencoder channel index.
Returns
The execution result.
Return values
MPI_SUCCESSsuccess.
MPI_ERR_ENC_INVALID_CHNinvalid encoder channel index in bit stream channel.
othersfailure
See also
MPI_ENC_getChnFrame()
INT32 MPI_ENC_setChnAttr ( MPI_ECHN  idx,
const MPI_ENC_CHN_ATTR_S p_chn_attr 
)

Set the encoder channel attributes.

Set encoder channel attributes before call MPI_ENC_startChn()

Parameters
[in]idxencoder channel index.
[in]p_chn_attrpointer to the encoder channel attribute.
Returns
The execution result.
Return values
MPI_SUCCESSsuccess.
MPI_ERR_ENC_NULL_POINTERinput pointer is NULL.
MPI_ERR_ENC_INVALID_CHNinvalid encoder channel index.
MPI_ERR_ENC_INVALID_PARAMinvalid parameters.
othersfailure.
See also
MPI_ENC_getChnAttr()
INT32 MPI_ENC_setVencAttr ( MPI_ECHN  idx,
const MPI_VENC_ATTR_S p_venc_attr 
)

Set the video encoder channel attributes.

Call MPI_ENC_setVencAttr() at least once before call MPI_ENC_startChn()

Parameters
[in]idxencoder channel index.
[in]p_venc_attrpointer to the video encoder attribute.
Returns
The execution result.
Return values
MPI_SUCCESSsuccess.
MPI_ERR_ENC_NULL_POINTERinput pointer is NULL.
MPI_ERR_ENC_INVALID_CHNinvalid encoder channel index.
MPI_ERR_ENC_INVALID_PARAMinvalid parameters.
othersfailure.
See also
MPI_ENC_getVencAttr()
INT32 MPI_ENC_setVencAttrEx ( MPI_ECHN  idx,
const MPI_VENC_ATTR_EX_S p_venc_attr_ex 
)

Set video encoder attributes extend.

Parameters
[in]idxencoder channel index.
[in]p_venc_attr_expointer to the video encoder attribute extend.
Returns
The execution result.
Return values
MPI_SUCCESSsuccess.
MPI_ERR_ENC_NULL_POINTERinput pointer is NULL.
MPI_ERR_ENC_INVALID_CHNinvalid encoder channel index.
MPI_ERR_ENC_INVALID_PARAMinvalid parameters.
othersfailure.
See also
MPI_ENC_getVencAttrEx()
INT32 MPI_ENC_startChn ( MPI_ECHN  idx)

Start a encoder channel.

Parameters
[in]idxencoder channel index.
Returns
The execution result.
Return values
MPI_SUCCESSsuccess
othersfailure
See also
MPI_ENC_stopChn()
INT32 MPI_ENC_stopChn ( MPI_ECHN  idx)

Stop a encoder channel.

Parameters
[in]idxencoder channel index.
Returns
The execution result.
Return values
MPI_SUCCESSsuccess
othersfailure
See also
MPI_ENC_startChn()
INT32 MPI_ENC_unbindFromVideoChn ( MPI_ECHN  idx)

Unbind an encoder channel from a video channel.

Parameters
[in]idxencoder channel index.
Returns
The execution result.
Return values
MPI_SUCCESSsuccess.
MPI_ERR_ENC_INVALID_CHNinvalid encoder channel index.
othersfailure.
See also
MPI_ENC_bindToVideoChn()
INT32 MPI_exitBitStreamSystem ( void  )

Exit bit stream system.

Returns
The execution result.
Return values
MPI_SUCCESSsuccess.
INT32 MPI_getBitStream ( MPI_BCHN  idx,
MPI_STREAM_PARAMS_S p_stream_params,
int32_t  time_ms 
)

Get bit stream data parameters of a encoder bit stream channel.

Parameters
[in]idxbit stream channel index.
[in]time_mstimeout of get bit stream.
[out]p_stream_paramspointer to get the bit stream data parameters.
Returns
The execution result.
Return values
MPI_SUCCESSsuccess.
MPI_ERR_ENC_NULL_POINTERinput pointer is NULL.
MPI_ERR_ENC_INVALID_CHNinvalid encoder channel index in bit stream channel.
MPI_ERR_ENC_INVALID_PARAMinvalid parameters.
-EINTRInterrupted by user
-ENODATAEncoder is not running
-ETIMEDOUTWait time expires
-EAGAINNo available segment. Please try again.
-EFAULTFail to read from/write to the user
othersfailure.
See also
MPI_releaseBitStream()
INT32 MPI_getBitStreamV2 ( MPI_BCHN  idx,
MPI_STREAM_PARAMS_V2_S p_stream_params,
int32_t  time_ms 
)

Get bit stream data parameters of a encoder bit stream channel.

Parameters
[in]idxbit stream channel index.
[in]time_mstimeout of get bit stream.
[out]p_stream_paramspointer to get the bit stream data parameters.
Returns
The execution result.
Return values
MPI_SUCCESSsuccess.
MPI_ERR_ENC_NULL_POINTERinput pointer is NULL.
MPI_ERR_ENC_INVALID_CHNinvalid encoder channel index in bit stream channel.
MPI_ERR_ENC_INVALID_PARAMinvalid parameters.
-EINTRInterrupted by user
-ENODATAEncoder is not running
-ETIMEDOUTWait time expires
-EAGAINNo available segment. Please try again.
-EFAULTFail to read from/write to the user
othersfailure.
Note
This API does not support HC17x2 chip type.
See also
MPI_releaseBitStreamV2()
INT32 MPI_initBitStreamSystem ( void  )

Initialize bit stream system.

Returns
The execution result.
Return values
MPI_SUCCESSsuccess.
MPI_ERR_ENC_NOT_INITInitialization failed.
othersfailure.
INT32 MPI_releaseBitStream ( MPI_BCHN  idx,
MPI_STREAM_PARAMS_S p_stream_params 
)

Release bit stream data parameters of a encoder bit stream channel.

Parameters
[in]idxbit stream channel index.
[in]p_stream_paramspointer to release the bit stream data parameters.
Returns
The execution result.
Return values
MPI_SUCCESSsuccess.
MPI_ERR_ENC_NULL_POINTERinput pointer is NULL.
MPI_ERR_ENC_INVALID_CHNinvalid encoder channel index in bit stream channel.
othersfailure.
See also
MPI_getBitStream()
INT32 MPI_releaseBitStreamV2 ( MPI_BCHN  idx,
MPI_STREAM_PARAMS_V2_S p_stream_params 
)

Release bit stream data parameters of a encoder bit stream channel.

Parameters
[in]idxbit stream channel index.
[in]p_stream_paramspointer to release the bit stream data parameters.
Returns
The execution result.
Return values
MPI_SUCCESSsuccess.
MPI_ERR_ENC_NULL_POINTERinput pointer is NULL.
MPI_ERR_ENC_INVALID_CHNinvalid encoder channel index in bit stream channel.
othersfailure
See also
MPI_getBitStreamV2()