Remove outdated svn ids, change url, fix permissions

Convert to unix line endings
This commit is contained in:
Carsten Teibes
2020-05-08 00:50:41 +02:00
parent 4fe21168fc
commit 7c6e46b487
366 changed files with 1220 additions and 1431 deletions

137
src/mpeg/pspjpeg.h Executable file → Normal file
View File

@@ -1,69 +1,68 @@
/*
* PSP Software Development Kit - http://www.pspdev.org
* -----------------------------------------------------------------------
* Licensed under the BSD license, see LICENSE in PSPSDK root for details.
*
* pspjpeg.h - Prototypes for the sceJpeg library
*
* Copyright (c) 2007 dot_blank
*
* $Id: pspjpeg.h 2433 2008-10-15 10:00:27Z iwn $
*/
#ifndef __PSPJPEG_H__
#define __PSPJPEG_H__
#ifdef __cplusplus
extern "C" {
#endif
#include <psptypes.h>
/**
* Inits the MJpeg library
*
* @return 0 on success, < 0 on error
*/
int sceJpegInitMJpeg(void);
/**
* Finishes the MJpeg library
*
* @return 0 on success, < 0 on error
*/
int sceJpegFinishMJpeg(void);
/**
* Creates the decoder context.
*
* @param width - The width of the frame
* @param height - The height of the frame
*
* @return 0 on success, < 0 on error
*/
int sceJpegCreateMJpeg(int width, int height);
/**
* Deletes the current decoder context.
*
* @return 0 on success, < 0 on error
*/
int sceJpegDeleteMJpeg(void);
/**
* Decodes a mjpeg frame.
*
* @param jpegbuf - the buffer with the mjpeg frame
* @param size - size of the buffer pointed by jpegbuf
* @param rgba - buffer where the decoded data in RGBA format will be stored.
* It should have a size of (width * height * 4).
* @param unk - Unknown, pass 0
*
* @return (width * 65536) + height on success, < 0 on error
*/
int sceJpegDecodeMJpeg(u8 *jpegbuf, SceSize size, void *rgba, u32 unk);
#ifdef __cplusplus
}
#endif
#endif
/*
* PSP Software Development Kit - https://github.com/pspdev
* -----------------------------------------------------------------------
* Licensed under the BSD license, see LICENSE in PSPSDK root for details.
*
* pspjpeg.h - Prototypes for the sceJpeg library
*
* Copyright (c) 2007 dot_blank
*
*/
#ifndef __PSPJPEG_H__
#define __PSPJPEG_H__
#ifdef __cplusplus
extern "C" {
#endif
#include <psptypes.h>
/**
* Inits the MJpeg library
*
* @return 0 on success, < 0 on error
*/
int sceJpegInitMJpeg(void);
/**
* Finishes the MJpeg library
*
* @return 0 on success, < 0 on error
*/
int sceJpegFinishMJpeg(void);
/**
* Creates the decoder context.
*
* @param width - The width of the frame
* @param height - The height of the frame
*
* @return 0 on success, < 0 on error
*/
int sceJpegCreateMJpeg(int width, int height);
/**
* Deletes the current decoder context.
*
* @return 0 on success, < 0 on error
*/
int sceJpegDeleteMJpeg(void);
/**
* Decodes a mjpeg frame.
*
* @param jpegbuf - the buffer with the mjpeg frame
* @param size - size of the buffer pointed by jpegbuf
* @param rgba - buffer where the decoded data in RGBA format will be stored.
* It should have a size of (width * height * 4).
* @param unk - Unknown, pass 0
*
* @return (width * 65536) + height on success, < 0 on error
*/
int sceJpegDecodeMJpeg(u8 *jpegbuf, SceSize size, void *rgba, u32 unk);
#ifdef __cplusplus
}
#endif
#endif

View File

@@ -1,5 +1,5 @@
/*
* PSP Software Development Kit - http://www.pspdev.org
* PSP Software Development Kit - https://github.com/pspdev
* -----------------------------------------------------------------------
* Licensed under the BSD license, see LICENSE in PSPSDK root for details.
*
@@ -8,7 +8,6 @@
* Copyright (c) 2006 Sorin P. C. <magik@hypermagik.com>
* Copyright (c) 2007 Alexander Berl <raphael@fx-world.org>
*
* $Id: pspmpeg.h 2433 2008-10-15 10:00:27Z iwn $
*/
#ifndef __SCELIBMPEG_H__

65
src/mpeg/pspmpegbase.h Executable file → Normal file
View File

@@ -1,5 +1,5 @@
/*
* PSP Software Development Kit - http://www.pspdev.org
* PSP Software Development Kit - https://github.com/pspdev
* -----------------------------------------------------------------------
* Licensed under the BSD license, see LICENSE in PSPSDK root for details.
*
@@ -9,28 +9,27 @@
* Copyright (c) 2007 cooleyes
* Copyright (c) 2007 Alexander Berl <raphael@fx-world.org>
*
* $Id: pspmpegbase.h 2341 2007-12-06 20:05:52Z raphael $
*/
#ifndef __SCELIBMPEGBASE_H__
#define __SCELIBMPEGBASE_H__
#include <psptypes.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct SceMpegLLI
{
ScePVoid pSrc;
ScePVoid pDst;
ScePVoid Next;
SceInt32 iSize;
} __attribute__((aligned(64))) SceMpegLLI;
#define __SCELIBMPEGBASE_H__
#include <psptypes.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct SceMpegLLI
{
ScePVoid pSrc;
ScePVoid pDst;
ScePVoid Next;
SceInt32 iSize;
} __attribute__((aligned(64))) SceMpegLLI;
@@ -51,16 +50,16 @@ typedef struct SceMpegYCrCbBuffer
SceInt32 iFrameBufferWidth;
SceInt32 iUnknown3[11];
} __attribute__((aligned(64))) SceMpegYCrCbBuffer;
SceInt32 sceMpegBaseYCrCbCopyVme(ScePVoid YUVBuffer, SceInt32 *Buffer, SceInt32 Type);
SceInt32 sceMpegBaseCscInit(SceInt32 width);
SceInt32 sceMpegBaseCscVme(ScePVoid pRGBbuffer, ScePVoid pRGBbuffer2, SceInt32 width, SceMpegYCrCbBuffer* pYCrCbBuffer);
SceInt32 sceMpegbase_BEA18F91(SceMpegLLI *pLLI);
#ifdef __cplusplus
}
#endif
#endif
SceInt32 sceMpegBaseYCrCbCopyVme(ScePVoid YUVBuffer, SceInt32 *Buffer, SceInt32 Type);
SceInt32 sceMpegBaseCscInit(SceInt32 width);
SceInt32 sceMpegBaseCscVme(ScePVoid pRGBbuffer, ScePVoid pRGBbuffer2, SceInt32 width, SceMpegYCrCbBuffer* pYCrCbBuffer);
SceInt32 sceMpegbase_BEA18F91(SceMpegLLI *pLLI);
#ifdef __cplusplus
}
#endif
#endif

0
src/mpeg/sceJpeg.S Executable file → Normal file
View File

0
src/mpeg/sceMpegbase.S Executable file → Normal file
View File

0
src/mpeg/sceMpegbase_driver.S Executable file → Normal file
View File