• AVR Freaks

Hot!GFXU_PreprocessImage

Author
hmpmcp
New Member
  • Total Posts : 7
  • Reward points : 0
  • Joined: 2016/04/29 01:09:05
  • Location: 0
  • Status: offline
2020/04/06 05:50:15 (permalink)
0

GFXU_PreprocessImage

harmony 2.06, mplabx 5.35, XC32 v2.40, PIC32MZ2064DAG176
Hi,
I have the problem in my project, that the needed heap for the grafics bigger is then the available RAM. Therefore is the heap I have reserved in my project smaller than requested. I think some problems in grafics are a result of them. To find a solution for that I thought I'm using the GFXU_PreprocessImage funktion. The grafics data are in the DDR and not in my processor RAM. But I see no changes. the heap estimator from the graphics composer say the same and the visual results are also the same.
Some ideas? Or a manual with some hints.
Best regards
Hartmut
#1

3 Replies Related Threads

    nigelwright7557
    Super Member
    • Total Posts : 471
    • Reward points : 0
    • Joined: 2006/11/06 08:15:51
    • Location: 0
    • Status: offline
    Re: GFXU_PreprocessImage 2020/04/06 05:51:37 (permalink)
    0
    Change PIC to next higher memory version.
     
    #2
    hmpmcp
    New Member
    • Total Posts : 7
    • Reward points : 0
    • Joined: 2016/04/29 01:09:05
    • Location: 0
    • Status: offline
    Re: GFXU_PreprocessImage 2020/04/06 06:24:48 (permalink)
    0
    I think this PIC is the end of the flagpole.
    #3
    automate
    Junior Member
    • Total Posts : 109
    • Reward points : 0
    • Joined: 2014/11/10 09:58:57
    • Location: 0
    • Status: offline
    Re: GFXU_PreprocessImage 2020/04/09 10:24:08 (permalink)
    0
    The GFXU_PreprocessImage() function will copy an image asset from program flash to a DDR address. See example below from aria_image_viewer. The DDR memory size does not affect the heap size.
     
    The function is automatically generated when the image is selected to be managed using composer.
     
    GFXU_PreprocessImage(&iv_bridge,0xA97AFC00,GFX_COLOR_MODE_RGBA_8888,GFX_FALSE);
    #4
    Jump to:
    © 2020 APG vNext Commercial Version 4.5