@norskvideo/norsk-api 1.0.373 → 1.0.375

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/media_pb.ts CHANGED
@@ -769,19 +769,19 @@ proto3.util.setEnumType(TestCardPattern, "norsk.api.media.TestCardPattern", [
769
769
  */
770
770
  export enum DeckLinkPixelFormat {
771
771
  /**
772
- * @generated from enum value: UYVY = 0;
772
+ * @generated from enum value: DECKLINK_UYVY = 0;
773
773
  */
774
- UYVY = 0,
774
+ DECKLINK_UYVY = 0,
775
775
 
776
776
  /**
777
- * @generated from enum value: ARGB = 1;
777
+ * @generated from enum value: DECKLINK_ARGB = 1;
778
778
  */
779
- ARGB = 1,
779
+ DECKLINK_ARGB = 1,
780
780
  }
781
781
  // Retrieve enum metadata with: proto3.getEnumType(DeckLinkPixelFormat)
782
782
  proto3.util.setEnumType(DeckLinkPixelFormat, "norsk.api.media.DeckLinkPixelFormat", [
783
- { no: 0, name: "UYVY" },
784
- { no: 1, name: "ARGB" },
783
+ { no: 0, name: "DECKLINK_UYVY" },
784
+ { no: 1, name: "DECKLINK_ARGB" },
785
785
  ]);
786
786
 
787
787
  /**
@@ -1486,6 +1486,74 @@ proto3.util.setEnumType(DeckLinkDisplayModeId, "norsk.api.media.DeckLinkDisplayM
1486
1486
  { no: 111, name: "SPECIAL_IUNK" },
1487
1487
  ]);
1488
1488
 
1489
+ /**
1490
+ * @generated from enum norsk.api.media.PixelFormat
1491
+ */
1492
+ export enum PixelFormat {
1493
+ /**
1494
+ * @generated from enum value: UNSPECIFIED = 0;
1495
+ */
1496
+ UNSPECIFIED = 0,
1497
+
1498
+ /**
1499
+ * @generated from enum value: YUV420P = 1;
1500
+ */
1501
+ YUV420P = 1,
1502
+
1503
+ /**
1504
+ * @generated from enum value: YUV422P = 2;
1505
+ */
1506
+ YUV422P = 2,
1507
+
1508
+ /**
1509
+ * @generated from enum value: YUV444P = 3;
1510
+ */
1511
+ YUV444P = 3,
1512
+
1513
+ /**
1514
+ * @generated from enum value: YUVA420P = 4;
1515
+ */
1516
+ YUVA420P = 4,
1517
+
1518
+ /**
1519
+ * @generated from enum value: YUVA422P = 5;
1520
+ */
1521
+ YUVA422P = 5,
1522
+
1523
+ /**
1524
+ * @generated from enum value: YUVA444P = 6;
1525
+ */
1526
+ YUVA444P = 6,
1527
+
1528
+ /**
1529
+ * @generated from enum value: RGBA = 7;
1530
+ */
1531
+ RGBA = 7,
1532
+
1533
+ /**
1534
+ * @generated from enum value: BGRA = 8;
1535
+ */
1536
+ BGRA = 8,
1537
+
1538
+ /**
1539
+ * @generated from enum value: UYVY = 9;
1540
+ */
1541
+ UYVY = 9,
1542
+ }
1543
+ // Retrieve enum metadata with: proto3.getEnumType(PixelFormat)
1544
+ proto3.util.setEnumType(PixelFormat, "norsk.api.media.PixelFormat", [
1545
+ { no: 0, name: "UNSPECIFIED" },
1546
+ { no: 1, name: "YUV420P" },
1547
+ { no: 2, name: "YUV422P" },
1548
+ { no: 3, name: "YUV444P" },
1549
+ { no: 4, name: "YUVA420P" },
1550
+ { no: 5, name: "YUVA422P" },
1551
+ { no: 6, name: "YUVA444P" },
1552
+ { no: 7, name: "RGBA" },
1553
+ { no: 8, name: "BGRA" },
1554
+ { no: 9, name: "UYVY" },
1555
+ ]);
1556
+
1489
1557
  /**
1490
1558
  * @generated from enum norsk.api.media.NvidiaPreset
1491
1559
  */
@@ -6461,6 +6529,11 @@ export class TestCardVideoConfiguration extends Message<TestCardVideoConfigurati
6461
6529
  */
6462
6530
  pattern = TestCardPattern.Black;
6463
6531
 
6532
+ /**
6533
+ * @generated from field: norsk.api.media.PixelFormat pixel_format = 7;
6534
+ */
6535
+ pixelFormat = PixelFormat.UNSPECIFIED;
6536
+
6464
6537
  constructor(data?: PartialMessage<TestCardVideoConfiguration>) {
6465
6538
  super();
6466
6539
  proto3.util.initPartial(data, this);
@@ -6475,6 +6548,7 @@ export class TestCardVideoConfiguration extends Message<TestCardVideoConfigurati
6475
6548
  { no: 4, name: "number_of_frames", kind: "message", T: UInt32OrInfinity },
6476
6549
  { no: 5, name: "realtime", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
6477
6550
  { no: 6, name: "pattern", kind: "enum", T: proto3.getEnumType(TestCardPattern) },
6551
+ { no: 7, name: "pixel_format", kind: "enum", T: proto3.getEnumType(PixelFormat) },
6478
6552
  ]);
6479
6553
 
6480
6554
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TestCardVideoConfiguration {
@@ -6668,7 +6742,7 @@ export class DeckLinkInputConfiguration extends Message<DeckLinkInputConfigurati
6668
6742
  /**
6669
6743
  * @generated from field: norsk.api.media.DeckLinkPixelFormat pixel_format = 7;
6670
6744
  */
6671
- pixelFormat = DeckLinkPixelFormat.UYVY;
6745
+ pixelFormat = DeckLinkPixelFormat.DECKLINK_UYVY;
6672
6746
 
6673
6747
  /**
6674
6748
  * @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 8;
@@ -9085,9 +9159,9 @@ export class VideoComposeConfiguration extends Message<VideoComposeConfiguration
9085
9159
  * Output pixel format to use. If not specified, this will be chosen
9086
9160
  * automatically based on the sources present in the initial composition
9087
9161
  *
9088
- * @generated from field: norsk.api.media.VideoComposeConfiguration.PixelFormat output_pixel_format = 6;
9162
+ * @generated from field: norsk.api.media.PixelFormat output_pixel_format = 6;
9089
9163
  */
9090
- outputPixelFormat = VideoComposeConfiguration_PixelFormat.UNSPECIFIED;
9164
+ outputPixelFormat = PixelFormat.UNSPECIFIED;
9091
9165
 
9092
9166
  /**
9093
9167
  * Behaviour in the case of a missing stream used in an active composition
@@ -9118,7 +9192,7 @@ export class VideoComposeConfiguration extends Message<VideoComposeConfiguration
9118
9192
  { no: 2, name: "reference_stream", kind: "scalar", T: 9 /* ScalarType.STRING */ },
9119
9193
  { no: 3, name: "parts", kind: "message", T: ComposePart, repeated: true },
9120
9194
  { no: 5, name: "output_resolution", kind: "message", T: Resolution },
9121
- { no: 6, name: "output_pixel_format", kind: "enum", T: proto3.getEnumType(VideoComposeConfiguration_PixelFormat) },
9195
+ { no: 6, name: "output_pixel_format", kind: "enum", T: proto3.getEnumType(PixelFormat) },
9122
9196
  { no: 7, name: "missing_stream_behaviour", kind: "enum", T: proto3.getEnumType(VideoComposeConfiguration_MissingStreamBehaviour) },
9123
9197
  { no: 8, name: "hardware_acceleration", kind: "enum", T: proto3.getEnumType(VideoComposeConfiguration_ComposeHardwareAcceleration) },
9124
9198
  ]);
@@ -9166,68 +9240,6 @@ proto3.util.setEnumType(VideoComposeConfiguration_ComposeHardwareAcceleration, "
9166
9240
  { no: 2, name: "COMPOSE_NVIDIA" },
9167
9241
  ]);
9168
9242
 
9169
- /**
9170
- * @generated from enum norsk.api.media.VideoComposeConfiguration.PixelFormat
9171
- */
9172
- export enum VideoComposeConfiguration_PixelFormat {
9173
- /**
9174
- * @generated from enum value: UNSPECIFIED = 0;
9175
- */
9176
- UNSPECIFIED = 0,
9177
-
9178
- /**
9179
- * @generated from enum value: YUV420P = 1;
9180
- */
9181
- YUV420P = 1,
9182
-
9183
- /**
9184
- * @generated from enum value: YUV422P = 2;
9185
- */
9186
- YUV422P = 2,
9187
-
9188
- /**
9189
- * @generated from enum value: YUV444P = 3;
9190
- */
9191
- YUV444P = 3,
9192
-
9193
- /**
9194
- * @generated from enum value: YUVA420P = 4;
9195
- */
9196
- YUVA420P = 4,
9197
-
9198
- /**
9199
- * @generated from enum value: YUVA422P = 5;
9200
- */
9201
- YUVA422P = 5,
9202
-
9203
- /**
9204
- * @generated from enum value: YUVA444P = 6;
9205
- */
9206
- YUVA444P = 6,
9207
-
9208
- /**
9209
- * @generated from enum value: RGBA = 7;
9210
- */
9211
- RGBA = 7,
9212
-
9213
- /**
9214
- * @generated from enum value: BGRA = 8;
9215
- */
9216
- BGRA = 8,
9217
- }
9218
- // Retrieve enum metadata with: proto3.getEnumType(VideoComposeConfiguration_PixelFormat)
9219
- proto3.util.setEnumType(VideoComposeConfiguration_PixelFormat, "norsk.api.media.VideoComposeConfiguration.PixelFormat", [
9220
- { no: 0, name: "UNSPECIFIED" },
9221
- { no: 1, name: "YUV420P" },
9222
- { no: 2, name: "YUV422P" },
9223
- { no: 3, name: "YUV444P" },
9224
- { no: 4, name: "YUVA420P" },
9225
- { no: 5, name: "YUVA422P" },
9226
- { no: 6, name: "YUVA444P" },
9227
- { no: 7, name: "RGBA" },
9228
- { no: 8, name: "BGRA" },
9229
- ]);
9230
-
9231
9243
  /**
9232
9244
  * @generated from enum norsk.api.media.VideoComposeConfiguration.MissingStreamBehaviour
9233
9245
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@norskvideo/norsk-api",
3
- "version": "1.0.373",
3
+ "version": "1.0.375",
4
4
  "license": "MIT",
5
5
  "dependencies": {
6
6
  "@bufbuild/protobuf": "^0.3.0",