![]() |
TIOVX User Guide
|
The configuration data structure used by the TIVX_KERNEL_VPAC_LDC kernel. More...
#include <hwa_vpac_ldc.h>
Data Fields | |
| uint32_t | input_align_12bit |
| uint32_t | luma_interpolation_type |
| uint32_t | init_x |
| uint32_t | init_y |
| uint32_t | yc_mode |
| uint32_t | dcc_camera_id |
| uint32_t | enable_error_events |
| uint32_t | enable_psa |
The configuration data structure used by the TIVX_KERNEL_VPAC_LDC kernel.
Definition at line 292 of file hwa_vpac_ldc.h.
| uint32_t tivx_vpac_ldc_params_t::input_align_12bit |
Optional: When input 16-bit unpacked, alignment of 12-bit pixel, 0: LSB, 1:MSB
Definition at line 295 of file hwa_vpac_ldc.h.
| uint32_t tivx_vpac_ldc_params_t::luma_interpolation_type |
Luma Interpolation Type, 0: Bicubic; 1: Bilinear
Definition at line 297 of file hwa_vpac_ldc.h.
| uint32_t tivx_vpac_ldc_params_t::init_x |
Output starting x-coordinate (must be multiple of 8) [Range (0 - 8191)]
Definition at line 301 of file hwa_vpac_ldc.h.
| uint32_t tivx_vpac_ldc_params_t::init_y |
Output starting y-coordinate (must be multiple of 2) [Range (0 - 8191)]
Definition at line 304 of file hwa_vpac_ldc.h.
| uint32_t tivx_vpac_ldc_params_t::yc_mode |
When LDC is used to operate on single plane mode, ie by settings output format to U8/U16/P12, this flag can be used to configure LDC in Luma only or Chroma Only mode
0: Luma only mode, 1: Chroma Only mode
Note: In case of chroma only mode, LDC assumes chroma is from YUV420 input and expects the frame size to be for YUV420 frame, ie frame size of luma, where chroma height is half of luma height. Node internally takes care of multiplying height by 2.
Definition at line 317 of file hwa_vpac_ldc.h.
| uint32_t tivx_vpac_ldc_params_t::dcc_camera_id |
Optional: dcc camera id when dcc is used for LDC settings
Definition at line 320 of file hwa_vpac_ldc.h.
| uint32_t tivx_vpac_ldc_params_t::enable_error_events |
This flag is a 32-bit bitmask used to specify which error events should be reported. Each bit in this mask corresponds to a specific error type generated by the hardware. Setting a bit to 1 enables reporting for that error, while setting it to 0 disables it.
Use the predefined error macros to configure enable_error_events:
To enable specific errors, combine the relevant error bits using a bitwise OR. For example, to monitor TIVX_VPAC_LDC_PIX_BLK_OUTOFBOUND_ERR_STATUS and TIVX_VPAC_LDC_WDTIMER_ERR, set:
Definition at line 360 of file hwa_vpac_ldc.h.
| uint32_t tivx_vpac_ldc_params_t::enable_psa |
This flag is used to control the retrieval of the PSA signature. When set to 1, the PSA signature is retrieved; when set to 0, it is not.
Definition at line 365 of file hwa_vpac_ldc.h.