OpenCores
URL https://opencores.org/ocsvn/mpdma/mpdma/trunk

Subversion Repositories mpdma

[/] [mpdma/] [trunk/] [mb-bmp2jpg/] [mb.h] - Blame information for rev 7

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 7 quickwayne
#ifndef _XUP2PRO_H
2
#define _XUP2PRO_H
3
 
4
//  Microblaze related declaration
5
 
6
#include <xparameters.h>
7
#include <sysace_stdio.h>
8
 
9
#include "xio.h"
10
 
11
#define __XUPV2P
12
 
13
 
14
// XUP2P board related declaration 
15
 
16
#ifdef __XUPV2P
17
#define JPG_ADDRESS    0x70000000
18
#define JPG_MAXSIZE     0x10000
19
#define BMP_ADDRESS  0x70010000
20
#define BMP_MAXSIZE   0x10000
21
#else
22
#define JPG_MAXSIZE     0x400000
23
#define BMP_MAXSIZE   0x1c00000
24
#endif
25
 
26
// JPEG decoder related declaration
27
 
28
extern unsigned char* jpgimage;
29
extern char* bmpimage;
30
extern unsigned long jpgsize;
31
extern int bmpsize;
32
 
33
// function declaration
34
 
35
#define eOPENINPUT_FILE 1
36
#define eOPENOUTPUT_FILE 2
37
#define eINVALID_BMP 3
38
#define eLARGE_INPUTFILE 4
39
 
40
#endif
41
 
42
 

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.