Skip to content

Commit 854186a

Browse files
committed
Merge branch 'develop'
2 parents bbae26b + 3237bbb commit 854186a

File tree

5 files changed

+1248
-21
lines changed

5 files changed

+1248
-21
lines changed

FlashCap.Core/Internal/NativeMethods_V4L2.cs

+3
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ static NativeMethods_V4L2()
6161
case "mipsel":
6262
Interop = new NativeMethods_V4L2_Interop_mips();
6363
break;
64+
case "loongarch64":
65+
Interop = new NativeMethods_V4L2_Interop_loongarch64();
66+
break;
6467
default:
6568
throw new InvalidOperationException(
6669
$"FlashCap: Architecture '{buf.machine}' is not supported.");

FlashCap.Core/Internal/V4L2/NativeMethods_V4L2_Interop.cs

+3-16
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// This is auto generated code by FlashCap.V4L2Generator [0.14.6]. Do not edit.
2-
// 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
3-
// Fri, 15 Apr 2022 03:57:16 GMT
1+
// This is auto generated code by FlashCap.V4L2Generator [1.8.0]. Do not edit.
2+
// 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
3+
// Thu, 14 Dec 2023 01:30:19 GMT
44

55
using System;
66
using System.Runtime.InteropServices;
@@ -56,7 +56,6 @@ public enum v4l2_buf_type
5656
SDR_CAPTURE = 11,
5757
SDR_OUTPUT = 12,
5858
META_CAPTURE = 13,
59-
META_OUTPUT = 14,
6059
PRIVATE = 128,
6160
}
6261

@@ -224,12 +223,6 @@ uint reserved2
224223
set;
225224
}
226225

227-
int request_fd
228-
{
229-
get;
230-
set;
231-
}
232-
233226
uint reserved
234227
{
235228
get;
@@ -897,12 +890,6 @@ uint memory
897890
set;
898891
}
899892

900-
uint capabilities
901-
{
902-
get;
903-
set;
904-
}
905-
906893
uint[] reserved
907894
{
908895
get;

0 commit comments

Comments
 (0)