This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

关于DM8148 DVR编码参数通道ID



typedef struct {

UInt32 reserved;
/**< Used internally, USER MUST NOT MODIFY THIS VALUE */

VENC_CHN chnId;
/**< Encoder/Decoder channel ID 0..(VENC_CHN_MAX-1) */

VENC_STRM strmId;
/**< Encoder stream ID, not valid for decoder, 0..(VENC_STRM_MAX-1) */

VCODEC_TYPE_E codecType;
/**< Video compression format */

VCODEC_FRAME_TYPE_E frameType;
/**< Compressed frame type */

UInt32 bufSize;
/**< Size of buffer, in bytes */

UInt32 filledBufSize;
/**< Actual size of bistream in buffer, in bytes */
.........
后面的成员省略

} VCODEC_BITSBUF_S;

ti_venc.h

/** Maximum Video Encode channels */
#define VENC_PRIMARY_CHANNELS (16)

#define VENC_CHN_MAX (3*VENC_PRIMARY_CHANNELS) /* If secondary output is enabled, there will be 16+16+16 channels */

8148上编码后从A8上获得的chnId为什么能达到20多呢,实际上我们的设备只有8个输入通道的,如果没问题,这个chnId和设备通道是什么样的对应关系?