Embedded Development-DaVinci --- SCLR and swms for image scaling in 8148/8168/8127/, image and video freezing and screen jumping Problems

Source: Internet
Author: User

() Cause

The case link here is like this camera-"SCLR (yuv420sp CIF) -dup-ipcframeoutm3-ipcframerocess-ipncframeindsp-dspalg-osdalg-scdalg

|

| Swms-"display

|

Ipcoutm3-ipcinvideo-ENC-ipcbitoutrtos-ipcbitinhost

Previously, the processdata function was used for Grayscale processing in the DSP's alglink, and there was a stripe below. It was solved by writing it back to the memory with cache_wb.

After the SCLR module was added this time, the video was choppy and the frequency modulation occurred!

() Solution

Shielding the added grayscale processing. This 1080/2 1920/2 is okay. If there is a problem with other methods, I have tested this method. If there is anything else to do with it, it may be that the cache is not enabled on the DSP !!!, First go to SCD, and then start with this!

// Memset (pframe-> ADDR [0] [1], 0x80,192 0*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 );
// Memset (pframe-> ADDR [1] [1], 0x80,192 0*1080/4 );

  

Embedded Development-DaVinci --- SCLR and swms for image scaling in 8148/8168/8127/, image and video freezing and screen jumping Problems

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.