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:
parent
581b205f73
commit
956d039415
128
rpcs3/Emu/Cell/Modules/cellVideoPlayerUtility.cpp
Normal file
128
rpcs3/Emu/Cell/Modules/cellVideoPlayerUtility.cpp
Normal 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);
|
||||
});
|
@ -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,
|
||||
|
@ -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;
|
||||
|
@ -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" />
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user