Commit message (Collapse)AuthorAgeFilesLines
* [QNX] Fixing compiler warning.Buddy Liong2014-08-201-1/+3
| | | | | | | | | | | When compiling with QNX SDP 6.6, compiler issues warning of: /libdce/memplugin_qnx.c: In function 'memplugin_alloc': /libdce/memplugin_qnx.c:46:25: warning: variable 'eError' set but not used [-Wunused-but-set-variable] /libdce/memplugin_qnx.c: In function 'memplugin_free': /libdce/memplugin_qnx.c:109:25: warning: variable 'eError' set but not used [-Wunused-but-set-variable] Change-Id: Iebb4e68fd036e5bb750198f5b60d38f44c5cd856 Signed-off-by: Buddy Liong <buddy.budiono@ti.com>
* [LIBDCE] update memplugin headers and apisSunita Nadampalli2013-09-131-13/+17
| | | | | | | | memheader and memplugin apis are extended to meet the requirements for mem allocations/free/share for all OSes. Change-Id: Ide911d1654ccd0807ace37de9576299cbb860d07 Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
* [MEMPLUGIN] Modify memplugin_share() implementation for QNXSaurabh Bipin Chandra2013-08-271-2/+2
| | | | | | | | | | | | This patch updates the definition of memplugin_share() for QNX to make it aligned with the definition for linux. It also makes the function inline, to save on function switching in QNX. Only the QNX declaration is made inline. Signed-off-by: Saurabh Bipin Chandra <a0131926@ti.com> Change-Id: I20b89d4a3f560d8f4e4de36a496b87b6820b2d10
* Add Header declaration for MemHeaderSaurabh Bipin Chandra2013-05-231-28/+0
| | | | | | | | | To maintain a generic implementation this patch moves the MemHeader declaration from memplugin_qnx.c to memplugin.h. Change-Id: I881ee18903a906a6e31284710949709a5be4132e Signed-off-by: Saurabh Bipin Chandra <a0131926@ti.com>
* [libDCE] Add IPC 3.x Adapted code to Repository3.00.01.00Saurabh Bipin Chandra2013-04-261-0/+158
This patch adds libdce code to the repository. LibDCE has been adapted to use the MmRpc layer of IPC 3.x. This version of LibDCE is expected to work on QNX. Patchset 2 adds/modifies: 1. Removes Tiler 2D allocation/free for now. 2. Corrects memplugin_free() for Tiler 1D. 3. Modifies dce_test app to dump output till 30 frames. 4. Renamed dce.h to libdce.h. 5. Corrected header files across all files. 6. Build configuration for QNX 7. Removes build warnings. 8. Add README for Build instructions 9. Takes care of comments of Buddy and Pradeep. Patchset 3 adds/modifies: 1. Reduced Stack usage of each function. 2. Add ptr check in memplugin and remove from libdce. 3. Add DCE_Assert macros. 4. Add DCE_error_status enum. 5. Comments Cleanup 6. Make some functions static. 7. process() cleanup including removing reply_buf. 8. Add else if (for codec_type == Encoder type) 9. Converted Macros to Inline functions. 10.Converted init and deinit to dce_init and dce_deinit functions. 11. Removed dce_init() and dce_deinit() declarations Patchset 4 adds/modifies: 1. Assert Input function arguments. 2. Correct copyright year. 3. Correct memplugin_free for Shared memory. 4. Create dce_priv.h and move trace and assert macros to the header. 5. Redeclare mem_type enum and add mem_error_status enum in memplugin.h and make corresponding changes. 6. Add asserts in memplugin. Intention of some of the changes above is to move towards delinking Libdce and Memplugin. Patchset 5: 1. Missed to add dce_priv.h file. Patchset 6: 1. Take care Pradeep's comment. Change-Id: I6e5e37b7088362e7bad66200fc3454bb828e0eff Signed-off-by: Saurabh Bipin Chandra <a0131926@ti.com>