TIOVX User Guide

The sof configuration data structure used by the TIVX_KERNEL_DMPAC_DOF kernel. More...

#include <hwa_dmpac_dof.h>

Data Fields

uint16_t sof_max_pix_in_row
 Maximum possible number of enabled pixel in row if sparse optical flow is enabled. More...
 
uint16_t sof_fv_height
 Number of paxel row with at least one enabled pixel. Paxel row is pair of image row (eg. row 0 & 1, row 2 & 3 etc). More...
 

Detailed Description

The sof configuration data structure used by the TIVX_KERNEL_DMPAC_DOF kernel.

Definition at line 224 of file hwa_dmpac_dof.h.

Field Documentation

◆ sof_max_pix_in_row

uint16_t tivx_dmpac_dof_sof_params_t::sof_max_pix_in_row

Maximum possible number of enabled pixel in row if sparse optical flow is enabled.

Flow vector outputs are generated for only sof_max_pix_in_row pixel per row. Output lines for which the sparse_of_map mask is configured to have less outputs than this value will have "trash" data output in the buffer from the last valid flow vector for that row until the location corresponding to sof_max_pix_in_row.

Definition at line 233 of file hwa_dmpac_dof.h.

◆ sof_fv_height

uint16_t tivx_dmpac_dof_sof_params_t::sof_fv_height

Number of paxel row with at least one enabled pixel. Paxel row is pair of image row (eg. row 0 & 1, row 2 & 3 etc).

Note
Even if only 1 of the 2 row paxel row has output in mask, both rows will be output to the output.
When configuring the SOF mask, it is forbidden to have an odd number of contiguous paxel rows which have no outputs in the mask ... only even number of contiguous paxel rows which have no outputs in the mask are allowed.

Definition at line 242 of file hwa_dmpac_dof.h.


The documentation for this struct was generated from the following file: