From 909c5e9d14c4bd830a68aedcac641d57a34237a8 Mon Sep 17 00:00:00 2001 From: wheremyfoodat <44909372+wheremyfoodat@users.noreply.github.com> Date: Fri, 1 Sep 2023 17:59:39 +0300 Subject: [PATCH] Reordering --- include/services/y2r.hpp | 6 +++--- src/core/services/y2r.cpp | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/include/services/y2r.hpp b/include/services/y2r.hpp index 84f455cf..17ceaafa 100644 --- a/include/services/y2r.hpp +++ b/include/services/y2r.hpp @@ -64,14 +64,14 @@ class Y2RService { // Service commands void driverInitialize(u32 messagePointer); void driverFinalize(u32 messagePointer); - void isBusyConversion(u32 messagePointer); - void pingProcess(u32 messagePointer); - void setTransferEndInterrupt(u32 messagePointer); void getTransferEndEvent(u32 messagePointer); void getBlockAlignment(u32 messagePointer); void getInputLines(u32 messagePointer); void getInputLineWidth(u32 messagePointer); void getOutputFormat(u32 messagePointer); + void isBusyConversion(u32 messagePointer); + void pingProcess(u32 messagePointer); + void setTransferEndInterrupt(u32 messagePointer); void setAlpha(u32 messagePointer); void setBlockAlignment(u32 messagePointer); diff --git a/src/core/services/y2r.cpp b/src/core/services/y2r.cpp index 5aeef29e..3e7507bc 100644 --- a/src/core/services/y2r.cpp +++ b/src/core/services/y2r.cpp @@ -7,8 +7,10 @@ namespace Y2RCommands { enum : u32 { SetInputFormat = 0x00010040, SetOutputFormat = 0x00030040, + GetOutputFormat = 0x00040000, SetRotation = 0x00050040, SetBlockAlignment = 0x00070040, + GetBlockAlignment = 0x00080000, SetSpacialDithering = 0x00090040, SetTemporalDithering = 0x000B0040, SetTransferEndInterrupt = 0x000D0040, @@ -18,7 +20,9 @@ namespace Y2RCommands { SetSendingV = 0x00120102, SetReceiving = 0x00180102, SetInputLineWidth = 0x001A0040, + GetInputLineWidth = 0x001B0000, SetInputLines = 0x001C0040, + GetInputLines = 0x001D0000, SetStandardCoeff = 0x00200040, SetAlpha = 0x00220040, StartConversion = 0x00260000, @@ -28,10 +32,6 @@ namespace Y2RCommands { PingProcess = 0x002A0000, DriverInitialize = 0x002B0000, DriverFinalize = 0x002C0000, - GetBlockAlignment = 0x00080000, - GetInputLines = 0x001D0000, - GetInputLineWidth = 0x001B0000, - GetOutputFormat = 0x00040000 }; }