1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2025-01-31 12:31:45 +01:00

hle: Add cellVideoPlayerUtility module

This commit is contained in:
scribam 2019-03-24 16:04:22 +01:00 committed by Ivan
parent 581b205f73
commit 956d039415
5 changed files with 134 additions and 0 deletions

View File

@ -0,0 +1,128 @@
#include "stdafx.h"
#include "Emu/System.h"
#include "Emu/Cell/PPUModule.h"
LOG_CHANNEL(cellVideoPlayerUtility);
s32 cellVideoPlayerInitialize()
{
UNIMPLEMENTED_FUNC(cellVideoPlayerUtility);
return CELL_OK;
}
s32 cellVideoPlayerSetStartPosition()
{
UNIMPLEMENTED_FUNC(cellVideoPlayerUtility);
return CELL_OK;
}
s32 cellVideoPlayerGetVolume()
{
UNIMPLEMENTED_FUNC(cellVideoPlayerUtility);
return CELL_OK;
}
s32 cellVideoPlayerFinalize()
{
UNIMPLEMENTED_FUNC(cellVideoPlayerUtility);
return CELL_OK;
}
s32 cellVideoPlayerSetStopPosition()
{
UNIMPLEMENTED_FUNC(cellVideoPlayerUtility);
return CELL_OK;
}
s32 cellVideoPlayerClose()
{
UNIMPLEMENTED_FUNC(cellVideoPlayerUtility);
return CELL_OK;
}
s32 cellVideoPlayerGetTransferPictureInfo()
{
UNIMPLEMENTED_FUNC(cellVideoPlayerUtility);
return CELL_OK;
}
s32 cellVideoPlayerSetDownloadPosition()
{
UNIMPLEMENTED_FUNC(cellVideoPlayerUtility);
return CELL_OK;
}
s32 cellVideoPlayerStartThumbnail()
{
UNIMPLEMENTED_FUNC(cellVideoPlayerUtility);
return CELL_OK;
}
s32 cellVideoPlayerEndThumbnail()
{
UNIMPLEMENTED_FUNC(cellVideoPlayerUtility);
return CELL_OK;
}
s32 cellVideoPlayerOpen()
{
UNIMPLEMENTED_FUNC(cellVideoPlayerUtility);
return CELL_OK;
}
s32 cellVideoPlayerSetVolume()
{
UNIMPLEMENTED_FUNC(cellVideoPlayerUtility);
return CELL_OK;
}
s32 cellVideoPlayerGetOutputStereoPicture()
{
UNIMPLEMENTED_FUNC(cellVideoPlayerUtility);
return CELL_OK;
}
s32 cellVideoPlayerGetPlaybackStatus()
{
UNIMPLEMENTED_FUNC(cellVideoPlayerUtility);
return CELL_OK;
}
s32 cellVideoPlayerSetTransferComplete()
{
UNIMPLEMENTED_FUNC(cellVideoPlayerUtility);
return CELL_OK;
}
s32 cellVideoPlayerGetOutputPicture()
{
UNIMPLEMENTED_FUNC(cellVideoPlayerUtility);
return CELL_OK;
}
s32 cellVideoPlayerPlaybackControl()
{
UNIMPLEMENTED_FUNC(cellVideoPlayerUtility);
return CELL_OK;
}
DECLARE(ppu_module_manager::cellVideoPlayerUtility)("cellVideoPlayerUtility", []()
{
REG_FUNC(cellVideoPlayerUtility, cellVideoPlayerInitialize);
REG_FUNC(cellVideoPlayerUtility, cellVideoPlayerSetStartPosition);
REG_FUNC(cellVideoPlayerUtility, cellVideoPlayerGetVolume);
REG_FUNC(cellVideoPlayerUtility, cellVideoPlayerFinalize);
REG_FUNC(cellVideoPlayerUtility, cellVideoPlayerSetStopPosition);
REG_FUNC(cellVideoPlayerUtility, cellVideoPlayerClose);
REG_FUNC(cellVideoPlayerUtility, cellVideoPlayerGetTransferPictureInfo);
REG_FUNC(cellVideoPlayerUtility, cellVideoPlayerSetDownloadPosition);
REG_FUNC(cellVideoPlayerUtility, cellVideoPlayerStartThumbnail);
REG_FUNC(cellVideoPlayerUtility, cellVideoPlayerEndThumbnail);
REG_FUNC(cellVideoPlayerUtility, cellVideoPlayerOpen);
REG_FUNC(cellVideoPlayerUtility, cellVideoPlayerSetVolume);
REG_FUNC(cellVideoPlayerUtility, cellVideoPlayerGetOutputStereoPicture);
REG_FUNC(cellVideoPlayerUtility, cellVideoPlayerGetPlaybackStatus);
REG_FUNC(cellVideoPlayerUtility, cellVideoPlayerSetTransferComplete);
REG_FUNC(cellVideoPlayerUtility, cellVideoPlayerGetOutputPicture);
REG_FUNC(cellVideoPlayerUtility, cellVideoPlayerPlaybackControl);
});

View File

@ -239,6 +239,7 @@ static void ppu_initialize_modules(const std::shared_ptr<ppu_linkage_info>& link
&ppu_module_manager::cellUserInfo,
&ppu_module_manager::cellVdec,
&ppu_module_manager::cellVideoExport,
&ppu_module_manager::cellVideoPlayerUtility,
&ppu_module_manager::cellVideoUpload,
&ppu_module_manager::cellVoice,
&ppu_module_manager::cellVpost,

View File

@ -246,6 +246,7 @@ public:
static const ppu_static_module cellUserInfo;
static const ppu_static_module cellVdec;
static const ppu_static_module cellVideoExport;
static const ppu_static_module cellVideoPlayerUtility;
static const ppu_static_module cellVideoUpload;
static const ppu_static_module cellVoice;
static const ppu_static_module cellVpost;

View File

@ -239,6 +239,7 @@
<ClCompile Include="Emu\Cell\Modules\cellVdec.cpp" />
<ClCompile Include="Emu\Cell\Modules\cellVideoExport.cpp" />
<ClCompile Include="Emu\Cell\Modules\cellVideoOut.cpp" />
<ClCompile Include="Emu\Cell\Modules\cellVideoPlayerUtility.cpp" />
<ClCompile Include="Emu\Cell\Modules\cellVideoUpload.cpp" />
<ClCompile Include="Emu\Cell\Modules\cellVoice.cpp" />
<ClCompile Include="Emu\Cell\Modules\cellVpost.cpp" />

View File

@ -557,6 +557,9 @@
<ClCompile Include="Emu\Cell\Modules\cellVideoOut.cpp">
<Filter>Emu\Cell\Modules</Filter>
</ClCompile>
<ClCompile Include="Emu\Cell\Modules\cellVideoPlayerUtility.cpp">
<Filter>Emu\Cell\Modules</Filter>
</ClCompile>
<ClCompile Include="Emu\Cell\Modules\cellVideoUpload.cpp">
<Filter>Emu\Cell\Modules</Filter>
</ClCompile>