Add support fix JPEG from some MJPEG sources

This commit is contained in:
Alex X
2025-01-05 11:03:44 +03:00
parent 199fdd6728
commit 55af09a350
3 changed files with 75 additions and 28 deletions
+10
View File
@@ -0,0 +1,10 @@
package mjpeg
const (
markerSOF = 0xC0 // Start Of Frame (Baseline Sequential)
markerSOI = 0xD8 // Start Of Image
markerEOI = 0xD9 // End Of Image
markerSOS = 0xDA // Start Of Scan
markerDQT = 0xDB // Define Quantization Table
markerDHT = 0xC4 // Define Huffman Table
)