- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
i works with my DE1 for displaying picture with the Nios II. I have seen some prepared function for in gui.c and gimp.c exemple :
/*****************************************************************************
* Function: CopyImageToBuffer
*
* Purpose: Copies an image to a video buffer of a different width. The source and
* destination do not have to be contained in the same buffer,
* and can be differend widths. This function is useful for copying
* images stored in RAM to the active frame buffer to be displayed.
*
* Returns: 0
****************************************************************************/
int CopyImageToBuffer( char* dest, char* src,
int dest_width,
int src_width, int src_height )
{
/*****************************************************************************
* Function: load_gimp_graphic_to_pointer
*
* Purpose:
*
* Returns: 0
****************************************************************************/
int load_gimp_graphic_to_pointer( GimpImage* image_source, char** dest )
{
/*****************************************************************************
* Function: DisplayGimpImage
*
* Purpose:
*
* Returns: 0
****************************************************************************/
void DisplayGimpImage( int loc_x, int loc_y, GimpImage* gimp_image, alt_video_display* display )
{
Did you know a code will use them for an exemple ? Thanks
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So ,
Nobody for helping me ?
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page