Skip to content

Commit

Permalink
Merge branch 'feature-loongarch64' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
kekyo committed Dec 19, 2023
2 parents bbae26b + 0c826af commit 3237bbb
Show file tree
Hide file tree
Showing 5 changed files with 1,248 additions and 21 deletions.
3 changes: 3 additions & 0 deletions FlashCap.Core/Internal/NativeMethods_V4L2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ static NativeMethods_V4L2()
case "mipsel":
Interop = new NativeMethods_V4L2_Interop_mips();
break;
case "loongarch64":
Interop = new NativeMethods_V4L2_Interop_loongarch64();
break;
default:
throw new InvalidOperationException(
$"FlashCap: Architecture '{buf.machine}' is not supported.");
Expand Down
19 changes: 3 additions & 16 deletions FlashCap.Core/Internal/V4L2/NativeMethods_V4L2_Interop.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This is auto generated code by FlashCap.V4L2Generator [0.14.6]. Do not edit.
// Linux version 5.13.0-39-generic (buildd@lcy02-amd64-080) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #44~20.04.1-Ubuntu SMP Thu Mar 24 16:43:35 UTC 2022
// Fri, 15 Apr 2022 03:57:16 GMT
// This is auto generated code by FlashCap.V4L2Generator [1.8.0]. Do not edit.
// Linux version 4.19.0-19-loongson-3 ([email protected]) (gcc version 8.3.0 (Loongnix 8.3.0-6.lnd.vec.36)) #1 SMP 4.19.190.8.14 Thu Aug 24 08:54:20 UTC 2023
// Thu, 14 Dec 2023 01:30:19 GMT

using System;
using System.Runtime.InteropServices;
Expand Down Expand Up @@ -56,7 +56,6 @@ public enum v4l2_buf_type
SDR_CAPTURE = 11,
SDR_OUTPUT = 12,
META_CAPTURE = 13,
META_OUTPUT = 14,
PRIVATE = 128,
}

Expand Down Expand Up @@ -224,12 +223,6 @@ uint reserved2
set;
}

int request_fd
{
get;
set;
}

uint reserved
{
get;
Expand Down Expand Up @@ -897,12 +890,6 @@ uint memory
set;
}

uint capabilities
{
get;
set;
}

uint[] reserved
{
get;
Expand Down
Loading

0 comments on commit 3237bbb

Please sign in to comment.