summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorGravatar bunnei2015-09-03 07:53:18 -0400
committerGravatar bunnei2015-09-03 07:53:18 -0400
commitbc59aaccb134fabe383bf262281d677a98fe761e (patch)
tree81538c99216f418a3f14b892716b42b7eee7b955 /src/core
parentMerge pull request #1088 from aroulin/x64-emitter-abi-call (diff)
parentAdd cam:u service function names to its function table (diff)
downloadyuzu-bc59aaccb134fabe383bf262281d677a98fe761e.tar.gz
yuzu-bc59aaccb134fabe383bf262281d677a98fe761e.tar.xz
yuzu-bc59aaccb134fabe383bf262281d677a98fe761e.zip
Merge pull request #1101 from archshift/camu-service-names
Add cam:u service function names to its function table
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/service/cam/cam_u.cpp63
1 files changed, 60 insertions, 3 deletions
diff --git a/src/core/hle/service/cam/cam_u.cpp b/src/core/hle/service/cam/cam_u.cpp
index 1c6aca955..55083e0c7 100644
--- a/src/core/hle/service/cam/cam_u.cpp
+++ b/src/core/hle/service/cam/cam_u.cpp
@@ -9,11 +9,68 @@
9namespace Service { 9namespace Service {
10namespace CAM { 10namespace CAM {
11 11
12// Empty arrays are illegal -- commented out until an entry is added. 12const Interface::FunctionInfo FunctionTable[] = {
13//const Interface::FunctionInfo FunctionTable[] = { }; 13 {0x00010040, nullptr, "StartCapture"},
14 {0x00020040, nullptr, "StopCapture"},
15 {0x00030040, nullptr, "IsBusy"},
16 {0x00040040, nullptr, "ClearBuffer"},
17 {0x00050040, nullptr, "GetVsyncInterruptEvent"},
18 {0x00060040, nullptr, "GetBufferErrorInterruptEvent"},
19 {0x00070102, nullptr, "SetReceiving"},
20 {0x00080040, nullptr, "IsFinishedReceiving"},
21 {0x00090100, nullptr, "SetTransferLines"},
22 {0x000A0080, nullptr, "GetMaxLines"},
23 {0x000B0100, nullptr, "SetTransferBytes"},
24 {0x000C0040, nullptr, "GetTransferBytes"},
25 {0x000D0080, nullptr, "GetMaxBytes"},
26 {0x000E0080, nullptr, "SetTrimming"},
27 {0x000F0040, nullptr, "IsTrimming"},
28 {0x00100140, nullptr, "SetTrimmingParams"},
29 {0x00110040, nullptr, "GetTrimmingParams"},
30 {0x00120140, nullptr, "SetTrimmingParamsCenter"},
31 {0x00130040, nullptr, "Activate"},
32 {0x00140080, nullptr, "SwitchContext"},
33 {0x00150080, nullptr, "SetExposure"},
34 {0x00160080, nullptr, "SetWhiteBalance"},
35 {0x00170080, nullptr, "SetWhiteBalanceWithoutBaseUp"},
36 {0x00180080, nullptr, "SetSharpness"},
37 {0x00190080, nullptr, "SetAutoExposure"},
38 {0x001A0040, nullptr, "IsAutoExposure"},
39 {0x001B0080, nullptr, "SetAutoWhiteBalance"},
40 {0x001C0040, nullptr, "IsAutoWhiteBalance"},
41 {0x001D00C0, nullptr, "FlipImage"},
42 {0x001E0200, nullptr, "SetDetailSize"},
43 {0x001F00C0, nullptr, "SetSize"},
44 {0x00200080, nullptr, "SetFrameRate"},
45 {0x00210080, nullptr, "SetPhotoMode"},
46 {0x002200C0, nullptr, "SetEffect"},
47 {0x00230080, nullptr, "SetContrast"},
48 {0x00240080, nullptr, "SetLensCorrection"},
49 {0x002500C0, nullptr, "SetOutputFormat"},
50 {0x00260140, nullptr, "SetAutoExposureWindow"},
51 {0x00270140, nullptr, "SetAutoWhiteBalanceWindow"},
52 {0x00280080, nullptr, "SetNoiseFilter"},
53 {0x00290080, nullptr, "SynchronizeVsyncTiming"},
54 {0x002A0080, nullptr, "GetLatestVsyncTiming"},
55 {0x002B0000, nullptr, "GetStereoCameraCalibrationData"},
56 {0x002C0400, nullptr, "SetStereoCameraCalibrationData"},
57 {0x00310180, nullptr, "SetImageQualityCalibrationData"},
58 {0x00320000, nullptr, "GetImageQualityCalibrationData"},
59 {0x003302C0, nullptr, "SetPackageParameterWithoutContext"},
60 {0x00340140, nullptr, "SetPackageParameterWithContext"},
61 {0x003501C0, nullptr, "SetPackageParameterWithContextDetail"},
62 {0x00360000, nullptr, "GetSuitableY2rStandardCoefficient"},
63 {0x00380040, nullptr, "PlayShutterSound"},
64 {0x00390000, nullptr, "DriverInitialize"},
65 {0x003A0000, nullptr, "DriverFinalize"},
66 {0x003B0000, nullptr, "GetActivatedCamera"},
67 {0x003C0000, nullptr, "GetSleepCamera"},
68 {0x003D0040, nullptr, "SetSleepCamera"},
69 {0x003E0040, nullptr, "SetBrightnessSynchronization"},
70};
14 71
15CAM_U_Interface::CAM_U_Interface() { 72CAM_U_Interface::CAM_U_Interface() {
16 //Register(FunctionTable); 73 Register(FunctionTable);
17} 74}
18 75
19} // namespace CAM 76} // namespace CAM