summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'libdce.h')
-rw-r--r--libdce.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/libdce.h b/libdce.h
index de16f0d..f17422e 100644
--- a/libdce.h
+++ b/libdce.h
@@ -58,6 +58,13 @@ typedef enum dce_error_status {
58 DCE_EOMAPDRM_FAIL = -7 58 DCE_EOMAPDRM_FAIL = -7
59} dce_error_status; 59} dce_error_status;
60 60
61
62typedef enum rproc_info_type {
63 RPROC_CPU_LOAD = 0,
64 RPROC_TOTAL_HEAP_SIZE = 1,
65 RPROC_AVAILABLE_HEAP_SIZE = 2
66} rproc_info_type;
67
61/***************************** Memory Allocation/Free APIs *****************************/ 68/***************************** Memory Allocation/Free APIs *****************************/
62/*=====================================================================================*/ 69/*=====================================================================================*/
63/** dce_alloc : Allocate the Data structures passed to codec-engine APIs 70/** dce_alloc : Allocate the Data structures passed to codec-engine APIs
@@ -183,5 +190,13 @@ int dce_get_fd();
183void dce_set_fd(int fd); 190void dce_set_fd(int fd);
184 191
185 192
193 /*===============================================================*/
194/** get_rproc_info : Get Information from the Remote proc.
195 *
196 * @ param engine [in] : Engine Handle obtained in Engine_open() call.
197 * @ param info_type [in] : Information type as defined in the rproc_info_type
198+ */
199int32_t get_rproc_info(Engine_Handle engine, rproc_info_type info_type);
200
186#endif /* __LIBDCE_H__ */ 201#endif /* __LIBDCE_H__ */
187 202