rpcsx/rpcs3/Emu/ARMv7/Modules/sceJpeg.cpp

99 lines
1.8 KiB
C++
Raw Normal View History

#include "stdafx.h"
#include "Emu/System.h"
#include "Emu/ARMv7/PSVFuncList.h"
2015-06-21 01:04:01 +02:00
#include "sceJpeg.h"
2015-01-30 00:58:53 +01:00
s32 sceJpegInitMJpeg(s32 maxSplitDecoder)
{
2015-07-01 19:09:26 +02:00
throw EXCEPTION("");
2015-01-30 00:58:53 +01:00
}
s32 sceJpegFinishMJpeg()
{
2015-07-01 19:09:26 +02:00
throw EXCEPTION("");
2015-01-30 00:58:53 +01:00
}
s32 sceJpegDecodeMJpeg(
vm::cptr<u8> pJpeg,
2015-01-30 00:58:53 +01:00
u32 isize,
2015-06-21 01:04:01 +02:00
vm::ptr<void> pRGBA,
2015-01-30 00:58:53 +01:00
u32 osize,
s32 decodeMode,
2015-06-21 01:04:01 +02:00
vm::ptr<void> pTempBuffer,
2015-01-30 00:58:53 +01:00
u32 tempBufferSize,
2015-06-21 01:04:01 +02:00
vm::ptr<void> pCoefBuffer,
2015-01-30 00:58:53 +01:00
u32 coefBufferSize)
{
2015-07-01 19:09:26 +02:00
throw EXCEPTION("");
2015-01-30 00:58:53 +01:00
}
s32 sceJpegDecodeMJpegYCbCr(
vm::cptr<u8> pJpeg,
2015-01-30 00:58:53 +01:00
u32 isize,
2015-06-21 01:04:01 +02:00
vm::ptr<u8> pYCbCr,
2015-01-30 00:58:53 +01:00
u32 osize,
s32 decodeMode,
2015-06-21 01:04:01 +02:00
vm::ptr<void> pCoefBuffer,
2015-01-30 00:58:53 +01:00
u32 coefBufferSize)
{
2015-07-01 19:09:26 +02:00
throw EXCEPTION("");
2015-01-30 00:58:53 +01:00
}
s32 sceJpegMJpegCsc(
2015-06-21 01:04:01 +02:00
vm::ptr<void> pRGBA,
vm::cptr<u8> pYCbCr,
2015-01-30 00:58:53 +01:00
s32 xysize,
s32 iFrameWidth,
s32 colorOption,
s32 sampling)
{
2015-07-01 19:09:26 +02:00
throw EXCEPTION("");
2015-01-30 00:58:53 +01:00
}
s32 sceJpegGetOutputInfo(
vm::cptr<u8> pJpeg,
2015-01-30 00:58:53 +01:00
u32 isize,
s32 outputFormat,
s32 decodeMode,
2015-06-21 01:04:01 +02:00
vm::ptr<SceJpegOutputInfo> pOutputInfo)
2015-01-30 00:58:53 +01:00
{
2015-07-01 19:09:26 +02:00
throw EXCEPTION("");
2015-01-30 00:58:53 +01:00
}
2015-06-21 01:04:01 +02:00
s32 sceJpegCreateSplitDecoder(vm::ptr<SceJpegSplitDecodeCtrl> pCtrl)
2015-01-30 00:58:53 +01:00
{
2015-07-01 19:09:26 +02:00
throw EXCEPTION("");
2015-01-30 00:58:53 +01:00
}
2015-06-21 01:04:01 +02:00
s32 sceJpegDeleteSplitDecoder(vm::ptr<SceJpegSplitDecodeCtrl> pCtrl)
2015-01-30 00:58:53 +01:00
{
2015-07-01 19:09:26 +02:00
throw EXCEPTION("");
2015-01-30 00:58:53 +01:00
}
2015-06-21 01:04:01 +02:00
s32 sceJpegSplitDecodeMJpeg(vm::ptr<SceJpegSplitDecodeCtrl> pCtrl)
2015-01-30 00:58:53 +01:00
{
2015-07-01 19:09:26 +02:00
throw EXCEPTION("");
2015-01-30 00:58:53 +01:00
}
#define REG_FUNC(nid, name) reg_psv_func(nid, &sceJpeg, #name, name)
psv_log_base sceJpeg("SceJpeg", []()
{
sceJpeg.on_load = nullptr;
sceJpeg.on_unload = nullptr;
sceJpeg.on_stop = nullptr;
2015-06-21 01:04:01 +02:00
sceJpeg.on_error = nullptr;
2015-01-30 00:58:53 +01:00
REG_FUNC(0xB030773B, sceJpegInitMJpeg);
REG_FUNC(0x62842598, sceJpegFinishMJpeg);
REG_FUNC(0x6215B095, sceJpegDecodeMJpeg);
REG_FUNC(0x2A769BD8, sceJpegDecodeMJpegYCbCr);
REG_FUNC(0xC2380E3A, sceJpegMJpegCsc);
REG_FUNC(0x353BA9B0, sceJpegGetOutputInfo);
REG_FUNC(0x123B4734, sceJpegCreateSplitDecoder);
REG_FUNC(0xDE8D5FA1, sceJpegDeleteSplitDecoder);
REG_FUNC(0x4598EC9C, sceJpegSplitDecodeMJpeg);
});