rpcsx/rpcs3/Emu/Cell/Modules/cellCelp8Enc.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.4 KiB
C++

#include "stdafx.h"
#include "Emu/System.h"
#include "Emu/Cell/PPUModule.h"
#include "cellCelp8Enc.h"
logs::channel cellCelp8Enc("cellCelp8Enc", logs::level::notice);
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;
}
DECLARE(ppu_module_manager::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);
});