|
@@ -267,7 +267,7 @@ The MppApi structure encapsulates the API of MPP. User implements the video code
|
|
|
| dequeue | Function pointer | MPP_RET (\*dequeue)(MppCtx ctx, MppPortType type, MppTask \*task) The port dequeue interface is used to dequeue the MppTask structure from the port. <br>ctx :MPP instance context. <br>type :Port types are divided into input port and output port. <br>task :MppTask<br>return value :0 is normal, non-zero is error code. |
|
|
|
| enqueue | Function pointer | MPP_RET (\*enqueue)( MppCtx ctx, MppPortType type, MppTask task) The port enqueue interface is used to feed the port into the MppTask structure. <br>ctx :MPP instance context. <br>type :Port types are divided into input port and output port. <br>task :MppTask<br>return value:0 is normal, non-zero is error code. |
|
|
|
| reset | Function pointer | MPP_RET (\*reset)(MppCtx ctx) The reset interface is used to reset the internal state of MppCtx and set to available initialized state. <br>NOTE: the reset interface is a blocked synchronous interface. <br>ctx :MPP instance context. <br>return value :0 is normal, non-zero is error code. |
|
|
|
-| control | Function pointer | MPP_RET (\*control)(MppCtx ctx, MpiCmd cmd, MppParam param) Control interface, an interface for additional control operations to MPP instances. <br>ctx :MPP instance context. <br>cmd :Mpi command id, representing different types of control commands. <br>task :The Mpi command parameter represents the additional parameter of the control command. <br>return value :0 is normal, non-zero is error code. |
|
|
|
+| control | Function pointer | MPP_RET (\*control)(MppCtx ctx, MpiCmd cmd, MppParam param) Control interface, an interface for additional control operations to MPP instances. <br>ctx :MPP instance context. <br>cmd :Mpi command id, representing different types of control commands. <br>param :The Mpi command parameter represents the additional parameter of the control command. <br>return value :0 is normal, non-zero is error code. |
|
|
|
|
|
|
# Chapter 3 MPI interface instructions
|
|
|
|
|
@@ -1077,4 +1077,4 @@ A: No problem, mpp has some dependencies on the kernel driver, the kernel driver
|
|
|
|
|
|
Q: How to analyze the problem of abnormal MPP operation?
|
|
|
|
|
|
-A: First analyze the error log. If there is a log that fails to open the kernel device, you need to analyze whether the hardware device configuration file of the video codec of the kernel platform is available, and then submit the problem to redmine. After analyzing the operating environment problem, analyze the MPP operation Internal issue.
|
|
|
+A: First analyze the error log. If there is a log that fails to open the kernel device, you need to analyze whether the hardware device configuration file of the video codec of the kernel platform is available, and then submit the problem to redmine. After analyzing the operating environment problem, analyze the MPP operation Internal issue.
|