rpcs3/rpcs3/Emu/SysCalls/Modules/cellCelp8Enc.cpp
Nekotekina 12f36cf31f Experimental class template Module<T>
Allocates ps3 memory for specific instance T
2015-09-22 13:28:31 +03:00

84 lines
1.6 KiB
C++

#include "stdafx.h"
#include "Emu/Memory/Memory.h"
#include "Emu/System.h"
#include "Emu/SysCalls/Modules.h"
extern Module<> cellCelp8Enc;
// Return Codes
enum
{
CELL_CELP8ENC_ERROR_FAILED = 0x806140a1,
CELL_CELP8ENC_ERROR_SEQ = 0x806140a2,
CELL_CELP8ENC_ERROR_ARG = 0x806140a3,
CELL_CELP8ENC_ERROR_CORE_FAILED = 0x806140b1,
CELL_CELP8ENC_ERROR_CORE_SEQ = 0x806140b2,
CELL_CELP8ENC_ERROR_CORE_ARG = 0x806140b3,
};
s32 cellCelp8EncQueryAttr()
{
UNIMPLEMENTED_FUNC(cellCelp8Enc);
return CELL_OK;
}
s32 cellCelp8EncOpen()
{
UNIMPLEMENTED_FUNC(cellCelp8Enc);
return CELL_OK;
}
s32 cellCelp8EncOpenEx()
{
UNIMPLEMENTED_FUNC(cellCelp8Enc);
return CELL_OK;
}
s32 cellCelp8EncClose()
{
UNIMPLEMENTED_FUNC(cellCelp8Enc);
return CELL_OK;
}
s32 cellCelp8EncStart()
{
UNIMPLEMENTED_FUNC(cellCelp8Enc);
return CELL_OK;
}
s32 cellCelp8EncEnd()
{
UNIMPLEMENTED_FUNC(cellCelp8Enc);
return CELL_OK;
}
s32 cellCelp8EncEncodeFrame()
{
UNIMPLEMENTED_FUNC(cellCelp8Enc);
return CELL_OK;
}
s32 cellCelp8EncWaitForOutput()
{
UNIMPLEMENTED_FUNC(cellCelp8Enc);
return CELL_OK;
}
s32 cellCelp8EncGetAu()
{
UNIMPLEMENTED_FUNC(cellCelp8Enc);
return CELL_OK;
}
Module<> cellCelp8Enc("cellCelp8Enc", []()
{
REG_FUNC(cellCelp8Enc, cellCelp8EncQueryAttr);
REG_FUNC(cellCelp8Enc, cellCelp8EncOpen);
REG_FUNC(cellCelp8Enc, cellCelp8EncOpenEx);
REG_FUNC(cellCelp8Enc, cellCelp8EncClose);
REG_FUNC(cellCelp8Enc, cellCelp8EncStart);
REG_FUNC(cellCelp8Enc, cellCelp8EncEnd);
REG_FUNC(cellCelp8Enc, cellCelp8EncEncodeFrame);
REG_FUNC(cellCelp8Enc, cellCelp8EncWaitForOutput);
REG_FUNC(cellCelp8Enc, cellCelp8EncGetAu);
});