Vision Apps User Guide

Detailed Description

2D transfer request parameters

Data Fields

uint16_t width
 
uint16_t height
 
uint64_t dest_addr
 
uint32_t dest_pitch
 
uint64_t src_addr
 
uint32_t src_pitch
 

Field Documentation

◆ width

uint16_t app_udma_copy_2d_prms_t::width

Width of data to fill in destination buffer - in bytes For max efficiency recommended to be 64-byte aligned

◆ height

uint16_t app_udma_copy_2d_prms_t::height

Height of data to fill in destination buffer - in unit of lines

◆ dest_addr

uint64_t app_udma_copy_2d_prms_t::dest_addr

Physical address of destination buffer. For max efficiency recommended to be 64-byte aligned

◆ dest_pitch

uint32_t app_udma_copy_2d_prms_t::dest_pitch

Pitch in bytes of the destination buffer. For max efficiency recommended to be 64-byte aligned

◆ src_addr

uint64_t app_udma_copy_2d_prms_t::src_addr

For appUdmaCopy2D(), Physical address of a source buffer

  • For max efficiency recommended to be 64-byte aligned

For appUdmaFill2D(), Physical address of a source line buffer

  • User should make sure the buffer pointed to by src_addr can hold one line of size 'width' bytes
  • User should pre-fill this buffer with the value he wants to fill across the buffer
  • For max efficiency recommended to be 64-byte aligned

◆ src_pitch

uint32_t app_udma_copy_2d_prms_t::src_pitch

For appUdmaCopy2D(), Pitch in bytes of the source buffer

  • For max efficiency recommended to be 64-byte aligned

For appUdmaFill2D(),

  • NOT USED