diff options
| author | 2015-09-03 01:56:59 -0700 | |
|---|---|---|
| committer | 2015-09-03 01:56:59 -0700 | |
| commit | e0c10019a9ef13b274cd151e22531aeda2b62624 (patch) | |
| tree | b0ec3493a7e0b0f3a92bfe934b7166d1c358ed53 /src/core | |
| parent | Merge pull request #1083 from yuriks/microprofile-vs2015 (diff) | |
| download | yuzu-e0c10019a9ef13b274cd151e22531aeda2b62624.tar.gz yuzu-e0c10019a9ef13b274cd151e22531aeda2b62624.tar.xz yuzu-e0c10019a9ef13b274cd151e22531aeda2b62624.zip | |
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.cpp | 63 |
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 @@ | |||
| 9 | namespace Service { | 9 | namespace Service { |
| 10 | namespace CAM { | 10 | namespace CAM { |
| 11 | 11 | ||
| 12 | // Empty arrays are illegal -- commented out until an entry is added. | 12 | const 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 | ||
| 15 | CAM_U_Interface::CAM_U_Interface() { | 72 | CAM_U_Interface::CAM_U_Interface() { |
| 16 | //Register(FunctionTable); | 73 | Register(FunctionTable); |
| 17 | } | 74 | } |
| 18 | 75 | ||
| 19 | } // namespace CAM | 76 | } // namespace CAM |