mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-16 03:38:38 +12:00
82 lines
1.5 KiB
C++
82 lines
1.5 KiB
C++
#include "stdafx.h"
|
|
#include "Emu/Cell/PPUModule.h"
|
|
|
|
logs::channel cellPngEnc("cellPngEnc", logs::level::notice);
|
|
|
|
// Error Codes
|
|
enum
|
|
{
|
|
CELL_PNGENC_ERROR_ARG = 0x80611291,
|
|
CELL_PNGENC_ERROR_SEQ = 0x80611292,
|
|
CELL_PNGENC_ERROR_BUSY = 0x80611293,
|
|
CELL_PNGENC_ERROR_EMPTY = 0x80611294,
|
|
CELL_PNGENC_ERROR_RESET = 0x80611295,
|
|
CELL_PNGENC_ERROR_FATAL = 0x80611296,
|
|
};
|
|
|
|
s32 cellPngEncQueryAttr()
|
|
{
|
|
UNIMPLEMENTED_FUNC(cellPngEnc);
|
|
return CELL_OK;
|
|
}
|
|
|
|
s32 cellPngEncOpen()
|
|
{
|
|
UNIMPLEMENTED_FUNC(cellPngEnc);
|
|
return CELL_OK;
|
|
}
|
|
|
|
s32 cellPngEncOpenEx()
|
|
{
|
|
UNIMPLEMENTED_FUNC(cellPngEnc);
|
|
return CELL_OK;
|
|
}
|
|
|
|
s32 cellPngEncClose()
|
|
{
|
|
UNIMPLEMENTED_FUNC(cellPngEnc);
|
|
return CELL_OK;
|
|
}
|
|
|
|
s32 cellPngEncWaitForInput()
|
|
{
|
|
UNIMPLEMENTED_FUNC(cellPngEnc);
|
|
return CELL_OK;
|
|
}
|
|
|
|
s32 cellPngEncEncodePicture()
|
|
{
|
|
UNIMPLEMENTED_FUNC(cellPngEnc);
|
|
return CELL_OK;
|
|
}
|
|
|
|
s32 cellPngEncWaitForOutput()
|
|
{
|
|
UNIMPLEMENTED_FUNC(cellPngEnc);
|
|
return CELL_OK;
|
|
}
|
|
|
|
s32 cellPngEncGetStreamInfo()
|
|
{
|
|
UNIMPLEMENTED_FUNC(cellPngEnc);
|
|
return CELL_OK;
|
|
}
|
|
|
|
s32 cellPngEncReset()
|
|
{
|
|
UNIMPLEMENTED_FUNC(cellPngEnc);
|
|
return CELL_OK;
|
|
}
|
|
|
|
DECLARE(ppu_module_manager::cellPngEnc)("cellPngEnc", []()
|
|
{
|
|
REG_FUNC(cellPngEnc, cellPngEncQueryAttr);
|
|
REG_FUNC(cellPngEnc, cellPngEncOpen);
|
|
REG_FUNC(cellPngEnc, cellPngEncOpenEx);
|
|
REG_FUNC(cellPngEnc, cellPngEncClose);
|
|
REG_FUNC(cellPngEnc, cellPngEncWaitForInput);
|
|
REG_FUNC(cellPngEnc, cellPngEncEncodePicture);
|
|
REG_FUNC(cellPngEnc, cellPngEncWaitForOutput);
|
|
REG_FUNC(cellPngEnc, cellPngEncGetStreamInfo);
|
|
REG_FUNC(cellPngEnc, cellPngEncReset);
|
|
});
|