API Description
Syntax |
int DvppCtl(IDVPPAPI*& pIDVPPAPI, int CMD, dvppapi_ctl_msg* MSG) |
---|---|
Function |
Controls the execution of DVPP modules, such as the VPC, JPEGE, JPEGD and PNGD. The DvppCtl API is called by using the instance created by CreateDvppApi. |
Input |
|
Output |
The output parameters vary according to the functions of the DVPP submodules. For details, see dvppapi_ctl_msg. |
Return Value |
|
Instructions |
The caller calls the DvppCtl function to pass the IDVPPAPI object pointer, the correct command word (CMD), and the configured dvppapi_ctl_msg. |
Restriction |
None |
Command Words (CMD)
The CMDs are defined in the ddk/include/inc/dvpp/DvppCommon.h file in the DDK installation directory.
Member Variable |
Description |
Value Range |
---|---|---|
DVPP_CTL_VPC_PROC |
VPC function command word |
0 |
DVPP_CTL_PNGD_PROC |
PNGD function command word |
1 |
DVPP_CTL_JPEGE_PROC |
JPEGE function command word |
2 |
DVPP_CTL_JPEGD_PROC |
JPEGD function command word |
3 |
DVPP_CTL_VENC_PROC |
Reserved |
5 |
DVPP_CTL_DVPP_CAPABILITY |
Command word for querying the DVPP capability |
6 |
DVPP_CTL_CMDLIST_PROC |
Reserved |
7 |
DVPP_CTL_TOOL_CASE_GET_RESIZE_PARAM |
Reserved |
8 |
dvppapi_ctl_msg
This type is defined in the ddk/include/inc/dvpp/DvppCommon.h file in the DDK installation directory.
Member Variable |
Description |
Value Range |
---|---|---|
int32_t in_size |
Input parameter size |
- |
int32_t out_size |
Output parameter size |
- |
void *in |
Input parameter |
|
void *out |
Output parameter |
|
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot