| /rockchip-linux_mpp/mpp/base/inc/ |
| H A D | mpp_task_impl.h | 111 #define mpp_port_poll(port, timeout) _mpp_port_poll(__FUNCTION__, port, timeout) argument 112 #define mpp_port_dequeue(port, task) _mpp_port_dequeue(__FUNCTION__, port, task) argument 113 #define mpp_port_enqueue(port, task) _mpp_port_enqueue(__FUNCTION__, port, task) argument 114 #define mpp_port_awake(port) _mpp_port_awake(__FUNCTION__, port) argument 115 #define mpp_port_move(port, task, status) _mpp_port_move(__FUNCTION__, port, task, status) argument 117 MPP_RET _mpp_port_poll(const char *caller, MppPort port, MppPollType timeout); 118 MPP_RET _mpp_port_dequeue(const char *caller, MppPort port, MppTask *task); 119 MPP_RET _mpp_port_enqueue(const char *caller, MppPort port, MppTask task); 120 MPP_RET _mpp_port_awake(const char *caller, MppPort port); 121 MPP_RET _mpp_port_move(const char *caller, MppPort port, MppTask task, MppTaskStatus status);
|
| /rockchip-linux_mpp/doc/design/ |
| H A D | 4.mpp_task.txt | 22 release task. But task queue will not interact with user directly. We use port 25 2. Mpp port 26 Mpp port is the transaction interface of task queue. External user and internal 29 using port to connect external user, interface storage and internal process 30 thread. Each task queue has two port: input port and output port. And from a 31 global view the task will always flow from input port to output port. 36 INPUT_PORT : Initial status for input port user to dequeue. Or when output port 39 INPUT_HOLD : When input port user successfully dequeue a task then the task is 42 OUTPUT_PORT: When input port user successfully enqueue a task then the task is 44 output port. [all …]
|
| /rockchip-linux_mpp/mpp/base/ |
| H A D | mpp_task_impl.c | 92 static MPP_RET mpp_port_init(MppTaskQueueImpl *queue, MppPortType type, MppPort *port) in mpp_port_init() argument 115 *port = (MppPort *)impl; in mpp_port_init() 122 static MPP_RET mpp_port_deinit(MppPort port) in mpp_port_deinit() argument 124 mpp_task_dbg_func("enter port %p\n", port); in mpp_port_deinit() 125 mpp_free(port); in mpp_port_deinit() 130 MPP_RET _mpp_port_poll(const char *caller, MppPort port, MppPollType timeout) in _mpp_port_poll() argument 132 MppPortImpl *port_impl = (MppPortImpl *)port; in _mpp_port_poll() 139 mpp_task_dbg_func("enter port %p\n", port); in _mpp_port_poll() 195 MPP_RET _mpp_port_move(const char *caller, MppPort port, MppTask task, in _mpp_port_move() argument 199 MppPortImpl *port_impl = (MppPortImpl *)port; in _mpp_port_move() [all …]
|
| /rockchip-linux_mpp/mpp/base/test/ |
| H A D | mpp_task_test.c | 18 MppPort port = mpp_task_queue_get_port(input, MPP_PORT_INPUT); in task_input() local 24 ret = mpp_port_poll(port, MPP_POLL_BLOCK); in task_input() 27 ret = mpp_port_dequeue(port, &task); in task_input() 31 ret = mpp_port_enqueue(port, task); in task_input() 46 MppPort port = mpp_task_queue_get_port(output, MPP_PORT_OUTPUT); in task_output() local 52 ret = mpp_port_poll(port, MPP_POLL_BLOCK); in task_output() 55 ret = mpp_port_dequeue(port, &task); in task_output() 59 ret = mpp_port_enqueue(port, task); in task_output()
|
| /rockchip-linux_mpp/mpp/ |
| H A D | mpp.c | 1025 MppTaskQueue port = NULL; in mpp_poll() local 1040 port = mpp->mUsrInPort; in mpp_poll() 1043 port = mpp->mUsrOutPort; in mpp_poll() 1049 if (port) in mpp_poll() 1050 ret = mpp_port_poll(port, timeout); in mpp_poll() 1057 MppTaskQueue port = NULL; in mpp_dequeue() local 1073 port = mpp->mUsrInPort; in mpp_dequeue() 1077 port = mpp->mUsrOutPort; in mpp_dequeue() 1084 if (port) { in mpp_dequeue() 1085 ret = mpp_port_dequeue(port, task); in mpp_dequeue() [all …]
|
| /rockchip-linux_mpp/mpp/codec/ |
| H A D | mpp_dec_normal.c | 75 static MPP_RET dec_release_task_in_port(MppPort port) in dec_release_task_in_port() argument 83 ret = mpp_port_poll(port, MPP_POLL_NON_BLOCK); in dec_release_task_in_port() 87 ret = mpp_port_dequeue(port, &mpp_task); in dec_release_task_in_port() 104 mpp_port_enqueue(port, mpp_task); in dec_release_task_in_port()
|
| H A D | mpp_enc_impl.c | 142 static MPP_RET release_task_in_port(MppPort port) in release_task_in_port() argument 150 ret = mpp_port_poll(port, MPP_POLL_NON_BLOCK); in release_task_in_port() 154 mpp_port_dequeue(port, &mpp_task); in release_task_in_port() 170 mpp_port_enqueue(port, mpp_task); in release_task_in_port()
|
| /rockchip-linux_mpp/build/android/ |
| H A D | README.md | 213 … be supported by _android-cmake_. To build natively on Windows you need a port of make but I recom… 225 * Get a Windows port of GNU Make: 228 …* Download some other port. For example, this one: http://gnuwin32.sourceforge.net/packages/make.h…
|
| H A D | android.toolchain.cmake | 43 # You need native port of make to build your project.
|
| /rockchip-linux_mpp/doc/ |
| H A D | Rockchip_Developer_Guide_MPP_EN.md | 241 …port of MPP by dequeue interface. Configure data to MppTask through mpp_task_meta_set_xxx series i… 266 …ether the port has data available for dequeue. <br>ctx :MPP instance context. <br>type :Port types… 267 …port dequeue interface is used to dequeue the MppTask structure from the port. <br>ctx :MPP instan… 268 …port enqueue interface is used to feed the port into the MppTask structure. <br>ctx :MPP instance …
|