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.

A question about H264 encoder on DM6437

Hello:

         I'm a  newer on DSP. Recently I'm writing a program on H264 encoder,but when process() is called ,an error code outArgus.entendedError =1 is returned.I have tried my best to solve this promble ,but it is still unresolved. Please help me find the problem.Thank you!

        The parameters configuration are as follows:

        IVIDENC1_Params *pParams;

 pParams->size      =sizeof(IVIDENC1_Params);
 pParams->encodingPreset    =XDM_DEFAULT;  //Default setting of encoder
 pParams->rateControlPreset =IVIDEO_LOW_DELAY;//CBR rate control
 pParams->maxHeight     =288;
 pParams->maxWidth      =720;
 pParams->maxFrameRate      =30*1000;
 pParams->maxBitRate        =2000000;
 pParams->dataEndianness    =XDM_BYTE;//Big endian stream
 pParams->maxInterFrameInterval = 1;//no B frame
 pParams->inputChromaFormat = XDM_YUV_422ILE;//YUV 4:2:2 interleaved (little endian)
 pParams->inputContentType  = IVIDEO_PROGRESSIVE;//Interlaced,top field.
 pParams->reconChromaFormat = XDM_CHROMA_NA;

IVIDENC1_DynamicParams * pDynParam;

pDynParam->size                             = sizeof(IVIDENC1_DynamicParams);
 pDynParam->inputHeight              = 288;
 pDynParam->inputWidth               = 720;
 pDynParam->refFrameRate         = 30*1000;
 pDynParam->targetFrameRate   = 30*1000;
 pDynParam-> targetBitRate         = iBitRate;
 pDynParam->intraFrameInterval = 30;
 pDynParam->generateHeader    = XDM_ENCODE_AU;     //Encode entire access unit, including the header
 pDynParam->captureWidth         = 0;
 pDynParam->forceFrame            = IVIDEO_NA_FRAME;      //No forcing of any specific frame type for the frame
 pDynParam->interFrameInterval = 1;             // to use IVIDENC1_Params.maxInterFrameInterval.
 pDynParam->mbDataFlag          = 0;