rpcsx/rpcs3/Emu/Cell/Modules/cellCelpEnc.cpp
AnnieL dc34d5b350 cell: add several error (return) codes and definitions (#1914)
* cellHttp: add error codes

Adds error codes for cellHttp and cellHttps

* libDaisy: adds error codes and definitions

Adds error codes, assertations and definitions for cellDaisy.

* cellHttpUtil: add error codes

Adds error codes for cellHttpUtil.

* cellCelp8Enc: moves error codes, adds definitions

Moves error codes to cellCelp8Enc.h, adds some definitions.

* cellCelpEnc: moves error codes, adds definitions

* cellJpgEnc: adds error codes and definitions

Moves the existant error codes to cellJpgEnc.h and adds more error codes
/ definitions.

* cellVoice: moves error codes, adds definitions

Moves error codes to cellVoice.h, adds most cellVoice definitions

* Fix typos
2016-07-15 00:02:07 +03:00

76 lines
1.3 KiB
C++

#include "stdafx.h"
#include "Emu/System.h"
#include "Emu/Cell/PPUModule.h"
#include "cellCelpEnc.h"
logs::channel cellCelpEnc("cellCelpEnc", logs::level::notice);
s32 cellCelpEncQueryAttr()
{
UNIMPLEMENTED_FUNC(cellCelpEnc);
return CELL_OK;
}
s32 cellCelpEncOpen()
{
UNIMPLEMENTED_FUNC(cellCelpEnc);
return CELL_OK;
}
s32 cellCelpEncOpenEx()
{
UNIMPLEMENTED_FUNC(cellCelpEnc);
return CELL_OK;
}
s32 cellCelpEncClose()
{
UNIMPLEMENTED_FUNC(cellCelpEnc);
return CELL_OK;
}
s32 cellCelpEncStart()
{
UNIMPLEMENTED_FUNC(cellCelpEnc);
return CELL_OK;
}
s32 cellCelpEncEnd()
{
UNIMPLEMENTED_FUNC(cellCelpEnc);
return CELL_OK;
}
s32 cellCelpEncEncodeFrame()
{
UNIMPLEMENTED_FUNC(cellCelpEnc);
return CELL_OK;
}
s32 cellCelpEncWaitForOutput()
{
UNIMPLEMENTED_FUNC(cellCelpEnc);
return CELL_OK;
}
s32 cellCelpEncGetAu()
{
UNIMPLEMENTED_FUNC(cellCelpEnc);
return CELL_OK;
}
DECLARE(ppu_module_manager::cellCelpEnc)("cellCelpEnc", []()
{
REG_FUNC(cellCelpEnc, cellCelpEncQueryAttr);
REG_FUNC(cellCelpEnc, cellCelpEncOpen);
REG_FUNC(cellCelpEnc, cellCelpEncOpenEx);
REG_FUNC(cellCelpEnc, cellCelpEncClose);
REG_FUNC(cellCelpEnc, cellCelpEncStart);
REG_FUNC(cellCelpEnc, cellCelpEncEnd);
REG_FUNC(cellCelpEnc, cellCelpEncEncodeFrame);
REG_FUNC(cellCelpEnc, cellCelpEncWaitForOutput);
REG_FUNC(cellCelpEnc, cellCelpEncGetAu);
});