Stub cellSysutilAvc

This commit is contained in:
Megamouse 2024-09-06 09:45:05 +02:00
parent f285b0c053
commit 144ff82402
5 changed files with 282 additions and 88 deletions

View file

@ -1,185 +1,192 @@
#include "stdafx.h"
#include "Emu/Cell/PPUModule.h"
#include "Emu/Cell/Modules/cellSysutilAvc.h"
LOG_CHANNEL(cellSysutilAvcExt);
error_code cellSysutilAvcExtIsMicAttached()
error_code cellSysutilAvcExtIsMicAttached(vm::ptr<s32> status)
{
UNIMPLEMENTED_FUNC(cellSysutilAvcExt);
cellSysutilAvcExt.todo("cellSysutilAvcExtIsMicAttached(status=*0x%x)", status);
return CELL_OK;
}
error_code cellSysutilAvcExtStopCameraDetection()
{
UNIMPLEMENTED_FUNC(cellSysutilAvcExt);
cellSysutilAvcExt.todo("cellSysutilAvcExtStopCameraDetection()");
return CELL_OK;
}
error_code cellSysutilAvcExtSetWindowRotation()
error_code cellSysutilAvcExtSetWindowRotation(vm::ptr<SceNpId> player_id, f32 rotation_x, f32 rotation_y, f32 rotation_z, CellSysutilAvcTransitionType transition_type)
{
UNIMPLEMENTED_FUNC(cellSysutilAvcExt);
cellSysutilAvcExt.todo("cellSysutilAvcExtSetWindowRotation(player_id=*0x%x, rotation_x=%f, rotation_y=%f, rotation_z=%f, transition_type=0x%x)", player_id, rotation_x, rotation_y, rotation_z, +transition_type);
return CELL_OK;
}
error_code cellSysutilAvcExtGetWindowPosition()
error_code cellSysutilAvcExtGetWindowPosition(vm::ptr<SceNpId> player_id, vm::ptr<f32> position_x, vm::ptr<f32> position_y, vm::ptr<f32> position_z)
{
UNIMPLEMENTED_FUNC(cellSysutilAvcExt);
cellSysutilAvcExt.todo("cellSysutilAvcExtGetWindowPosition(player_id=*0x%x, position_x=*0x%x, position_y=*0x%x, position_z=*0x%x)", player_id, position_x, position_y, position_z);
return CELL_OK;
}
error_code cellSysutilAvcExtSetHideNamePlate()
{
UNIMPLEMENTED_FUNC(cellSysutilAvcExt);
cellSysutilAvcExt.todo("cellSysutilAvcExtSetHideNamePlate()");
return CELL_OK;
}
error_code cellSysutilAvcExtSetWindowPosition()
error_code cellSysutilAvcExtSetWindowPosition(vm::ptr<SceNpId> player_id, f32 position_x, f32 position_y, f32 position_z, CellSysutilAvcTransitionType transition_type)
{
UNIMPLEMENTED_FUNC(cellSysutilAvcExt);
cellSysutilAvcExt.todo("cellSysutilAvcExtSetWindowPosition(player_id=*0x%x, position_x=%f, position_y=%f, position_z=%f, transition_type=0x%x)", player_id, position_x, position_y, position_z, +transition_type);
return CELL_OK;
}
error_code cellSysutilAvcExtGetWindowSize()
error_code cellSysutilAvcExtGetWindowSize(vm::ptr<SceNpId> player_id, vm::ptr<f32> size_x, vm::ptr<f32> size_y)
{
UNIMPLEMENTED_FUNC(cellSysutilAvcExt);
cellSysutilAvcExt.todo("cellSysutilAvcExtGetWindowSize(player_id=*0x%x, size_x=*0x%x, size_y=*0x%x)", player_id, size_x, size_y);
return CELL_OK;
}
error_code cellSysutilAvcExtStartCameraDetection()
{
UNIMPLEMENTED_FUNC(cellSysutilAvcExt);
cellSysutilAvcExt.todo("cellSysutilAvcExtStartCameraDetection()");
return CELL_OK;
}
error_code cellSysutilAvcExtGetWindowShowStatus()
error_code cellSysutilAvcExtGetWindowShowStatus(vm::ptr<SceNpId> player_id, vm::ptr<b8> is_visible)
{
UNIMPLEMENTED_FUNC(cellSysutilAvcExt);
cellSysutilAvcExt.todo("cellSysutilAvcExtGetWindowShowStatus(player_id=*0x%x, is_visible=*0x%x)", player_id, is_visible);
return CELL_OK;
}
error_code cellSysutilAvcExtSetChatMode()
error_code cellSysutilAvcExtSetChatMode(vm::ptr<CellSysutilAvcCallback> func, vm::ptr<void> userdata, sys_memory_container_t container,
CellSysUtilAvcMediaType media, CellSysUtilAvcVideoQuality videoQuality, CellSysUtilAvcVoiceQuality voiceQuality, vm::ptr<CellSysutilAvcOptionParam> option, vm::ptr<CellSysutilAvcRequestId> request_id)
{
UNIMPLEMENTED_FUNC(cellSysutilAvcExt);
cellSysutilAvcExt.todo("cellSysutilAvcExtSetChatMode(func=*0x%x, userdata=*0x%x, container=0x%x, media=0x%x, videoQuality=0x%x, voiceQuality=0x%x, option=*0x%x, request_id=*0x%x)",
func, userdata, container, +media, +videoQuality, +voiceQuality, option, request_id);
return CELL_OK;
}
error_code cellSysutilAvcExtGetNamePlateShowStatus()
error_code cellSysutilAvcExtGetNamePlateShowStatus(vm::ptr<b8> is_visible)
{
UNIMPLEMENTED_FUNC(cellSysutilAvcExt);
cellSysutilAvcExt.todo("cellSysutilAvcExtGetNamePlateShowStatus(is_visible=*0x%x)", is_visible);
return CELL_OK;
}
error_code cellSysutilAvcExtSetWindowAlpha()
error_code cellSysutilAvcExtSetWindowAlpha(vm::ptr<SceNpId> player_id, f32 alpha, CellSysutilAvcTransitionType transition_type)
{
UNIMPLEMENTED_FUNC(cellSysutilAvcExt);
cellSysutilAvcExt.todo("cellSysutilAvcExtSetWindowAlpha(player_id=*0x%x, alpha=%f, transition_type=0x%x)", player_id, alpha, +transition_type);
return CELL_OK;
}
error_code cellSysutilAvcExtSetWindowSize()
error_code cellSysutilAvcExtSetWindowSize(vm::ptr<SceNpId> player_id, f32 size_x, f32 size_y, CellSysutilAvcTransitionType transition_type)
{
UNIMPLEMENTED_FUNC(cellSysutilAvcExt);
cellSysutilAvcExt.todo("cellSysutilAvcExtSetWindowSize(player_id=*0x%x, size_x=%f, size_y=%f, transition_type=0x%x)", player_id, size_x, size_y, +transition_type);
return CELL_OK;
}
error_code cellSysutilAvcExtShowPanelEx()
error_code cellSysutilAvcExtShowPanelEx(CellSysutilAvcTransitionType transition_type)
{
UNIMPLEMENTED_FUNC(cellSysutilAvcExt);
cellSysutilAvcExt.todo("cellSysutilAvcExtShowPanelEx(transition_type=0x%x)", +transition_type);
return CELL_OK;
}
error_code cellSysutilAvcExtLoadAsyncEx()
error_code cellSysutilAvcExtLoadAsyncEx(vm::ptr<CellSysutilAvcCallback> func, vm::ptr<void> userdata, sys_memory_container_t container,
CellSysUtilAvcMediaType media, CellSysUtilAvcVideoQuality videoQuality, CellSysUtilAvcVoiceQuality voiceQuality, vm::ptr<CellSysutilAvcOptionParam> option, vm::ptr<CellSysutilAvcRequestId> request_id)
{
UNIMPLEMENTED_FUNC(cellSysutilAvcExt);
cellSysutilAvcExt.todo("cellSysutilAvcExtLoadAsyncEx(func=*0x%x, userdata=*0x%x, container=0x%x, media=0x%x, videoQuality=0x%x, voiceQuality=0x%x, option=*0x%x, request_id=*0x%x)",
func, userdata, container, +media, +videoQuality, +voiceQuality, option, request_id);
return CELL_OK;
}
error_code cellSysutilAvcExtSetShowNamePlate()
{
UNIMPLEMENTED_FUNC(cellSysutilAvcExt);
cellSysutilAvcExt.todo("cellSysutilAvcExtSetShowNamePlate()");
return CELL_OK;
}
error_code cellSysutilAvcExtStopVoiceDetection()
{
UNIMPLEMENTED_FUNC(cellSysutilAvcExt);
cellSysutilAvcExt.todo("cellSysutilAvcExtStopVoiceDetection()");
return CELL_OK;
}
error_code cellSysutilAvcExtShowWindow()
error_code cellSysutilAvcExtShowWindow(vm::ptr<SceNpId> player_id, CellSysutilAvcTransitionType transition_type)
{
UNIMPLEMENTED_FUNC(cellSysutilAvcExt);
cellSysutilAvcExt.todo("cellSysutilAvcExtStopVoiceDetection(player_id=*0x%x, transition_type=0x%x)", player_id, +transition_type);
return CELL_OK;
}
error_code cellSysutilAvcExtIsCameraAttached()
error_code cellSysutilAvcExtIsCameraAttached(vm::ptr<s32> status)
{
UNIMPLEMENTED_FUNC(cellSysutilAvcExt);
cellSysutilAvcExt.todo("cellSysutilAvcExtIsCameraAttached(status=*0x%x)", status);
return CELL_OK;
}
error_code cellSysutilAvcExtHidePanelEx()
error_code cellSysutilAvcExtHidePanelEx(CellSysutilAvcTransitionType transition_type)
{
UNIMPLEMENTED_FUNC(cellSysutilAvcExt);
cellSysutilAvcExt.todo("cellSysutilAvcExtHidePanelEx(transition_type=0x%x)", +transition_type);
return CELL_OK;
}
error_code cellSysutilAvcExtHideWindow()
error_code cellSysutilAvcExtHideWindow(vm::ptr<SceNpId> player_id, CellSysutilAvcTransitionType transition_type)
{
UNIMPLEMENTED_FUNC(cellSysutilAvcExt);
cellSysutilAvcExt.todo("cellSysutilAvcExtHideWindow(player_id=*0x%x, transition_type=0x%x)", player_id, +transition_type);
return CELL_OK;
}
error_code cellSysutilAvcExtSetChatGroup()
error_code cellSysutilAvcExtSetChatGroup(vm::ptr<CellSysutilAvcCallback> func, vm::ptr<void> userdata, sys_memory_container_t container,
CellSysUtilAvcMediaType media, CellSysUtilAvcVideoQuality videoQuality, CellSysUtilAvcVoiceQuality voiceQuality, vm::ptr<CellSysutilAvcOptionParam> option, vm::ptr<CellSysutilAvcRequestId> request_id)
{
UNIMPLEMENTED_FUNC(cellSysutilAvcExt);
cellSysutilAvcExt.todo("cellSysutilAvcExtSetChatGroup(func=*0x%x, userdata=*0x%x, container=0x%x, media=0x%x, videoQuality=0x%x, voiceQuality=0x%x, option=*0x%x, request_id=*0x%x)",
func, userdata, container, +media, +videoQuality, +voiceQuality, option, request_id);
return CELL_OK;
}
error_code cellSysutilAvcExtGetWindowRotation()
error_code cellSysutilAvcExtGetWindowRotation(vm::ptr<SceNpId> player_id, vm::ptr<f32> rotation_x, vm::ptr<f32> rotation_y, vm::ptr<f32> rotation_z)
{
UNIMPLEMENTED_FUNC(cellSysutilAvcExt);
cellSysutilAvcExt.todo("cellSysutilAvcExtGetWindowRotation(player_id=*0x%x, rotation_x=*0x%x, rotation_y=*0x%x, rotation_z=*0x%x)", player_id, rotation_x, rotation_y, rotation_z);
return CELL_OK;
}
error_code cellSysutilAvcExtStartMicDetection()
{
UNIMPLEMENTED_FUNC(cellSysutilAvcExt);
cellSysutilAvcExt.todo("cellSysutilAvcExtStartMicDetection()");
return CELL_OK;
}
error_code cellSysutilAvcExtGetWindowAlpha()
error_code cellSysutilAvcExtGetWindowAlpha(vm::ptr<SceNpId> player_id, vm::ptr<f32> alpha)
{
UNIMPLEMENTED_FUNC(cellSysutilAvcExt);
cellSysutilAvcExt.todo("cellSysutilAvcExtGetWindowAlpha(player_id=*0x%x, alpha=*0x%x)", player_id, alpha);
return CELL_OK;
}
error_code cellSysutilAvcExtStartVoiceDetection()
{
UNIMPLEMENTED_FUNC(cellSysutilAvcExt);
cellSysutilAvcExt.todo("cellSysutilAvcExtStartVoiceDetection()");
return CELL_OK;
}
error_code cellSysutilAvcExtGetSurfacePointer()
error_code cellSysutilAvcExtGetSurfacePointer(vm::ptr<SceNpId> player_id, vm::pptr<void> surface_ptr, vm::ptr<s32> surface_size, vm::ptr<s32> surface_size_x, vm::ptr<s32> surface_size_y)
{
UNIMPLEMENTED_FUNC(cellSysutilAvcExt);
cellSysutilAvcExt.todo("cellSysutilAvcExtGetSurfacePointer(player_id=*0x%x, surface_ptr=*0x%x, surface_size=*0x%x, surface_size_x=*0x%x, surface_size_y=*0x%x)", player_id, surface_ptr, surface_size, surface_size_x, surface_size_y);
return CELL_OK;
}
error_code cellSysutilAvcExtStopMicDetection()
{
UNIMPLEMENTED_FUNC(cellSysutilAvcExt);
cellSysutilAvcExt.todo("cellSysutilAvcExtStopMicDetection()");
return CELL_OK;
}
error_code cellSysutilAvcExtInitOptionParam()
error_code cellSysutilAvcExtInitOptionParam(s64 avcOptionParamVersion, vm::ptr<CellSysutilAvcOptionParam> option)
{
UNIMPLEMENTED_FUNC(cellSysutilAvcExt);
cellSysutilAvcExt.todo("cellSysutilAvcExtInitOptionParam(avcOptionParamVersion=0x%x, option=*0x%x)", avcOptionParamVersion, option);
return CELL_OK;
}
error_code cellSysutilAvcExtSetWindowZorder()
error_code cellSysutilAvcExtSetWindowZorder(vm::ptr<SceNpId> player_id, u32 zorder)
{
UNIMPLEMENTED_FUNC(cellSysutilAvcExt);
cellSysutilAvcExt.todo("cellSysutilAvcExtSetWindowZorder(player_id=*0x%x, zorder=0x%x)", player_id, zorder);
return CELL_OK;
}