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.

EVM DM368 development board demo software problem

I am using EVM DM368 development board. When learning its demo software, I found that the raw data and processed data's pointer type is"Buffer_Handle", I want to know where this type is defined in ? How many bits are there in this data type(8 bits, 16bit, or 32bit?)? Thank you!

  • Hi,

    Buffer_Handle structure is defined in /dmai_2_20_00_15/packages/ti/sdo/dmai/Buffer.h:

    typedef struct _Buffer_Object {
        Buffer_Type             type;
        _Buffer_State           origState;
        _Buffer_State           usedState;
        Memory_AllocParams      memParams;
        Int8                   *userPtr;
        Int32                   physPtr;
        Int                     id;
        Bool                    reference;
        BufTab_Handle           hBufTab;
        Int32                   virtualBufferSize;
    } _Buffer_Object;
    
    regards,
    Anand
  • Hi,

        This programme may not be the very place of  the " Buffer_Handle" 's definition, this just uses it. We want to know where is it  definition, like below:

       ***********************************

    typedef struct  _Buffer_Handle {
    ......
    }Buffer_Handle; 
    ***********************************
    Thank you!!!
    
    
    
    
     
  • Hi,

    Buffer_Handle is typedefined as struct _Buffer_Object as shown below:

    typedef struct _Buffer_Object *  Buffer_Handle

    regards,

    Anand 

     

  • Hi,

        Thank you very much! I finally understand what you mean. 

        But in "buffer.h", I can not find "_Buffer_Object" 's definition, where are you find this programm?

    ////////////////////////////////////////////////////////////////  
    typedef struct _Buffer_Object {
      ......
      } _Buffer_Object;
    ////////////////////////////////////////////////////////////////
    Thanks again!