aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/mvd/mvd_std.cpp
blob: 64a5314df8bdcc680e973384e3e0619b1c4070ac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Copyright 2016 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.

#include "common/archives.h"
#include "core/hle/ipc_helpers.h"
#include "core/hle/service/mvd/mvd_std.h"

SERIALIZE_EXPORT_IMPL(Service::MVD::MVD_STD)

namespace Service::MVD {

MVD_STD::MVD_STD() : ServiceFramework("mvd:std", 1) {
    static const FunctionInfo functions[] = {
        // clang-format off
        {0x0001, nullptr, "Initialize"},
        {0x0002, nullptr, "Shutdown"},
        {0x0003, nullptr, "CalculateWorkBufSize"},
        {0x0004, nullptr, "CalculateImageSize"},
        {0x0008, nullptr, "ProcessNALUnit"},
        {0x0009, nullptr, "ControlFrameRendering"},
        {0x000A, nullptr, "GetStatus"},
        {0x000B, nullptr, "GetStatusOther"},
        {0x001D, nullptr, "GetConfig"},
        {0x001E, nullptr, "SetConfig"},
        {0x001F, nullptr, "SetOutputBuffer"},
        {0x0021, nullptr, "OverrideOutputBuffers"}
        // clang-format on
    };

    RegisterHandlers(functions);
};

} // namespace Service::MVD