Commit 6621a7f
committed
Add: gst/st40p: unify rx defaults and input formats
- add GST_MTL_DEFAULT_FRAMEBUFF_CNT to gst_mtl_common so every plugin can share
the same fallback value; wire st20p/st30p/st40p RX to seed and consume it so
ops structs pick up the common default when the element-specific property is 0
- relax the README ranges for st40p_rx frame buffers (0..G_MAXUINT) and note
that rtp-ring-size is rejected unless it is a power of two, matching the new
runtime check instead of auto-rounding values at startup
- rework st40p_tx to expose an enum-based input-format property (raw UDW,
RFC8331 packed, simplified RFC8331 produced by rx) while keeping
parse-8331-meta as a deprecated alias for compatibility
- implement the simplified RFC8331 parser so tx can ingest the 8-byte headers
emitted by mtl_st40p_rx without repacking parity bits; switch the chain
function to dispatch on the new enum and warn when DID/SDID are ignored
- update ancillary validation helpers/tests to set input-format rather than the
old boolean so CI and pytest continue to run in the intended mode1 parent 496cf40 commit 6621a7f
File tree
8 files changed
+217
-56
lines changed- ecosystem/gstreamer_plugin
- tests/validation/mtl_engine
8 files changed
+217
-56
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
409 | 409 | | |
410 | 410 | | |
411 | 411 | | |
412 | | - | |
| 412 | + | |
| 413 | + | |
413 | 414 | | |
414 | 415 | | |
415 | | - | |
416 | | - | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
417 | 421 | | |
418 | 422 | | |
419 | 423 | | |
| |||
442 | 446 | | |
443 | 447 | | |
444 | 448 | | |
445 | | - | |
| 449 | + | |
446 | 450 | | |
447 | 451 | | |
448 | 452 | | |
| |||
454 | 458 | | |
455 | 459 | | |
456 | 460 | | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
457 | 465 | | |
458 | 466 | | |
459 | 467 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| 69 | + | |
68 | 70 | | |
69 | 71 | | |
70 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
| 186 | + | |
| 187 | + | |
187 | 188 | | |
188 | 189 | | |
189 | 190 | | |
| |||
251 | 252 | | |
252 | 253 | | |
253 | 254 | | |
254 | | - | |
| 255 | + | |
255 | 256 | | |
256 | 257 | | |
257 | 258 | | |
| |||
310 | 311 | | |
311 | 312 | | |
312 | 313 | | |
| 314 | + | |
313 | 315 | | |
314 | 316 | | |
315 | 317 | | |
| |||
338 | 340 | | |
339 | 341 | | |
340 | 342 | | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
341 | 348 | | |
342 | 349 | | |
343 | 350 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
| 160 | + | |
| 161 | + | |
161 | 162 | | |
162 | 163 | | |
163 | 164 | | |
| |||
237 | 238 | | |
238 | 239 | | |
239 | 240 | | |
240 | | - | |
| 241 | + | |
241 | 242 | | |
242 | 243 | | |
243 | 244 | | |
| |||
268 | 269 | | |
269 | 270 | | |
270 | 271 | | |
| 272 | + | |
| 273 | + | |
271 | 274 | | |
272 | 275 | | |
273 | 276 | | |
| |||
288 | 291 | | |
289 | 292 | | |
290 | 293 | | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
291 | 299 | | |
292 | 300 | | |
293 | 301 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | | - | |
72 | 70 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | 71 | | |
77 | 72 | | |
78 | 73 | | |
| |||
99 | 94 | | |
100 | 95 | | |
101 | 96 | | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | 97 | | |
111 | 98 | | |
112 | 99 | | |
| |||
131 | 118 | | |
132 | 119 | | |
133 | 120 | | |
134 | | - | |
135 | | - | |
136 | | - | |
| 121 | + | |
| 122 | + | |
137 | 123 | | |
138 | 124 | | |
139 | 125 | | |
| |||
288 | 274 | | |
289 | 275 | | |
290 | 276 | | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
291 | 281 | | |
292 | 282 | | |
293 | 283 | | |
| |||
305 | 295 | | |
306 | 296 | | |
307 | 297 | | |
308 | | - | |
309 | 298 | | |
310 | 299 | | |
311 | 300 | | |
312 | 301 | | |
313 | | - | |
314 | | - | |
| 302 | + | |
| 303 | + | |
315 | 304 | | |
316 | 305 | | |
317 | 306 | | |
| |||
357 | 346 | | |
358 | 347 | | |
359 | 348 | | |
360 | | - | |
| 349 | + | |
| 350 | + | |
361 | 351 | | |
362 | 352 | | |
363 | 353 | | |
| |||
385 | 375 | | |
386 | 376 | | |
387 | 377 | | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
388 | 383 | | |
389 | 384 | | |
390 | 385 | | |
| |||
457 | 452 | | |
458 | 453 | | |
459 | 454 | | |
460 | | - | |
| 455 | + | |
| 456 | + | |
461 | 457 | | |
462 | 458 | | |
463 | 459 | | |
464 | 460 | | |
465 | 461 | | |
466 | 462 | | |
467 | | - | |
468 | 463 | | |
469 | | - | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | | - | |
480 | | - | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
481 | 468 | | |
482 | 469 | | |
483 | 470 | | |
| |||
0 commit comments