Skip to main content

dcmnorm_transcode/
entries.rs

1//! A list of compiled transfer syntax specifiers.
2//!
3//! The constants exported here refer to the library's built-in support
4//! for DICOM transfer syntaxes.
5//!
6//! - **Fully implemented** means that the default transfer syntax registry
7//!   provides built-in support for reading and writing data sets,
8//!   as well as for encoding and decoding encapsulated pixel data,
9//!   if applicable.
10//! - When specified as **Implemented**,
11//!   the transfer syntax is supported to some extent
12//!   (usually decoding is supported but not encoding).
13//! - **Stub descriptors** serve to provide information about
14//!   the transfer syntax,
15//!   and may provide partial support.
16//!   In most cases it will be possible to read and write data sets,
17//!   but not encode or decode encapsulated pixel data.
18//!
19//! With the `inventory-registry` feature,
20//! stubs can be replaced by independently developed crates,
21//! hence expanding support for those transfer syntaxes
22//! to the registry.
23
24use crate::{adapters::uncompressed::UncompressedAdapter, create_ts_stub};
25use byteordered::Endianness;
26use dcmnorm_encoding::transfer_syntax::{AdapterFreeTransferSyntax as Ts, Codec};
27
28use dcmnorm_encoding::transfer_syntax::{NeverAdapter, TransferSyntax};
29
30#[cfg(any(feature = "rle", feature = "jpeg2000"))]
31use dcmnorm_encoding::NeverPixelAdapter;
32
33#[cfg(feature = "deflate")]
34use crate::adapters::deflated::DeflatedImageFrameAdapter;
35#[cfg(feature = "jpeg")]
36use crate::adapters::jpeg::JpegAdapter;
37#[cfg(feature = "jpeg2000")]
38use crate::adapters::jpeg2k::{Htj2kAdapter, Jpeg2000Adapter};
39#[cfg(feature = "rle")]
40use crate::adapters::rle_lossless::RleLosslessAdapter;
41#[cfg(feature = "deflate")]
42use crate::deflate::FlateAdapter;
43
44// -- the three base transfer syntaxes, fully supported --
45
46/// **Fully implemented:** Implicit VR Little Endian: Default Transfer Syntax for DICOM
47pub const IMPLICIT_VR_LITTLE_ENDIAN: Ts = Ts::new(
48    "1.2.840.10008.1.2",
49    "Implicit VR Little Endian",
50    Endianness::Little,
51    false,
52    Codec::None,
53);
54
55/// **Fully implemented:** Explicit VR Little Endian
56pub const EXPLICIT_VR_LITTLE_ENDIAN: Ts = Ts::new_ele(
57    "1.2.840.10008.1.2.1",
58    "Explicit VR Little Endian",
59    Codec::None,
60);
61
62/// **Fully implemented:** Explicit VR Big Endian
63pub const EXPLICIT_VR_BIG_ENDIAN: Ts = Ts::new(
64    "1.2.840.10008.1.2.2",
65    "Explicit VR Big Endian",
66    Endianness::Big,
67    true,
68    Codec::None,
69);
70
71/// **Fully implemented:** Encapsulated Uncompressed Explicit VR Little Endian
72pub const ENCAPSULATED_UNCOMPRESSED_EXPLICIT_VR_LITTLE_ENDIAN: TransferSyntax<
73    NeverAdapter,
74    UncompressedAdapter,
75    UncompressedAdapter,
76> = TransferSyntax::new_ele(
77    "1.2.840.10008.1.2.1.98",
78    "Encapsulated Uncompressed Explicit VR Little Endian",
79    Codec::EncapsulatedPixelData(Some(UncompressedAdapter), Some(UncompressedAdapter)),
80);
81
82// -- transfer syntaxes with pixel data adapters, fully supported --
83
84/// **Implemented:** RLE Lossless
85#[cfg(feature = "rle")]
86pub const RLE_LOSSLESS: TransferSyntax<NeverAdapter, RleLosslessAdapter, NeverPixelAdapter> =
87    TransferSyntax::new_ele(
88        "1.2.840.10008.1.2.5",
89        "RLE Lossless",
90        Codec::EncapsulatedPixelData(Some(RleLosslessAdapter), None),
91    );
92/// **Stub:** RLE Lossless
93///
94/// A native implementation is available
95/// by enabling the `rle` Cargo feature.
96#[cfg(not(feature = "rle"))]
97pub const RLE_LOSSLESS: Ts = create_ts_stub("1.2.840.10008.1.2.5", "RLE Lossless");
98
99// JPEG encoded pixel data
100
101/// An alias for a transfer syntax specifier with [`JpegAdapter`]
102/// (supports decoding and encoding to JPEG baseline,
103/// support for JPEG extended and JPEG lossless may vary).
104#[cfg(feature = "jpeg")]
105type JpegTs<R = JpegAdapter, W = JpegAdapter> = TransferSyntax<NeverAdapter, R, W>;
106
107/// Create a transfer syntax with JPEG encapsulated pixel data
108#[cfg(feature = "jpeg")]
109const fn create_ts_jpeg(uid: &'static str, name: &'static str, encoder: bool) -> JpegTs {
110    TransferSyntax::new_ele(
111        uid,
112        name,
113        Codec::EncapsulatedPixelData(
114            Some(JpegAdapter),
115            if encoder { Some(JpegAdapter) } else { None },
116        ),
117    )
118}
119
120/// **Implemented:** JPEG Baseline (Process 1): Default Transfer Syntax for Lossy JPEG 8 Bit Image Compression
121#[cfg(feature = "jpeg")]
122pub const JPEG_BASELINE: JpegTs =
123    create_ts_jpeg("1.2.840.10008.1.2.4.50", "JPEG Baseline (Process 1)", true);
124/// **Implemented:** JPEG Baseline (Process 1): Default Transfer Syntax for Lossy JPEG 8 Bit Image Compression
125///
126/// A native implementation is available
127/// by enabling the `jpeg` Cargo feature.
128#[cfg(not(feature = "jpeg"))]
129pub const JPEG_BASELINE: Ts = create_ts_stub("1.2.840.10008.1.2.4.50", "JPEG Baseline (Process 1)");
130
131/// **Implemented:** JPEG Extended (Process 2 & 4): Default Transfer Syntax for Lossy JPEG 12 Bit Image Compression (Process 4 only)
132#[cfg(feature = "jpeg")]
133pub const JPEG_EXTENDED: JpegTs = create_ts_jpeg(
134    "1.2.840.10008.1.2.4.51",
135    "JPEG Extended (Process 2 & 4)",
136    false,
137);
138/// **Stub descriptor:** JPEG Extended (Process 2 & 4): Default Transfer Syntax for Lossy JPEG 12 Bit Image Compression (Process 4 only)
139///
140/// A native implementation is available
141/// by enabling the `jpeg` Cargo feature.
142#[cfg(not(feature = "jpeg"))]
143pub const JPEG_EXTENDED: Ts =
144    create_ts_stub("1.2.840.10008.1.2.4.51", "JPEG Extended (Process 2 & 4)");
145
146/// **Implemented:** JPEG Lossless, Non-Hierarchical (Process 14)
147#[cfg(feature = "jpeg")]
148pub const JPEG_LOSSLESS_NON_HIERARCHICAL: JpegTs = create_ts_jpeg(
149    "1.2.840.10008.1.2.4.57",
150    "JPEG Lossless, Non-Hierarchical (Process 14)",
151    false,
152);
153/// **Stub descriptor:** JPEG Lossless, Non-Hierarchical (Process 14)
154///
155/// A native implementation is available
156/// by enabling the `jpeg` Cargo feature.
157#[cfg(not(feature = "jpeg"))]
158pub const JPEG_LOSSLESS_NON_HIERARCHICAL: Ts = create_ts_stub(
159    "1.2.840.10008.1.2.4.57",
160    "JPEG Lossless, Non-Hierarchical (Process 14)",
161);
162
163/// **Implemented:** JPEG Lossless, Non-Hierarchical, First-Order Prediction
164/// (Process 14 [Selection Value 1]):
165/// Default Transfer Syntax for Lossless JPEG Image Compression
166#[cfg(feature = "jpeg")]
167pub const JPEG_LOSSLESS_NON_HIERARCHICAL_FIRST_ORDER_PREDICTION: JpegTs = create_ts_jpeg(
168    "1.2.840.10008.1.2.4.70",
169    "JPEG Lossless, Non-Hierarchical, First-Order Prediction",
170    false,
171);
172/// **Stub descriptor:** JPEG Lossless, Non-Hierarchical, First-Order Prediction
173/// (Process 14 [Selection Value 1]):
174/// Default Transfer Syntax for Lossless JPEG Image Compression
175///
176/// A native implementation is available
177/// by enabling the `jpeg` Cargo feature.
178#[cfg(not(feature = "jpeg"))]
179pub const JPEG_LOSSLESS_NON_HIERARCHICAL_FIRST_ORDER_PREDICTION: Ts = create_ts_stub(
180    "1.2.840.10008.1.2.4.70",
181    "JPEG Lossless, Non-Hierarchical, First-Order Prediction",
182);
183
184#[cfg(feature = "deflate")]
185/// **Fully implemented**: Deflated Explicit VR Little Endian
186pub const DEFLATED_EXPLICIT_VR_LITTLE_ENDIAN: TransferSyntax<
187    FlateAdapter,
188    NeverAdapter,
189    NeverAdapter,
190> = TransferSyntax::new(
191    "1.2.840.10008.1.2.1.99",
192    "Deflated Explicit VR Little Endian",
193    Endianness::Little,
194    true,
195    Codec::Dataset(Some(FlateAdapter)),
196);
197
198#[cfg(not(feature = "deflate"))]
199/// **Stub descriptor:** Deflated Explicit VR Little Endian
200///
201/// A native implementation is available
202/// by enabling the `deflate` Cargo feature.
203pub const DEFLATED_EXPLICIT_VR_LITTLE_ENDIAN: Ts = Ts::new_ele(
204    "1.2.840.10008.1.2.1.99",
205    "Deflated Explicit VR Little Endian",
206    Codec::Dataset(None),
207);
208
209// --- stub transfer syntaxes, known but not supported ---
210
211/// **Implemented**: JPIP Referenced Deflate
212#[cfg(feature = "deflate")]
213pub const JPIP_REFERENCED_DEFLATE: TransferSyntax<FlateAdapter, NeverAdapter, NeverAdapter> =
214    TransferSyntax::new(
215        "1.2.840.10008.1.2.4.95",
216        "JPIP Referenced Deflate",
217        Endianness::Little,
218        true,
219        Codec::Dataset(Some(FlateAdapter)),
220    );
221
222/// **Stub descriptor:** JPIP Referenced Deflate
223///
224/// A native implementation is available
225/// by enabling the `deflate` Cargo feature.
226#[cfg(not(feature = "deflate"))]
227pub const JPIP_REFERENCED_DEFLATE: Ts = Ts::new_ele(
228    "1.2.840.10008.1.2.4.95",
229    "JPIP Referenced Deflate",
230    Codec::Dataset(None),
231);
232
233/// **Implemented**: JPIP HTJ2K Referenced Deflate
234#[cfg(feature = "deflate")]
235pub const JPIP_HTJ2K_REFERENCED_DEFLATE: TransferSyntax<FlateAdapter, NeverAdapter, NeverAdapter> =
236    TransferSyntax::new(
237        "1.2.840.10008.1.2.4.205",
238        "JPIP HT2JK Referenced Deflate",
239        Endianness::Little,
240        true,
241        Codec::Dataset(Some(FlateAdapter)),
242    );
243
244/// **Stub descriptor:** JPIP HTJ2K Referenced Deflate
245///
246/// A native implementation is available
247/// by enabling the `deflate` Cargo feature.
248#[cfg(not(feature = "deflate"))]
249pub const JPIP_HTJ2K_REFERENCED_DEFLATE: Ts = Ts::new_ele(
250    "1.2.840.10008.1.2.4.205",
251    "JPIP HTJ2K Referenced Deflate",
252    Codec::Dataset(None),
253);
254
255// --- JPEG 2000 support ---
256
257/// An alias for a transfer syntax specifier with [`Jpeg2000Adapter`]
258/// (supports decoding and encoding to JPEG baseline,
259/// support for JPEG extended and JPEG lossless may vary).
260#[cfg(feature = "jpeg2000")]
261type Jpeg2000Ts<R = Jpeg2000Adapter, W = NeverPixelAdapter> = TransferSyntax<NeverAdapter, R, W>;
262
263/// Create a transfer syntax with JPEG 2000 encapsulated pixel data
264#[cfg(feature = "jpeg2000")]
265const fn create_ts_jpeg2k(uid: &'static str, name: &'static str) -> Jpeg2000Ts {
266    TransferSyntax::new_ele(
267        uid,
268        name,
269        Codec::EncapsulatedPixelData(Some(Jpeg2000Adapter), None),
270    )
271}
272
273/// **Decoder implementation:** JPEG 2000 Image Compression (Lossless Only)
274#[cfg(feature = "jpeg2000")]
275pub const JPEG_2000_IMAGE_COMPRESSION_LOSSLESS_ONLY: Jpeg2000Ts = create_ts_jpeg2k(
276    "1.2.840.10008.1.2.4.90",
277    "JPEG 2000 Image Compression (Lossless Only)",
278);
279/// **Stub descriptor:** JPEG 2000 Image Compression (Lossless Only)
280#[cfg(not(feature = "jpeg2000"))]
281pub const JPEG_2000_IMAGE_COMPRESSION_LOSSLESS_ONLY: Ts = create_ts_stub(
282    "1.2.840.10008.1.2.4.90",
283    "JPEG 2000 Image Compression (Lossless Only)",
284);
285
286/// **Decoder implementation:** JPEG 2000 Image Compression
287#[cfg(feature = "jpeg2000")]
288pub const JPEG_2000_IMAGE_COMPRESSION: Jpeg2000Ts =
289    create_ts_jpeg2k("1.2.840.10008.1.2.4.91", "JPEG 2000 Image Compression");
290/// **Stub descriptor:** JPEG 2000 Image Compression
291#[cfg(not(feature = "jpeg2000"))]
292pub const JPEG_2000_IMAGE_COMPRESSION: Ts =
293    create_ts_stub("1.2.840.10008.1.2.4.91", "JPEG 2000 Image Compression");
294
295/// **Decoder implementation:** JPEG 2000 Part 2 Multi-component Image Compression (Lossless Only)
296#[cfg(feature = "jpeg2000")]
297pub const JPEG_2000_PART2_MULTI_COMPONENT_IMAGE_COMPRESSION_LOSSLESS_ONLY: Jpeg2000Ts =
298    create_ts_jpeg2k(
299        "1.2.840.10008.1.2.4.92",
300        "JPEG 2000 Part 2 Multi-component Image Compression (Lossless Only)",
301    );
302/// **Stub descriptor:** JPEG 2000 Part 2 Multi-component Image Compression (Lossless Only)
303#[cfg(not(feature = "jpeg2000"))]
304pub const JPEG_2000_PART2_MULTI_COMPONENT_IMAGE_COMPRESSION_LOSSLESS_ONLY: Ts = create_ts_stub(
305    "1.2.840.10008.1.2.4.92",
306    "JPEG 2000 Part 2 Multi-component Image Compression (Lossless Only)",
307);
308
309/// **Decoder implementation:** JPEG 2000 Part 2 Multi-component Image Compression
310#[cfg(feature = "jpeg2000")]
311pub const JPEG_2000_PART2_MULTI_COMPONENT_IMAGE_COMPRESSION: Jpeg2000Ts = create_ts_jpeg2k(
312    "1.2.840.10008.1.2.4.93",
313    "JPEG 2000 Part 2 Multi-component Image Compression",
314);
315/// **Stub descriptor:** JPEG 2000 Part 2 Multi-component Image Compression
316#[cfg(not(feature = "jpeg2000"))]
317pub const JPEG_2000_PART2_MULTI_COMPONENT_IMAGE_COMPRESSION: Ts = create_ts_stub(
318    "1.2.840.10008.1.2.4.93",
319    "JPEG 2000 Part 2 Multi-component Image Compression",
320);
321
322// --- HTJ2K ---
323
324/// An alias for a transfer syntax specifier with [`Htj2kAdapter`] (decoding only - HTJ2K encoding
325/// is done by dcmnorm itself, outside this registry).
326#[cfg(feature = "jpeg2000")]
327type Htj2kTs = TransferSyntax<NeverAdapter, Htj2kAdapter, NeverPixelAdapter>;
328
329/// Create a transfer syntax with HTJ2K encapsulated pixel data
330#[cfg(feature = "jpeg2000")]
331const fn create_ts_htj2k(uid: &'static str, name: &'static str) -> Htj2kTs {
332    TransferSyntax::new_ele(
333        uid,
334        name,
335        Codec::EncapsulatedPixelData(Some(Htj2kAdapter), None),
336    )
337}
338
339/// **Decoder implementation:** High-Throughput JPEG 2000 Image Compression (Lossless Only)
340#[cfg(feature = "jpeg2000")]
341pub const HIGH_THROUGHPUT_JPEG_2000_IMAGE_COMPRESSION_LOSSLESS_ONLY: Htj2kTs = create_ts_htj2k(
342    "1.2.840.10008.1.2.4.201",
343    "High-Throughput JPEG 2000 Image Compression (Lossless Only)",
344);
345/// **Stub descriptor:** High-Throughput JPEG 2000 Image Compression (Lossless Only)
346#[cfg(not(feature = "jpeg2000"))]
347pub const HIGH_THROUGHPUT_JPEG_2000_IMAGE_COMPRESSION_LOSSLESS_ONLY: Ts = create_ts_stub(
348    "1.2.840.10008.1.2.4.201",
349    "High-Throughput JPEG 2000 Image Compression (Lossless Only)",
350);
351
352/// **Decoder implementation:** High-Throughput JPEG 2000 with RPCL Options Image Compression (Lossless Only)
353#[cfg(feature = "jpeg2000")]
354pub const HIGH_THROUGHPUT_JPEG_2000_WITH_RPCL_OPTIONS_IMAGE_COMPRESSION_LOSSLESS_ONLY: Htj2kTs =
355    create_ts_htj2k(
356        "1.2.840.10008.1.2.4.202",
357        "High-Throughput JPEG 2000 with RPCL Options Image Compression (Lossless Only)",
358    );
359/// **Stub descriptor:** High-Throughput JPEG 2000 Image Compression (Lossless Only)
360#[cfg(not(feature = "jpeg2000"))]
361pub const HIGH_THROUGHPUT_JPEG_2000_WITH_RPCL_OPTIONS_IMAGE_COMPRESSION_LOSSLESS_ONLY: Ts =
362    create_ts_stub(
363        "1.2.840.10008.1.2.4.202",
364        "High-Throughput JPEG 2000 with RPCL Options Image Compression (Lossless Only)",
365    );
366
367/// **Decoder implementation:** High-Throughput JPEG 2000 Image Compression
368#[cfg(feature = "jpeg2000")]
369pub const HIGH_THROUGHPUT_JPEG_2000_IMAGE_COMPRESSION: Htj2kTs = create_ts_htj2k(
370    "1.2.840.10008.1.2.4.203",
371    "High-Throughput JPEG 2000 Image Compression",
372);
373/// **Stub descriptor:** High-Throughput JPEG 2000 Image Compression
374#[cfg(not(feature = "jpeg2000"))]
375pub const HIGH_THROUGHPUT_JPEG_2000_IMAGE_COMPRESSION: Ts = create_ts_stub(
376    "1.2.840.10008.1.2.4.203",
377    "High-Throughput JPEG 2000 Image Compression",
378);
379
380// --- JPEG-LS ---
381//
382// No adapter here: dcmnorm's own JPEG-LS support (src/dicom_io/jpeg_ls.rs) calls charls
383// directly and bypasses this registry entirely - these are registry-completeness stubs only,
384// so `TransferSyntaxRegistry`/`TransferSyntaxIndex` lookups still resolve the UID.
385
386/// **Stub descriptor:** JPEG-LS Lossless Image Compression
387pub const JPEG_LS_LOSSLESS_IMAGE_COMPRESSION: Ts = create_ts_stub(
388    "1.2.840.10008.1.2.4.80",
389    "JPEG-LS Lossless Image Compression",
390);
391
392/// **Stub descriptor:** JPEG-LS Lossy (Near-Lossless) Image Compression
393pub const JPEG_LS_LOSSY_IMAGE_COMPRESSION: Ts = create_ts_stub(
394    "1.2.840.10008.1.2.4.81",
395    "JPEG-LS Lossy (Near-Lossless) Image Compression",
396);
397
398// --- JPEG XL support ---
399//
400// No adapter here: dcmnorm's own JPEG XL decode (src/dicom_io/jpeg_xl.rs) calls jxl-oxide
401// directly and bypasses this registry entirely, the same way JPEG-LS does above - these are
402// registry-completeness stubs only, so `TransferSyntaxRegistry`/`TransferSyntaxIndex` lookups
403// still resolve the UID. No encoder exists yet.
404
405/// **Stub descriptor:** JPEG XL Lossless
406pub const JPEG_XL_LOSSLESS: Ts = create_ts_stub("1.2.840.10008.1.2.4.110", "JPEG XL Lossless");
407
408/// **Stub descriptor:** JPEG XL Recompression
409pub const JPEG_XL_RECOMPRESSION: Ts =
410    create_ts_stub("1.2.840.10008.1.2.4.111", "JPEG XL Recompression");
411
412/// **Stub descriptor:** JPEG XL
413pub const JPEG_XL: Ts = create_ts_stub("1.2.840.10008.1.2.4.112", "JPEG XL");
414
415/// **Stub descriptor:** Deflated Image Frame Compression
416#[cfg(not(feature = "deflate"))]
417pub const DEFLATED_IMAGE_FRAME_COMPRESSION: Ts =
418    create_ts_stub("1.2.840.10008.1.2.8.1", "Deflated Image Frame Compression");
419
420/// **Implemented:** Deflated Image Frame Compression
421#[cfg(feature = "deflate")]
422pub const DEFLATED_IMAGE_FRAME_COMPRESSION: TransferSyntax<
423    NeverAdapter,
424    DeflatedImageFrameAdapter,
425    DeflatedImageFrameAdapter,
426> = TransferSyntax::new_ele(
427    "1.2.840.10008.1.2.8.1",
428    "Deflated Image Frame Compression",
429    Codec::EncapsulatedPixelData(
430        Some(DeflatedImageFrameAdapter),
431        Some(DeflatedImageFrameAdapter),
432    ),
433);
434
435/// **Stub descriptor:** JPIP Referenced
436pub const JPIP_REFERENCED: Ts = create_ts_stub("1.2.840.10008.1.2.4.94", "JPIP Referenced");
437
438/// **Stub descriptor:** JPIP HT2JK Referenced
439pub const JPIP_HTJ2K_REFERENCED: Ts =
440    create_ts_stub("1.2.840.10008.1.2.4.204", "JPIP HTJ2K Referenced");
441
442/// **Stub descriptor:** MPEG2 Main Profile / Main Level
443pub const MPEG2_MAIN_PROFILE_MAIN_LEVEL: Ts =
444    create_ts_stub("1.2.840.10008.1.2.4.100", "MPEG2 Main Profile / Main Level");
445/// **Stub descriptor:** Fragmentable MPEG2 Main Profile / Main Level
446pub const FRAGMENTABLE_MPEG2_MAIN_PROFILE_MAIN_LEVEL: Ts = create_ts_stub(
447    "1.2.840.10008.1.2.4.100.1",
448    "Fragmentable MPEG2 Main Profile / Main Level",
449);
450/// **Stub descriptor:** MPEG2 Main Profile / High Level
451pub const MPEG2_MAIN_PROFILE_HIGH_LEVEL: Ts =
452    create_ts_stub("1.2.840.10008.1.2.4.101", "MPEG2 Main Profile / High Level");
453/// **Stub descriptor:** Fragmentable MPEG2 Main Profile / High Level
454pub const FRAGMENTABLE_MPEG2_MAIN_PROFILE_HIGH_LEVEL: Ts = create_ts_stub(
455    "1.2.840.10008.1.2.4.101.1",
456    "Fragmentable MPEG2 Main Profile / High Level",
457);
458/// **Stub descriptor:** MPEG-4 AVC/H.264 High Profile / Level 4.1
459pub const MPEG4_AVC_H264_HIGH_PROFILE: Ts = create_ts_stub(
460    "1.2.840.10008.1.2.4.102",
461    "MPEG-4 AVC/H.264 High Profile / Level 4.1",
462);
463/// **Stub descriptor:** Fragmentable MPEG-4 AVC/H.264 High Profile / Level 4.1
464pub const FRAGMENTABLE_MPEG4_AVC_H264_HIGH_PROFILE: Ts = create_ts_stub(
465    "1.2.840.10008.1.2.4.102.1",
466    "Fragmentable MPEG-4 AVC/H.264 High Profile / Level 4.1",
467);
468/// **Stub descriptor:** MPEG-4 AVC/H.264 BD-Compatible High Profile / Level 4.1
469pub const MPEG4_AVC_H264_BD_COMPATIBLE_HIGH_PROFILE: Ts = create_ts_stub(
470    "1.2.840.10008.1.2.4.103",
471    "MPEG-4 AVC/H.264 BD-Compatible High Profile / Level 4.1",
472);
473/// **Stub descriptor:** Fragmentable MPEG-4 AVC/H.264 BD-Compatible High Profile / Level 4.1
474pub const FRAGMENTABLE_MPEG4_AVC_H264_BD_COMPATIBLE_HIGH_PROFILE: Ts = create_ts_stub(
475    "1.2.840.10008.1.2.4.103.1",
476    "Fragmentable MPEG-4 AVC/H.264 BD-Compatible High Profile / Level 4.1",
477);
478/// **Stub descriptor:** MPEG-4 AVC/H.264 High Profile / Level 4.2 For 2D Video
479pub const MPEG4_AVC_H264_HIGH_PROFILE_FOR_2D_VIDEO: Ts = create_ts_stub(
480    "1.2.840.10008.1.2.4.104",
481    "MPEG-4 AVC/H.264 High Profile / Level 4.2 For 2D Video",
482);
483/// **Stub descriptor:** Fragmentable MPEG-4 AVC/H.264 High Profile / Level 4.2 For 2D Video
484pub const FRAGMENTABLE_MPEG4_AVC_H264_HIGH_PROFILE_FOR_2D_VIDEO: Ts = create_ts_stub(
485    "1.2.840.10008.1.2.4.104.1",
486    "Fragmentable MPEG-4 AVC/H.264 High Profile / Level 4.2 For 2D Video",
487);
488/// **Stub descriptor:** MPEG-4 AVC/H.264 High Profile / Level 4.2 For 3D Video
489pub const MPEG4_AVC_H264_HIGH_PROFILE_FOR_3D_VIDEO: Ts = create_ts_stub(
490    "1.2.840.10008.1.2.4.105",
491    "MPEG-4 AVC/H.264 High Profile / Level 4.2 For 3D Video",
492);
493/// **Stub descriptor:** Fragmentable MPEG-4 AVC/H.264 High Profile / Level 4.2 For 3D Video
494pub const FRAGMENTABLE_MPEG4_AVC_H264_HIGH_PROFILE_FOR_3D_VIDEO: Ts = create_ts_stub(
495    "1.2.840.10008.1.2.4.105.1",
496    "Fragmentable MPEG-4 AVC/H.264 High Profile / Level 4.2 For 3D Video",
497);
498/// **Stub descriptor:** MPEG-4 AVC/H.264 High Profile / Level 4.2
499pub const MPEG4_AVC_H264_STEREO_HIGH_PROFILE: Ts = create_ts_stub(
500    "1.2.840.10008.1.2.4.106",
501    "MPEG-4 AVC/H.264 Stereo High Profile / Level 4.2",
502);
503/// **Stub descriptor:** Fragmentable MPEG-4 AVC/H.264 Stereo High Profile / Level 4.2
504pub const FRAGMENTABLE_MPEG4_AVC_H264_STEREO_HIGH_PROFILE: Ts = create_ts_stub(
505    "1.2.840.10008.1.2.4.106.1",
506    "Fragmentable MPEG-4 AVC/H.264 Stereo High Profile / Level 4.2",
507);
508/// **Stub descriptor:** HEVC/H.265 Main Profile / Level 5.1
509pub const HEVC_H265_MAIN_PROFILE: Ts = create_ts_stub(
510    "1.2.840.10008.1.2.4.107",
511    "HEVC/H.265 Main Profile / Level 5.1",
512);
513/// **Stub descriptor:** HEVC/H.265 Main 10 Profile / Level 5.1
514pub const HEVC_H265_MAIN_10_PROFILE: Ts = create_ts_stub(
515    "1.2.840.10008.1.2.4.108",
516    "HEVC/H.265 Main 10 Profile / Level 5.1",
517);
518/// **Stub descriptor:** SMPTE ST 2110-20 Uncompressed Progressive Active Video
519pub const SMPTE_ST_2110_20_UNCOMPRESSED_PROGRESSIVE: Ts = create_ts_stub(
520    "1.2.840.10008.1.2.7.1",
521    "SMPTE ST 2110-20 Uncompressed Progressive Active Video",
522);
523/// **Stub descriptor:** SMPTE ST 2110-20 Uncompressed Interlaced Active Video
524pub const SMPTE_ST_2110_20_UNCOMPRESSED_INTERLACED: Ts = create_ts_stub(
525    "1.2.840.10008.1.2.7.2",
526    "SMPTE ST 2110-20 Uncompressed Interlaced Active Video",
527);
528/// **Stub descriptor:** SMPTE ST 2110-30 PCM Digital Audio
529pub const SMPTE_ST_2110_30_PCM: Ts = create_ts_stub(
530    "1.2.840.10008.1.2.7.3",
531    "SMPTE ST 2110-30 PCM Digital Audio",
532);