Embedded Development DaVinci---8148 DSP in the dsp_drv.c of the ProcessData () and the lower edge stripe problem in the algorithm

Source: Internet
Author: User

(1) Cause of the problem

DSP in the ALGLINK_PRIV.C gray processing found that the following stripes, and later found that the cache is not in time to write into memory problems

(2) Workaround

for (frameid=0; frameid<framelist.numframes; frameid++)
{
Pframe = Framelist.frames[frameid];

if (Pframe->channelnum >= pobj->inqueinfo.numch)
Continue

Do SW OSD
if (POBJ->CREATEARGS.ENABLEOSDALG)
{
Alglink_osdalgprocessframe (&pobj->osdalg, pframe);
}
memset (Pframe->addr[0][1], 0x80, 1920*1080/2);//add by PKF 11-4 128
CACHE_WB (Pframe->addr[0][0], 1920*1080, cache_type_all,true);
CACHE_WB (Pframe->addr[0][1], 1920*1080/2, cache_type_all,true);//add write Alse cache_in ()
memset (Pframe->addr[1][1], 0x80, 1920*1080/4);
}

Http://www.deyisupport.com/question_answer/dsp_arm/c6000_multicore/f/53/p/21756/132424.aspx

Http://www.deyisupport.com/question_answer/dsp_arm/davinci_digital_media_processors/f/39/t/22729.aspx

Embedded Development DaVinci---8148 DSP in the dsp_drv.c of the ProcessData () and the lower edge stripe problem in the algorithm

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.