Tool/software: Linux
Follow up to https://e2e.ti.com/support/arm/sitara_arm/f/791/p/649297/2388747#2388747
Customer performing video transcode to H264 on AM57x and they are trying to reduce CPU consumption/loading to achieve this.
They are using ion heap to get incoming data from HDMI/videoShare.
So they already have contiguous physical address.
Is there any way to use this allocated contiguous physical address w/o any memory copy?(memcpy/dma buffer transfer)
Currently, they do following memcpy to allocated ybuff and uvbuff, but it consumes a lot of CPU overhead.
memcpy((char *)dceEncObj->buf.ybuff, inFrameObj->buff, (videoEnc->vidWidth * videoEnc->vidHeight));<
memcpy((char *)dceEncObj->buf.uvbuff, &inFrameObj->buff[videoEnc->vidWidth * videoEnc->vidHeight],<