Home
last modified time | relevance | path

Searched refs:_pStruct_ (Results 1 – 25 of 26) sorted by relevance

12

/hardware/ti/omap3/omx/system/src/openmax_il/common/inc/
DOMX_TI_Common.h68 #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/
DOMX_G722Enc_Utils.h282 #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/
DOMX_G711Decoder.h241 #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 …]
DOMX_G711Dec_Utils.h318 #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/
DJPEGTestEnc.h76 #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/
DOMX_G729Decoder.h185 #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/
DOMX_G726Enc_Utils.h160 #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/
DOMX_G711Enc_Utils.h169 #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/
DOMX_G729Enc_Utils.h207 #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/
Domx_proxy_common.h101 #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/
Domx_proxy_common.h101 #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/
DOMX_G722Dec_Utils.h152 #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/
DOMX_VPP_Utils.h137 #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/
DOMX_G726Dec_Utils.h170 #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/
DOMX_JpegEnc_Utils.h163 #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/
DOMX_JpegDec_Utils.h135 #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/
DOMX_WbAmrEnc_Utils.h133 #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/
DOMX_VideoDec_Utils.h1045 #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/
DOMX_AacEnc_Utils.h86 #define OMX_CLOSE_PIPE(_pStruct_,err)\ argument
88 err = close (_pStruct_);\
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_enc/inc/
DOMX_AmrEnc_Utils.h228 #define OMX_NBCLOSE_PIPE(_pStruct_,err)\ argument
230 err = close (_pStruct_);\
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/tests/
DG711EncTest.c171 #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/
DG729EncTest.c173 #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/
DG726EncTest.c231 #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/
DG729DecTest.c238 #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/
DAmrEncTest.c267 #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_);

12