URL
https://opencores.org/ocsvn/mb-jpeg/mb-jpeg/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 7 |
Rev 9 |
Line 1... |
Line 1... |
#ifndef _MB_JPEG
|
#ifndef _MB_JPEG
|
#define _MB_JPEG
|
#define _MB_JPEG
|
|
|
// Microblaze related declaration
|
// Microblaze related declaration
|
|
|
|
#ifdef __MICROBLAZE
|
#include <xparameters.h>
|
#include <xparameters.h>
|
#include <sysace_stdio.h>
|
#include <sysace_stdio.h>
|
|
|
#include "xio.h"
|
#include "xio.h"
|
|
#endif
|
|
|
// XUP2P board related declaration
|
// XUP2P board related declaration
|
|
|
|
#ifdef __XUPV2P
|
#define JPG_ADDRESS 0x70000000
|
#define JPG_ADDRESS 0x70000000
|
#define JPG_MAXSIZE 0x4000
|
#define JPG_MAXSIZE 0x4000
|
#define BMP_ADDRESS 0x70000800
|
#define BMP_ADDRESS 0x70000800
|
#define BMP_MAXSIZE 0x1c000
|
#define BMP_MAXSIZE 0x1c000
|
|
#else
|
|
#define JPG_MAXSIZE 0x400000
|
|
#define BMP_MAXSIZE 0x1c00000
|
|
#endif
|
|
|
// JPEG decoder related declaration
|
// JPEG decoder related declaration
|
|
|
extern unsigned char* jpgimage;
|
extern unsigned char* jpgimage;
|
extern unsigned char* bmpimage;
|
extern unsigned char* bmpimage;
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.