path: root/arch
diff options
authorArchit Taneja <>2013-12-03 08:51:13 -0300
committerMauro Carvalho Chehab <>2013-12-10 16:49:48 -0200
commita51cd8f5d0a21ccc8d313a9992293ab2541b40a8 (patch)
tree1c0b27151a708233adea082fdc5f137770cd9339 /arch
parentfe104a9b61ac8856e7973058b71f33224a7d5ed7 (diff)
[media] v4l: ti-vpe: make sure VPDMA line stride constraints are met
When VPDMA fetches or writes to an image buffer, the line stride must be a multiple of 16 bytes. If it isn't, VPDMA HW will write/fetch until the next 16 byte boundry. This causes VPE to work incorrectly for source or destination widths which don't satisfy the above alignment requirement. In order to prevent this, we now make sure that when we set pix format for the input and output buffers, the VPE source and destination image line strides are 16 byte aligned. Also, the motion vector buffers for the de-interlacer are allocated in such a way that it ensures the same alignment. Signed-off-by: Archit Taneja <> Signed-off-by: Mauro Carvalho Chehab <>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions