mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 08:21:29 +12:00
Partial commit: Modules (cell)
This commit is contained in:
parent
7e30a0f464
commit
5637c22363
140 changed files with 7290 additions and 8243 deletions
89
rpcs3/Emu/Cell/Modules/cellJpgEnc.cpp
Normal file
89
rpcs3/Emu/Cell/Modules/cellJpgEnc.cpp
Normal file
|
@ -0,0 +1,89 @@
|
|||
#include "stdafx.h"
|
||||
#include "Emu/Cell/PPUModule.h"
|
||||
|
||||
LOG_CHANNEL(cellJpgEnc);
|
||||
|
||||
// Error Codes
|
||||
enum
|
||||
{
|
||||
CELL_JPGENC_ERROR_ARG = 0x80611191,
|
||||
CELL_JPGENC_ERROR_SEQ = 0x80611192,
|
||||
CELL_JPGENC_ERROR_BUSY = 0x80611193,
|
||||
CELL_JPGENC_ERROR_EMPTY = 0x80611194,
|
||||
CELL_JPGENC_ERROR_RESET = 0x80611195,
|
||||
CELL_JPGENC_ERROR_FATAL = 0x80611196,
|
||||
};
|
||||
|
||||
s32 cellJpgEncQueryAttr()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellJpgEnc);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 cellJpgEncOpen()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellJpgEnc);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 cellJpgEncOpenEx()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellJpgEnc);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 cellJpgEncClose()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellJpgEnc);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 cellJpgEncWaitForInput()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellJpgEnc);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 cellJpgEncEncodePicture()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellJpgEnc);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 cellJpgEncEncodePicture2()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellJpgEnc);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 cellJpgEncWaitForOutput()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellJpgEnc);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 cellJpgEncGetStreamInfo()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellJpgEnc);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 cellJpgEncReset()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellJpgEnc);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
DECLARE(ppu_module_manager::cellJpgEnc)("cellJpgEnc", []()
|
||||
{
|
||||
REG_FUNC(cellJpgEnc, cellJpgEncQueryAttr);
|
||||
REG_FUNC(cellJpgEnc, cellJpgEncOpen);
|
||||
REG_FUNC(cellJpgEnc, cellJpgEncOpenEx);
|
||||
REG_FUNC(cellJpgEnc, cellJpgEncClose);
|
||||
REG_FUNC(cellJpgEnc, cellJpgEncWaitForInput);
|
||||
REG_FUNC(cellJpgEnc, cellJpgEncEncodePicture);
|
||||
REG_FUNC(cellJpgEnc, cellJpgEncEncodePicture2);
|
||||
REG_FUNC(cellJpgEnc, cellJpgEncWaitForOutput);
|
||||
REG_FUNC(cellJpgEnc, cellJpgEncGetStreamInfo);
|
||||
REG_FUNC(cellJpgEnc, cellJpgEncReset);
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue