Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: RE: How to set h.264 extend parameters using DMAI

$
0
0

This is the structure declaration of IVIDENC1_InArgs in ividenc1.h

IVIDENC1_InArgs {
    XDAS_Int32 size;        
    XDAS_Int32 inputID;       
    XDAS_Int32 topFieldFirstFlag;
} IVIDENC1_InArgs;


In applicaion file,

IVIDENC1_InArgs ;

Insted of inargs.videncInArgs.inputID = 1; ,

inArgs.inputID                      = GETID(Buffer_getId(hInBuf));

What is wrong there?

Shall I hardcode inArgs.inputID                      = GETID(Buffer_getId(hInBuf)); to inArgs.inputID=1?

Regards,

Dasari

 


Viewing all articles
Browse latest Browse all 25965

Trending Articles