/hardware/ti/omap3/omx/system/src/openmax_il/common/inc/ |
D | OMX_TI_Common.h | 68 #define OMX_MALLOC_GENERIC(_pStruct_, _sName_) \ argument 69 OMX_MALLOC_SIZE(_pStruct_,sizeof(_sName_),_sName_) 102 #define OMX_MEMFREE_STRUCT(_pStruct_)\ argument 103 OMXDBG_PRINT(stderr, BUFFER, 2, OMX_DBG_BASEMASK, "%d :: [FREE] %p\n",__LINE__,_pStruct_); \ 104 if(_pStruct_ != NULL){\ 105 newfree(_pStruct_);\ 106 _pStruct_ = NULL;\ 114 #define OMX_MEMFREE_STRUCT_DSPALIGN(_pStruct_,_name_)\ argument 115 if(_pStruct_ != NULL){\ 116 _pStruct_ = (_name_*)(((OMX_U8*)_pStruct_ - DSP_CACHE_ALIGNMENT));\ [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_enc/inc/ |
D | OMX_G722Enc_Utils.h | 282 #define OMX_G722MEMFREE_STRUCT(_pStruct_) \ argument 283 if(_pStruct_ != NULL) \ 285 G722ENC_MEMPRINT("%d :: [FREE] %p\n", __LINE__, _pStruct_); \ 286 free(_pStruct_); \ 287 _pStruct_ = NULL; \ 290 #define OMX_G722CLOSE_PIPE(_pStruct_,err) \ argument 292 err = close (_pStruct_); \ 300 #define OMX_G722MALLOC_STRUCT(_pStruct_, _sName_) \ argument 301 _pStruct_ = (_sName_*)malloc(sizeof(_sName_)); \ 302 if(_pStruct_ == NULL) \ [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/inc/ |
D | OMX_G711Decoder.h | 241 #define G711D_OMX_MALLOC(_pStruct_, _sName_) \ argument 242 _pStruct_ = (_sName_*)newmalloc(sizeof(_sName_)); \ 243 if(_pStruct_ == NULL){ \ 250 memset(_pStruct_,0,sizeof(_sName_)); \ 251 G711DEC_MEMPRINT("%d :: Malloced = %p\n",__LINE__,_pStruct_); 265 #define OMX_G711DECMEMFREE_STRUCT(_pStruct_) \ argument 266 if(_pStruct_ != NULL){ \ 267 G711DEC_MEMPRINT("%d :: [FREE] %p\n",__LINE__,_pStruct_); \ 268 newfree(_pStruct_); \ 269 _pStruct_ = NULL; \ [all …]
|
D | OMX_G711Dec_Utils.h | 318 #define G711D_OMX_MALLOC(_pStruct_, _sName_) \ argument 319 _pStruct_ = (_sName_*)newmalloc(sizeof(_sName_)); \ 320 if(_pStruct_ == NULL){ \ 327 memset(_pStruct_,0,sizeof(_sName_)); \ 328 G711DEC_MEMPRINT("%d :: Malloced = %p\n",__LINE__,_pStruct_); 342 #define OMX_G711DECMEMFREE_STRUCT(_pStruct_) \ argument 343 if(_pStruct_ != NULL){ \ 344 G711DEC_MEMPRINT("%d :: [FREE] %p\n",__LINE__,_pStruct_); \ 345 newfree(_pStruct_); \ 346 _pStruct_ = NULL; \ [all …]
|
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/test/ |
D | JPEGTestEnc.h | 76 #define MALLOC(_pStruct_, _sName_) \ argument 77 _pStruct_ = (_sName_*)malloc(sizeof(_sName_)); \ 78 if(_pStruct_ == NULL){ \ 82 memset((void *)_pStruct_, 0, sizeof(_sName_))
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_dec/inc/ |
D | OMX_G729Decoder.h | 185 #define OMX_G729MALLOC_STRUCT(_pStruct_, _sName_) \ argument 186 _pStruct_ = (_sName_*)malloc(sizeof(_sName_)); \ 187 if(_pStruct_ == NULL){ \ 194 memset(_pStruct_, 0x0, sizeof(_sName_)); \ 195 G729DEC_MEMPRINT("%d :: [ALLOC] %p\n",__LINE__,_pStruct_); 205 #define OMX_G729MEMFREE_STRUCT(_pStruct_) \ argument 206 if(_pStruct_ != NULL) \ 208 G729DEC_MEMPRINT("%d :: [FREE] %p\n", __LINE__, _pStruct_); \ 209 free(_pStruct_); \ 210 _pStruct_ = NULL; \
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/inc/ |
D | OMX_G726Enc_Utils.h | 160 #define OMX_NBMEMFREE_STRUCT(_pStruct_)\ argument 161 G726ENC_MEMPRINT("%d :: [FREE] %p\n",__LINE__,_pStruct_);\ 162 if(_pStruct_ != NULL){\ 163 SafeFree(_pStruct_);\ 164 _pStruct_ = NULL;\ 167 #define OMX_NBCLOSE_PIPE(_pStruct_,err)\ argument 169 err = close (_pStruct_);\ 176 #define OMX_NBMALLOC_STRUCT(_pStruct_, _sName_) \ argument 177 _pStruct_ = (_sName_*)SafeMalloc(sizeof(_sName_)); \ 178 if(_pStruct_ == NULL){ \ [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/inc/ |
D | OMX_G711Enc_Utils.h | 169 #define OMX_G711ENC_MEMFREE_STRUCT(_pStruct_) \ argument 170 if(_pStruct_ != NULL){ \ 171 G711ENC_MEMPRINT("%d :: [FREE] %p\n",__LINE__,_pStruct_); \ 172 free(_pStruct_); \ 173 _pStruct_ = NULL; \ 176 #define OMX_G711ENC_CLOSE_PIPE(_pStruct_,err) \ argument 178 err = close (_pStruct_); \ 185 #define G711ENC_OMX_MALLOC_STRUCT(_pStruct_, _sName_) \ argument 186 _pStruct_ = (_sName_*)malloc(sizeof(_sName_)); \ 187 if(_pStruct_ == NULL){ \ [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_enc/inc/ |
D | OMX_G729Enc_Utils.h | 207 #define OMX_G729MEMFREE_STRUCT(_pStruct_) \ argument 208 if(_pStruct_ != NULL) \ 210 G729ENC_MEMPRINT("%d :: [FREE] %p\n", __LINE__, _pStruct_); \ 211 free(_pStruct_); \ 212 _pStruct_ = NULL; \ 215 #define OMX_G729CLOSE_PIPE(_pStruct_,err) \ argument 217 err = close (_pStruct_); \ 225 #define OMX_G729MALLOC_STRUCT(_pStruct_, _sName_) \ argument 226 _pStruct_ = (_sName_*)malloc(sizeof(_sName_)); \ 227 if(_pStruct_ == NULL) \ [all …]
|
/hardware/ti/omap4xxx/domx/domx/ |
D | omx_proxy_common.h | 101 #define PROXY_CHK_VERSION(_pStruct_, _sName_) do { \ argument 102 PROXY_require((((_sName_ *)_pStruct_)->nSize == sizeof(_sName_)), \ 104 PROXY_require(((((_sName_ *)_pStruct_)->nVersion.s.nVersionMajor == \ 106 ((((_sName_ *)_pStruct_)->nVersion.s.nVersionMinor == \ 108 (((_sName_ *)_pStruct_)->nVersion.s.nVersionMinor == \
|
/hardware/ti/omap4-aah/domx/domx/ |
D | omx_proxy_common.h | 101 #define PROXY_CHK_VERSION(_pStruct_, _sName_) do { \ argument 102 PROXY_require((((_sName_ *)_pStruct_)->nSize == sizeof(_sName_)), \ 104 PROXY_require(((((_sName_ *)_pStruct_)->nVersion.s.nVersionMajor == \ 106 ((((_sName_ *)_pStruct_)->nVersion.s.nVersionMinor == \ 108 (((_sName_ *)_pStruct_)->nVersion.s.nVersionMinor == \
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_dec/inc/ |
D | OMX_G722Dec_Utils.h | 152 #define G722D_OMX_MALLOC(_pStruct_, _sName_) \ argument 153 _pStruct_ = (_sName_*)malloc(sizeof(_sName_)); \ 154 if(_pStruct_ == NULL){ \ 161 memset(_pStruct_,0,sizeof(_sName_)); \ 162 G722DEC_MEMPRINT("%d :: Malloced = %p\n",__LINE__,_pStruct_);
|
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/inc/ |
D | OMX_VPP_Utils.h | 137 #define OMX_MALLOC(_pStruct_, _size_) \ argument 138 _pStruct_ = malloc(_size_); \ 139 if(_pStruct_ == NULL){ \ 143 memset(_pStruct_, 0, _size_);\ 144 LinkedList_AddElement(&AllocList, _pStruct_);
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/inc/ |
D | OMX_G726Dec_Utils.h | 170 #define G726D_OMX_MALLOC(_pStruct_, _sName_) \ argument 171 _pStruct_ = (_sName_*)malloc(sizeof(_sName_)); \ 172 if(_pStruct_ == NULL){ \ 179 memset(_pStruct_,0,sizeof(_sName_)); \ 180 G726DEC_MEMPRINT("%d :: Malloced = %p\n",__LINE__,_pStruct_);
|
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/inc/ |
D | OMX_JpegEnc_Utils.h | 163 #define OMX_MALLOC(_pStruct_, _size_) \ argument 164 _pStruct_ = malloc(_size_); \ 165 if(_pStruct_ == NULL){ \ 169 memset(_pStruct_, 0, _size_);\ 170 LinkedList_AddElement(&AllocList, _pStruct_);
|
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/inc/ |
D | OMX_JpegDec_Utils.h | 135 #define OMX_MALLOC(_pStruct_, _size_) \ argument 136 _pStruct_ = malloc(_size_); \ 137 if(_pStruct_ == NULL){ \ 141 memset(_pStruct_, 0, _size_);\ 142 LinkedList_AddElement(&AllocList, _pStruct_);
|
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/inc/ |
D | OMX_WbAmrEnc_Utils.h | 133 #define OMX_WBCLOSE_PIPE(_pStruct_,err)\ argument 134 OMXDBG_PRINT(stderr, BUFFER, 2, OMX_DBG_BASEMASK, "Closing pipes = %d\n",_pStruct_);\ 135 err = close (_pStruct_);\
|
/hardware/ti/omap3/omx/video/src/openmax_il/video_decode/inc/ |
D | OMX_VideoDec_Utils.h | 1045 #define OMX_MALLOC_STRUCT(_pStruct_, _sName_, _memusage_) \ argument 1046 _pStruct_ = (_sName_*)malloc(sizeof(_sName_)); \ 1047 if(_pStruct_ == NULL){ \ 1052 memset((_pStruct_), 0x0, sizeof(_sName_)); 1055 #define OMX_MALLOC_STRUCT_SIZED(_pStruct_, _sName_, _nSize_, _memusage_) \ argument 1056 _pStruct_ = (_sName_*)malloc(_nSize_); \ 1057 if(_pStruct_ == NULL){ \ 1062 memset((_pStruct_), 0x0, _nSize_);
|
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_enc/inc/ |
D | OMX_AacEnc_Utils.h | 86 #define OMX_CLOSE_PIPE(_pStruct_,err)\ argument 88 err = close (_pStruct_);\
|
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_enc/inc/ |
D | OMX_AmrEnc_Utils.h | 228 #define OMX_NBCLOSE_PIPE(_pStruct_,err)\ argument 230 err = close (_pStruct_);\
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/tests/ |
D | G711EncTest.c | 171 #define OMX_G711ENC_MALLOC_STRUCT(_pStruct_, _sName_) \ argument 172 _pStruct_ = (_sName_*)malloc(sizeof(_sName_)); \ 173 if(_pStruct_ == NULL){ \ 180 APP_MEMPRINT("%d ALLOCATING MEMORY = %p\n",__LINE__,_pStruct_);
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_enc/tests/ |
D | G729EncTest.c | 173 #define OMX_G729APP_MALLOC_STRUCT(_pStruct_, _sName_) \ argument 174 _pStruct_ = (_sName_*)malloc(sizeof(_sName_)); \ 175 if(_pStruct_ == NULL){ \ 182 APP_MEMPRINT("%d :: ALLOCATING MEMORY = %p\n",__LINE__,_pStruct_);
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/tests/ |
D | G726EncTest.c | 231 #define OMX_NBAPP_MALLOC_STRUCT(_pStruct_, _sName_) \ argument 232 _pStruct_ = (_sName_*)SafeMalloc(sizeof(_sName_)); \ 233 if(_pStruct_ == NULL){ \ 240 APP_MEMPRINT("%d :: ALLOCATING MEMORY = %p\n",__LINE__,_pStruct_);
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_dec/tests/ |
D | G729DecTest.c | 238 #define OMX_G729APP_MALLOC_STRUCT(_pStruct_, _sName_) \ argument 239 _pStruct_ = (_sName_*)malloc(sizeof(_sName_)); \ 240 if(_pStruct_ == NULL){ \ 247 APP_MEMPRINT("%d :: ALLOCATING MEMORY = %p\n",__LINE__,_pStruct_);
|
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_enc/tests/ |
D | AmrEncTest.c | 267 #define OMX_NBAPP_MALLOC_STRUCT(_pStruct_, _sName_) \ argument 268 _pStruct_ = (_sName_*)newmalloc(sizeof(_sName_)); \ 269 if(_pStruct_ == NULL){ \ 276 APP_MEMPRINT("%d :: ALLOCATING MEMORY = %p\n",__LINE__,_pStruct_);
|