logiWIN

logiWIN - Can output image storage pointer be changed in software and how
KBA-01036-C0J3BS
Question
Can output image storage pointer be changed in software and how?
Answer

Output image storage pointer can be changed in software. There are 2 storage pointers that can be handeled: MEM_OFFSET_ODD and MEM_OFFSET EVEN pointer. Default value of these pointers (reset value) is 0x00000000. This means that the output image will be stored at 0 bytes offset to the video memory base address, that is set by C_VMEM_BASEADDR generic parameter.

Value of MEM_OFFSTE_ODD pointer can be changed by handeling MEM_OFFSET_ODD register.

Value of MEM_OFFSET_EVEN pointer can be changed by handeling MEM_OFFSET_EVEN register.

Values in both registers must be aligned to row size (in bytes). MEM_OFFSET_ODD register contains pointer to the block of video memory where ITU656/ITU1120 odd field will be stored. MEM_OFFSET_EVEN register containes pointer to the block of video memory where ITU656/ITU1120 even field will be stored.

For RGB and YUV input video streams only MEM_OFFSET_ODD register is used.

Additional Comments

Copyright © 2024 Xylon d.o.o.