Parameters for Querying the DVPP Engine
Function
The parameters are used to query the DVPP engine capabilities, including the capabilities, resolution restrictions, and performance parameters of all modules.
Input Parameter: device_query_req_stru
Member Variable |
Description |
Value Range |
---|---|---|
uint32_t module_id |
Module ID |
The value is fixed at 1. |
uint32_t engine_type |
DVPP engine type |
VDEC: 0 JPEGD: 1 PNGD: 2 JPEGE: 3 VPC: 4 VENC: 5 |
Output Parameter: dvpp_engine_capability_stru
Member Variable |
Description |
Value Range |
---|---|---|
int32_t engine_type |
DVPP engine type |
VDEC: 0 JPEGD: 1 PNGD: 2 JPEGE: 3 VPC: 4 VENC: 5 |
struct dvpp_resolution_stru max_resolution |
Maximum resolution |
For details, see Structures in dvpp_engine_capability_stru. |
struct dvpp_resolution_stru min_resolution; |
Minimum resolution |
For details, see Structures in dvpp_engine_capability_stru. |
uint32_t protocol_num; |
Number of standard protocol types supported by the engine |
VDEC: 5 JPEGD: 1 PNGD: 1 JPEGE: 1 VPC: 0 VENC: 4 |
uint32_t protocol_type[DVPP_PROTOCOL_TYPE_MAX]; |
Table of the standard protocol types supported by the engine |
enum dvpp_proto_type { dvpp_proto_unsupport =-1, dvpp_itu_t81, iso_iec_15948_2003, h265_main_profile_level_5_1_hightier, h265_main_10_profile_level_5_1_hightier, h264_main_profile_level_5_1, h264_baseline_profile_level_5_1, h264_high_profile_level_5_1, h264_high_profile_level_4_1, h264_main_profile_level_4_1, h264_baseline_profile_level_4_1, h265_main_profile_level_4_1 }; |
uint32_t input_format_num; |
Number of supported input formats |
VDEC: 2 JPEGD: 1 PNGD: 1 JPEGE: 6 VPC: 51 VENC: 2 |
struct dvpp_format_unit_stru engine_input_format_table[DVPP_VADIO_FORMAT_MAX]; |
Table of the input formats supported by the engine |
For details, see Structures in dvpp_engine_capability_stru. |
uint32_t output_format_num; |
Number of supported output formats |
VDEC: 4 JPEGD: 4 PNGD: 2 JPEGE: 1 VPC: 2 VENC: 2 |
struct dvpp_format_unit_stru engine_output_format_table[DVPP_VADIO_FORMAT_MAX]; |
Table of the output formats supported by the engine |
For details, see Structures in dvpp_engine_capability_stru. |
uint32_t performance_mode_num; |
Number of performance modes |
The value is fixed at 1. |
struct dvpp_perfomance_unit_stru performance_mode_table[DVPP_PERFOMANCE_MODE_MAX]; |
Structure of the performance in the module |
For details, see Structures in dvpp_engine_capability_stru. |
struct dvpp_pre_contraction_stru pre_contraction; |
Structure of pre-contraction information |
For details, see Structures in dvpp_engine_capability_stru. |
struct dvpp_pos_scale_stru pos_scale; |
Structure of post-scaling information |
For details, see Structures in dvpp_engine_capability_stru. |
uint32_t spec_input_num |
Number of types of the input formats. Currently, the following two types are supported:
|
- |
struct dvpp_vpc_data_spec_stru spec_input[DVPP_DATA_INPUT_SPEC_TYPE_MAX] |
Description of the types of the input formats |
For details, see dvpp_vpc_data_spec_stru.... |
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